CN113344943B - Mosaic encoding method for tile fragments of remote sensing image - Google Patents

Mosaic encoding method for tile fragments of remote sensing image Download PDF

Info

Publication number
CN113344943B
CN113344943B CN202110577696.4A CN202110577696A CN113344943B CN 113344943 B CN113344943 B CN 113344943B CN 202110577696 A CN202110577696 A CN 202110577696A CN 113344943 B CN113344943 B CN 113344943B
Authority
CN
China
Prior art keywords
tile
image
tiles
fragments
coordinate
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.)
Active
Application number
CN202110577696.4A
Other languages
Chinese (zh)
Other versions
CN113344943A (en
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.)
Beijing Guoxin Space Information Technology Co ltd
Original Assignee
Beijing Guoxin Space 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 Beijing Guoxin Space Information Technology Co ltd filed Critical Beijing Guoxin Space Information Technology Co ltd
Priority to CN202110577696.4A priority Critical patent/CN113344943B/en
Publication of CN113344943A publication Critical patent/CN113344943A/en
Application granted granted Critical
Publication of CN113344943B publication Critical patent/CN113344943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • 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
    • G06T9/00Image coding
    • G06T9/001Model-based coding, e.g. wire frame
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10032Satellite 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 tile fragment mosaic coding method for a remote sensing image, which comprises the steps of firstly judging whether an image is an orthographic image or not; reading internal parameters of the image, and determining the coordinate range and resolution of the image; locating the grade of the image cutting tile and the tile specification; carrying out network load balancing 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 principle of unity 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 inlaid to generate a complete tile with single coordinate. The invention simplifies the steps of the adjacent tile fragment tile embedding process by encoding the tile fragments, improves the retrieval speed of the tile fragments in the cluster, reduces the transmission efficiency of the tile fragments in each node of the network when the tile fragments are embedded by utilizing the memory caching technology of the tile fragments, and improves the slicing efficiency of the tiles.

Description

Mosaic encoding method for tile fragments of remote sensing image
Technical Field
The invention relates to the technical field of remote sensing images, in particular to a tile fragment mosaic encoding method for remote sensing images.
Background
The ground surface image data are mainly obtained from satellite images, aerial images and radar imaging, the satellite images have large data volume, each data is generally from a few G to a maximum of tens of G, and the current computer cannot directly display the data. If the content of the image is to be seen in the shortest time, a large-scale cluster slicing process is required, and each image can be seamlessly spliced into a complete large image through various technologies such as pyramid technology, so that the image can be displayed, browsed and applied to various analysis in a computer. Therefore, the application simultaneously slices each image at each node through the computer cluster technology, performs position coding on corners of tiles which do not meet the requirements, and then performs fragment mosaic through cluster fast search to generate a complete tile.
Disclosure of Invention
Aiming at the technical problems in the related art, the invention provides a remote sensing image tile fragment mosaic coding method which can overcome the defects of the prior art method.
In order to achieve the technical purpose, the technical scheme of the invention is realized as follows:
A tile fragment mosaic coding method for remote sensing images comprises the following steps:
S1, firstly judging whether an image is an orthographic image or not and whether image data need coordinate transformation or not;
S2, reading internal parameters of the image, and determining the coordinate range and resolution of the image;
S3, locating the grade of the image cutting tile and the tile specification according to the image resolution;
S4, carrying out network load balancing on the image data, and reducing network transmission of 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 generated tile fragments;
S6, generating a plurality of incomplete tiles with the same coordinates according to a singleness principle of tile coordinate coding, and performing tile mosaic on tile fragments according to relative position codes of the tiles to generate a complete tile with single coordinates;
And S7, finally, storing the complete tile.
Further, the image is quadrilateral.
Further, judging whether the image is an orthographic image or not, and if the image is not a cut image tile, only being used for browsing analysis; if yes, the internal parameters of the image are read.
Further, in step S6, the unity rule is that in one image, the other image is the incomplete tile generated except the cutting area, and the four corners of the image are the most fragmented tiles.
Further, network transmission of tile fragments at mosaicing is reduced by scheduling adjacent image data to the same node.
The invention has the beneficial effects that: the method simplifies the steps of the adjacent tile embedding process by encoding the tile fragments, improves the retrieval speed of the tile fragments in the cluster, reduces the transmission efficiency of the tile fragments at each node of the network during embedding by utilizing the memory caching technology of the tile fragments, and improves the slicing efficiency of the tiles.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are 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 other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a single Zhang Yingxiang slice of a tile patch mosaic encoding method for remote sensing images according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of four influencing parallel tiles clipping according to a remote sensing image tile patch mosaic coding method according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the invention, fall within the scope of protection of the invention.
The invention provides a method for processing fragments of generated tiles when a remote sensing image (including images of satellites, aviation, radars and various sources) cuts a large number of tiles in a cluster.
According to the embodiment of the invention, the mosaic encoding method for the tile fragments of the remote sensing image comprises the steps of firstly judging whether the image is an orthographic image or not, if not, only taking the cut image tile as a browsing analysis, and if so, judging whether the image data needs coordinate transformation or not.
And then, reading internal parameters or parameter files of the image, determining the coordinate range and resolution of the image, positioning the grade and specification of the tile to which the image cutting tile belongs according to the resolution of the image, performing network load balancing on the image data, and reducing network transmission of tile fragments during mosaic by dispatching adjacent image data to the same node as much as possible.
Cutting tiles, carrying out coordinate coding on the tiles according to image coordinates, and adding relative position coding on the generated broken tiles; generating a plurality of incomplete tiles with the same coordinates according to a unicity principle of tile coordinate coding; and (3) performing tile mosaic on the broken tiles according to the relative position codes of the tiles to generate a complete tile with single coordinates. Finally, the complete tile is saved.
And setting a cache space of the tile memory of the network node, and when the number of the tile fragments is larger than the cache space, storing the tile fragments in a local space for preventing overflow.
The slicing process is a processing step of the image based on the basis of the cluster, and due to certain requirements on the bandwidth of the network in the cluster, the transmission time of the network needs to be reduced when the auxiliary load of the image data is balanced and tile fragments are embedded.
In order to facilitate understanding of the above technical solutions of the present invention, the following describes the above technical solutions of the present invention in detail by a specific usage manner.
The invention relates to a tile fragment mosaic coding method for remote sensing images, which mainly codes incomplete tiles generated by cutting tiles by images in a computer cluster. And quickly finding out adjacent tile fragments according to the coding rule, and mosaic and splicing the adjacent tile fragments into a complete tile. Each node of the cluster performs slicing processing on the respective allocated images independently and in parallel, and during the image slicing process, many incomplete tiles are generated at the edge of the image (i.e. each tile is not satisfied to be 256×256 pixels), and in the worst case, one tile is composed of four incomplete tiles and may be scattered among different node machines.
The coding of the tile tiles is not limited to numbers and various combinations of letters and alphabets, and the type of source of image data is not limited to satellite images, aerial images, radar images, cell phone images, etc.
By encoding the fragmented tiles, they can be found quickly on the cluster, and at each node they are combined into a complete tile image (256 x256 pixels) by mosaic technology, and the number of tile fragments generated for different data sources is different, for example, if the tiles are images of aviation or unmanned aerial vehicles, the image size is very small compared with the satellite image, and the incomplete tiles generated by the images are multiplied, so that the image tile slicing speed is affected. The tile slicing technology is generally used to generate a large number of tiles, so that the requirement on slicing speed is high, a pyramid is taken as an example, a global 18-level pyramid tile is sliced, 343 hundred million tiles (with 0.6 m resolution) are needed, and depending on the cluster size and the computer hardware configuration, the time can be tens of hours to hundreds of hours, so that the rule of a cluster slicing method is very important.
When slicing a single image, the method conforms to a single-influence slicing rule, and is characterized in that other incomplete tiles are generated except for a whole tile cutting area, four corners are the most fragmented tiles, and finally the four fragmented tiles are inlaid into a single Zhang Wanzheng tile. The corner naming rule for each image is shown in fig. 1.
Upper left corner: 34, upper right corner: 33, lower left corner: 32, lower right corner: 31.
Left: 22, right: 21, upper edge: 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 to the head of the number of each incomplete tile, and coding is performed: 34. the 33, 32, 31 areas need not be coded into tiles, the complete tile tessellates naming rules:
"rim charge or corner tile number-tile X number-tile Y number-tile series. Jpg".
For example: tile coordinates: x=205, y=337, z=18 (level), the single-sided default tile consisting of two fragmented tiles is encoded as:
upper half tile number: 11-205-337-18.Jpg-
The lower half tile number: 12-205-337-18.Jpg.
Judging the tile as missing according to the prefix, storing the missing tile in the memory of the node machine, and other tiles stored in the network database, and finding out the missing tile according to the prefix and other parts, thereby completing the final tile mosaic.
When slicing four images, the four influencing slicing rules are followed, as shown in fig. 2, the same as the single encoding rule is adopted, and the central tile (composed of 4 fragmented tiles) of the four images is seen to be respectively from different images, possibly from different nodes or the same node, and the four incomplete tiles respectively corresponding to prefix areas 31, 32, 33 and 34 (not participating in tile encoding) are composed of four incomplete tiles.
The slicing rule is as follows:
(1) Cutting out image fragments of the areas 34, 33, 32 and 31;
(2) Cutting out image fragments of the areas 11, 12, 21 and 22;
(3) The slicing from the shingle is started, the remaining boundary image pictures are cut out, and the reference numerals indicated by the figures are also marked.
The splicing rule is as follows:
(1) The fragment images of the areas 11 and 12 can be spliced into a tile, and the tile number is calculated;
(2) The fragment images of the areas 21 and 22 can be spliced into a tile, and the tile number is calculated;
(3) The fragment images of the areas 31, 32, 33 and 34 can be spliced into a tile, and the tile numbers are calculated.
For example: tile coordinates: x=205, y=337, z=18 (grades),
Upper half tile number: 11-205-337-18.Jpg;
The lower half tile number: 12-205-337-18.Jpg;
left half tile number: 21-205-337-18.Jpg;
right half tile number: 22-205-337-18.Jpg.
If multiple tiles appear at the same coordinate according to the singleton of the tiles, the tiles are defined as tile fragments, and a complete tile can be spliced according to the position numbers of the fragments.
The tile fragment encoding method simplifies the steps of the adjacent fragment tile embedding process, improves the retrieval speed of tile fragments in the cluster, and simultaneously can reduce the transmission efficiency of the tile fragments in each node of the network during embedding by using the tile fragment memory caching technology, and improves the slicing efficiency of the tiles.
In summary, by means of the technical scheme, the steps of the adjacent tile fragment tile embedding process are simplified through encoding the tile fragments, the searching speed of the tile fragments in the cluster is improved, meanwhile, the transmission efficiency of the tile fragments in each node of the network during embedding is reduced by using the tile fragment memory caching technology, and the slicing efficiency of the tiles is improved.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (5)

1. A tile fragment mosaic coding method for remote sensing images is characterized by comprising the following steps:
S1, firstly judging whether an image is an orthographic image or not and whether image data need coordinate transformation or not;
S2, reading internal parameters of the image, and determining the coordinate range and resolution of the image;
S3, locating the grade of the image cutting tile and the tile specification according to the image resolution;
S4, carrying out network load balancing on the image data, and reducing network transmission of 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 generated tile fragments;
S6, generating a plurality of incomplete tiles with the same coordinates according to a singleness principle of tile coordinate coding, and performing tile mosaic on tile fragments according to relative position codes of the tiles to generate a complete tile with single coordinates;
And S7, finally, storing the complete tile.
2. The method of claim 1, wherein the image is quadrilateral.
3. The method of claim 1, wherein determining whether the image is an orthographic image, if not a cut image tile, is only useful for browsing analysis; if yes, the internal parameters of the image are read.
4. The method according to claim 1, wherein in step S6, the rule of unity is that in one image, except for the cutting area, the other tiles are incomplete tiles, and four corners of the image are the most fragmented tiles.
5. The method of claim 1, wherein network transmission of tile fragments during mosaicing is reduced by scheduling adjacent image data to the same node.
CN202110577696.4A 2021-05-26 2021-05-26 Mosaic encoding method for tile fragments of remote sensing image Active CN113344943B (en)

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 CN113344943A (en) 2021-09-03
CN113344943B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115203594B (en) * 2022-09-16 2022-11-29 成都国星宇航科技股份有限公司 Multi-temporal remote sensing data display method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN113344943A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN106528773B (en) Map computing system and method based on Spark platform supporting spatial data management
US10034141B2 (en) Systems and methods to identify home addresses of mobile devices
US20060218114A1 (en) System and method for location based search
CN110781325A (en) High-resolution remote sensing data grid refined management model and construction method thereof
CN108052653A (en) Acquisition methods, device, storage medium, terminal and the image search method of characteristics of image descriptor
CN109635068A (en) Mass remote sensing data high-efficiency tissue and method for quickly retrieving under cloud computing environment
US20080228783A1 (en) Data Partitioning Systems
CN112765095B (en) Method and system for filing image data of stereo mapping satellite
CN105045930B (en) A kind of method and system of raster data slice generation
CN1577392A (en) Method and device for measuring visual similarity
CN105528460A (en) Establishing method of tile pyramid model and tile reading method
Aljumaily et al. Big-data approach for three-dimensional building extraction from aerial laser scanning
CN113946700A (en) Space-time index construction method and device, computer equipment and storage medium
CN107590083B (en) Massive remote sensing tile data rapid publishing method based on OWGA memory cache
CN113344943B (en) Mosaic encoding method for tile fragments of remote sensing image
CN116860905B (en) Space unit coding generation method of city information model
CN115687675A (en) Airborne vector map data processing method
CN111143502A (en) Map tile efficient generation method and device
CN111552753A (en) Global massive remote sensing data organization and management method and system
CN112527916A (en) Grid visual definition and intelligent feature analysis method based on remote sensing image
CN111914041B (en) Power grid map vector data providing method
EP3182299B1 (en) Methods and systems for estimating the number of points in two-dimensional data
Tabik et al. High-performance three-horizon composition algorithm for large-scale terrains
JP2008089815A (en) Area information provision method
CN112632303A (en) Distributed storage method, analysis method and device for image data

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