Fixes, Otsu threshold determination (maximum interclass variance).