Click or drag to resize

BitmapImageRenderImageHog Method (ValueTupleSingle, Single, Int32, Int32)

Renders the dominant HOG gradients; a 1 dimension array of (angle, gradient), where each element maps to an 8x8 block of an image, whose origin is the top left. Rendered image dimensions are (strideX + 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 , float )[] dominantGradient,
	int strideX,
	int height
)

Parameters

dominantGradient
Type: SystemValueTupleSingle, Single
Dominant gradient array.
strideX
Type: SystemInt32
Stride of gradient data.
height
Type: SystemInt32
Height of griadient data.

Return Value

Type: IBitmapImage
A new image instance.
See Also