ImageGear Professional DLL v17.1 for Windows Accusoft
IG_IC_check_for_noise
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > ImageClean Component API Reference > ImageClean Component Functions Reference > IG_IC_check_for_noise

Glossary Item Box

This function checks the image for the number of objects exceeding the size of the specified threshold value.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_IC_check_for_noise (
        HIGEAR hIGear,
        UINT nObjectSize, 
        LPUINT lpnObjectsAmount
);

Arguments:

hIGear HIGEAR handle of image.
nObjectSize Object size threshold value.
lpnObjectsAmount Pointer to variable to which to place the result.

Return Value:

If the function is successful, the return value is IGE_SUCCESS. If the function fails, the return value is the error count.

Supported Raster Image Formats:

Indexed RGB – 1 bpp.

Sample:

None

Remarks:

Object here means a connected group of black pixels. The object size is a diagonal of the minimum circumscribed rectangle that contains the object.

This function can be used to detect blank paper sheets in the scanner tray when the resulting image is almost clear and may contains only several black "noise" pixels.

Refer to the Component Manager API section.

©2012. Accusoft Corporation. All Rights Reserved.