ImageGear Professional DLL v17.1 for Windows Accusoft
IG_IP_dilate
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Processing Effects Functions > IG_IP_dilate

Glossary Item Box

This function applies dilation effect to provided raster page using the specified structure element.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_IP_dilate(
        HIGEAR hIGear, 
        LPAT_RECT lpRect,
        LPAT_INT lpMatrix,
        AT_INT nMatrixSize
);

Arguments:

hIGear Image to which to apply effect.
lpRect Image rectangle to process.
lpMatrix Matrix specifying a structuring element for the operation.
nMatrixSize Matrix edge size.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

Indexed RGB with grayscale palette - 1…8bpp;
Grayscale 1…16 bpp.

Sample:

Image Processing

Remarks:

This function is applicable to any grayscale image (image with [Gy] color space).

©2012. Accusoft Corporation. All Rights Reserved.