error in storing HOG feature
조회 수: 21 (최근 30일)
이전 댓글 표시

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
채택된 답변
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);
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!