error in storing HOG feature

20 ビュー (過去 30 日間)
Chandru G
Chandru G 2017 年 3 月 21 日
コメント済み: Chandru G 2017 年 6 月 2 日
I am Extracting HOG features from above code and storing the features in mat file, there I'm getting below error help me to solve the code.

採用された回答

Tohru Kikawada
Tohru Kikawada 2017 年 3 月 21 日
extractHOGFeatures returns different sized features based on the image size. So you will need to resize images to the same image size if you expect the same feature length as follows:
I = imread(filename);
I = imresize(I,[256 256]); % align image size
featureVector = extractHOGFeatures(I);
  1 件のコメント
Chandru G
Chandru G 2017 年 6 月 2 日
I Made size normalisation to all my images. and I got good result.thq.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by