Back to FabImage Library Lite website

You are here: Start » Image Pixel Statistics » ImageSum

ImageSum


Computes the sum of the image pixel values.

Syntax

void fil::ImageSum
(
	const fil::Image& inImage,
	ftl::Optional<const fil::Region&> inRoi,
	fil::Pixel& outSumColor,
	ftl::Optional<float&> outSumValue = ftl::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.