ImageSum


Computes the sum of the image pixel values.

Syntax

C++
Python
 
def ImageSum(
	inImage: Image,
	/,
	*,
	inRoi: Region | None = None
)
-> (
	outSumColor: Pixel,
	outSumValue: float
)

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inRoi Region | None None Range of pixels to be processed
Output value outSumColor Pixel
Output value 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.