http://www.emgu.com
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Create a new HOGDescriptor using the specific parameters
Namespace: Emgu.CV.GPUAssembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Syntax
C# |
---|
public GpuHOGDescriptor( Size winSize, Size blockSize, Size blockStride, Size cellSize, int nbins, double winSigma, double L2HysThreshold, bool gammaCorrection, int nLevels ) |
Visual Basic |
---|
Public Sub New ( _ winSize As Size, _ blockSize As Size, _ blockStride As Size, _ cellSize As Size, _ nbins As Integer, _ winSigma As Double, _ L2HysThreshold As Double, _ gammaCorrection As Boolean, _ nLevels As Integer _ ) |
Visual C++ |
---|
public: GpuHOGDescriptor( Size winSize, Size blockSize, Size blockStride, Size cellSize, int nbins, double winSigma, double L2HysThreshold, bool gammaCorrection, int nLevels ) |
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 bins per cell for deafault.
- 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.
- nLevels
- Type: System..::..Int32
Maximum number of detection window increases. Use 64 for default