I used following code to extract HOG feature from an image, but it returns nothing.
[featureVector,hogVisualization] = extractHOGFeatures(I,'BlockSize',[16 16],'BlockOverlap',[8 8]);
The image size is 32*32 and the featureVector is an empty matrix.
The image takes from mouth region. </matlabcentral/answers/uploaded_files/79686/122.jpg>

1 件のコメント

KSSV
KSSV 2017 年 6 月 5 日
You should attach the image on which you tried this function.

サインインしてコメントする。

 採用された回答

jenny
jenny 2017 年 6 月 9 日

0 投票

If I understand what you writed the Number of overlapping cells between adjacent blocks is the half (50%) and the blolck size is [16,16] and this parametrs are the default parametrs so you can delete this parametrs from the syntax.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeComputer Vision Toolbox についてさらに検索

タグ

質問済み:

2017 年 6 月 4 日

回答済み:

2017 年 6 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by