You are here: Start » AVL.NET » Invoke.ImageHistogram
Computes the histogram of the image pixel values.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void ImageHistogram ( Avl.Image inImage, Optional<Avl.Region> inRoi, int inChannelIndex, float inDomainBegin, float inBinSize, int inBinCount, Avl.Histogram outHistogram )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImage | Avl.Image | Input image. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]()  | inChannelIndex | int | <0, 3> | Selects a channel of the input image. | |
![]()  | inDomainBegin | float | 0.0f | The lowest value that will be considered in the output histogram. Default value: 0.0f. | |
![]()  | inBinSize | float | <0.0f, INF> | 1.0f | Width of a single histogram bin. Default value: 1.0f. | 
![]()  | inBinCount | int | 256 | The upper-bound for values that will be considered in the output histogram. Default value: 256. | |
![]()  | outHistogram | Avl.Histogram | Output histogram. | 


