Click or drag to resize

IBitmapImageGetHistograms Method (ColourChannel, Int32, Int32, Int32, Int32)

Generates histogram statistics for a region of the image.

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
IImageStatistics GetHistograms(
	ColourChannel colourChannel,
	int startX,
	int startY,
	int width,
	int height
)

Parameters

colourChannel
Type: CohesiveComputing.ImagingColourChannel
Colour channel.
startX
Type: SystemInt32
Start x co-ordinate in image.
startY
Type: SystemInt32
Start y co-ordinate in image.
width
Type: SystemInt32
Region width.
height
Type: SystemInt32
Region height.

Return Value

Type: IImageStatistics
Histogram statistics for the image.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException startX or startY or width or height
See Also