Borrar filtros
Borrar filtros

How to visualize HOG Feature in MatLab?

3 visualizaciones (últimos 30 días)
Indra
Indra el 11 de Nov. de 2013
Editada: Danu Purnomo el 18 de En. de 2017
Dear Experts,,
I am working on people detection using HOG method. However I have a problem on visualization the HOG features in MatLab. I know there is a function provided by MatLab to extract the HOG feature, but I would like to know how to write the code for the visualization of HOG feature in MatLab. Anybody has idea to help me on this problem?
Thank you.

Respuestas (1)

Danu Purnomo
Danu Purnomo el 11 de En. de 2017
Editada: Danu Purnomo el 18 de En. de 2017
suppose you have an image called "image01.jpg"
img = imread('image01.jpg');
[featureVector,hogVisualization] = extractHOGFeatures(img);
% featureVector is HOG features
% hogVisualization is HOG feature visualization
you can display the result of HOG features with
plot(hogVisualization);

Categorías

Más información sobre Feature Detection and Extraction en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by