Description: OTSU algorithm can be calculated adaptive threshold (for conversion to gray scale images binary images), a simple and efficient manner. The following code from the earliest to provide Ryan Dibble, after a more than Joerg.Schulenburg, R. Z. Liu amend the correction.
File list (Check if you may need any files):