ImageGear for C and C++ on Windows v20.5 - Updated
IG_IP_open
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Processing Functions > IG_IP_open

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

Declaration:

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

Arguments:

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.

Return Value:

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

Supported Raster Image Formats:

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

Sample:

Image Processing

Remarks:

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

Is this page helpful?
Yes No
Thanks for your feedback.