enter image description here

The second image is a raster layer and in the third image obtained vector layer is so accurate.

What algorithm would have been employed?

Normal methods doesn't give nearly equal vectorization.

I applied Raster to polygon conversion and the output is the below image where the green=raster, red=accurate vector,black=result of raster to poly. the red and black both are vectors but are very different.

enter image description here

Green line original raster, red is the accurate vector, Black is the outcome of the raster to polygon func.

  • 2
    Isn't this just Raster to Polygon with the default SIMPLIFY option? It's not clear why you tagged this with a retired release of ArcGIS. It might not be possible to achieve the same output with such an ancient build of software. – Vince Oct 16 '18 at 12:37
  • yes when using Raster to Polygon with the default SIMPLIFY the vector outcome is more generalized. I wanted to tag Arcgis and didn't see the version. I am using the latest version of Arcgis.I have included the picture below. – roshualine Oct 16 '18 at 14:32

This looks like Chaikin smoothing algorithm and it is very easy to implement:

enter image description here

It also looks like you have multiple obsolete vertices on straight segments of your green line.

  • Thank you so much. I am new to this part so was unaware of it. Now will try to implement this in Python. – roshualine Oct 18 '18 at 16:01

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.