You are here: Start » AVL.NET » Function Reference » Image » Image Pixel Statistics » AVL.ImageStatistics

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
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
outMinimumLocationAvlNet.NullableValue<AvlNet.Location> Can be null to skip this parameter calculation.
outMinimumValueAvlNet.NullableValue<float> Can be null to skip this parameter calculation.
outMaximumLocationAvlNet.NullableValue<AvlNet.Location> Can be null to skip this parameter calculation.
outMaximumValueAvlNet.NullableValue<float> Can be null to skip this parameter calculation.
outAverageColorAvlNet.NullableValue<AvlNet.Pixel> Can be null to skip this parameter calculation.
outAverageValueAvlNet.NullableValue<float> Can be null to skip this parameter calculation.
outSumColorAvlNet.NullableValue<AvlNet.Pixel> Can be null to skip this parameter calculation.
outSumValueAvlNet.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

See also