A remote sensing image coordinate system conversion control method, device and terminal
By cropping remote sensing images into multiple rectangular vector surface units and performing vector line transformation, the problem of large errors in remote sensing image coordinate transformation is solved, achieving higher accuracy and edge-joining accuracy.
Patent Information
- Application Number
- CN202111113994.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-23
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2041-09-23
AI Technical Summary
Existing remote sensing image coordinate transformation methods use the same translation parameters when transforming between different regions, resulting in large errors and failing to meet accuracy requirements.
The remote sensing image is cropped into multiple rectangular vector surface units, and coordinate transformation is performed using vector lines to obtain the corresponding point of each unit's coordinates in the target coordinate system. Finally, the coordinates are stitched together to form a complete remote sensing image.
It improves the accuracy of coordinate transformation of remote sensing images and solves the problems of low accuracy and edge-matching accuracy when remote sensing images cannot be transformed point by point like vector data.
Smart Images

Figure CN115861047B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of map service and image processing, in particular to a remote sensing image coordinate system conversion control method and device and terminal. BACKGROUND
[0002] Remote sensing image refers to the image obtained by photographing the target on the ground or in the air from high altitude by using the special aerial camera installed on the satellite or aircraft. Due to different photographing targets and photographing angles, remote sensing image is divided into three types: vertical photography, oblique photography and air-to-air photography. Remote sensing image has the advantages of fast, accurate and economical, and is not limited by geographical environment, and is widely used in surveying and mapping, geological exploration, hydrological monitoring, forest resource investigation, agricultural yield assessment, urban planning, railway, highway, high-voltage transmission line and oil pipeline exploration, and can also be used for aerial reconnaissance, news reporting and film shooting. Remote sensing image is based on the national unified surveying and mapping datum or the datum of a certain area. When the demand changes and the existing image result needs to be converted to another surveying and mapping datum, the coordinate system conversion of the image is involved.
[0003] The existing remote sensing image coordinate conversion method mainly includes the following types: (1) translation transformation method, which realizes the conversion between coordinate systems by translating the image. (2) Similar transformation method, which realizes the conversion of coordinates by translation, rotation, scaling and resampling. (3) Affine transformation method, which realizes the conversion of coordinates by solving the affine conversion relationship between two coordinate systems and resampling.
[0004] Among them, the translation transformation method is usually used to translate the whole remote sensing image of a large area. All parts use the same four parameters (△X, △Y, rotation parameter and scaling parameter), and the translation parameters of different regions will change when converting between different coordinate systems, such as the conversion between WGS84 coordinate system and GCJ02 coordinate system. Therefore, using the same translation parameters for all regions will result in large errors and cannot meet the accuracy requirements. SUMMARY
[0005] The technical problem to be solved by the embodiments of the present application is to provide a remote sensing image coordinate system conversion control method, device and terminal, so as to solve the problem that the current remote sensing image coordinate conversion method uses the same translation parameters for all regions in the actual application process, which results in large errors and cannot meet the accuracy requirements.
[0006] To solve the above technical problem, the embodiments of the present application provide a remote sensing image coordinate system conversion control method, which comprises:
[0007] Obtaining a vector range surface corresponding to a first remote sensing image in a source coordinate system, and dividing the vector range surface into a plurality of rectangular vector surfaces with a preset side length;
[0008] obtaining a vector line connecting the first coordinate point and the second coordinate point, wherein the first coordinate point is a coordinate point corresponding to an angle point of the rectangular vector plane in the source coordinate system, and the second coordinate point is a coordinate point corresponding to the angle point in the target coordinate system;
[0009] performing cutting on the first remote sensing image according to the rectangular vector plane, and performing coordinate transformation on the first remote sensing image unit obtained by the cutting according to the vector line, to obtain a second remote sensing image unit in the target coordinate system;
[0010] stitching the plurality of second remote sensing image units to obtain a second remote sensing image corresponding to the first remote sensing image in the target coordinate system.
[0011] Preferably, the control method for remote sensing image coordinate system conversion as described above, before the step of obtaining the vector line connecting the first coordinate point and the second coordinate point, the method comprises:
[0012] obtaining a two-dimensional bounding box of the rectangular vector plane;
[0013] setting a starting angle point of the two-dimensional bounding box;
[0014] removing a tail angle point of the two-dimensional bounding box according to a connection order of the angle points in the two-dimensional bounding box;
[0015] breaking the two-dimensional bounding box into points, and extracting latitude and longitude coordinates corresponding to each angle point to obtain the first coordinate point.
[0016] Further, the control method for remote sensing image coordinate system conversion as described above, after obtaining the first coordinate point, the method further comprises:
[0017] determining a source coordinate system and a target coordinate system input by a user in advance;
[0018] obtaining a coordinate conversion model corresponding to the source coordinate system and the target coordinate system;
[0019] obtaining a second coordinate point corresponding to each angle point in the target coordinate system according to the coordinate conversion model and the first coordinate point corresponding to each angle point.
[0020] Preferably, the control method for remote sensing image coordinate system conversion as described above, before the step of obtaining the two-dimensional bounding box of the rectangular vector plane, the method further comprises:
[0021] buffering the rectangular vector plane outward by a first preset distance, wherein there is an overlap area with a width of the first preset distance between two adjacent rectangular vector planes.
[0022] Preferably, the control method for remote sensing image coordinate system conversion as described above, the step of obtaining the vector line connecting the first coordinate point and the second coordinate point comprises:
[0023] The first coordinate point and the second coordinate point corresponding to the same corner point are connected according to the translation direction to obtain a vector line, wherein the vector line points to the second coordinate point.
[0024] Preferably, the control method for remote sensing image coordinate system conversion as described above, before the step of splicing the plurality of second remote sensing image units to obtain the second remote sensing image corresponding to the first remote sensing image in the target coordinate system, the method further comprises:
[0025] The second remote sensing image unit is processed to remove black edges.
[0026] Another preferred embodiment of the present application also provides a control device for remote sensing image coordinate conversion, comprising:
[0027] The first processing module is configured to obtain a vector range surface corresponding to the first remote sensing image in the source coordinate system, and divide the vector range surface into a plurality of rectangular vector surfaces with a preset side length;
[0028] The second processing module is configured to obtain a vector line connecting a first coordinate point and a second coordinate point, wherein the first coordinate point is a coordinate point corresponding to a corner point of the rectangular vector surface in the source coordinate system, and the second coordinate point is a coordinate point corresponding to the corner point in the target coordinate system;
[0029] The third processing module is configured to crop the first remote sensing image according to the rectangular vector surface, and perform coordinate transformation on the first remote sensing image unit obtained by cropping according to the vector line, to obtain a second remote sensing image unit in the target coordinate system;
[0030] The fourth processing module is configured to splice the plurality of second remote sensing image units to obtain the second remote sensing image corresponding to the first remote sensing image in the target coordinate system.
[0031] Preferably, the control device for remote sensing image coordinate system conversion as described above, comprising:
[0032] The fifth processing module is configured to obtain a two-dimensional bounding box of the rectangular vector surface;
[0033] The sixth processing module is configured to set a starting corner point of the two-dimensional bounding box;
[0034] The seventh processing module is configured to remove a last corner point of the two-dimensional bounding box according to a connection order of the corner points in the two-dimensional bounding box;
[0035] The eighth processing module is configured to break the two-dimensional bounding box into points, and extract a latitude and longitude coordinate corresponding to each corner point to obtain the first coordinate point.
[0036] Further, the control device for remote sensing image coordinate system conversion as described above, further comprising:
[0037] a ninth processing module, configured to determine a source coordinate system and a target coordinate system input by a user in advance;
[0038] a tenth processing module, configured to obtain a corresponding coordinate conversion model according to the source coordinate system and the target coordinate system;
[0039] an eleventh processing module, configured to obtain a second coordinate point of each corner point in the target coordinate system according to the coordinate conversion model and the first coordinate point corresponding to each corner point.
[0040] Preferably, the control device for remote sensing image coordinate system conversion as described above further comprises:
[0041] a twelfth processing module, configured to buffer the rectangular vector outward by a first preset distance, wherein the adjacent two rectangular vectors have an overlapping area with a width of the first preset distance.
[0042] Preferably, the control device for remote sensing image coordinate system conversion as described above, the second processing module comprises:
[0043] connecting the first coordinate point and the second coordinate point corresponding to the same corner point according to the translation direction to obtain a vector line, wherein the vector line points to the second coordinate point.
[0044] Specifically, the control device for remote sensing image coordinate system conversion as described above, the fourth processing module comprises:
[0045] a first processing unit, configured to store the converted second remote sensing image unit to a second preset folder;
[0046] a second processing unit, configured to read the second remote sensing image unit in the second preset folder into the program again;
[0047] a third processing unit, configured to stitch the read-in second remote sensing image units to obtain a second remote sensing image.
[0048] Specifically, the control device for remote sensing image coordinate system conversion as described above further comprises:
[0049] a thirteenth processing module, configured to perform black edge removal processing on the second remote sensing image unit.
[0050] Still another preferred embodiment of the present application further provides a terminal comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, and the computer program is executed by the processor to implement the steps of the control method for remote sensing image coordinate system conversion as described above.
[0051] Still another preferred embodiment of the present application also provides a computer readable storage medium, the computer readable storage medium stores a computer program, the computer program is executed by a processor to implement the steps of the control method for remote sensing image coordinate system conversion as described above.
[0052] Compared with the prior art, the control method, device and terminal for remote sensing image coordinate system conversion provided by the embodiments of the present application have at least the following beneficial effects:
[0053] The present application cuts the first remote sensing image into a plurality of first remote sensing image units formed as surface data, and performs coordinate conversion on each remote sensing image unit through a vector line to obtain a second remote sensing image unit in a target coordinate system, and obtains a complete second remote sensing image through splicing, thereby completing coordinate conversion of the grid data such as remote sensing images, improving the accuracy of remote sensing image coordinate conversion, and solving the problems that remote sensing images cannot be converted through coordinate points one by one like vector data, and the accuracy of coordinate conversion results and edge connection is not high. BRIEF DESCRIPTION OF DRAWINGS
[0054] Figure 1 Fig. 1 is one of the flowcharts of the control method for remote sensing image coordinate system conversion of the present application;
[0055] Figure 2 Fig. 2 is another of the flowcharts of the control method for remote sensing image coordinate system conversion of the present application;
[0056] Figure 3 Fig. 3 is still another of the flowcharts of the control method for remote sensing image coordinate system conversion of the present application;
[0057] Figure 4 Fig. 4 is a structural schematic diagram of the control device for remote sensing image coordinate system conversion of the present application. DETAILED DESCRIPTION
[0058] In order to make the technical problems, technical solutions and advantages of the present application clearer, specific embodiments will be described in detail below with reference to the accompanying drawings. In the following description, specific details such as specific configurations and components are provided only to help a comprehensive understanding of the embodiments of the present application. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. In addition, in order to be clear and concise, the description of known functions and structures is omitted.
[0059] It should be understood that every reference made throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. Thus, appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.
[0060] In various embodiments of the present application, it should be understood that the size of the serial number of the following processes does not mean the order of execution, and the execution order of the processes should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0061] It should be understood that the term "and / or" herein is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist together, and B exists alone. In addition, the character " / " herein generally represents that the front and rear associated objects are in an "or" relationship.
[0062] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that the determination of B according to A does not mean that B is determined only according to A, but B can also be determined according to A and / or other information.
[0063] Referring to Figure 1 A preferred embodiment of the present application provides a control method for remote sensing image coordinate system conversion, comprising:
[0064] Step S101, acquiring a vector range surface corresponding to a first remote sensing image in a source coordinate system, and dividing the vector range surface into a plurality of rectangular vector surfaces with a preset side length;
[0065] Step S102, acquiring a vector line connecting a first coordinate point and a second coordinate point, wherein the first coordinate point is a coordinate point corresponding to a corner point of the rectangular vector surface in the source coordinate system, and the second coordinate point is a coordinate point corresponding to the corner point in a target coordinate system;
[0066] Step S103, cutting the first remote sensing image according to the rectangular vector surface, and performing coordinate transformation on the first remote sensing image unit obtained by cutting according to the vector line to obtain a second remote sensing image unit located in the target coordinate system;
[0067] Step S104, splicing a plurality of second remote sensing image units to obtain a second remote sensing image corresponding to the first remote sensing image in the target coordinate system.
[0068] In a preferred embodiment of the present application, when it is required to convert a first remote sensing image located in a source coordinate system into a second remote sensing image in a target coordinate system, a vector range surface corresponding to the first remote sensing image in the source coordinate system is first obtained, and the vector range surface is divided into a plurality of rectangular vector surfaces according to a preset reference rectangular vector surface, so as to ensure that each rectangular vector surface has the same shape and a preset side length. The reference rectangular vector surface is preferably a square vector surface. In order to avoid the decrease of coordinate conversion accuracy caused by too large preset side length and the decrease of conversion efficiency caused by too small preset side length, the preset side length is preferably 2 km in a preferred embodiment.
[0069] Further, a vector line for connecting the first coordinate point and the second coordinate point is obtained according to the first coordinate point and the second coordinate point of each corner point of the rectangular vector surface in the source coordinate system and the target coordinate system, respectively, so as to establish a connection relationship between the source coordinate system and the target coordinate system.
[0070] Further, the first remote sensing image is also cropped according to the plurality of rectangular vector surfaces obtained above, so as to crop the first remote sensing image into a plurality of first remote sensing image units. The first remote sensing image unit corresponding to the rectangular vector surface is subjected to coordinate transformation according to the four vector lines of the rectangular vector surface, so as to be converted into the target coordinate system and recorded as a second remote sensing image unit. In this way, the coordinate conversion of a small piece of remote sensing image is completed, and a plurality of second remote sensing image units in the target coordinate system are obtained. The second remote sensing image units are spliced to obtain a second remote sensing image corresponding to the first remote sensing image in the target coordinate system.
[0071] In summary, the present embodiment crops the first remote sensing image into a plurality of first remote sensing image units in the form of surface data, and converts the coordinate of each remote sensing image unit through the vector line, so as to obtain a second remote sensing image unit in the target coordinate system. The complete second remote sensing image is obtained by splicing, the coordinate conversion of the remote sensing image is completed, the accuracy of remote sensing image coordinate conversion is improved, and the problems that the remote sensing image cannot be converted through coordinate points one by one and the accuracy and edge precision of coordinate conversion results are not high are solved.
[0072] In a specific embodiment of the present application, the control method for remote sensing image coordinate system conversion is preferably executed in a spatial data conversion processing system (Feature Manipulate Engine, FME for short). Specifically, the method can include the following steps: acquiring a vector range surface corresponding to the first remote sensing image in the source coordinate system through a RasterExtentsCoercer converter, dividing the vector range surface into a plurality of rectangular vector surfaces with a preset side length through a Tiler converter, acquiring a vector line connecting the first coordinate point and the second coordinate point through a Vertex Creator converter, clipping the first remote sensing image according to the rectangular vector surface through a Clipper converter, and performing coordinate transformation on the first remote sensing image unit obtained through clipping according to the vector line through an AffineWarper converter to obtain a second remote sensing image unit in the target coordinate system, and splicing a plurality of second remote sensing image units through a RasterMosaicker converter to obtain a second remote sensing image corresponding to the first remote sensing image in the target coordinate system.
[0073] It should be noted that the source coordinate system and the target coordinate system described in the present application are mainly coordinate systems in the field of image processing technology, including but not limited to WSG1984 and GCJ02.
[0074] In another preferred embodiment of the present application, before the step of acquiring the vector line connecting the first coordinate point and the second coordinate point, the method further includes the step of acquiring the first coordinate point and the second coordinate point corresponding to the corner point of each rectangular vector surface. The step of acquiring the first coordinate point and the second coordinate point through FME is described below.
[0075] Referring to Figure 2 , preferably, the control method for remote sensing image coordinate system conversion described above, before the step of acquiring the vector line connecting the first coordinate point and the second coordinate point, the method includes:
[0076] Step S201, acquiring a two-dimensional bounding box of the rectangular vector surface;
[0077] Step S202, setting a starting corner point of the two-dimensional bounding box;
[0078] Step S203, removing the last corner point of the two-dimensional bounding box according to the connection order of the corner points in the two-dimensional bounding box;
[0079] Step S204, breaking the two-dimensional bounding box into points, and extracting the latitude and longitude coordinates corresponding to each corner point to obtain the first coordinate point.
[0080] In the acquisition of the first coordinate point, the two-dimensional bounding box of the rectangular vector surface is acquired by the BoundingBoxReplacer in the FME, which is the vector range for subsequent cutting of the first remote sensing image, that is, the face element of the vector surface is converted into a line element, and after the two-dimensional bounding box is acquired, the Snipper converter is used to set a starting corner point of the two-dimensional bounding box, wherein the starting corner point can be any one of the four corner points of the two-dimensional bounding box. Since the two-dimensional bounding box is a closed figure, the coordinates of the starting corner point and the ending corner point of the two-dimensional bounding box are the same, so as to avoid repeated acquisition of the corner points, the Snipper converter is used to remove the ending corner point of the two-dimensional bounding box according to the connection order of the corner points in the two-dimensional bounding box, and then the Chopper is used to break the two-dimensional bounding box into points, the line element of the two-dimensional bounding box is converted into a point element, and the CoordinateExtractor converter is used to extract the longitude and latitude coordinates corresponding to each corner point to obtain the first coordinate point. It should be noted that after the two-dimensional bounding box of the rectangular vector surface is acquired, in order to conveniently call the two-dimensional bounding box at any time, in a preferred embodiment, the FeatureWriter converter is used to store the two-dimensional bounding box corresponding to each rectangular vector surface in the shp data format in a first preset folder, and when the coordinate point acquisition and cutting according to the two-dimensional bounding box are needed, the FeatureReader converter is used to read the two-dimensional bounding box from the first preset folder.
[0081] Referring to Figure 3 Further, the control method for remote sensing image coordinate system conversion as described above, after the first coordinate point is obtained, the method further comprises:
[0082] Step S301, determining the source coordinate system and the target coordinate system input by the user in advance;
[0083] Step S302, acquiring a corresponding coordinate conversion model according to the source coordinate system and the target coordinate system;
[0084] Step S303, obtaining the second coordinate point corresponding to each corner point in the target coordinate system according to the coordinate conversion model and the first coordinate point corresponding to each corner point.
[0085] Here, when the second coordinate point corresponding to the corner point is acquired, the original coordinate system and the target coordinate system input by the user in advance are determined through the TestFilter converter, for example, the source coordinate system is WSG1984 and the target coordinate system is GCJ02, or the source coordinate system is GCJ02 and the target coordinate system is WSG1984. Thus, the corresponding coordinate conversion model can be acquired according to the source coordinate system and the target coordinate system, and the first coordinate point corresponding to each corner point is converted into the second coordinate point corresponding to each corner point in the target coordinate system according to the coordinate conversion model, which is beneficial to ensuring the accuracy of the finally obtained second coordinate point.
[0086] Preferably, the remote sensing image coordinate system conversion control method as described above, before the step of acquiring the two-dimensional boundary box of the rectangular vector plane, the method further comprises:
[0087] The rectangular vector plane is buffered outward by a first preset distance, wherein the adjacent two rectangular vector planes have an overlapping area with a width of the first preset distance.
[0088] Preferably, to ensure the integrity of the finally obtained second remote sensing image, the rectangular vector plane is buffered outward by a first preset distance before the step of acquiring the two-dimensional boundary box of the rectangular vector plane, so that the adjacent two rectangular vector planes have an overlapping area with a width of the first preset distance, so that even if a part of the corresponding remote sensing image is missing due to cutting or other problems or cannot be used due to the appearance of black edges and the like, the missing part can be supplemented from the adjacent second remote sensing image unit through the overlapping area, thereby ensuring the integrity of the finally obtained second remote sensing image. Preferably, the buffering is performed by the GeographicBufferer converter in FME. The first preset distance is preferably 10 meters.
[0089] Preferably, the remote sensing image coordinate system conversion control method as described above, the step of acquiring the vector line connecting the first coordinate point and the second coordinate point comprises:
[0090] The first coordinate point and the second coordinate point corresponding to the same corner point are connected according to the translation direction to obtain a vector line, wherein the vector line points to the second coordinate point.
[0091] In a preferred embodiment of the present application, when the vector line connecting the first coordinate point and the second coordinate point is acquired, the first coordinate point and the second coordinate point corresponding to the same corner point are connected according to the translation direction of the coordinates by the Vertex Creator converter to obtain the corresponding vector line, and the vector line points to the second coordinate point, thereby ensuring that the first remote sensing image unit is smoothly and completely translated into the target coordinate system to obtain the second remote sensing image unit.
[0092] Preferably, the control method for remote sensing image coordinate system conversion as described above, before the step of splicing the plurality of second remote sensing image units to obtain the second remote sensing image corresponding to the first remote sensing image in the target coordinate system, the method further comprises:
[0093] The second remote sensing image unit is subjected to black edge removal processing.
[0094] In a preferred embodiment of the present application, before splicing the plurality of second remote sensing image units, the second remote sensing image unit is subjected to black edge removal processing in advance by the RasterBandNodataSetter converter, which is advantageous to avoid the impact of black edges generated in the cropping process on the spliced second remote sensing image, and ensure the clarity and edge joining accuracy of the final obtained second remote sensing image.
[0095] It should be noted that after obtaining the second remote sensing image unit and before splicing the plurality of second remote sensing image units, in order to facilitate the calling of the second remote sensing image unit at any time, therefore, after obtaining the second remote sensing image unit, each second remote sensing image unit is stored to a second preset folder by the FeatureWriter converter, and when the second remote sensing image unit is needed to be used for splicing, it is re-read from the second preset folder by the FeatureReader converter.
[0096] In another preferred embodiment of the present application, when the above control method is implemented based on FME, a plurality of templates can be constructed in FME, wherein each template executes one or more steps of the above method, and then when the method is used, the corresponding template can be called to implement the above control method.
[0097] For example: implemented by the first template and the second template, wherein the first template is used to convert the first remote sensing image unit to the target coordinate system to obtain the second remote sensing image unit; the second template is used to perform vector segmentation on the vector range corresponding to the first remote sensing image and cut the first remote sensing image into a plurality of first remote sensing image units, the WorkspaceRunner converter is called to obtain the plurality of second remote sensing image units by the first template, and the plurality of second remote sensing image units are spliced to obtain the second remote sensing image.
[0098] Referring to Figure 4 Another preferred embodiment of the present application further provides a control device for remote sensing image coordinate conversion, comprising:
[0099] The first processing module 401 is configured to obtain a vector range surface corresponding to a first remote sensing image in a source coordinate system, and divide the vector range surface into a plurality of rectangular vector surfaces with a preset side length;
[0100] The second processing module 402 is configured to acquire a vector line connecting a first coordinate point and a second coordinate point, wherein the first coordinate point is a coordinate point corresponding to an angle point of the rectangular vector plane in a source coordinate system, and the second coordinate point is a coordinate point corresponding to the angle point in a target coordinate system.
[0101] The third processing module 403 is configured to perform cutting on the first remote sensing image according to the rectangular vector plane, and perform coordinate transformation on a first remote sensing image unit obtained by the cutting according to the vector line, to obtain a second remote sensing image unit in the target coordinate system.
[0102] The fourth processing module 404 is configured to splice a plurality of second remote sensing image units to obtain a second remote sensing image corresponding to the first remote sensing image in the target coordinate system.
[0103] Preferably, the control device for remote sensing image coordinate system conversion described above comprises:
[0104] The fifth processing module is configured to acquire a two-dimensional boundary box of the rectangular vector plane.
[0105] The sixth processing module is configured to set a starting angle point of the two-dimensional boundary box.
[0106] The seventh processing module is configured to remove a terminal angle point of the two-dimensional boundary box according to a connection sequence of the angle points in the two-dimensional boundary box.
[0107] The eighth processing module is configured to break the two-dimensional boundary box into points, and extract longitude and latitude coordinates corresponding to each angle point to obtain the first coordinate point.
[0108] Further, the control device for remote sensing image coordinate system conversion described above further comprises:
[0109] The ninth processing module is configured to determine a source coordinate system and a target coordinate system input by a user in advance.
[0110] The tenth processing module is configured to acquire a coordinate conversion model corresponding to the source coordinate system and the target coordinate system.
[0111] The eleventh processing module is configured to acquire a second coordinate point corresponding to each angle point in the target coordinate system according to the coordinate conversion model and the first coordinate point corresponding to each angle point.
[0112] Preferably, the control device for remote sensing image coordinate system conversion described above further comprises:
[0113] The twelfth processing module is configured to buffer the rectangular vector plane outward by a first preset distance, wherein two adjacent rectangular vector planes have an overlap region with a width of the first preset distance.
[0114] Preferably, the second processing module of the control device for remote sensing image coordinate system conversion described above comprises:
[0115] The first coordinate point and the second coordinate point corresponding to the same corner are connected according to the translation direction to obtain a vector line, wherein the vector line points to the second coordinate point.
[0116] Specifically, the control device for remote sensing image coordinate system conversion as described above further comprises:
[0117] The thirteenth processing module is configured to perform black border removal processing on the second remote sensing image unit.
[0118] The control device for remote sensing image coordinate system conversion of the present application is a device corresponding to the embodiment of the control method for remote sensing image coordinate system conversion described above, and all the implementation means in the method embodiment are applicable to the embodiment of the device and can achieve the same technical effects.
[0119] Still another preferred embodiment of the present application further provides a terminal comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, and the computer program, when executed by the processor, implements the steps of the control method for remote sensing image coordinate system conversion as described above.
[0120] Still another preferred embodiment of the present application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program, when executed by the processor, implements the steps of the control method for remote sensing image coordinate system conversion as described above.
[0121] In addition, the reference numerals and / or letters can be repeated in different examples in the present application. Such repetition is for the purpose of simplification and clarity, and does not itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0122] It should also be noted that, in this document, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion.
[0123] The above is the preferred embodiment of the present application, and it should be pointed out that for those skilled in the art, without departing from the principles described in the present application, a number of improvements and refinements can be made, and these improvements and refinements should also be considered as the protection scope of the present application.
Claims
1. A control method for remote sensing image coordinate system conversion, characterized in that, The method comprises the following steps: obtaining a vector range surface corresponding to a first remote sensing image in a source coordinate system, and dividing the vector range surface into a plurality of rectangular vector surfaces with a preset side length; obtaining a vector line connecting a first coordinate point and a second coordinate point, wherein the first coordinate point is a coordinate point corresponding to a corner point of the rectangular vector surface in the source coordinate system, and the second coordinate point is a coordinate point corresponding to the corner point in a target coordinate system; cutting the first remote sensing image according to the rectangular vector surface, and performing coordinate transformation on the first remote sensing image unit obtained by cutting according to the vector line to obtain a second remote sensing image unit in the target coordinate system; splicing a plurality of second remote sensing image units to obtain a second remote sensing image corresponding to the first remote sensing image in the target coordinate system; before the step of obtaining the vector line connecting the first coordinate point and the second coordinate point, the method comprises the following steps: obtaining a two-dimensional bounding box of the rectangular vector surface; setting a starting corner point of the two-dimensional bounding box; removing a tail corner point of the two-dimensional bounding box according to the connection order of the corner points in the two-dimensional bounding box; breaking the two-dimensional bounding box into points, and extracting the latitude and longitude coordinates corresponding to each corner point to obtain the first coordinate point; before the step of obtaining the two-dimensional bounding box of the rectangular vector surface, the method further comprises the following steps: buffering the rectangular vector surface outward by a first preset distance, wherein there is an overlap area with a width of the first preset distance between adjacent two rectangular vector surfaces.
2. The control method of remote sensing image coordinate system conversion according to claim 1, wherein, after obtaining the first coordinate point, the method further comprises the following steps: determining the source coordinate system and the target coordinate system input by a user in advance; obtaining a coordinate conversion model corresponding to the source coordinate system and the target coordinate system; obtaining the second coordinate point corresponding to each corner point in the target coordinate system according to the coordinate conversion model and the first coordinate point corresponding to each corner point.
3. The control method of remote sensing image coordinate system conversion according to claim 1, wherein, The step of obtaining the vector line connecting the first coordinate point and the second coordinate point comprises the following steps: connecting the first coordinate point and the second coordinate point corresponding to the same corner point according to the translation direction to obtain the vector line, wherein the vector line points to the second coordinate point.
4. The control method of remote sensing image coordinate system conversion according to claim 1, wherein, before the step of splicing a plurality of second remote sensing image units to obtain a second remote sensing image corresponding to the first remote sensing image in the target coordinate system, the method further comprises the following step: performing black edge removal processing on the second remote sensing image unit.
5. A control device for remote sensing image coordinate conversion, characterized by, The method comprises the following steps: a first processing module is configured to obtain a vector range surface corresponding to a first remote sensing image in a source coordinate system, and divide the vector range surface into a plurality of rectangular vector surfaces with a preset side length; a second processing module is configured to obtain a vector line connecting a first coordinate point and a second coordinate point, wherein the first coordinate point is a coordinate point corresponding to a corner point of the rectangular vector surface in the source coordinate system, and the second coordinate point is a coordinate point corresponding to the corner point in a target coordinate system; The third processing module is configured to crop the first remote sensing image according to the rectangular vector plane, and perform coordinate transformation on the cropped first remote sensing image unit according to the vector line to obtain a second remote sensing image unit in the target coordinate system; The fourth processing module is configured to stitch a plurality of the second remote sensing image units to obtain a second remote sensing image corresponding to the first remote sensing image in the target coordinate system; The control device further comprises: The fifth processing module is configured to obtain a two-dimensional boundary box of the rectangular vector plane; The sixth processing module is configured to set a starting corner point of the two-dimensional boundary box; The seventh processing module is configured to remove a tail corner point of the two-dimensional boundary box according to a connection sequence of the corner points in the two-dimensional boundary box; The eighth processing module is configured to break the two-dimensional boundary box into points, and extract latitude and longitude coordinates corresponding to each corner point to obtain first coordinate points; The twelfth processing module is configured to buffer the rectangular vector plane outward by a first preset distance, wherein adjacent two rectangular vector planes have an overlapping area with a width of the first preset distance.
6. A terminal, characterized by comprising: The computer program is stored on the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the control method for remote sensing image coordinate system conversion according to any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium, characterized in that, The computer program is stored on the computer readable storage medium and executable on the processor, and when the computer program is executed by the processor, the steps of the control method for remote sensing image coordinate system conversion according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Rendering-oriented spatial data real-time coordinate conversion / projection transformation method
CN104123343A
Control-point-free remote sensing image coordinate conversion method
CN111696156A