operator implements the Otsu algorithm for threshold calcuation
Otsu assumes bimodal histograms and searches for threshold that
maximizes the difference between the intensity means of both classes
mimimizes the intensity variance within each class
operator output is the calculated threshold
Input image
the single-channel image to be analyzed
if the image contains multiple channels, only the first one is processed
Verbose
disables/enables output of additional messages on console