baseFileName); imshow(fullFileName) grayImage = rgb2gray> In images.internal.initSize (line 71) In Untitled2 (line 9)
Error using rgb2grayError in rgb2gray (line 37)
我想使用corr2函数通过模板匹配从输入图像中读取字母。为此,我创建了数字和符号的模板。在运行阅读letter的代码时,我得到了以下错误:Expected input number 1, A, to be two-dimensional.用于创建模板的MAtlab代码one=imread('1.png'); two=imread('2.png');three=imr