ImageGear for C and C++ on Windows v19.6 - Updated
IG_IP_NR_ROI_mask_erode
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Processing Functions > IG_IP_NR_ROI_mask_erode

Erodes ROI mask by the specified number of pixels.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_IP_NR_ROI_mask_erode(
        LPAT_NR_ROI_MASK lpMask,
        AT_INT pixCount
);

Arguments:

Name Type Description
lpMask LPAT_NR_ROI_MASK ROI mask to dilate.
pixCount AT_INT Number of pixels by which to erode the area.

Return Value:

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

Supported Raster Image Formats:

This function does not process image pixels.