Entropy based thresholding based on Kapur et al. (1985).
1 | threshold_entropy(x, range_constrain = NULL, ...)
|
x |
vector of (pixel) gray levels to be thresholded |
range_constrain |
constrain the range from which to select the threshold |
... |
arguemnts passed to hist, e.g. breaks |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.