You are here: Start » AVL.NET » Function Reference » Image » Image Pixel Statistics » AVL.ImageStatistics
Computes various statistics of the image pixel values.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ImageStatistics ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, out AvlNet.Location outMinimumLocation, out float outMinimumValue, out AvlNet.Location outMaximumLocation, out float outMaximumValue, out AvlNet.Pixel outAverageColor, out float outAverageValue, out AvlNet.Pixel outSumColor, out float outSumValue )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Input image. | ||
![]() | inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]() | outMinimumLocation | AvlNet.Location | |||
![]() | outMinimumValue | float | |||
![]() | outMaximumLocation | AvlNet.Location | |||
![]() | outMaximumValue | float | |||
![]() | outAverageColor | AvlNet.Pixel | |||
![]() | outAverageValue | float | |||
![]() | outSumColor | AvlNet.Pixel | |||
![]() | outSumValue | float |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region exceeds an input image in ImageStatistics. |
Function Overrides
- ImageStatistics(Image, NullableValue<Location>, NullableValue<Single>, NullableValue<Location>, NullableValue<Single>, NullableValue<Pixel>, NullableValue<Single>, NullableValue<Pixel>, NullableValue<Single>)
- ImageStatistics(Image, NullableRef<Region>, NullableValue<Location>, NullableValue<Single>, NullableValue<Location>, NullableValue<Single>, NullableValue<Pixel>, NullableValue<Single>, NullableValue<Pixel>, NullableValue<Single>)