Click or drag to resize

HOGDescriptorCompute Method

Computes HOG descriptors of given image.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public virtual float[] Compute(
	Mat img,
	Nullable<Size> winStride = null,
	Nullable<Size> padding = null,
	Point[] locations = null
)

Parameters

img
Type: OpenCvSharpMat
Matrix of the type CV_8U containing an image where HOG features will be calculated.
winStride (Optional)
Type: SystemNullableSize
Window stride. It must be a multiple of block stride.
padding (Optional)
Type: SystemNullableSize
Padding
locations (Optional)
Type: OpenCvSharpPoint
Vector of Point

Return Value

Type: Single
Matrix of the type CV_32F
See Also