# Focus helper

## Description

After the DCT transform of a 8x8 block the 64 frequency coefficients are aquired. Each coefficient is squared and multiplied by the value from the table of weights (it can be set) and a single value for a block is the result. For better focus the lower frequencies go with greater weights (more attention to details). Then the sum of the squared (one more time and this 'squaring' weakens 8x8 blocks in the calculation area that have more lower frequency components) values of all the blocks in the focus area is taken and it is the length of Green Horizontal Line.

So, by setting the table of weights the higher/lower frequencies can be filtered.

## Controls page

Each new single Green Horizontal Line is for a single image. As the new lines appear at the bottom the values for the old ones are replaced with their mean value.

*Zoom*, *Show* (area of calculation), *Mode*, *Filter* and *Scale* can be set.

*Left*, *Width*, *Top*, *Height* - calculation area.