Uses Otsu's Method to binarize given image, performing automatic image thresholding.
otsuBinarization(img, breaks = 512)
image object to be processed
a single number giving the number of cells for the histogram
separated image into foreground and background
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.