Skip to content

PixelStatistics

Image - GetAverage

Returns the average value between the pixels in the range.

IN

Name Type Description
InImage Image The input Image
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFloat Float Average value (for all channels).
Error ErrorState Gets the execution error message

Image - GetAverageHSx

Returns the average pixel value for the HSV, HSL or HSI images.

IN

Name Type Description
InImage Image The input Image
InHSxModel Enum < HSxModel > HSx color model.
InMinSaturation Int Minimum saturation value to consider when averaging. Range: 〔0, 255〕.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPixel Pixel Average pixel.
Error ErrorState Gets the execution error message

Image - GetMax

Returns the value of the brightest pixel (and its position).

IN

Name Type Description
InImage Image The input Image
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFloat Float Pixel's value.
Error ErrorState Gets the execution error message

Image - GetMin

Returns the value of the darkest pixel (and its position).

IN

Name Type Description
InImage Image The input Image
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFloat Float Pixel's value.
Error ErrorState Gets the execution error message

Image - GetStats

Returns various statistics for the image pixels.

IN

Name Type Description
InImage Image The input Image
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image The modified Core.Data.Types.Image
Error ErrorState Gets the execution error message

Image - SumPixels

Returns the sum of the pixels.

IN

Name Type Description
InImage Image The input Image
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFloat Float Sum value (for all channels).
Error ErrorState Gets the execution error message