Dilate3X3

Dilate with 3X3 mask

Supported Technologies

MT, SSE2

Synopsis

FwStatus   fwiDilate3x3_8u_C1R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSize );

Parameters

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.
roiSize   Specifies the height and width of an ROI.
srcStep   Source buffer step size (width of the buffer in bytes).

Description

These functions step through an ROI in a source buffer and perform a morphological dilation of the source data using a 3x3 symmetric mask.

The functions read the values of the source pixel and the eight surrounding pixels in the mask area, and set the output pixel value to the largest of the source pixel values.

Output can be written to a destination buffer or back to the source location.