GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / IsBlank Method / IsBlank(Int32,Single,Boolean,Boolean,Single) Method
GdPicture image identifier.
Confidence threshold in the range [0 - 100]. Suggested value is 99.5.
Specifies if the algorithm must drop the margins during the calculation (slower). Yields more accurate results for images with margins. Default value is true.
Specifies if the algorithm must drop the punch holes during the calculation (slower). Yields more accurate results for images with punch holes. Default value is true.
Returns the confidence limit computed by the algorithm.





In This Topic
IsBlank(Int32,Single,Boolean,Boolean,Single) Method
In This Topic
Detects if a GdPicture image or on an area of a GdPicture image defined by SetROI() method is blank, with parameters to account for margins and for computed confidence limit.
Syntax
'Declaration
 
Public Overloads Function IsBlank( _
   ByVal ImageID As Integer, _
   ByVal Confidence As Single, _
   ByVal AccountForMargins As Boolean, _
   ByVal AccountForPunchHoles As Boolean, _
   ByRef ConfidenceOut As Single _
) As Boolean
public bool IsBlank( 
   int ImageID,
   float Confidence,
   bool AccountForMargins,
   bool AccountForPunchHoles,
   ref float ConfidenceOut
)
public function IsBlank( 
    ImageID: Integer;
    Confidence: Single;
    AccountForMargins: Boolean;
    AccountForPunchHoles: Boolean;
   var  ConfidenceOut: Single
): Boolean; 
public function IsBlank( 
   ImageID : int,
   Confidence : float,
   AccountForMargins : boolean,
   AccountForPunchHoles : boolean,
   ConfidenceOut : float
) : boolean;
public: bool IsBlank( 
   int ImageID,
   float Confidence,
   bool AccountForMargins,
   bool AccountForPunchHoles,
   ref float ConfidenceOut
) 
public:
bool IsBlank( 
   int ImageID,
   float Confidence,
   bool AccountForMargins,
   bool AccountForPunchHoles,
   float% ConfidenceOut
) 

Parameters

ImageID
GdPicture image identifier.
Confidence
Confidence threshold in the range [0 - 100]. Suggested value is 99.5.
AccountForMargins
Specifies if the algorithm must drop the margins during the calculation (slower). Yields more accurate results for images with margins. Default value is true.
AccountForPunchHoles
Specifies if the algorithm must drop the punch holes during the calculation (slower). Yields more accurate results for images with punch holes. Default value is true.
ConfidenceOut
Returns the confidence limit computed by the algorithm.

Return Value

True if it is a blank image, else False.
Remarks
Use the GetStat() method to check if this method has completed successfully.

This method requires the Image Documents component to run.

See Also