Difference between revisions of "Focus helper"
Line 5: | Line 5: | ||
==Controls page== | ==Controls page== | ||
+ | [http://192.168.0.9/focus.html http://192.168.0.9/focus.html] | ||
[[Image:Focusinghelper.jpg|thumb|900px|Fig.1 Interface]] | [[Image:Focusinghelper.jpg|thumb|900px|Fig.1 Interface]] | ||
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. | 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. |
Revision as of 10:53, 16 December 2009
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.