extracthogfeatures is not working in R2011a. Is it the version error or command error?

조회 수: 2 (최근 30일)
I1 = imread('gantrycrane.png');
I2=im2double(I1);
[hog1, visualization] = extractHOGFeatures(I2,'CellSize',[32 32]);
subplot(1,2,1);
imshow(I2);
subplot(1,2,2);
plot(visualization);
??? Undefined function or method 'extractHOGFeatures' for input arguments of type 'double'.

답변 (2개)

Image Analyst
Image Analyst 2015년 3월 20일
Type ver to see if you have the Computer Vision System Toolbox - I'm not sure it existed yet in that R2011a version. Otherwise, this is a good excuse to upgrade your 4 year old version to the latest version.
  댓글 수: 3
Image Analyst
Image Analyst 2015년 3월 20일
I don't have that toolbox. Is extractHOGFeatures a built in function or some custom function someone gave you? Try this:
which -all extractHOGFeatures
What does it say?
Shreya Bareja
Shreya Bareja 2015년 3월 21일
This is what i get. >> which -all extractHOGFeatures 'extractHOGFeatures' not found.

댓글을 달려면 로그인하십시오.


Dima Lisin
Dima Lisin 2015년 3월 20일
extractHOGFeatures was introduced in R2013b.
  댓글 수: 2
Shreya Bareja
Shreya Bareja 2015년 3월 21일
But if have the Computer Vision System Toolbox would extracthogfeatures still be non-functional?
Image Analyst
Image Analyst 2015년 3월 21일
Why would it be? It's not even there in the R2011a version that you have. Like Dima said, that function was introduced in R2013b, even though you may have an earlier version of the toolbox. So you don't have it.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by