FilterMedianVert

Filter with median value in vertical mask

Supported Technologies

MT

Synopsis

FwStatus   fwiFilterMedianVert_8u_C1R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterMedianVert_8u_C3R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterMedianVert_8u_C4R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterMedianVert_8u_AC4R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterMedianVert_16s_C1R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterMedianVert_16s_C3R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterMedianVert_16s_C4R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSizeFwiMaskSize maskSize );
FwStatus   fwiFilterMedianVert_16s_AC4R ( const Fw16s * pSrcint srcStepFw16s * 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, replace each source pixel value with the median value of all pixels in the area defined by the vertical mask, and write the filtered data to a destination buffer.

The functions remove noise without decreasing image brightness, as averaging filters do.

The functions can use arbitrary vertical mask sizes.