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 | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Input image | ||
![]() |
inRoi | Region | None | None | Range of pixels to be processed | |
![]() |
inChannelIndex | int | 0 - 3 | 0 | Selects a channel of the input image |
![]() |
inDomainBegin | float | 0.0 | The lowest value that will be considered in the output histogram | |
![]() |
inBinSize | float | 0.0 - ![]() |
1.0 | Width of a single histogram bin |
![]() |
inBinCount | int | 256 | The upper-bound for values that will be considered in the output histogram | |
![]() |
outHistogram | Histogram | Output histogram |



