1

I would like to create road-center lines for amorphous-shaped images as in the example. void area is shown with white and solid area is shown with black. So I would like to create a center-line for the white area.

I have polygon version of the image also, but how can we produce center-lines for this image?

I've tried collapse dual lines to center-line command but it did not work.

enter image description here


When I tried to use dual lines, it does not create anything new or it just draws a very short line at the edge of the void area actually. What I want to do to create something similar to this.

enter image description here

I do not have ArcScan, I used ArcMap 10.3.

closed as too broad by PolyGeo Mar 9 '18 at 21:51

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Can you share some examples of what you've already tried? – JoshC Mar 9 '18 at 16:42
  • I would think you'd have to first extract those white cells, then use some raster processing to 'thin' the group down to at minimum a 1-raster wide road. Then you can convert that to polyline using tools within QGIS or ArcGIS... – DPSSpatial Mar 9 '18 at 17:02
  • What I'd try: extract nodes from the black polygon and use them to compute a Voronoi diagram of the white polygon. – lynxlynxlynx Mar 9 '18 at 17:22
  • I do not have Arc Scan, I used Arcmap 10.3. I have tried to done first two advice and I am still working. but more detailed explanations would be really helpful. thank you – Demety Mar 12 '18 at 11:15
  • I Think what you want is called Skeletonize, see for example skimage Skeletonize – BERA Apr 17 at 13:04