error in storing HOG feature
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Chandru G
el 21 de Mzo. de 2017
Comentada: Chandru G
el 2 de Jun. de 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.

0 comentarios
Respuesta aceptada
Tohru Kikawada
el 21 de Mzo. de 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);
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!