Image Segmentation


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.



there are many ways to segment image, such as edge based method, graph based method or deep model.

spectral clustering to parse background image seems good enough in this case.


This is an article from 5 years ago with step by step examples,


Thanks! if you know if any recent packages or methods are have been used since then, let me know.