Filter löschen
Filter löschen

Hi, what does this error mean?

1 Ansicht (letzte 30 Tage)
Syafiqah Daud
Syafiqah Daud am 26 Jul. 2018
Beantwortet: Walter Roberson am 26 Jul. 2018
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 Kommentar
KSSV
KSSV am 26 Jul. 2018
what is size of imgfile{1,k} and n1?
I suspect you are inputting the filename.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 26 Jul. 2018
You cannot use corr2() with RGB images.

Kategorien

Mehr zu Read, Write, and Modify Image finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by