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, NullableValue<AvlNet.Location> outMinimumLocation, NullableValue<float> outMinimumValue, NullableValue<AvlNet.Location> outMaximumLocation, NullableValue<float> outMaximumValue, NullableValue<AvlNet.Pixel> outAverageColor, NullableValue<float> outAverageValue, NullableValue<AvlNet.Pixel> outSumColor, NullableValue<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.NullableValue<AvlNet.Location> | Can be null to skip this parameter calculation. | ||
![]() | outMinimumValue | AvlNet.NullableValue<float> | Can be null to skip this parameter calculation. | ||
![]() | outMaximumLocation | AvlNet.NullableValue<AvlNet.Location> | Can be null to skip this parameter calculation. | ||
![]() | outMaximumValue | AvlNet.NullableValue<float> | Can be null to skip this parameter calculation. | ||
![]() | outAverageColor | AvlNet.NullableValue<AvlNet.Pixel> | Can be null to skip this parameter calculation. | ||
![]() | outAverageValue | AvlNet.NullableValue<float> | Can be null to skip this parameter calculation. | ||
![]() | outSumColor | AvlNet.NullableValue<AvlNet.Pixel> | Can be null to skip this parameter calculation. | ||
![]() | outSumValue | AvlNet.NullableValue<float> | Can be null to skip this parameter calculation. |
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>, Location, Single, Location, Single, Pixel, Single, Pixel, Single)