HOGDescriptor Constructor (Size, Size, Size, Size, Int32, Int32, Double, Double, Boolean) |
http://www.emgu.com
Create a new HOGDescriptor using the specific parameters.
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntaxpublic HOGDescriptor(
Size winSize,
Size blockSize,
Size blockStride,
Size cellSize,
int nbins = 9,
int derivAperture = 1,
double winSigma = -1,
double L2HysThreshold = 0.2,
bool gammaCorrection = true
)
Public Sub New (
winSize As Size,
blockSize As Size,
blockStride As Size,
cellSize As Size,
Optional nbins As Integer = 9,
Optional derivAperture As Integer = 1,
Optional winSigma As Double = -1,
Optional L2HysThreshold As Double = 0.2,
Optional gammaCorrection As Boolean = true
)
public:
HOGDescriptor(
Size winSize,
Size blockSize,
Size blockStride,
Size cellSize,
int nbins = 9,
int derivAperture = 1,
double winSigma = -1,
double L2HysThreshold = 0.2,
bool gammaCorrection = true
)
new :
winSize : Size *
blockSize : Size *
blockStride : Size *
cellSize : Size *
?nbins : int *
?derivAperture : int *
?winSigma : float *
?L2HysThreshold : float *
?gammaCorrection : bool
(* Defaults:
let _nbins = defaultArg nbins 9
let _derivAperture = defaultArg derivAperture 1
let _winSigma = defaultArg winSigma -1
let _L2HysThreshold = defaultArg L2HysThreshold 0.2
let _gammaCorrection = defaultArg gammaCorrection true
*)
-> HOGDescriptor
Parameters
- winSize
- Type: System.DrawingSize
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.DrawingSize
Block size in cells. Use (16, 16) for default. - blockStride
- Type: System.DrawingSize
Block stride. Must be a multiple of cell size. Use (8,8) for default. - cellSize
- Type: System.DrawingSize
Cell size. Use (8, 8) for default. - nbins (Optional)
- Type: SystemInt32
Number of bins. - derivAperture (Optional)
- Type: SystemInt32
[Missing <param name="derivAperture"/> documentation for "M:Emgu.CV.HOGDescriptor.#ctor(System.Drawing.Size,System.Drawing.Size,System.Drawing.Size,System.Drawing.Size,System.Int32,System.Int32,System.Double,System.Double,System.Boolean)"]
- winSigma (Optional)
- Type: SystemDouble
Gaussian smoothing window parameter. - L2HysThreshold (Optional)
- Type: SystemDouble
L2-Hys normalization method shrinkage. - gammaCorrection (Optional)
- Type: SystemBoolean
Do gamma correction preprocessing or not. Use true for default.
See Also