[Production of 3D topographic maps from images (with practice data)

=Insert image description here

1. Introduction to data sources

Insert image description here

  1. digital elevation data

Digital elevation data comes from the Resource and Environmental Science and Data Center of the Chinese Academy of Sciences (https://www.resdc.cn/Default.aspx).

Insert image description here

  1. Gongzhuling City remote sensing image data

Remote sensing image data data source network.

There is a data download link at the end of the article

2. Data preprocessing

  1. Gongzhuling City remote sensing image data preprocessing

As can be observed from the previous picture, the remote sensing images downloaded from the software have white edges, which requires us to process the white edges first before proceeding.

Before using the copy raster tool to process the image, we first need to know what the background value (white edge) is. The white edge is generally 255, and the black edge is generally -999. To ensure correctness, you can use the identification tool to detect it.

Insert image description here
Insert image description here

Create a mosaic dataset in a geodatabase. Here we create it in the default file geodatabase, and the coordinate system can be added by importing (importing the coordinate system of remote sensing images).

Tool location: Data Management Tools->Raster->Mosaic Dataset->Create Mosaic Dataset

Insert image description here
Insert image description here

Use the [Add Data to Mosaic Dataset] tool to add remote sensing images to the mosaic dataset.

Tool location: Data Management Tools->Raster->Mosaic Dataset->Add Data to Mosaic Dataset

Insert image description here

After that, you can use the [Define Mosaic Dataset Nodata] tool in the mosaic dataset to define the invalid values ​​of the data. Select ALL_BANS for the NoData value band, set the NoData value to 255 (the value of the white edge previously detected with the identification tool), check [Synthesize NoData values ​​based on each band], the remote sensing image has 3 bands, after selecting only these three The pixel will become NoData only when the values ​​of each band are 255. Otherwise, as long as one band in the pixel has a value of 255, it will be set to NoData.

Tool location: Data Management Tools->Raster->Mosaic Dataset->Define Mosaic Dataset Nodata

Insert image description here

The mosaic dataset itself also supports raster functions. Similar to the function template settings in the image data window, function chains can also be set to implement some complex requirements.

Of course, when we use a mosaic dataset, we can also remove invalid values ​​when constructing the outline. But its removal is not perfect. There will be some white pixels around the image. The number depends on the approximate number of vertices. The greater the number of approximate vertices, the closer the contour fits the image, and the better the white edges are removed. Here we set 10,000 (the largest).

Insert image description here

Right-click the image, select [Export Data], and set the range to the mosaic dataset.

Insert image description here
Insert image description here

2. Digital elevation data preprocessing

Use the cropping tool to crop digital elevation data.

Tool location: Data Management Tools->Raster->Raster Processing->Crop

Insert image description here

3. ArcScene

  1. 3D surface

Add remote sensing images with white edges removed and cropped digital elevation data of Gongzhuling City, right-click the image layer, select Properties -> Basic Height, and select [Float on custom surface] for [Elevation Obtained from Surface], where the default setting is Digital elevation data added together.

Insert image description here

Right-click the data frame, select Scene Properties -> General, and click Calculate based on range.

Insert image description here

  1. side section

Use the Feature to Line tool to export the outlines in the mosaic dataset as a vector layer.

Insert image description here

Add a vector boundary to ArcSence, right-click the layer, set the same basic height, switch the Stretch tab, and check [Stretch features in the layer]. You can use...Bara...] and select the stretching method as [Use it as the stretch value of the element].

Insert image description here

  1. Change display settings

Right-click the image layer, select Properties -> Symbology, change the type under Stretch to Esri, switch the Rendering tab, and pull [Raster Image Quality Management] to the highest level, which can make the image more realistic.

Insert image description here
Insert image description here

4. Results display

Insert image description here

Insert image description here

Guess you like

Origin blog.csdn.net/qq_43173805/article/details/127462452