필터 지우기
필터 지우기

How to visualize HOG Feature in MatLab?

조회 수: 4 (최근 30일)
Indra
Indra 2013년 11월 11일
편집: Danu Purnomo 2017년 1월 18일
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.

답변 (1개)

Danu Purnomo
Danu Purnomo 2017년 1월 11일
편집: Danu Purnomo 2017년 1월 18일
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);

카테고리

Help CenterFile Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by