[]
Calculates Otsu's threshold [0..255] for a grayscale image.
It is expected that the image is already converted to monochromatic gray.
public int CalculateOtsuThreshold(Rectangle? sourceRect = null)
Public Function CalculateOtsuThreshold(Optional sourceRect As Rectangle? = Nothing) As Integer
Type | Description |
---|---|
int |