Sum pixel values in row mask

Supported Technologies



FwStatus   fwiSumWindowRow_8u32f_C1R ( const Fw8u * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeint maskSizeint anchor );
FwStatus   fwiSumWindowRow_8u32f_C3R ( const Fw8u * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeint maskSizeint anchor );
FwStatus   fwiSumWindowRow_8u32f_C4R ( const Fw8u * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeint maskSizeint anchor );
FwStatus   fwiSumWindowRow_16s32f_C1R ( const Fw16s * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeint maskSizeint anchor );
FwStatus   fwiSumWindowRow_16s32f_C3R ( const Fw16s * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeint maskSizeint anchor );
FwStatus   fwiSumWindowRow_16s32f_C4R ( const Fw16s * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeint maskSizeint anchor );


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).


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 row mask, and write the filtered data to a destination buffer.

The functions can use arbitrary horizontal row mask sizes.