# What is: Harmonic Block?

Source | Harmonic Convolutional Networks based on Discrete Cosine Transform |

Year | 2000 |

Data Source | CC BY-SA - https://paperswithcode.com |

A **Harmonic Block** is an image model component that utilizes Discrete Cosine Transform (DCT) filters. Convolutional neural networks (CNNs) learn filters in order to capture local correlation patterns in feature space. In contrast, DCT has preset spectral filters, which can be better for compressing information (due to the presence of redundancy in the spectral domain).

DCT has been successfully used for JPEG encoding to transform image blocks into spectral representations to capture the most information with a small number of coefficients. Harmonic blocks learn how to optimally combine spectral coefficients at every layer to produce a fixed size representation defined as a weighted sum of responses to DCT filters. The use of DCT filters allows to address the task of model compression.