ImageStatistics
Computes various statistics of the image pixel values.
Syntax
C++
Python
def ImageStatistics( inImage: Image, /, *, inRoi: Region | None = None, outMinimumLocation: Location | None = None, outMaximumLocation: Location | None = None, outAverageColor: Pixel | None = None, outSumColor: Pixel | None = None ) -> ( outMinimumValue: float, outMaximumValue: float, outAverageValue: float, outSumValue: float )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inRoi | Region | None | None | Range of pixels to be processed |
![]() |
outMinimumLocation | Location | None | None | |
![]() |
outMinimumValue | float | ||
![]() |
outMaximumLocation | Location | None | None | |
![]() |
outMaximumValue | float | ||
![]() |
outAverageColor | Pixel | None | None | |
![]() |
outAverageValue | float | ||
![]() |
outSumColor | Pixel | None | None | |
![]() |
outSumValue | float |
Hardware Acceleration
This operation is optimized for SSSE41 technology for pixels of types: 1xUINT8, 3xUINT8.
This operation is optimized for AVX2 technology for pixels of types: 1xUINT8, 3xUINT8.
This operation is optimized for NEON technology for pixels of types: 1xUINT8, 3xUINT8.
This operation supports automatic parallelization for multicore and multiprocessor systems.


