So, I am looking into raster segmentation methods and I started having a few doubts about what I know abouth their technicalities.
I was wandering if there is a way to connect raster-to-polygon functions with raster segmentation. To be more specific, if you are an R user for example there isn't a library that does raster segmentation using region growth but you can create a function that does region growth and then use the raster_to_polygon function, right?
TL;DR: Is there a connection between raster to polygon conversions and raster segmentation? Can you explain why?