CN113344943A - Mosaic coding method for tile fragments of remote sensing image - Google Patents
Mosaic coding method for tile fragments of remote sensing image Download PDFInfo
- Publication number
- CN113344943A CN113344943A CN202110577696.4A CN202110577696A CN113344943A CN 113344943 A CN113344943 A CN 113344943A CN 202110577696 A CN202110577696 A CN 202110577696A CN 113344943 A CN113344943 A CN 113344943A
- Authority
- CN
- China
- Prior art keywords
- tile
- image
- tiles
- fragments
- mosaic
- 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.)
- Granted
Links
- 239000012634 fragment Substances 0.000 title claims abstract description 60
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000005540 biological transmission Effects 0.000 claims abstract description 10
- 238000004458 analytical method Methods 0.000 claims description 4
- 230000009466 transformation Effects 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5083—Techniques for rebalancing the load in a distributed system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T9/00—Image coding
- G06T9/001—Model-based coding, e.g. wire frame
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10032—Satellite or aerial image; Remote sensing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- General Engineering & Computer Science (AREA)
- Image Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
The invention discloses a mosaic coding method for tile fragments of a remote sensing image, which comprises the steps of firstly judging whether the image is an orthoimage; reading internal parameters of the image, and determining the coordinate range and resolution of the image; positioning the grade of the image cutting tile and the specification of the tile; carrying out network load balance on the image data; cutting tiles, simultaneously carrying out coordinate coding on the tiles according to image coordinates, and adding relative position codes to tile fragments; according to the unicity principle of tile coordinate coding, a plurality of incomplete tiles with the same coordinate are generated, and according to the relative position coding of the tiles, the broken tiles are subjected to tile mosaic to generate a complete tile with a single coordinate. According to the invention, the steps of the embedding process of adjacent fragment tiles are simplified by coding the tile fragments, the retrieval speed of the tile fragments in the cluster is improved, and meanwhile, the transmission efficiency of the tile fragments at each node of the network during embedding is reduced and the slicing efficiency of the tiles is improved by utilizing the tile fragment memory caching technology.
Description
Technical Field
The invention relates to the technical field of remote sensing images, in particular to a mosaic coding method for tile fragments of a remote sensing image.
Background
The current earth surface image data are mainly obtained from satellite images, aerial images and radar imaging, the satellite image data volume is large, each data is generally from several G to tens of G at most, and the current computer cannot directly display the data. If the content of the image is required to be seen in the shortest time, a large-scale cluster slicing process is needed, and each image is seamlessly spliced into a complete large image through a plurality of technologies, such as a pyramid technology, so that the image can be displayed, browsed and applied in various analysis in a computer. Therefore, each image is sliced at each node through the computer clustering technology, the position of the corner of the tile which does not meet the requirements is coded, and then the tile is embedded through fast cluster searching to generate a complete tile.
Disclosure of Invention
Aiming at the technical problems in the related art, the invention provides a mosaic coding method for tile fragments of a remote sensing image, which can overcome the defects of the prior art.
In order to achieve the technical purpose, the technical scheme of the invention is realized as follows:
a mosaic coding method for tile fragments of remote sensing images comprises the following steps:
s1, firstly, judging whether the image is an orthoimage and whether the image data needs coordinate transformation;
s2, reading the internal parameters of the image, and determining the coordinate range and resolution of the image;
s3, positioning the grade of the image cutting tile and the tile specification according to the image resolution;
s4, balancing the network load of the image data and reducing the network transmission of the tile fragments during mosaic;
s5, cutting tiles, simultaneously carrying out coordinate coding on the tiles according to image coordinates, and adding relative position codes to the generated tile fragments;
s6, generating a plurality of incomplete tiles with the same coordinate according to the unicity principle of tile coordinate coding, and carrying out tile mosaic on tile fragments according to the relative position coding of the tiles to generate a complete tile with a single coordinate;
s7, finally, saving the complete tile.
Further, the image is a quadrangle.
Further, whether the image is an orthoimage or not is judged, and only browsing analysis can be performed if the image is not a cut image tile; if yes, reading the internal parameters of the image.
Further, in step S6, the unicity rule is that, in an image, except for the cutting area, all the tiles are incomplete, and all the four corners of the image are the most fragmented tiles.
Further, network transmission of tile fragments upon mosaicing is reduced by scheduling neighboring image data to the same node.
The invention has the beneficial effects that: the method simplifies the steps of the embedding process of adjacent fragment tiles by encoding the tile fragments, improves the retrieval speed of the tile fragments in the cluster, and reduces the transmission efficiency of the tile fragments at each node of the network when the tile fragments are embedded and improves the slicing efficiency of the tiles by using the memory cache technology of the tile fragments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of a single affected slice of a mosaic encoding method for tile fragments of a remote sensing image according to an embodiment of the present invention.
FIG. 2 is a schematic diagram of four tile splicing affected tiles of the mosaic encoding method for tile fragments of remote sensing images according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
The invention provides a fragment processing method for tiles generated when remote sensing images (including images of satellites, aviation, radars and various sources) cut massive tiles in a cluster.
The mosaic coding method for the tile fragments of the remote sensing image comprises the steps of firstly judging whether the image is an orthoimage, if not, cutting the image tiles only for browsing analysis, and if so, judging whether the image data needs coordinate transformation.
And then reading internal parameters or parameter files of the image, determining the coordinate range and resolution of the image, positioning the grade of the image cutting tile and the specification of the tile according to the resolution of the image, balancing the network load of the image data, and scheduling adjacent image data to the same node as much as possible to reduce the network transmission of tile fragments during inlaying.
Cutting tiles, carrying out coordinate coding on the tiles according to the image coordinates, and adding relative position codes to the generated broken tiles; according to the unicity principle of tile coordinate coding, a plurality of incomplete tiles with the same coordinate can be generated; and carrying out tile mosaic on the broken tiles according to the relative position codes of the tiles to generate a complete tile with single coordinate. Finally, the complete tile is saved.
And setting a cache space of a network node fragment tile memory, and storing the tile fragments in a local space to prevent overflow when the number of the fragment tiles is larger than the cache space.
The slicing process is a processing step of the image based on the cluster, and because certain requirements are required for the bandwidth of the network in the cluster, the transmission time of the network needs to be reduced when the secondary load of the image data is balanced and the tile fragments are embedded.
In order to facilitate understanding of the above-described technical aspects of the present invention, the above-described technical aspects of the present invention will be described in detail below in terms of specific usage.
The mosaic coding method for the tile fragments of the remote sensing image mainly comprises the step of coding incomplete tiles generated by cutting tiles of the image in a computer cluster. And quickly finding out adjacent tile fragments according to the coding rule, and inlaying and splicing the adjacent tile fragments into a complete tile. Each node of the cluster is independently and parallelly slice the respective assigned image, and during the image slicing process, the edge of the image generates a plurality of incomplete tiles (i.e. each tile is not satisfied with 256 × 256 pixels), and in the worst case, one tile is composed of four incomplete tiles and may be scattered in different node machines.
The coding of the tile fragments is not limited to numbers and various combinations of letters and numbers, and the type of image data source is not limited to satellite images, aerial images, radar images, mobile phone images, and the like.
By encoding the tile fragments, they can be quickly found in the cluster, and the tile fragments are merged into a complete tile image (256 x256 pixels) at each node by the mosaic technology, and the number of the tile fragments generated by different data sources is different, for example, if the image is an aviation or unmanned aerial vehicle image, because the size of the image is small relative to that of the satellite image, the incomplete tiles generated by the tile fragments multiply, and the image tile slicing speed is affected. Generally, tile slicing technology is generally used to generate a large amount of tiles, so slicing speed requirements are high, for example, a pyramid is used to slice 18-level pyramid tiles around the world, 343 billions of tiles (0.6 m resolution) are required to be sliced, and according to different cluster scales and computer hardware configurations, time may be consumed from tens of hours to hundreds of hours, so that the method rule of cluster slicing is crucial.
When a single image is sliced, the single image is subjected to the slicing influence rule, except for the cutting area of the whole tile, the incomplete tiles are generated, the four corners of the incomplete tile are the zerost broken tiles, and finally the four broken tiles are inlaid into a single complete tile. The corner naming rule for each image crop is shown in FIG. 1.
The upper left corner: 34, upper right corner: 33, lower left corner: 32, lower right corner: 31.
left side: 22, right side: 21, upper side: 12, the following: 11.
because each tile has a unique number according to the coordinates provided by the image, the number of the incomplete tile needs to be added at the head of the number of each incomplete tile, and the coding is as follows: 34. 33, 32, 31 areas need not be coded into tiles, the complete tile tessellation naming convention:
"rim charge or scrap tile number-tile X number-tile Y number-tile series.
For example: tile coordinates: x =205, Y =337, Z =18 (level), the one-sided default tile composed of two fragmented tiles is coded as:
numbering the upper half tile: 11-205-337-18.jpg-
The next half tile is numbered: 12-205-337-18. jpg.
And judging the tile as a missing tile according to the prefix, storing the missing tile in the memory of the node machine, storing the other tiles in a network database, and finding out the missing tile according to the prefix and other parts so as to finish the final tile mosaic.
When four images are sliced, the four influencing slicing rules are followed, as shown in fig. 2, like the single-image coding rule, the central tile (composed of 4 fragmented tiles) of the four images is respectively from different images, possibly from the same different node or the same node, and respectively corresponds to prefix regions 31, 32, 33, and 34 (not participating in tile coding) composed of four incomplete tiles.
The slicing rule is as follows:
(1) cutting out image fragments in 34, 33, 32 and 31 areas;
(2) cutting out image fragments in the areas 11, 12, 21 and 22;
(3) the tile region is sliced to cut out the remaining boundary image pictures, and the drawing reference numerals are also marked.
The splicing rule is as follows:
(1) the fragment images in the 11 and 12 areas can be spliced into a tile, and the tile number is calculated;
(2) the fragment images in the 21 and 22 areas can be spliced into a tile, and the tile number is calculated;
(3) the fragment images in the areas 31, 32, 33 and 34 can be spliced into a tile, and the tile number is calculated.
For example: tile coordinates: x =205, Y =337, Z =18 (level),
numbering the upper half tile: 11-205-337-18. jpg;
the next half tile is numbered: 12-205-337-18. jpg;
numbering the left half tile: 21-205-337-18. jpg;
right half tile number: 22-205-337-18. jpg.
According to the uniqueness of the tiles, if a plurality of tiles appear in the same coordinate, the tiles are defined as tile fragments, and the tiles can be spliced into a complete tile according to the position numbers of the fragments.
The coding method of the tile fragments simplifies the steps of the mosaic process of adjacent fragment tiles, improves the retrieval speed of the tile fragments in a cluster, and simultaneously can reduce the transmission efficiency of the tile fragments in each node of a network during mosaic and improve the slicing efficiency of the tiles by utilizing the memory cache technology of the tile fragments.
In summary, according to the technical scheme of the present invention, the steps of the mosaic process of adjacent tiles are simplified by encoding the tiles, the retrieval speed of the tiles in the cluster is increased, and meanwhile, the transmission efficiency of the tiles at each node of the network when the tiles are mosaic is reduced and the slicing efficiency of the tiles is increased by using the tile fragment memory caching technology.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (5)
1. A mosaic coding method for tile fragments of remote sensing images is characterized by comprising the following steps:
s1, firstly, judging whether the image is an orthoimage and whether the image data needs coordinate transformation;
s2, reading the internal parameters of the image, and determining the coordinate range and resolution of the image;
s3, positioning the grade of the image cutting tile and the tile specification according to the image resolution;
s4, balancing the network load of the image data and reducing the network transmission of the tile fragments during mosaic;
s5, cutting tiles, simultaneously carrying out coordinate coding on the tiles according to image coordinates, and adding relative position codes to the generated tile fragments;
s6, generating a plurality of incomplete tiles with the same coordinate according to the unicity principle of tile coordinate coding, and carrying out tile mosaic on tile fragments according to the relative position coding of the tiles to generate a complete tile with a single coordinate;
s7, finally, saving the complete tile.
2. The mosaic encoding method of tile fragments of remote sensing images of claim 1, wherein said image pattern is quadrilateral.
3. The mosaic encoding method of remote sensing image tile fragments of claim 1, wherein it is determined whether an image is an orthoimage, and only a browsing analysis is performed if it is not a cut image tile; if yes, reading the internal parameters of the image.
4. The mosaic encoding method of claim 1, wherein in step S6, the unisexual rule is that incomplete tiles are generated except for the cutting area in an image map, and the four corners of the image map are the most fragmented tiles.
5. The remote-sensing image tile fragment mosaic encoding method of claim 1, wherein network transmission of tile fragments upon mosaic is reduced by scheduling adjacent image data to the same node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110577696.4A CN113344943B (en) | 2021-05-26 | 2021-05-26 | Mosaic encoding method for tile fragments of remote sensing image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110577696.4A CN113344943B (en) | 2021-05-26 | 2021-05-26 | Mosaic encoding method for tile fragments of remote sensing image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113344943A true CN113344943A (en) | 2021-09-03 |
CN113344943B CN113344943B (en) | 2024-05-10 |
Family
ID=77471582
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110577696.4A Active CN113344943B (en) | 2021-05-26 | 2021-05-26 | Mosaic encoding method for tile fragments of remote sensing image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113344943B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115203594A (en) * | 2022-09-16 | 2022-10-18 | 成都国星宇航科技股份有限公司 | Multi-temporal remote sensing data display method, device, equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016131390A1 (en) * | 2015-02-16 | 2016-08-25 | 高德软件有限公司 | Electronic map display method, apparatus and electronic device |
CN110347499A (en) * | 2019-06-13 | 2019-10-18 | 武汉大学 | A kind of remote sensing image tile generates and the method for deployed in real time |
CN110555119A (en) * | 2019-08-27 | 2019-12-10 | 成都数之联科技有限公司 | Unmanned aerial vehicle remote sensing image slicing method and system under real-time scene |
CN112346868A (en) * | 2020-11-06 | 2021-02-09 | 北京航天泰坦科技股份有限公司 | Mass remote sensing image publishing and dynamic slicing method, device and equipment |
-
2021
- 2021-05-26 CN CN202110577696.4A patent/CN113344943B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016131390A1 (en) * | 2015-02-16 | 2016-08-25 | 高德软件有限公司 | Electronic map display method, apparatus and electronic device |
CN110347499A (en) * | 2019-06-13 | 2019-10-18 | 武汉大学 | A kind of remote sensing image tile generates and the method for deployed in real time |
CN110555119A (en) * | 2019-08-27 | 2019-12-10 | 成都数之联科技有限公司 | Unmanned aerial vehicle remote sensing image slicing method and system under real-time scene |
CN112346868A (en) * | 2020-11-06 | 2021-02-09 | 北京航天泰坦科技股份有限公司 | Mass remote sensing image publishing and dynamic slicing method, device and equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115203594A (en) * | 2022-09-16 | 2022-10-18 | 成都国星宇航科技股份有限公司 | Multi-temporal remote sensing data display method, device, equipment and medium |
CN115203594B (en) * | 2022-09-16 | 2022-11-29 | 成都国星宇航科技股份有限公司 | Multi-temporal remote sensing data display method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN113344943B (en) | 2024-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101719154B (en) | Grid structure-based spatial index establishing method and grid structure-based spatial index establishing system | |
CN110990516B (en) | Map data processing method, device and server | |
CN111161428B (en) | Three-dimensional map vector tile data generation method, storage medium and terminal | |
CN105205092A (en) | Tile-based distribution of searchable geospatial data to client devices | |
CN109086286B (en) | Method for producing and publishing color topographic map | |
CN113946700A (en) | Space-time index construction method and device, computer equipment and storage medium | |
CN111090712A (en) | Data processing method, device and equipment and computer storage medium | |
CN113942230B (en) | 3D printing control system for double-laser segmentation and segmentation method thereof | |
CN103309943A (en) | Three-dimensional geographic information platform and topographic data processing method thereof | |
CN111143502A (en) | Map tile efficient generation method and device | |
CN109785221A (en) | A kind of digital picture steganography method and secret information extraction method | |
CN113344943A (en) | Mosaic coding method for tile fragments of remote sensing image | |
CN105608714B (en) | A kind of framing image generating method and system based on CAD and GIS collaboration | |
CN114611036A (en) | Gis data processing and rendering method | |
CN112734900B (en) | Baking method, device and equipment for shadow map and computer readable storage medium | |
CN112013757B (en) | High-precision agricultural machine operation area calculation method and device and electronic equipment | |
CN115952252B (en) | Semantic tile data processing method and device based on dynamic rendering and electronic equipment | |
CN112632303A (en) | Distributed storage method, analysis method and device for image data | |
CN111597283A (en) | Map tile updating method, device, equipment and storage medium | |
CN103063219A (en) | Method for navigation electronic map pretreatment and display | |
CN114328795B (en) | Live-action three-dimensional data processing method, device, server and storage medium | |
CN113626547B (en) | Map vector slicing method and device for freight industry, storage medium and terminal | |
US11798199B2 (en) | Method and apparatus for configuring spatial information | |
CN115330960A (en) | Live-action three-dimensional modeling method, device, server and storage medium | |
CN114494623A (en) | LOD-based terrain rendering method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |