ImageGear Professional for Windows ActiveX
GetNoiseObjectsCount Method

Description:

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.

Syntax:

      GetNoiseObjectsCount (ByVal pPage As IGPage, ByVal
ObjectSizeThreshold As Long) As Long

Parameters:

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.

Return Value:

A number of groups of "noise" black pixels

Bits Per Pixel:

1

Sample:

Ip_Fx

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback