ImageAverage
Computes the average of the image pixel values.
Syntax
C++
Python
def ImageAverage( inImage: Image, /, *, inRoi: Region | None = None ) -> ( outAverageColor: Pixel, outAverageValue: float )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inRoi | Region | None | None | Range of pixels to be processed |
![]() |
outAverageColor | Pixel | Average of each channel | |
![]() |
outAverageValue | float | Average of the entire image |
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.


