HOG feature extraction for 112x92

1 回表示 (過去 30 日間)
Tousif Ahmed
Tousif Ahmed 2017 年 3 月 26 日
コメント済み: georges matar 2018 年 2 月 16 日
person = 5; [hogFeature, visualization]= ... extractHOGFeatures(read(training(person),1)); figure This is the code for face detection. The code extracts the first image of a person. the image size is 112x92. In the workspace the hog feature shows 1x4680, for different dimension of image the hog feature value changes. I am unable to understand the changes of HOG feature. Can anyone help me please

採用された回答

Jan
Jan 2017 年 3 月 26 日
Did you read the corresponding docs already? See: https://www.mathworks.com/help/vision/ref/extracthogfeatures.html#outputarg_features . Which detail is not clear yet? It would not be efficient to rephrase the complete help text.
  2 件のコメント
Tousif Ahmed
Tousif Ahmed 2017 年 3 月 27 日
BlocksPerImage = floor((size(I)./CellSize – BlockSize)./(BlockSize – BlockOverlap) + 1)
Image size is 112x92, Cell size is 8x8; block size is 4; blockoverlap is 2. I know the answer for blockperimage is 130 but cannot get that by using the formula.
georges matar
georges matar 2018 年 2 月 16 日
because you are using blocksize as a number 4,,, instead, replace blockSize by the array [2 2]

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing and Computer Vision についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by