SumWindow

Sum pixel values in column mask

Supported Technologies

MT

Synopsis

FwStatus   fwiSumWindowColumn_8u32f_C1R ( const Fw8u * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeint maskSizeint anchor );
FwStatus   fwiSumWindowColumn_8u32f_C3R ( const Fw8u * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeint maskSizeint anchor );
FwStatus   fwiSumWindowColumn_8u32f_C4R ( const Fw8u * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeint maskSizeint anchor );
FwStatus   fwiSumWindowColumn_16s32f_C1R ( const Fw16s * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeint maskSizeint anchor );
FwStatus   fwiSumWindowColumn_16s32f_C3R ( const Fw16s * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeint maskSizeint anchor );
FwStatus   fwiSumWindowColumn_16s32f_C4R ( const Fw16s * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeint maskSizeint anchor );

Parameters

anchor   A pixel locating the kernel (mask) according to source image.
dstRoiSize   Destination image ROI size.
dstStep   Destination buffer step size (width of the buffer in bytes).
maskSize   Specifies the size of a mask used in calculations.
pDst   Pointer to a location in a destination buffer.
pSrc   Pointer to a location in a source buffer.
srcStep   Source buffer step size (width of the buffer in bytes).

Description

These functions step through an ROI in a source buffer, replace each source pixel value with the sum of the values of all pixels in the area defined by the column mask, and write the filtered data to a destination buffer.

The functions can use arbitrary horizontal row mask sizes.