ImageHistogram


Computes the histogram of the image pixel values.

Syntax

C++
C#
Python
 
def ImageHistogram(
	inImage: Image,
	outHistogram: Histogram,
	/,
	*,
	inRoi: Region | None = None,
	inChannelIndex: int = 0,
	inDomainBegin: float = 0.0,
	inBinSize: float = 1.0,
	inBinCount: int = 256
)
-> None

Parameters

Name Type Range Default Description
Input value inImage Image Input image
Input value inRoi Region | None None Range of pixels to be processed
Input value inChannelIndex int 0 - 3 0 Selects a channel of the input image
Input value inDomainBegin float 0.0 The lowest value that will be considered in the output histogram
Input value inBinSize float 0.0 - 1.0 Width of a single histogram bin
Input value inBinCount int 256 The upper-bound for values that will be considered in the output histogram
Output value outHistogram Histogram Output histogram