Hi, what does this error mean?
显示 更早的评论
Error using corr2 Expected input number 1, A, to be two-dimensional.
Error in corr2>ParseInputs (line 35) validateattributes(A, {'logical' 'numeric'}, {'real','2d'}, mfilename, 'A', 1);
Error in corr2 (line 21) [a,b] = ParseInputs(varargin{:});
Error in number_plate_det (line 60) y=corr2(imgfile{1,k},n1);
>>
1 个评论
KSSV
2018-7-26
what is size of imgfile{1,k} and n1?
I suspect you are inputting the filename.
回答(1 个)
Walter Roberson
2018-7-26
1 个投票
You cannot use corr2() with RGB images.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!