Sum

Sum image data

Supported Technologies

SSE2

Synopsis

FwStatus   fwiSum_8u_C1R ( const Fw8u* pSrcint srcStepFwiSize roiSizeFw64f* pSum );
FwStatus   fwiSum_16s_C1R ( const Fw16s* pSrcint srcStepFwiSize roiSizeFw64f* pSum );

Parameters

pSrc   Pointer to a location in a source buffer.
pSum   Pointer to the sum of values.
roiSize   Specifies the height and width of an ROI.
srcStep   Source buffer step size (width of the buffer in bytes).

Description

These functions step through an ROI in a source buffer, sum the image data, and write the sum to a destination buffer.