Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Can pattern matching be applied to binary images?

I am developing an OCR using pattern matching.
I applied thresholding to an image containing numeric value. It changed to binary. Now i find that it is not able to apply pattern matching to learn digits.
Does it mean that we need 8bit gray images only for pattern matching?
0 Kudos
Message 1 of 2
(3,293 Views)
The pattern matching routines work much better on grayscale images with high contrast. You might get it to work by scaling your binary image from (0-1) to (0-255).

I would seriously consider using the NI OCR package if possible. It will be much faster than the pattern matching routines, and it will require a lot less work.

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 2
(3,293 Views)