How to visualize HOG Feature in MatLab?

6 ビュー (過去 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 Center および File ExchangeFeature Detection and Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by