필터 지우기
필터 지우기

Hi, what does this error mean?

조회 수: 1 (최근 30일)
Syafiqah Daud
Syafiqah Daud 2018년 7월 26일
답변: Walter Roberson 2018년 7월 26일
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
KSSV 2018년 7월 26일
what is size of imgfile{1,k} and n1?
I suspect you are inputting the filename.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 7월 26일
You cannot use corr2() with RGB images.

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by