thr_isodata | R Documentation |
Threshold calculated with the algorithm by \insertCiteisodata;textualrcaiman, which was recommended by \insertCiteJonckheere2005;textualrcaiman.
thr_isodata(x)
x |
Numeric vector or a single-column matrix or data.frame able to be coerced to numeric. |
The implementation is based on
the IsoData method of Auto Threshold ImageJ plugin by Gabriel Landini, which is now available
in the autothresholdr
package (autothresholdr::auto_thresh()
).
However, I found this implementarion more versatile since it is not
restricted to an 8-bit input.
Numeric vector of length one.
Other Binarization Functions:
apply_thr()
,
obia()
,
ootb_mblt()
,
ootb_obia()
,
regional_thresholding()
,
thr_mblt()
caim <- read_caim()
r <- gbc(caim$Blue)
thr <- thr_isodata(values(r))
bin <- apply_thr(r, thr)
plot(bin)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.