Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Pixel Statistics » ImageSum
Computes the sum of the image pixel values.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::ImageSum ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, avl::Pixel& outSumColor, atl::Optional<float&> outSumValue = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inImage | const Image& | Input image | ||
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed | |
outSumColor | Pixel& | |||
outSumValue | Optional<float&> | NIL |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.