Returns True if a GdPicture image or the area defined by SetROI() function is bitonal (black & white). This function accepts a threshold parameter.
public Boolean IsBitonal( int ImageID, int Threshold );
Public Function IsBitonal( ByVal ImageID As Integer, ByVal Threshold As Integer ) As Boolean
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
Threshold |
Threshold between 0 (max confidence) and 765 (min confidence). A value near than 50 is highly suggested. |
True if it is a bitonal image, else False.
Use the GetStat() function to check if this function has completed successfully.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|