FilterMin

Filter with minimum value in mask

Supported Technologies

MT

Synopsis

FwStatus   fwiFilterMin_8u_C1R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMin_8u_C3R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMin_8u_C4R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMin_8u_AC4R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMin_16s_C1R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMin_16s_C3R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMin_16s_C4R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMin_16s_AC4R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMin_32f_C1R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMin_32f_C3R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMin_32f_C4R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMin_32f_AC4R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint 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 smallest pixel value in the area defined by the mask size, and write the filtered data to a destination buffer.

The functions decrease image contrast. The functions can use arbitrary mask sizes.