ImageGear Professional v18.2 > API Reference Guide > ImageClean Component API Reference > ImageClean Component Objects > IGICCtl Control > IGICCtl Methods > GetNoiseObjectsCount Method |
Checks the image for a number of groups of "noise" black pixels (connected to each other) exceeding the size of the specified threshold value.
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.
GetNoiseObjectsCount (ByVal pPage As IGPage, ByVal
ObjectSizeThreshold As Long) As Long
Name | Description |
---|---|
pPage | Reference to IGPage Object for which to get the noise objects count. |
ObjectSizeThreshold | Diagonal of the minimum circumscribed rectangle that contains the group of "noise" black pixels. |
A number of groups of "noise" black pixels
1
Ip_Fx