Digital Signal Processing Reference
In-Depth Information
j
i
(x
þ
1, y)
i
(x,y)
j
>
¼
T
Threshold gray level
Let's calculate the focus score in the horizontal direction for
the two images shown in
Figure 19.2
.
T
¼
Figure 19.2. Example of focused
and unfocused vertical edge.