MATLAB:Why the result of comparing the same white image gives NaN? -


salam alikum: want create ocr system based on template matching. so, i`ll input image contains text such 'hello world', algorithm results in hello world text. have created database of chars+the white space images. have extracted characters except white space between 2 words. when trying compare image represent space in database white space in image contains text using corr2 matlab function, gives nan.

even when comparing same white image self results nan.

help me in problem.

check definition of corr, dividing 0 zero if elements equal mean.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -