FilterLowpass

Filter with a low-pass kernel

Supported Technologies

MT, SSE2

Synopsis

FwStatus   fwiFilterLowpass_8u_C1R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterLowpass_8u_C3R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterLowpass_8u_AC4R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterLowpass_16s_C1R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterLowpass_16s_C3R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterLowpass_16s_AC4R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterLowpass_32f_C1R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterLowpass_32f_C3R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterLowpass_32f_AC4R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );

Parameters

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, apply a low-pass operator to the source data, and write the filtered data to a destination buffer.

The functions use either a 3X3 or a 5X5 kernel.