I was reading through this article where the author did some image segmentation of popcorn kernels. I was wondering if there were any tools to help with this in R.
I have been playing with magick, but I was not able to find a way to segment an image.