HOGDescriptor Constructor (NullableSize, NullableSize, NullableSize, NullableSize, Int32, Int32, Double, HistogramNormType, Double, Boolean, Int32) OpenCvSharp Class Library
Creates the HOG descriptor and detector.

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public HOGDescriptor(
	Nullable<Size> winSize = null,
	Nullable<Size> blockSize = null,
	Nullable<Size> blockStride = null,
	Nullable<Size> cellSize = null,
	int nbins = 9,
	int derivAperture = 1,
	double winSigma = -1,
	HistogramNormType histogramNormType = HistogramNormType.L2Hys,
	double l2HysThreshold = 0.2,
	bool gammaCorrection = true,
	int nlevels = 64
)

Parameters

winSize (Optional)
Type: SystemNullableSize
Detection window size. Align to block size and block stride.
blockSize (Optional)
Type: SystemNullableSize
Block size in pixels. Align to cell size. Only (16,16) is supported for now.
blockStride (Optional)
Type: SystemNullableSize
Block stride. It must be a multiple of cell size.
cellSize (Optional)
Type: SystemNullableSize
Cell size. Only (8, 8) is supported for now.
nbins (Optional)
Type: SystemInt32
Number of bins. Only 9 bins per cell are supported for now.
derivAperture (Optional)
Type: SystemInt32

[Missing <param name="derivAperture"/> documentation for "M:OpenCvSharp.CPlusPlus.HOGDescriptor.#ctor(System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Int32,System.Double,OpenCvSharp.CPlusPlus.HistogramNormType,System.Double,System.Boolean,System.Int32)"]

winSigma (Optional)
Type: SystemDouble
Gaussian smoothing window parameter.
histogramNormType (Optional)
Type: OpenCvSharp.CPlusPlusHistogramNormType

[Missing <param name="histogramNormType"/> documentation for "M:OpenCvSharp.CPlusPlus.HOGDescriptor.#ctor(System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Int32,System.Double,OpenCvSharp.CPlusPlus.HistogramNormType,System.Double,System.Boolean,System.Int32)"]

l2HysThreshold (Optional)
Type: SystemDouble
L2-Hys normalization method shrinkage.
gammaCorrection (Optional)
Type: SystemBoolean
Flag to specify whether the gamma correction preprocessing is required or not.
nlevels (Optional)
Type: SystemInt32
Maximum number of detection window increases.
See Also

Reference