DioDocs for PDF
CalculateOtsuThreshold メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Imaging 名前空間 > GcBitmap クラス : CalculateOtsuThreshold メソッド
The source rectangle of the GcBitmap.
Calculates Otsu's threshold [0..255] for a grayscale image.

It is expected that the image is already converted to monochromatic gray.

シンタックス
'宣言
 
Public Function CalculateOtsuThreshold( _
   Optional ByVal sourceRect As System.Nullable(Of Rectangle) _
) As System.Integer
public System.int CalculateOtsuThreshold( 
   System.Nullable<Rectangle> sourceRect
)

パラメータ

sourceRect
The source rectangle of the GcBitmap.
参照

GcBitmap クラス
GcBitmap メンバ