HOG Descriptor function Error
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
Hi can any one help me i am running the function HOG but getting an error which is
??? Input argument "Im" is undefined.
Error in ==> HOG at 11 [L,C]=size(Im); % L num of lines ; C num of columns
you can find the function from the link below. http://www.mathworks.com/matlabcentral/fileexchange/index?term=tag%3A%22i+run+your+code%22
댓글 수: 3
Walter Roberson
2012년 11월 7일
Algorithms Analyst
2012년 11월 7일
Algorithms Analyst
2012년 11월 8일
답변 (1개)
Walter Roberson
2012년 11월 7일
How are you invoking the code? Are you passing in a grayscale image
Im = rgb2gray( imread('YourFile.jpg') );
hog(Im)
댓글 수: 4
Algorithms Analyst
2012년 11월 7일
Algorithms Analyst
2012년 11월 7일
Walter Roberson
2012년 11월 7일
The function is not defined for RGB images. Read the first line of the code where it says "grayscale".
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!