autothresholdr provides algorithms for automatically finding appropriate thresholds for numerical data, with special functions for thresholding images. It does this by porting ImageJ “Auto Threshold” plugin functionality to R.

The github repo of autothresholdr is at https://github.com/rorynolan/autothresholdr.

Installation

You can install the release version of autothresholdr from CRAN with:

install.packages("autothresholdr")

You can install the development version of autothresholdr from GitHub with:

How to use the package

The following articles contain all you need to get going: