Sharpen

Sharpen

Supported Technologies

MT, SSE2

Synopsis

FwStatus   fwiFilterSharpen_8u_C1R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSize );
FwStatus   fwiFilterSharpen_8u_C3R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSize );
FwStatus   fwiFilterSharpen_8u_C4R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSize );
FwStatus   fwiFilterSharpen_8u_AC4R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize dstRoiSize );
FwStatus   fwiFilterSharpen_16s_C1R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSize );
FwStatus   fwiFilterSharpen_16s_C3R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSize );
FwStatus   fwiFilterSharpen_16s_C4R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSize );
FwStatus   fwiFilterSharpen_16s_AC4R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize dstRoiSize );
FwStatus   fwiFilterSharpen_32f_C1R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSize );
FwStatus   fwiFilterSharpen_32f_C3R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSize );
FwStatus   fwiFilterSharpen_32f_C4R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSize );
FwStatus   fwiFilterSharpen_32f_AC4R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize dstRoiSize );

Parameters

dstRoiSize   Destination image ROI size.
dstStep   Destination buffer step size (width of the buffer in bytes).
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 sharpening filter to the source data, and write the result to a destination buffer.

The functions use a fixed 3X3 mask.