IsBlank(Int32,Single,Boolean,Boolean,Single) Method
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.
public bool IsBlank(
int ,
float ,
bool ,
bool ,
ref float
)
public function IsBlank(
: Integer;
: Single;
: Boolean;
: Boolean;
var : Single
): Boolean;
public function IsBlank(
: int,
: float,
: boolean,
: boolean,
: float
) : boolean;
public: bool IsBlank(
int ,
float ,
bool ,
bool ,
ref float
)
public:
bool IsBlank(
int ,
float ,
bool ,
bool ,
float%
)
'Declaration
Public Overloads Function IsBlank( _
ByVal As Integer, _
ByVal As Single, _
ByVal As Boolean, _
ByVal As Boolean, _
ByRef As Single _
) As Boolean
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.