http://www.emgu.com
Create a new HOGDescriptor using the specific parameters.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public HOGDescriptor(
	Image<Bgr, byte> template,
	Size blockSize,
	Size blockStride,
	Size cellSize,
	int nbins,
	int derivAperture,
	double winSigma,
	double L2HysThreshold,
	bool gammaCorrection
)
Visual Basic
Public Sub New ( 
	template As Image(Of Bgr, Byte),
	blockSize As Size,
	blockStride As Size,
	cellSize As Size,
	nbins As Integer,
	derivAperture As Integer,
	winSigma As Double,
	L2HysThreshold As Double,
	gammaCorrection As Boolean
)
Visual C++
public:
HOGDescriptor(
	Image<Bgr, unsigned char>^ template, 
	Size blockSize, 
	Size blockStride, 
	Size cellSize, 
	int nbins, 
	int derivAperture, 
	double winSigma, 
	double L2HysThreshold, 
	bool gammaCorrection
)
F#
new : 
        template : Image<Bgr, byte> * 
        blockSize : Size * 
        blockStride : Size * 
        cellSize : Size * 
        nbins : int * 
        derivAperture : int * 
        winSigma : float * 
        L2HysThreshold : float * 
        gammaCorrection : bool -> HOGDescriptor

Parameters

template
Type: Emgu.CV..::..Image<(Of <(<'Bgr, Byte>)>)>
The template image to be detected.
blockSize
Type: System.Drawing..::..Size
Block size in cells. Use (16, 16) for default.
blockStride
Type: System.Drawing..::..Size
Block stride. Must be a multiple of cell size. Use (8,8) for default.
cellSize
Type: System.Drawing..::..Size
Cell size. Use (8, 8) for default.
nbins
Type: System..::..Int32
Number of bins. Use 9 for default.
derivAperture
Type: System..::..Int32
Use 1 for default.
winSigma
Type: System..::..Double
Gaussian smoothing window parameter. Use -1 for default.
L2HysThreshold
Type: System..::..Double
L2-Hys normalization method shrinkage. Use 0.2 for default.
gammaCorrection
Type: System..::..Boolean
Do gamma correction preprocessing or not. Use true for default.

See Also