getDescriptorSize (cv.HOGDescriptor) - MATLAB File Help
cv.HOGDescriptor/getDescriptorSize

Returns the number of coefficients required for the classification

sz = hog.getDescriptorSize()

Output

The desriptor size is computed in the following way:

cells_per_block = hog.BlockSize ./ hog.CellSize
histsize_per_block = prod(cells_per_block) * hog.NBins
blocks_per_window = (hog.WinSize - hog.BlockSize) ./ hog.BlockStride + 1
descriptor_size = prod(blocks_per_window) * histsize_per_block
See also
Method Details
Access public
Sealed false
Static false