error in storing HOG feature

3 Ansichten (letzte 30 Tage)
Chandru G
Chandru G am 21 Mär. 2017
Kommentiert: Chandru G am 2 Jun. 2017
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.

Akzeptierte Antwort

Tohru Kikawada
Tohru Kikawada am 21 Mär. 2017
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 Kommentar
Chandru G
Chandru G am 2 Jun. 2017
I Made size normalisation to all my images. and I got good result.thq.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by