CN112465963A - Electronic terrain shading map manufacturing method based on DEM, electronic device and storage medium - Google Patents

Electronic terrain shading map manufacturing method based on DEM, electronic device and storage medium Download PDF

Info

Publication number
CN112465963A
CN112465963A CN202011138473.XA CN202011138473A CN112465963A CN 112465963 A CN112465963 A CN 112465963A CN 202011138473 A CN202011138473 A CN 202011138473A CN 112465963 A CN112465963 A CN 112465963A
Authority
CN
China
Prior art keywords
data
dem
area
effect
terrain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011138473.XA
Other languages
Chinese (zh)
Inventor
张韵琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haoya Information Technology Co ltd
Original Assignee
Haoya Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Haoya Information Technology Co ltd filed Critical Haoya Information Technology Co ltd
Priority to CN202011138473.XA priority Critical patent/CN112465963A/en
Publication of CN112465963A publication Critical patent/CN112465963A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/32Indexing scheme for image data processing or generation, in general involving image mosaicing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Remote Sensing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Instructional Devices (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides an electronic terrain shading map manufacturing method based on DEM, which comprises the following steps: partitioning original terrain data, namely partitioning the original terrain data into a plurality of areas, wherein repeated zones exist between adjacent areas; making a terrain shading effect graph, simplifying the original data of each area according to the display detail requirements of different scales, making the obtained DEM data into shadow data, making an embedded data set by using the DEM data, performing color rendering on the embedded data set, and embedding the shadow data into the embedded data set; and (4) effect graph splicing, namely removing light color bands at the overlapped area in the effect graphs of adjacent areas, and splicing all the processed area effect graphs. The present invention relates to an electronic device and a storage medium for performing the above method. According to the method, original DEM data are cut into blocks and processed respectively according to actual conditions of the terrain, and finally the blocks are spliced, no data area exists between the processing blocks after splicing, and finally the large-range high-resolution electronic terrain shading map is obtained.

Description

Electronic terrain shading map manufacturing method based on DEM, electronic device and storage medium
Technical Field
The invention relates to the technical field of terrain shading, in particular to an electronic terrain shading map manufacturing method based on a DEM (digital elevation model), electronic equipment and a storage medium.
Background
The traditional terrain shading map utilizes DEM to superpose mountain shadows, the processing time depends on the performance of a graphic processing computer and the size of a terrain range, and the larger the terrain range is, the slower the data processing speed is and the longer the generation time of the terrain map is. Meanwhile, the conventional one-layer display does not consider the terrain display details of the electronic terrain map at different scale levels.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide the electronic terrain shading map manufacturing method based on the DEM.
The invention provides an electronic terrain shading map manufacturing method based on DEM, which comprises the following steps:
partitioning original terrain data, namely partitioning the original terrain data into a plurality of areas, wherein repeated zones exist between the adjacent areas;
making a terrain shading effect graph, simplifying original data of each area according to display detail requirements of different scales, making the obtained DEM data into shadow data, making an embedded data set by utilizing the DEM data, performing color rendering on the embedded data set, and embedding the shadow data into the embedded data set;
and (4) effect graph splicing, namely removing light color bands at the overlapped area in the effect graphs of adjacent areas, and splicing all the processed area effect graphs.
Further, in the step of making the terrain shading effect graph, shadow data are made from the obtained DEM data by using an MDOW mountain shadow model.
Further, in the step of making the terrain shading effect map, colormap is used for carrying out color rendering on the mosaic data set.
Further, in the step of making the terrain shading effect graph, the shadow data is embedded into the mosaic data set through a Panshading method.
Further, in the effect map stitching step, the removing of the light color band at the overlapping region in the adjacent region effect map includes the following steps:
separating the single-band graphs, and separating three single-band graphs from the effect graphs of all the regions;
merging the single-band maps, merging the three single-band maps, and finding out an area with the sum of 0 to obtain a data-free area;
and cutting the effect graph according to the obtained non-data area to obtain the effect graph with the non-numerical area removed.
Further, in the step of separating the single band maps, areas with a numerical value of 0 in the single band maps are respectively found out.
Further, in the step of merging the single band maps, an area with a total sum of 0 is found by a numerical value addition method, and the area is an area with a data-free band value RGB (0,0,0) in each area effect map.
Further, in the effect map splicing step, all the effect maps with the areas without numerical values removed are spliced, and data with smaller numerical values are selected in the overlapping area of adjacent areas.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for performing a DEM-based electronic terrain vignetting method.
A computer-readable storage medium having stored thereon a computer program for execution by a processor of a method for DEM-based electronic terrain shading mapping.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides an electronic terrain shading map manufacturing method based on DEM, which comprises the following steps: partitioning original terrain data, namely partitioning the original terrain data into a plurality of areas, wherein repeated zones exist between adjacent areas; making a terrain shading effect graph, simplifying the original data of each area according to the display detail requirements of different scales, making the obtained DEM data into shadow data, making an embedded data set by using the DEM data, performing color rendering on the embedded data set, and embedding the shadow data into the embedded data set; and (4) effect graph splicing, namely removing light color bands at the overlapped area in the effect graphs of adjacent areas, and splicing all the processed area effect graphs. The invention relates to an electronic device and a storage medium, which are used for executing an electronic terrain shading map making method based on DEM. According to the method, original DEM data are cut into blocks and processed respectively according to actual conditions of the terrain, and finally the blocks are spliced, no data area exists between the processing blocks after splicing, and finally the large-range high-resolution electronic terrain shading map is obtained.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood and to implement them in accordance with the contents of the description, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings. The detailed description of the present invention is given in detail by the following examples and the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method for making an electronic terrain shading map based on DEM;
FIG. 2 is a block diagram of raw terrain data according to the present invention;
FIG. 3 is a comparison of the effect of the original data and the simplified data according to the present invention;
FIG. 4 is a flowchart of steps for making a relief shading effect map according to the present invention;
FIG. 5 is a schematic diagram of the present invention for making a relief effect;
FIG. 6 is a schematic representation of a light colored tape of the present invention;
FIG. 7 is a flow chart of the pre-splice light color band process of the present invention;
fig. 8 is a graph of the splicing effect of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
The method for manufacturing the electronic terrain shading map based on the DEM is shown in figure 1 and comprises the following steps:
partitioning original terrain data, namely partitioning the original terrain data into a plurality of areas, wherein repeated zones exist between adjacent areas; as shown in fig. 2, 10 regions are shaded nationwide, and the shaded areas are overlapped to avoid DEM data break-off.
And (3) making a terrain shading effect graph, simplifying the original data of each area according to the display detail requirements of different scales, and making the obtained DEM data into shadow data, wherein the left side in the graph 3 is the original data, and the right side is simplified data of 100 x 100, as shown in the graph 3. And manufacturing an embedded data set by utilizing the DEM data, performing color rendering on the embedded data set, and embedding the shadow data into the embedded data set.
As shown in fig. 4, in the step of creating a terrain shading effect map, shadow data is created from the obtained DEM data by using an MDOW mountain shadow model, a colormap is used to perform color rendering on the mosaic data set, the shadow data is embedded into the mosaic data set by a panshading method, and the effect map is as shown in fig. 5.
As shown in fig. 6, after the completion of each region effect map, the edge of the region appears as a light color band, which is caused by the fact that the calculation includes a data-free region near the edge when the mountain shadow data is created, and therefore, the light color band needs to be removed when the image is spliced.
Since repeated zones are reserved between the areas when the areas are divided, the positions of the light zones at the edges of the areas are actually present in the effect map of the two areas. As shown in fig. 6, the effect maps of area 1 and area 2 both include the area where the light color band is located, the area is in the abnormal light color in the effect map of area 1 because it is at the edge, and the area in the effect map of area 2 is in the normal data because there is data in the nearby area. Because the light band values are near RGB (255 ), a lower value set of data may be selected for stitching when stitching the region 1 effect map and the region 2 effect map. The method comprises the following specific steps:
the effect map splicing is to remove the light color band at the overlapping area in the effect maps of the adjacent areas, specifically, as shown in fig. 7, the method includes the following steps:
separating the single-band graphs, separating three single-band graphs from each regional effect graph, and respectively finding out a region with a numerical value of 0;
combining the single-band graphs, combining the three single-band graphs, and finding out an area with the sum of 0 by a numerical value addition method, wherein the area is an area with the numerical value of RGB (0,0,0) in the non-data band of each area effect graph;
and cutting the effect graph according to the obtained non-data area to obtain the effect graph with the non-numerical area removed.
All the effect graphs with the non-numerical value areas removed are spliced, data with small numerical values are selected in the overlapping area of the adjacent areas, and the final effect graph is shown in fig. 8.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for executing the DEM-based electronic terrain shading mapping method.
A computer-readable storage medium having stored thereon a computer program for execution by a processor of a method for DEM-based electronic relief shading mapping.
The invention provides an electronic terrain shading map manufacturing method based on DEM, which comprises the following steps: partitioning original terrain data, namely partitioning the original terrain data into a plurality of areas, wherein repeated zones exist between adjacent areas; making a terrain shading effect graph, simplifying the original data of each area according to the display detail requirements of different scales, making the obtained DEM data into shadow data, making an embedded data set by using the DEM data, performing color rendering on the embedded data set, and embedding the shadow data into the embedded data set; and (4) effect graph splicing, namely removing light color bands at the overlapped area in the effect graphs of adjacent areas, and splicing all the processed area effect graphs. The invention relates to an electronic device and a storage medium, which are used for executing an electronic terrain shading map making method based on DEM. According to the method, original DEM data are cut into blocks and processed respectively according to actual conditions of the terrain, and finally the blocks are spliced, no data area exists between the processing blocks after splicing, and finally the large-range high-resolution electronic terrain shading map is obtained.
The foregoing is merely a preferred embodiment of the invention and is not intended to limit the invention in any manner; those skilled in the art can readily practice the invention as shown and described in the drawings and detailed description herein; however, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the scope of the invention as defined by the appended claims; meanwhile, any changes, modifications, and evolutions of the equivalent changes of the above embodiments according to the actual techniques of the present invention are still within the protection scope of the technical solution of the present invention.

Claims (10)

1. The electronic terrain shading map manufacturing method based on the DEM is characterized by comprising the following steps of:
partitioning original terrain data, namely partitioning the original terrain data into a plurality of areas, wherein repeated zones exist between the adjacent areas;
making a terrain shading effect graph, simplifying original data of each area according to display detail requirements of different scales, making the obtained DEM data into shadow data, making an embedded data set by utilizing the DEM data, performing color rendering on the embedded data set, and embedding the shadow data into the embedded data set;
and (4) effect graph splicing, namely removing light color bands at the overlapped area in the effect graphs of adjacent areas, and splicing all the processed area effect graphs.
2. The DEM-based electronic relief map production method of claim 1, wherein: and in the step of making the terrain shading effect graph, shadow data are made from the obtained DEM data by using an MDOW mountain shadow model.
3. The DEM-based electronic relief map production method of claim 1, wherein: in the step of making the terrain shading effect graph, colormap is used for conducting color rendering on the mosaic data set.
4. The DEM-based electronic relief map production method of claim 1, wherein: in the step of making the terrain shading effect graph, the shadow data is embedded into the mosaic data set through a PanSharpening method.
5. The DEM-based electronic terrain shading map production method as claimed in claim 1, wherein in the effect map stitching step, the removing of the light-colored band at the overlapping area in the adjacent area effect map comprises the steps of:
separating the single-band graphs, and separating three single-band graphs from the effect graphs of all the regions;
merging the single-band maps, merging the three single-band maps, and finding out an area with the sum of 0 to obtain a data-free area;
and cutting the effect graph according to the obtained non-data area to obtain the effect graph with the non-numerical area removed.
6. The DEM-based electronic relief map production method of claim 5, wherein: in the step of separating the single band diagram, areas with the numerical value of 0 in the single band diagram are respectively found out.
7. The DEM-based electronic relief map production method of claim 6, wherein: in the step of merging the single-waveband maps, an area with the total sum of 0 is found out through a numerical value addition method, and the area is an area with the numerical value of RGB (0,0,0) in the non-data waveband value in each area effect map.
8. The DEM-based electronic relief map production method of claim 5, wherein: in the effect map splicing step, all effect maps with the areas without numerical values removed are spliced, and data with smaller numerical values are selected at the overlapping areas of adjacent areas.
9. An electronic device, characterized by comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for carrying out the method of any one of claims 1-8.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program is executed by a processor for performing the method according to any of claims 1-8.
CN202011138473.XA 2020-10-22 2020-10-22 Electronic terrain shading map manufacturing method based on DEM, electronic device and storage medium Pending CN112465963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011138473.XA CN112465963A (en) 2020-10-22 2020-10-22 Electronic terrain shading map manufacturing method based on DEM, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011138473.XA CN112465963A (en) 2020-10-22 2020-10-22 Electronic terrain shading map manufacturing method based on DEM, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN112465963A true CN112465963A (en) 2021-03-09

Family

ID=74833776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011138473.XA Pending CN112465963A (en) 2020-10-22 2020-10-22 Electronic terrain shading map manufacturing method based on DEM, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112465963A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020078663A (en) * 2001-04-07 2002-10-19 휴먼드림 주식회사 Patched Image Alignment Method and Apparatus In Digital Mosaic Image Construction
TW201023093A (en) * 2008-12-15 2010-06-16 Nat Univ Tsing Hua A method for composing a confocal microscopy image with a higher resolution
CN101882307A (en) * 2010-06-17 2010-11-10 广州市凡拓数码科技有限公司 Making method of super-pixel rendering
CN102521790A (en) * 2011-12-08 2012-06-27 北京像素软件科技股份有限公司 Data rendering method
US20150002529A1 (en) * 2013-06-27 2015-01-01 Canon Kabushiki Kaisha Method, system and apparatus for rendering
CN110569786A (en) * 2019-09-06 2019-12-13 中国农业科学院农业资源与农业区划研究所 fruit tree identification and quantity monitoring method and system based on unmanned aerial vehicle data acquisition

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020078663A (en) * 2001-04-07 2002-10-19 휴먼드림 주식회사 Patched Image Alignment Method and Apparatus In Digital Mosaic Image Construction
TW201023093A (en) * 2008-12-15 2010-06-16 Nat Univ Tsing Hua A method for composing a confocal microscopy image with a higher resolution
CN101882307A (en) * 2010-06-17 2010-11-10 广州市凡拓数码科技有限公司 Making method of super-pixel rendering
CN102521790A (en) * 2011-12-08 2012-06-27 北京像素软件科技股份有限公司 Data rendering method
US20150002529A1 (en) * 2013-06-27 2015-01-01 Canon Kabushiki Kaisha Method, system and apparatus for rendering
CN110569786A (en) * 2019-09-06 2019-12-13 中国农业科学院农业资源与农业区划研究所 fruit tree identification and quantity monitoring method and system based on unmanned aerial vehicle data acquisition

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡丹丹;江文萍;孙二洋;张萍;: "数字地貌晕渲的特征增强方法研究", 测绘与空间地理信息, no. 05, pages 52 - 54 *

Similar Documents

Publication Publication Date Title
CN111524150B (en) Image processing method and device
CN104143990A (en) Vertex parameter data compression
EP2908287A1 (en) Image segmentation device, image segmentation method, and depth map generating method
CN111882504B (en) Method and system for processing color noise in image, electronic device and storage medium
CN108197567B (en) Method, apparatus and computer readable medium for image processing
EP3879484A2 (en) Satellite image processing method, network training method, related devices and electronic device
CN111523531B (en) Word processing method, word processing device, electronic equipment and computer readable storage medium
CN111445576B (en) Map data acquisition method and device, storage medium and electronic device
CN113779167B (en) Map data processing method, device, equipment and storage medium
CN101788760A (en) Optimization method of optical proximity correction rule
CN112465963A (en) Electronic terrain shading map manufacturing method based on DEM, electronic device and storage medium
CN104318538A (en) Method for splicing two-dimension sequence frame picture into big picture and device
CN113963083B (en) Programming building block drawing method, building block building method, device and electronic equipment
EP4075381B1 (en) Image processing method and system
CN112561919A (en) Image segmentation method, device and computer readable storage medium
CN112149745B (en) Method, device, equipment and storage medium for determining difficult example sample
CN111290752B (en) Frame processing method and device for web form
CN106981069A (en) A kind of high resolution image disaster object fast partition method
CN111612881B (en) Multithreading rendering method and system for multilayer integrated circuit graphics and electronic equipment
CN115797939A (en) Two-stage italic character recognition method and device based on deep learning
CN111353272B (en) Information display method and device for web form
CN112132215B (en) Method, device and computer readable storage medium for identifying object type
CN112348021A (en) Text detection method, device, equipment and storage medium
CN111179378A (en) Global electric power meteorological atlas drawing method applicable to webGIS
CN106844809A (en) A kind of method and device for obtaining memory macro unit size

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination