Borrar filtros
Borrar filtros

HOG feature extraction for 112x92

3 visualizaciones (últimos 30 días)
Tousif Ahmed
Tousif Ahmed el 26 de Mzo. de 2017
Comentada: georges matar el 16 de Feb. de 2018
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

Respuesta aceptada

Jan
Jan el 26 de Mzo. de 2017
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 comentarios
Tousif Ahmed
Tousif Ahmed el 27 de Mzo. de 2017
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 el 16 de Feb. de 2018
because you are using blocksize as a number 4,,, instead, replace blockSize by the array [2 2]

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Computer Vision Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by