1

Is there a way to select the segments from a segmented layer in ArcMap?

I've created a segmented layer by running Segment Mean Shift, but I can't seem to find a way to select or isolate the segments. I was hoping for a way to, e.g., create a shapefile from a collection of segments. I see that Training Samples Manager offers manual picking, but I'm not trying to create training samples for classification. Also, manual picking would be laborious in my case.

Is there a way to select/isolate segments by applying a mask?

  • What is your desired end product? How do you intend to use it? – Aaron Mar 13 at 3:54
  • @Aaron I've changed the question to using ArcMap. I'm trying to extract the coordinates of each segment polygon. Ultimately it'll be used for training a deep learning model (outside of ArcGIS). – John M. Mar 13 at 4:57
  • Why not convert the segments to polygon using Raster to Polygon? Alternatively, consider shifting your workflow to Orfeo Toolbox where you can export segments as polygons: orfeo-toolbox.org/CookBook/Applications/… – Aaron Mar 13 at 5:30
  • @Aaron I've tried converting Raster to Polygon, but is there a way to extract individual polygons and put them on a separate layer? – John M. Mar 13 at 15:10
  • Which criteria would you use to select the polygons? – Aaron Mar 13 at 15:30
0

I would recommend a two-step approach:

  1. Convert your raster segments to vector segments using Raster to Polygon.
  2. Use Select by Location with a “completely contains”, or other overlap rule that meets your needs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.