Unsharp mask
Similarly to Photoshop's Unsharp Mask finction, in this step the separated image is made with blurred image (on the separated auxiliary buffer, so it is not visible here). As there is not enough space to do it in the whole frame buffer size, it is performed with (1/5) * (1/5) resolution (every 5th pixel in every 5th row). This unsharp mask will be used for better selecting of "ink" pixels, relative to "paper" pixels, which will be taken not from the main frame buffer, but from the auxilary one.



    Back to projects 
0. Home
H. Hardware
L. Lighting
1. Frame fetch
2. Ball locate
3. Stretching
4. Unsharp mask
5. Component selection
6. Holes and scratches
7. Component shrink
8. Invert selection
9. Component list
10. Select best circle
11. Angle detection
12. Rotate selected
13. Select broad lines
14. Selected components list
15. Components scaling
16. Histogram
17. MSE and voting
C. Conclusion