ThresholdMethod

Valid values

  • 0 - Local contrast (Bernsen)
  • 1 - Iterative selection (default)
  • 2 - Iterative selection without bin 0
  • 3 - Local adaptive thresholding (Niblack)
  • 4 - Otsu method
  • 5 - A combination of 0 and 1
  • 6 - A combination of 1 and 3
  • 7 - Simplified image statistics