Rigatoni is an experimental port, based on the EBImage package, of the grainito (https://github.com/jframi/grainito) ImageJ macro.
Install dependencies from CRAN
install.packages("data.table")
install.packages("polylabelr")
install.packages("polyclip")
install.packages("devtools")
Install dependencies from github
devtools::install_github("MomX/Momocs2")
Install dependencies from Bioconductor
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("EBImage")
Then install Rigatoni from github
devtools::install_github("jframi/rigatoni")
Read the Vignette to get started