Click or drag to resize

BitmapImageRenderImageHog Method (Single, Int32, Int32)

Renders the Hog vector. Each successive group of 36 elements (4 x (9 x 1) histogram) represents gradients (at angles 0, 20, 40, 60, 80, 100, 120, 140, and 160 degrees) in a 16x16 pixel window. This window slides over 8-pixel intervals, starting at top left of image. Rendered image dimensions are (strideX / 36 + 1) * 8, (height + 1) * 8.

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
public static IBitmapImage RenderImageHog(
	float[] hogVector,
	int strideX,
	int height
)

Parameters

hogVector
Type: SystemSingle
Hog vector data.
strideX
Type: SystemInt32
Stride of gradient data.
height
Type: SystemInt32
Height of griadient data.

Return Value

Type: IBitmapImage
A new image instance.
See Also