http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)
Create a new HOGDescriptor using the specific parameters.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)
Syntax
C# |
---|
public HOGDescriptor( Size winSize, Size blockSize, Size blockStride, Size cellSize, int nbins, int derivAperture, double winSigma, double L2HysThreshold, bool gammaCorrection ) |
Visual Basic |
---|
Public Sub New ( _ winSize As Size, _ 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( Size winSize, Size blockSize, Size blockStride, Size cellSize, int nbins, int derivAperture, double winSigma, double L2HysThreshold, bool gammaCorrection ) |
Parameters
- winSize
- Type: System.Drawing..::..Size
Detection window size. Must be aligned to block size and block stride. Must match the size of the training image. Use (64, 128) for default.
- 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.