Filter with maximum value in mask

Supported Technologies



FwStatus   fwiFilterMax_8u_C1R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMax_8u_C3R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMax_8u_C4R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMax_8u_AC4R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMax_16s_C1R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMax_16s_C3R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMax_16s_C4R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMax_16s_AC4R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMax_32f_C1R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMax_32f_C3R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMax_32f_C4R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint anchor );
FwStatus   fwiFilterMax_32f_AC4R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSizeFwiSize maskSizeFwiPoint 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 largest pixel value in the area defined by the mask size, and write the filtered data to a destination buffer.

The functions increase image contrast.

The functions can use arbitrary mask sizes.