Description Usage Arguments Details Value Examples
Takes in a grayscale image and finds the best threshold for binarization of the image.
1 |
image |
The image generated after the ExG transformation in the EBImage format. |
This function uses the https://github.com/aoles/EBImage/blob/master/R/otsu.R otsu function from EBImage to make the grayscale image into a binary black and white image. How the otsu transformation works and chooses the threshold can be understood more clearly at http://www.labbookpages.co.uk/software/imgProc/otsuThreshold.html.
A binary image
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.