Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

HOG Descriptor function Error

1 Ansicht (letzte 30 Tage)
Algorithms Analyst
Algorithms Analyst am 7 Nov. 2012
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
  3 Kommentare
Algorithms Analyst
Algorithms Analyst am 7 Nov. 2012
they didnot solve it.
Algorithms Analyst
Algorithms Analyst am 8 Nov. 2012
My dear this is still not working for grascale image how to call it ?

Antworten (1)

Walter Roberson
Walter Roberson am 7 Nov. 2012
How are you invoking the code? Are you passing in a grayscale image
Im = rgb2gray( imread('YourFile.jpg') );
hog(Im)
  4 Kommentare
Walter Roberson
Walter Roberson am 7 Nov. 2012
The function is not defined for RGB images. Read the first line of the code where it says "grayscale".

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by