フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

HOG Descriptor function Error

1 回表示 (過去 30 日間)
Algorithms Analyst
Algorithms Analyst 2012 年 11 月 7 日
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 件のコメント
Algorithms Analyst
Algorithms Analyst 2012 年 11 月 7 日
they didnot solve it.
Algorithms Analyst
Algorithms Analyst 2012 年 11 月 8 日
My dear this is still not working for grascale image how to call it ?

回答 (1 件)

Walter Roberson
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 件のコメント
Walter Roberson
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!

Translated by