extracthogfeatures is not working in R2011a. Is it the version error or command error?
Mostrar comentarios más antiguos
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'.
Respuestas (2)
Image Analyst
el 20 de Mzo. de 2015
0 votos
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 comentarios
Shreya Bareja
el 20 de Mzo. de 2015
Image Analyst
el 20 de Mzo. de 2015
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
el 21 de Mzo. de 2015
Dima Lisin
el 20 de Mzo. de 2015
0 votos
extractHOGFeatures was introduced in R2013b.
2 comentarios
Shreya Bareja
el 21 de Mzo. de 2015
Image Analyst
el 21 de Mzo. de 2015
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.
Categorías
Más información sobre Computer Vision Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!