How to automatically vectorize raster images with Arcgis
Tool: ArcGIS Pro Desktop 2.1
Original data: 9 grayscale images in Shanghai area
Mosaic to stich images into onw big image (click to see clearer images).
In grayscale image, the value of each pixel can range from e.g. [0-255]. But the bianry image pixel value can be either 0 or 1.
This step is to set a threshold, which will be used in classify grascale pixel values into 0 or 1.
The threshhold is vital in the whole processing, e.g. some grascale images can have blurring building edges. This threshold determines the edge shape in vector images. The threshold value can be different in every cases.
Reclassify function is used in this step.
Raster to Polygon (or
Raster to Polyline) to vectorize the binary image. P.S. If the image size is big, this step can take a long time.
Here we have the voctor image. But if you check the image closely, you will find some small islands on the image and some jagged edges. In order to remove them, the image needs to be furture processed.
If the image has a
Geographic Coordinate System, we need to project it into a
Projected Coordinate System.
Project to reprojection the image.
Simplify Polygon to remove the small islands and smoothify the edges.