Component selection
  5    
Every pixel is tested for Ink (main buffer) and Paper (aux buffer with blured image) and, if the difference is greater than treshold, bit 7 (red) is selected, otherwise bit 6 (blue) is selected. This gives the binary image, but green portion (bits 0...5) is still held.

It is important to adjust treshold for best results.

 

 

    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