 
            This function applies dilation effect to provided raster page using the specified structure element.
| 
                        Copy Code
                     | |
|---|---|
| 
AT_ERRCOUNT ACCUAPI IG_IP_dilate(
        HIGEAR hIGear, 
        LPAT_RECT lpRect,
        LPAT_INT lpMatrix,
        AT_INT nMatrixSize
);
 | |
| Name | Type | Description | 
|---|---|---|
| hIGear | HIGEAR | Image to which to apply effect. | 
| lpRect | LPAT_RECT | Image rectangle to process. | 
| lpMatrix | LPAT_INT | Matrix specifying a structuring element for the operation. | 
| nMatrixSize | AT_INT | Matrix edge size. | 
Returns the number of ImageGear errors that occurred during this function call.
Indexed RGB with grayscale palette - 1…8bpp;
Grayscale 1…16 bpp.
Image Processing
This function is applicable to any grayscale image (image with [Gy] color space).