WO2019100218A1 - Method and apparatus for presenting maps in superposed manner, and unmanned flight system - Google Patents
Method and apparatus for presenting maps in superposed manner, and unmanned flight system Download PDFInfo
- Publication number
- WO2019100218A1 WO2019100218A1 PCT/CN2017/112200 CN2017112200W WO2019100218A1 WO 2019100218 A1 WO2019100218 A1 WO 2019100218A1 CN 2017112200 W CN2017112200 W CN 2017112200W WO 2019100218 A1 WO2019100218 A1 WO 2019100218A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- latitude
- longitude
- picture
- pictures
- electronic map
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B29/00—Maps; Plans; Charts; Diagrams, e.g. route diagram
- G09B29/003—Maps
- G09B29/006—Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes
- G09B29/007—Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes using computer methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Definitions
- Embodiments of the present invention relate to the field of map technologies, and in particular, to a map overlay display method, apparatus, and unmanned flight system.
- Unmanned aerial vehicles can be applied to professional aerial photography, agricultural irrigation, power inspection, remote sensing mapping, public security monitoring and other industries.
- the unmanned aerial vehicle performs the tasks of the above various industries, it is necessary to locate the position of the unmanned aerial vehicle and display the position of the unmanned aerial vehicle on the display interface of the ground station of the unmanned aerial vehicle, so that the user can operate the unmanned aerial vehicle better. Perform various tasks.
- the ground station of the UAV acquires and displays an electronic map, such as: Gaode map, Google map, Baidu map, Tencent map, etc., and then according to the latitude and longitude information of the unmanned aerial vehicle, Mark the current location of the UAV on the electronic map.
- Embodiments of the present invention provide a map overlay display method and apparatus, and an unmanned flight system for superimposing pictures on an electronic map to supplement map data of an electronic map.
- an embodiment of the present invention provides a map overlay display method, including:
- the N pictures are superimposed in the electronic map displayed on the display interface according to the at least part latitude and longitude belonging to the first latitude and longitude.
- an embodiment of the present invention provides a map overlay display device, including: a processor and a display interface;
- the processor is configured to acquire a first latitude and longitude of the electronic map displayed by the display interface, and acquire, according to the first latitude and longitude, at least part of the N latitude and longitude latitude and longitude belonging to the first latitude and longitude, wherein the N is greater than or equal to 1
- an embodiment of the present invention provides an unmanned flight system, including: an unmanned aerial vehicle and a control device;
- the control device is configured to control the unmanned aerial vehicle
- the control device includes the map overlay display device according to the first aspect of the present invention.
- an embodiment of the present invention provides a chip, a memory, and a processor
- the memory is configured to store program instructions
- the processor is configured to invoke the program instructions stored in the memory to implement a map overlay display method according to the first aspect of the present invention.
- the present invention provides a storage medium, comprising: a readable storage medium and a computer program, and the computer program is used to implement a map overlay display method according to the first aspect of the present invention.
- the map overlay display method and device and the unmanned flight system acquire the first latitude and longitude of the electronic map displayed on the display interface; and obtain at least part of the latitude and longitude belonging to the first latitude and longitude according to the first latitude and longitude a picture; superimposing the N pictures in the electronic map displayed on the display interface according to the at least part latitude and longitude belonging to the first latitude and longitude. If there is no map data of a certain area on the electronic map, or map data of a certain area on the electronic map is not updated, by using the scheme of the embodiment, the image may be superimposed in the area of the electronic map to supplement the map for the electronic map. The data, so that the electronic map displays accurate map data, the user can see the new map of the area to ensure that the unmanned aerial vehicle successfully performs the task.
- FIG. 1 is a schematic architectural diagram of an unmanned flight system 100 in accordance with an embodiment of the present invention
- FIG. 2 is a flowchart of a method for displaying a map overlay according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of superimposing a picture on an displayed electronic map according to an embodiment of the present invention.
- FIG. 4 is another schematic diagram of superimposing a picture on an displayed electronic map according to an embodiment of the present invention.
- FIG. 5 is another schematic diagram of superimposing a picture on an displayed electronic map according to an embodiment of the present invention.
- FIG. 6 is a flowchart of a method for displaying a map overlay according to another embodiment of the present invention.
- FIG. 7 is a schematic diagram of a plurality of area superimposed pictures on an displayed electronic map according to an embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of a map overlay display apparatus according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of an unmanned flight system 900 according to an embodiment of the present invention.
- Embodiments of the present invention provide a map overlay display method, apparatus, and unmanned aerial vehicle.
- the unmanned aerial vehicle may be a rotorcraft, for example, a multi-rotor aircraft that is propelled by air by a plurality of propelling devices, and embodiments of the present invention are not limited thereto.
- FIG. 1 is a schematic architectural diagram of an unmanned flight system 100 in accordance with an embodiment of the present invention. This embodiment is described by taking a rotorcraft unmanned aerial vehicle as an example.
- the unmanned aerial vehicle system 100 can include an unmanned aerial vehicle 110, a pan/tilt head 120, a display device 130, and a control device 140.
- the unmanned aerial vehicle 110 may include a power system 150, a flight control system 160, and a rack.
- the UAV 110 can be in wireless communication with the control device 140 and the display device 130.
- the rack can include a fuselage and a tripod (also known as a landing gear).
- the fuselage may include a center frame and one or more arms coupled to the center frame, the one or more arms extending radially from the center frame.
- the stand is coupled to the fuselage for supporting when the UAV 110 is landing.
- Power system 150 may include one or more electronic governors (referred to as ESCs) 151, one or more propellers 153, and one or more electric machines 152 corresponding to one or more propellers 153, wherein motor 152 is coupled Between the electronic governor 151 and the propeller 153, the motor 152 and the propeller 153 are disposed on the arm of the unmanned aerial vehicle 110; the electronic governor 151 is configured to receive the driving signal generated by the flight control system 160 and provide driving according to the driving signal. Current is supplied to the motor 152 to control the rotational speed of the motor 152. Motor 152 is used to drive propeller rotation to power the flight of unmanned aerial vehicle 110, which enables unmanned aerial vehicle 110 to achieve one or more degrees of freedom of motion.
- ESCs electronic governors
- the UAV 110 can be rotated about one or more axes of rotation.
- the above-described rotating shaft may include a roll axis, a yaw axis, and a pitch axis.
- the motor 152 can be a DC motor or an AC motor.
- the motor 152 may be a brushless motor or a brushed motor.
- Flight control system 160 may include flight controller 161 and sensing system 162.
- the sensing system 162 is used to measure the attitude information of the unmanned aerial vehicle, that is, the position information and state information of the UAV 110 in space, for example, three-dimensional position, three-dimensional angle, three-dimensional speed, three-dimensional acceleration, and three-dimensional angular velocity.
- the sensing system 162 may include, for example, at least one of a gyroscope, an ultrasonic sensor, an electronic compass, an Inertial Measurement Unit (IMU), a vision sensor, a global navigation satellite system, and a barometer.
- the global navigation satellite system can be a global positioning system (English: Global Positioning System, referred to as: GPS) or.
- the flight controller 161 is used to control the flight of the unmanned aerial vehicle 110, for example, the flight of the unmanned aerial vehicle 110 can be controlled based on the attitude information measured by the sensing system 162. It should be understood that the flight controller 161 may control the UAV 110 in accordance with pre-programmed program instructions, or may control the UAV 110 in response to one or more control commands from the control device 140.
- the pan/tilt 120 can include a motor 122.
- the pan/tilt is used to carry the imaging device 123.
- the flight controller 161 can control the motion of the platform 120 via the motor 122.
- the platform 120 may further include a controller for controlling the motion of the platform 120 by controlling the motor 122.
- the platform 120 can be independent of the UAV 110 or a portion of the UAV 110.
- the motor 122 can be a DC motor or an AC motor.
- the motor 122 may be a brushless motor or a brushed motor.
- the pan/tilt can be located at the top of the UAV or at the bottom of the UAV.
- the imaging device 123 may be, for example, a device for capturing an image such as a camera or a video camera, and the imaging device 123 may communicate with the flight controller and perform shooting under the control of the flight controller.
- the imaging device 123 of the present embodiment includes at least a photosensitive element, such as a Complementary Metal Oxide Semiconductor (CMOS) sensor or a Charge-coupled Device (CCD) sensor.
- CMOS Complementary Metal Oxide Semiconductor
- CCD Charge-coupled Device
- Display device 130 is located at the ground end of unmanned aerial vehicle system 100, can communicate with unmanned aerial vehicle 110 wirelessly, and can be used to display attitude information for unmanned aerial vehicle 110. In addition, an image taken by the imaging device can also be displayed on the display device 130. It should be understood that the display device 130 may be a stand-alone device or may be integrated in the control device 140.
- the control device 140 is located at the ground end of the unmanned aerial vehicle system 100 and can communicate with the unmanned aerial vehicle 110 in a wireless manner for remote manipulation of the unmanned aerial vehicle 110.
- FIG. 2 is a flowchart of a method for displaying a map overlay according to an embodiment of the present invention. As shown in FIG. 2, the method in this embodiment may include:
- the display interface may be a display screen of a smart phone or a tablet computer or a desktop computer or a notebook computer.
- the electronic map may be an electronic map of a high-tech map, an electronic map of a Google map, an electronic map of a Baidu map, an electronic map of a Tencent map, and the like, and the embodiment is not limited thereto.
- the current display interface currently displays an electronic map of a partial area. Therefore, in this embodiment, the latitude and longitude information of the area corresponding to the currently displayed electronic map may be obtained, for example, a longitude value and a latitude value, or a longitude range value and a latitude range. Value, the latitude and longitude information obtained here is referred to as the first latitude and longitude.
- N pictures are obtained from at least one picture, and N is an integer greater than or equal to 1.
- the latitude and longitude of each picture in the N pictures overlaps with the first latitude and longitude, and the overlapping latitude and longitude belongs to both the latitude and longitude of the picture and also the first latitude and longitude.
- the latitude and longitude of the picture overlaps with the first latitude and longitude, that is, the latitude and longitude of the picture belongs to the first latitude and longitude; or, the figure
- the partial latitude and longitude of the slice overlaps with the first latitude and longitude, that is, part of the latitude and longitude of the picture belongs to the first latitude and longitude, and the other part of the latitude and longitude does not belong to the first latitude and longitude.
- the latitude and longitude of the picture refers to the latitude and longitude of the area displayed in the picture.
- N pictures are superimposed on the electronic map displayed on the display interface,
- the electronic display that superimposes the N pictures is displayed on the display interface. It should be noted that at least part of the latitude and longitude of each picture belonging to the first latitude and longitude may be different.
- the first latitude and longitude of the electronic map displayed on the display interface is acquired; and according to the first latitude and longitude, at least part of the N latitude and longitude latitude and longitude belongs to the N latitude and longitude; according to the first latitude and longitude
- the N pictures are superimposed on the electronic map displayed on the display interface for at least part of latitude and longitude. If there is no map data of a certain area on the electronic map, or map data of a certain area on the electronic map is not updated, by using the scheme of the embodiment, the image may be superimposed in the area of the electronic map to supplement the map for the electronic map.
- the data, so that the electronic map displays accurate map data the user can see the new map of the area to ensure that the unmanned aerial vehicle successfully performs the task.
- an implementation manner of the foregoing S203 is: determining, for each of the N pictures, the at least part of the latitude and longitude of the first latitude and longitude in the picture as the second latitude and longitude; Determining, by the second latitude and longitude, a sub-picture corresponding to a second latitude and longitude in the picture; and determining, according to the second latitude and longitude, a sub-area corresponding to the second latitude and longitude in the electronic map; overlaying the sub-picture display On the sub-area of the electronic map.
- N pictures are superimposed on an electronic map, wherein the implementation process of superimposing each picture on the electronic map is similar. Therefore, the following is an example of superimposing any one of the pictures on the electronic map as an example to determine The latitude and longitude of the picture belonging to the first latitude and longitude, that is, determining the latitude and longitude of the picture overlapping with the first latitude and longitude, where the latitude and longitude is referred to as the second latitude and longitude.
- the second latitude and longitude may be part of the latitude and longitude of the picture, which means that part of the latitude and longitude of the picture belongs to the first latitude and longitude, and therefore, the area in the currently displayed electronic map includes a part of the picture.
- the second latitude and longitude may be the latitude and longitude of the picture, which means that the entire latitude and longitude of the picture belongs to the first latitude and longitude, and therefore, the area in the currently displayed electronic map includes all the areas in the picture.
- this embodiment is further based on The second latitude and longitude determined above determines a sub-picture corresponding to the second latitude and longitude in the picture, and the sub-picture may be a part of the picture in the picture, or the sub-picture is the picture.
- the sub-region corresponding to the second latitude and longitude in the electronic map is determined according to the second latitude and longitude, and the sub-region is the region corresponding to the second latitude and longitude currently displayed in the electronic map.
- the sub-picture in the determined picture is overlaid on the sub-area of the electronic map. Therefore, the current display interface displays that the sub-picture is overlaid on the sub-area of the electronic map, and the sub-area of the electronic map is sub-picture. Instead of the display, the position is exactly matched when the sub-picture is superimposed on the sub-area of the electronic map. The defect that the sub-area has no map data or the map data of the sub-area is not updated is avoided, and the accuracy of the map data displayed on the electronic map is improved.
- the picture may be a picture obtained by aerial photography, that is, the actual regional appearance is presented in the pictures, which is beneficial for the user to accurately know the actual situation through the pictures superimposed on the electronic map.
- the aerial picture is a picture taken by an unmanned aerial vehicle.
- a map picture as shown in FIG. 3 can be formed. Through the map screen shown in Figure 3, the user can know the map information of the area.
- the N pictures can be superimposed on the electronic map by the solution of the embodiment to form a map picture as shown in FIG. 4 or FIG. 5, wherein The electronic map currently displays a two-dimensional plane map.
- Figure 5 shows the satellite map currently displayed on the electronic map. Through the map screen shown in Figure 4 or Figure 5, the user can know the updated map information of the area. .
- the present embodiment does not limit the type of the map currently displayed on the electronic map, and may be, for example, a three-dimensional map or a street view map.
- FIG. 6 is a flowchart of a method for displaying a map overlay according to another embodiment of the present invention. As shown in FIG. 6, the method in this embodiment may include:
- the embodiment also obtains a scaling ratio between a picture of an area corresponding to the currently displayed electronic map and an actual picture of the area, which is also referred to as a zoom level of the electronic map.
- User can operate The electronic map is enlarged or reduced. If the electronic map is enlarged, the zoom level of the electronic map is larger, the range of the area displayed in the current electronic map is small, and the distance corresponding to the earth of each pixel is smaller; if the electronic map is smaller, the electronic map is smaller.
- the smaller the zoom level of the electronic map the larger the Earth distance corresponding to each pixel point, and the range of the area displayed in the current electronic map is expanded.
- This embodiment refers to the zoom level of the acquired electronic map as the first zoom level.
- the zoom level is, for example, 15 to 21 levels, and the pictures of different zoom levels have different earth distances corresponding to each pixel point.
- the earth distance corresponding to each pixel point of the current zoom level is corresponding to each pixel point of the previous level zoom level.
- Half the distance of the earth For example, when the level 15 zoom level is used, the distance of the earth corresponding to each pixel point is 4.4 meters.
- the distance corresponding to each pixel is 2.2 meters.
- At least part of the pictures whose latitude and longitude belongs to the first latitude and longitude and the zoom level is the first zoom level are determined from the M pictures, wherein the M pictures are determined from the M pictures.
- a picture satisfying the above condition is N pictures, M is an integer greater than or equal to N, and N is an integer greater than or equal to 1.
- one implementation of S602 can include S6021 and S6022.
- S6021 Acquire, according to the first zoom level, T pictures whose zoom level is the first zoom level from the M pictures; the T is an integer greater than or equal to N and less than or equal to M.
- S6022 Acquire the N pictures from the T pictures according to the first latitude and longitude.
- each picture in the M pictures has a zoom level, and at least one picture in the M pictures has the same zoom level.
- a picture whose zoom level is the first zoom level is obtained from the M pictures, and the picture whose zoom level is the first zoom level from the M pictures is T pictures.
- the first latitude and longitude at least part of the pictures whose latitude and longitude belongs to the first latitude and longitude are obtained from the T pictures, that is, N pictures.
- each of the above-mentioned pictures may be a picture obtained by taking aerial photographs taken by a plurality of different heights, the different heights corresponding to different zoom levels, and each of the pixels of the different altitude photographed aerial images have different earth distances.
- at least one of the pictures can be obtained by taking aerial pictures taken at the same height.
- each of the above pictures is a picture obtained by taking aerial pictures taken at different zoom magnifications of the same height, and the different zoom magnifications correspond to different zoom levels, and each pixel in the aerial picture taken by the different zoom multiple corresponds to each pixel.
- the distance between the Earth is different.
- at least one of the pictures can be obtained from an aerial picture taken by the same zoom factor.
- the aerial picture may be a picture taken by an unmanned aerial vehicle.
- One implementation manner of obtaining the above M pictures is: cutting the original picture according to each of the K types of zoom levels to obtain the above M pictures.
- K is an integer greater than or equal to 1.
- the latitude and longitude of the original picture is known, that is, the latitude and longitude of the region in the original picture is known, and the earth distance and latitude and longitude corresponding to each pixel point in the original picture can be determined, and the zoom level of the original picture can also be determined.
- the original picture having the zoom level is cut, so that M pictures can be obtained, wherein the M pictures have the above K kinds of zoom levels, and each picture has one Kind of zoom level.
- each of the M pictures obtained after cutting is square, that is, each picture includes Q*Q pixels, and the Q is a positive integer, for example: Q is equal to 256, that is, each picture The size is 256*256 pixels.
- a plurality of small pictures are obtained by cutting the original picture, so that when the picture is superimposed on the electronic map, at least one small picture corresponding to the area is superimposed according to the area currently displayed by the electronic map, without superimposing a large original.
- the image because the size of the cut image is smaller than the original image size, can quickly load the cut image, thereby improving the efficiency of map overlay display.
- the embodiment further stores the zoom level and latitude and longitude of the M pictures and each of the M pictures.
- the embodiment may store each of the pictures as a subdirectory in a file directory of the longitude of the picture, and the file directory of the longitude is stored as a subdirectory in a file of a zoom level of the picture.
- the file of each picture is named the latitude of the picture.
- the embodiment may store each picture as a subdirectory in a file directory of the latitude of the picture, and the file directory of the latitude is stored as a subdirectory at a zoom level of the picture.
- the file name of each picture is the longitude of the picture.
- the file name of the longitude file directory is the longitude of the picture
- the file name of the file directory of the latitude is the latitude of the picture
- the file name of the file directory of the zoom level is the zoom level of the picture.
- the image may be saved according to the directory and file name of ⁇ zoom level/longitude/latitude.png ⁇ , or the image may be saved according to the directory and file name of ⁇ zoom level/latitude/longitude.png ⁇ .
- the picture is not limited to the png image format, and can also be a picture format such as JEPG.
- 20 is the zoom level
- 856145 is the longitude
- 456615 is the dimension, which means that a directory with the name 20 is created first, and another name is 856145 in the directory of 20. Directory, then create a 456515.png file in the directory of 856145.
- the original picture may be an aerial picture. If an original picture of a different zoom level is to be obtained, the original picture may be a picture obtained by taking aerial pictures taken at a plurality of different heights, the different heights corresponding to different zoom levels; or, the original picture may be different by zooming at the same height A picture obtained by multiplying aerial photographs, the different zoom magnifications corresponding to different zoom levels.
- the aerial picture is a picture taken by an unmanned aerial vehicle.
- the M pictures may be considered to be the original pictures described above.
- the first latitude and longitude of the electronic map displayed by the display interface and the first zoom level are used to obtain N pictures superimposed on the electronic map, because the zoom level of the N pictures on the electronic map is equal to the electronic map.
- the current zoom level which makes N pictures merge into the electronic map when superimposed on the electronic map, and the electronic map superimposed with N pictures has no visual difference, which further improves the display effect of the picture supplement electronic map.
- the embodiment obtains the first instruction, before displaying the N pictures in the electronic map, according to the at least part of the latitude and longitude belonging to the first latitude and longitude.
- the first instruction is used to indicate that the overlay map is displayed.
- the first instruction may be an instruction obtained by detecting a user's operation, and the first instruction is used to indicate that the overlay map is displayed.
- the N image is superimposed on the display interface on the display interface, thereby realizing that the user needs to display. Perform the above scenario when overlaying the map.
- the present embodiment further acquires a second instruction before displaying the N pictures in the electronic map according to the at least part latitude and longitude belonging to the first latitude and longitude.
- the second instruction is used to indicate that the overlay map is cancelled; and then according to the second And instructing, on the display interface, the electronic map that does not superimpose the N pictures.
- the second instruction may be an instruction obtained by detecting a user's operation, and the second instruction is used to instruct to cancel display of the overlay map, and then the embodiment displays an electronic map that does not superimpose N pictures on the display interface. Therefore, when the user does not need to display the overlay map, only the electronic map is displayed, and accordingly, the user can compare the electronic map in which N pictures are superimposed and N pictures are not superimposed.
- the embodiment further acquires a third instruction for indicating P regions in the electronic map displaying the overlay map; the P is an integer greater than or equal to 1.
- the third instruction may be an instruction obtained by detecting a user's operation.
- the P areas correspond to multiple tasks for acquiring pictures. Taking P equal to 2 as an example, it means that two tasks for acquiring a picture need to be superimposed in two areas of the electronic map.
- the user operates the task selection column displayed on the display interface, and the user selects The task of acquiring the picture of the area 1 and the task of acquiring the picture of the area 3, therefore, the present embodiment displays the superimposed picture on these two areas of the electronic map.
- it is convenient for the user to manage whether multiple areas of the electronic map display the superimposed picture.
- FIG. 8 is a schematic structural diagram of a map overlay display apparatus according to an embodiment of the present invention.
- the map overlay display apparatus 800 of the present embodiment may include a processor 801 and a display interface 802.
- the processor 801 may be a central processing unit (CPU), and the processor 801 may be another general-purpose processor, a digital signal processor (DSP), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the processor 801 is configured to acquire a first latitude and longitude of an electronic map displayed by the display interface 802. And acquiring, according to the first latitude and longitude, at least part of the N pictures belonging to the first latitude and longitude, the N being an integer greater than or equal to 1; according to the at least part of the latitude and longitude belonging to the first latitude and longitude, The N pictures are superimposed on the electronic map displayed on the display interface 802.
- the processor 801 is specifically configured to: determine, for each of the N pictures, the at least part of the latitude and longitude of the first latitude and longitude in the picture as a second latitude and longitude; Determining a sub-picture corresponding to the second latitude and longitude in the picture according to the second latitude and longitude; and determining a sub-area corresponding to the second latitude and longitude in the electronic map according to the second latitude and longitude; covering the sub-picture Displayed on the sub-area of the electronic map.
- the processor 801 is further configured to acquire, according to the first latitude and longitude, a first zoom level of the electronic map before acquiring at least part of the N pictures whose latitude and longitude belong to the first latitude and longitude;
- the processor 801 is configured to: when the at least part of the latitude and longitude latitude and longitude belongs to the N latitude and longitude, according to the first latitude and longitude, according to the first latitude and longitude and the first zoom level, from the M Obtaining the N pictures in the picture, the M is an integer greater than or equal to N, and the zoom level of the N pictures is equal to the first zoom level.
- the processor 801 is further configured to: cut the original picture according to each of the K types of zoom levels, obtain the M pictures, and store a zoom level of each picture, Latitude and longitude, and each of the pictures; the K is an integer greater than or equal to 1.
- the processor 801 is specifically configured to: store each picture as a subdirectory in a file directory of the longitude of the picture, and store the longitude file directory as a subdirectory in the picture.
- the file directory of the zoom level the file of each picture is named the latitude of the picture; or, each picture is stored as a sub-directory in a file directory of the latitude of the picture, and the file of the latitude
- the directory is stored as a subdirectory in a file directory of the zoom level of the picture, and the file name of each picture is the longitude of the picture.
- the zoom level is larger, and the zoom level corresponds to a smaller earth distance corresponding to a pixel point in the divided picture.
- the processor 801 is configured to: obtain, according to the first zoom level, T pictures with a zoom level of the first zoom level from the M pictures; the T is greater than or An integer equal to N and less than or equal to M; according to the first latitude and longitude, from the T pictures Obtain the N pictures.
- each of the M pictures includes Q*Q pixels, and Q is a positive integer.
- the processor 801 is further configured to display, before displaying the N pictures in the electronic map on the display interface 802 according to the at least partial latitude and longitude belonging to the first latitude and longitude. Obtaining a first instruction, the first instruction is used to indicate that the overlay map is displayed.
- the processor 801 is further configured to display, before displaying the N pictures in the electronic map on the display interface 802 according to the at least partial latitude and longitude belonging to the first latitude and longitude.
- the second instruction is used to instruct to cancel display of the overlay map; and displaying, according to the second instruction, the electronic map that does not superimpose the N pictures on the display interface 802.
- the processor 801 is further configured to: acquire a third instruction, where the third instruction is used to indicate P regions in the electronic map that display the overlay map; and the P is an integer greater than or equal to 1. ;
- the processor 801 is configured to: when the N pictures are superimposed on the electronic map displayed on the display interface 802 according to the at least part of latitude and longitude belonging to the first latitude and longitude, The at least part of the latitude and longitude of the first latitude and longitude, the N pictures are superimposed in the P areas of the electronic map displayed on the display interface 802.
- the P areas when the P areas are multiple areas, the P areas correspond to multiple tasks for acquiring pictures.
- the picture is a picture obtained by aerial photography.
- the picture is a picture obtained by aerial photographs taken at a plurality of different heights, the different heights corresponding to different zoom levels; or
- the picture is a picture obtained by an aerial picture taken at different zoom magnifications of the same height, the different zoom magnifications corresponding to different zoom levels.
- the aerial picture is a picture taken by an unmanned aerial vehicle.
- the apparatus of this embodiment may further include a memory, which is not shown in the figure.
- the processor 801, the display interface 802, and the memory are connected by a bus.
- the memory can include read only memory and random access memory and provides instructions and data to the processor 801.
- a portion of the memory may also include a non-volatile random access memory.
- the memory is used to store the code that performs the map overlay display method.
- the processor 801 is configured to call the memory stored code to perform the above scheme.
- the device in this embodiment may be used to implement the technical solutions of the foregoing method embodiments of the present invention, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
- FIG. 9 is a schematic structural diagram of an unmanned flight system 900 according to an embodiment of the present invention.
- the unmanned flight system 900 of the present embodiment includes an unmanned aerial vehicle 901 and a control device 902.
- the control device 902 is used to control the unmanned aerial vehicle 901.
- the control device 902 includes a map overlay display device, and the map overlay display device can adopt the structure of the embodiment shown in FIG. 8 , which can correspondingly implement the technical solutions of the foregoing method embodiments of the present invention, and the implementation principle and technical effects are similar. I will not repeat them here.
- the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
- the foregoing storage medium includes: read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and the like, which can store program codes. Medium.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Ecology (AREA)
- Mathematical Physics (AREA)
- Business, Economics & Management (AREA)
- Educational Administration (AREA)
- Educational Technology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computer Hardware Design (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- Processing Or Creating Images (AREA)
- Instructional Devices (AREA)
Abstract
Disclosed are a method and apparatus for presenting maps in a superposed manner, and an unmanned flight system. The method comprises: acquiring a first longitude and latitude of an electronic map displayed on a display interface; according to the first longitude and latitude, acquiring N pictures of at least some longitudes and latitudes in the first longitude and latitude, wherein N is an integer greater than or equal to 1; and according to the at least some longitudes and latitudes in the first longitude and latitude, superposing the N pictures on the electronic map displayed on the display interface. The superposed N pictures can provide supplementary map data for the electronic map, so as to enable the electronic map to display accurate map data; and a user can read a new map of the region, thus guaranteeing that an unmanned aerial vehicle successfully performs a mission.
Description
本发明实施例涉及地图技术领域,尤其涉及一种地图叠加展示方法、装置和无人飞行系统。Embodiments of the present invention relate to the field of map technologies, and in particular, to a map overlay display method, apparatus, and unmanned flight system.
无人飞行器可以应用于专业航拍、农业灌溉、电力巡线,遥感测绘,治安监控等行业。在无人飞行器执行上述各行业的任务时,需要定位无人飞行器的位置,并在无人飞行器的地面站的显示界面上显示无人飞行器的位置,以使得用户可以更好地操作无人飞行器执行各项任务。为了让用户直观地获知无人飞行器的准确位置,无人飞行器的地面站获取并显示电子地图,例如:高德地图、谷歌地图、百度地图、腾讯地图等,然后根据无人飞行器的经纬度信息,在电子地图上标示无人飞行器当前所处的位置。但是,如果电子地图上没有某一地区的地图数据,或者,某一地区的地图更新了但是电子地图上的地图数据并未更新,这会使得用户看不到这一地区的地图或者看到的是旧的地图,显示不准确的地图会影响无人飞行器执行任务。Unmanned aerial vehicles can be applied to professional aerial photography, agricultural irrigation, power inspection, remote sensing mapping, public security monitoring and other industries. When the unmanned aerial vehicle performs the tasks of the above various industries, it is necessary to locate the position of the unmanned aerial vehicle and display the position of the unmanned aerial vehicle on the display interface of the ground station of the unmanned aerial vehicle, so that the user can operate the unmanned aerial vehicle better. Perform various tasks. In order to let the user intuitively know the exact position of the unmanned aerial vehicle, the ground station of the UAV acquires and displays an electronic map, such as: Gaode map, Google map, Baidu map, Tencent map, etc., and then according to the latitude and longitude information of the unmanned aerial vehicle, Mark the current location of the UAV on the electronic map. However, if there is no map data for a certain area on the electronic map, or if the map of a certain area is updated but the map data on the electronic map is not updated, this will make the map not visible to the user or see. It is an old map that shows inaccurate maps that affect the UAV's mission.
发明内容Summary of the invention
本发明实施例提供一种地图叠加展示方法、装置和无人飞行系统,用于在电子地图上叠加图片,以补充电子地图的地图数据。Embodiments of the present invention provide a map overlay display method and apparatus, and an unmanned flight system for superimposing pictures on an electronic map to supplement map data of an electronic map.
第一方面,本发明实施例提供一种地图叠加展示方法,包括:In a first aspect, an embodiment of the present invention provides a map overlay display method, including:
获取显示界面显示的电子地图的第一经纬度;Obtaining a first latitude and longitude of the electronic map displayed on the display interface;
根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片,所述N为大于或等于1的整数;Obtaining, according to the first latitude and longitude, at least part of the N pictures whose latitude and longitude belong to the first latitude and longitude, wherein the N is an integer greater than or equal to 1;
根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图中叠加所述N张图片。The N pictures are superimposed in the electronic map displayed on the display interface according to the at least part latitude and longitude belonging to the first latitude and longitude.
第二方面,本发明实施例提供一种地图叠加展示装置,包括:处理器和显示界面;
In a second aspect, an embodiment of the present invention provides a map overlay display device, including: a processor and a display interface;
所述处理器,用于获取显示界面显示的电子地图的第一经纬度;以及根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片,所述N为大于或等于1的整数;根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图中叠加所述N张图片。The processor is configured to acquire a first latitude and longitude of the electronic map displayed by the display interface, and acquire, according to the first latitude and longitude, at least part of the N latitude and longitude latitude and longitude belonging to the first latitude and longitude, wherein the N is greater than or equal to 1 An integer of the N pictures superimposed on the electronic map displayed on the display interface according to the at least partial latitude and longitude belonging to the first latitude and longitude.
第三方面,本发明实施例提供一种无人飞行系统,包括:无人飞行器和控制设备;In a third aspect, an embodiment of the present invention provides an unmanned flight system, including: an unmanned aerial vehicle and a control device;
所述控制设备,用于控制所述无人飞行器;The control device is configured to control the unmanned aerial vehicle;
其中,所述控制设备包括如第一方面本发明实施例所述的地图叠加展示装置。The control device includes the map overlay display device according to the first aspect of the present invention.
第四方面,本发明实施例提供一种芯片,存储器和处理器;In a fourth aspect, an embodiment of the present invention provides a chip, a memory, and a processor;
所述存储器,用于存储程序指令;The memory is configured to store program instructions;
所述处理器,用于调用所述存储器中存储的所述程序指令以实现如第一方面本发明实施例所述的地图叠加展示方法。The processor is configured to invoke the program instructions stored in the memory to implement a map overlay display method according to the first aspect of the present invention.
第五方面,本发明提供一种存储介质,包括:可读存储介质和计算机程序,所述计算机程序用于实现如第一方面本发明实施例所述的地图叠加展示方法。In a fifth aspect, the present invention provides a storage medium, comprising: a readable storage medium and a computer program, and the computer program is used to implement a map overlay display method according to the first aspect of the present invention.
本发明实施例提供的地图叠加展示方法、装置和无人飞行系统,通过获取显示界面显示的电子地图的第一经纬度;根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片;根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图中叠加所述N张图片。如果电子地图上没有某一地区的地图数据,或者,电子地图上的某一地区的地图数据并未更新,通过本实施例的方案,可以在电子地图的该地区叠加图片,为电子地图补充地图数据,从而使得电子地图显示准确的地图数据,用户可以看到该地区的新地图,保证无人飞行器成功执行任务。The map overlay display method and device and the unmanned flight system provided by the embodiment of the present invention acquire the first latitude and longitude of the electronic map displayed on the display interface; and obtain at least part of the latitude and longitude belonging to the first latitude and longitude according to the first latitude and longitude a picture; superimposing the N pictures in the electronic map displayed on the display interface according to the at least part latitude and longitude belonging to the first latitude and longitude. If there is no map data of a certain area on the electronic map, or map data of a certain area on the electronic map is not updated, by using the scheme of the embodiment, the image may be superimposed in the area of the electronic map to supplement the map for the electronic map. The data, so that the electronic map displays accurate map data, the user can see the new map of the area to ensure that the unmanned aerial vehicle successfully performs the task.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是根据本发明的实施例的无人飞行系统100的示意性架构图;
1 is a schematic architectural diagram of an unmanned flight system 100 in accordance with an embodiment of the present invention;
图2为本发明一实施例提供的地图叠加展示方法的流程图;2 is a flowchart of a method for displaying a map overlay according to an embodiment of the present invention;
图3为本发明一实施例提供的在显示的电子地图上叠加图片的一种示意图;FIG. 3 is a schematic diagram of superimposing a picture on an displayed electronic map according to an embodiment of the present invention; FIG.
图4为本发明一实施例提供的在显示的电子地图上叠加图片的另一种示意图;FIG. 4 is another schematic diagram of superimposing a picture on an displayed electronic map according to an embodiment of the present invention; FIG.
图5为本发明一实施例提供的在显示的电子地图上叠加图片的另一种示意图;FIG. 5 is another schematic diagram of superimposing a picture on an displayed electronic map according to an embodiment of the present invention; FIG.
图6为本发明另一实施例提供的地图叠加展示方法的流程图;FIG. 6 is a flowchart of a method for displaying a map overlay according to another embodiment of the present invention;
图7为本发明一实施例提供的在显示的电子地图上的多个区域叠加图片的一种示意图;FIG. 7 is a schematic diagram of a plurality of area superimposed pictures on an displayed electronic map according to an embodiment of the present invention; FIG.
图8为本发明一实施例提供的地图叠加展示装置的结构示意图;FIG. 8 is a schematic structural diagram of a map overlay display apparatus according to an embodiment of the present invention; FIG.
图9为本发明实施例提供的一种无人飞行系统900的结构示意图。FIG. 9 is a schematic structural diagram of an unmanned flight system 900 according to an embodiment of the present invention.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的实施例提供了地图叠加展示方法、装置和无人飞行器。无人飞行器可以是旋翼飞行器(rotorcraft),例如,由多个推动装置通过空气推动的多旋翼飞行器,本发明的实施例并不限于此。Embodiments of the present invention provide a map overlay display method, apparatus, and unmanned aerial vehicle. The unmanned aerial vehicle may be a rotorcraft, for example, a multi-rotor aircraft that is propelled by air by a plurality of propelling devices, and embodiments of the present invention are not limited thereto.
图1是根据本发明的实施例的无人飞行系统100的示意性架构图。本实施例以旋翼无人飞行器为例进行说明。1 is a schematic architectural diagram of an unmanned flight system 100 in accordance with an embodiment of the present invention. This embodiment is described by taking a rotorcraft unmanned aerial vehicle as an example.
无人飞行系统100可以包括无人飞行器110、云台120、显示设备130和控制装置140。其中,无人飞行器110可以包括动力系统150、飞行控制系统160和机架。无人飞行器110可以与控制装置140和显示设备130进行无线通信。The unmanned aerial vehicle system 100 can include an unmanned aerial vehicle 110, a pan/tilt head 120, a display device 130, and a control device 140. Among them, the unmanned aerial vehicle 110 may include a power system 150, a flight control system 160, and a rack. The UAV 110 can be in wireless communication with the control device 140 and the display device 130.
机架可以包括机身和脚架(也称为起落架)。机身可以包括中心架以及与中心架连接的一个或多个机臂,一个或多个机臂呈辐射状从中心架延伸出。
脚架与机身连接,用于在无人飞行器110着陆时起支撑作用。The rack can include a fuselage and a tripod (also known as a landing gear). The fuselage may include a center frame and one or more arms coupled to the center frame, the one or more arms extending radially from the center frame.
The stand is coupled to the fuselage for supporting when the UAV 110 is landing.
动力系统150可以包括一个或多个电子调速器(简称为电调)151、一个或多个螺旋桨153以及与一个或多个螺旋桨153相对应的一个或多个电机152,其中电机152连接在电子调速器151与螺旋桨153之间,电机152和螺旋桨153设置在无人飞行器110的机臂上;电子调速器151用于接收飞行控制系统160产生的驱动信号,并根据驱动信号提供驱动电流给电机152,以控制电机152的转速。电机152用于驱动螺旋桨旋转,从而为无人飞行器110的飞行提供动力,该动力使得无人飞行器110能够实现一个或多个自由度的运动。在某些实施例中,无人飞行器110可以围绕一个或多个旋转轴旋转。例如,上述旋转轴可以包括横滚轴、偏航轴和俯仰轴。应理解,电机152可以是直流电机,也可以交流电机。另外,电机152可以是无刷电机,也可以是有刷电机。 Power system 150 may include one or more electronic governors (referred to as ESCs) 151, one or more propellers 153, and one or more electric machines 152 corresponding to one or more propellers 153, wherein motor 152 is coupled Between the electronic governor 151 and the propeller 153, the motor 152 and the propeller 153 are disposed on the arm of the unmanned aerial vehicle 110; the electronic governor 151 is configured to receive the driving signal generated by the flight control system 160 and provide driving according to the driving signal. Current is supplied to the motor 152 to control the rotational speed of the motor 152. Motor 152 is used to drive propeller rotation to power the flight of unmanned aerial vehicle 110, which enables unmanned aerial vehicle 110 to achieve one or more degrees of freedom of motion. In certain embodiments, the UAV 110 can be rotated about one or more axes of rotation. For example, the above-described rotating shaft may include a roll axis, a yaw axis, and a pitch axis. It should be understood that the motor 152 can be a DC motor or an AC motor. In addition, the motor 152 may be a brushless motor or a brushed motor.
飞行控制系统160可以包括飞行控制器161和传感系统162。传感系统162用于测量无人飞行器的姿态信息,即无人飞行器110在空间的位置信息和状态信息,例如,三维位置、三维角度、三维速度、三维加速度和三维角速度等。传感系统162例如可以包括陀螺仪、超声传感器、电子罗盘、惯性测量单元(英文:Inertial Measurement Unit,简称:IMU)、视觉传感器、全球导航卫星系统和气压计等传感器中的至少一种。例如,全球导航卫星系统可以是全球定位系统(英文:Global Positioning System,简称:GPS)或者。飞行控制器161用于控制无人飞行器110的飞行,例如,可以根据传感系统162测量的姿态信息控制无人飞行器110的飞行。应理解,飞行控制器161可以按照预先编好的程序指令对无人飞行器110进行控制,也可以通过响应来自控制装置140的一个或多个控制指令对无人飞行器110进行控制。 Flight control system 160 may include flight controller 161 and sensing system 162. The sensing system 162 is used to measure the attitude information of the unmanned aerial vehicle, that is, the position information and state information of the UAV 110 in space, for example, three-dimensional position, three-dimensional angle, three-dimensional speed, three-dimensional acceleration, and three-dimensional angular velocity. The sensing system 162 may include, for example, at least one of a gyroscope, an ultrasonic sensor, an electronic compass, an Inertial Measurement Unit (IMU), a vision sensor, a global navigation satellite system, and a barometer. For example, the global navigation satellite system can be a global positioning system (English: Global Positioning System, referred to as: GPS) or. The flight controller 161 is used to control the flight of the unmanned aerial vehicle 110, for example, the flight of the unmanned aerial vehicle 110 can be controlled based on the attitude information measured by the sensing system 162. It should be understood that the flight controller 161 may control the UAV 110 in accordance with pre-programmed program instructions, or may control the UAV 110 in response to one or more control commands from the control device 140.
云台120可以包括电机122。云台用于携带成像装置123。飞行控制器161可以通过电机122控制云台120的运动。可选地,作为另一实施例,云台120还可以包括控制器,用于通过控制电机122来控制云台120的运动。应理解,云台120可以独立于无人飞行器110,也可以为无人飞行器110的一部分。应理解,电机122可以是直流电机,也可以是交流电机。另外,电机122可以是无刷电机,也可以是有刷电机。还应理解,云台可以位于无人飞行器的顶部,也可以位于无人飞行器的底部。
The pan/tilt 120 can include a motor 122. The pan/tilt is used to carry the imaging device 123. The flight controller 161 can control the motion of the platform 120 via the motor 122. Optionally, as another embodiment, the platform 120 may further include a controller for controlling the motion of the platform 120 by controlling the motor 122. It should be understood that the platform 120 can be independent of the UAV 110 or a portion of the UAV 110. It should be understood that the motor 122 can be a DC motor or an AC motor. In addition, the motor 122 may be a brushless motor or a brushed motor. It should also be understood that the pan/tilt can be located at the top of the UAV or at the bottom of the UAV.
成像装置123例如可以是照相机或摄像机等用于捕获图像的设备,成像装置123可以与飞行控制器通信,并在飞行控制器的控制下进行拍摄。本实施例的成像装置123至少包括感光元件,该感光元件例如为互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,CMOS)传感器或电荷耦合元件(Charge-coupled Device,CCD)传感器。The imaging device 123 may be, for example, a device for capturing an image such as a camera or a video camera, and the imaging device 123 may communicate with the flight controller and perform shooting under the control of the flight controller. The imaging device 123 of the present embodiment includes at least a photosensitive element, such as a Complementary Metal Oxide Semiconductor (CMOS) sensor or a Charge-coupled Device (CCD) sensor.
显示设备130位于无人飞行系统100的地面端,可以通过无线方式与无人飞行器110进行通信,并且可以用于显示无人飞行器110的姿态信息。另外,还可以在显示设备130上显示成像装置拍摄的图像。应理解,显示设备130可以是独立的设备,也可以集成在控制装置140中。 Display device 130 is located at the ground end of unmanned aerial vehicle system 100, can communicate with unmanned aerial vehicle 110 wirelessly, and can be used to display attitude information for unmanned aerial vehicle 110. In addition, an image taken by the imaging device can also be displayed on the display device 130. It should be understood that the display device 130 may be a stand-alone device or may be integrated in the control device 140.
控制装置140位于无人飞行系统100的地面端,可以通过无线方式与无人飞行器110进行通信,用于对无人飞行器110进行远程操纵。The control device 140 is located at the ground end of the unmanned aerial vehicle system 100 and can communicate with the unmanned aerial vehicle 110 in a wireless manner for remote manipulation of the unmanned aerial vehicle 110.
应理解,上述对于无人飞行系统各组成部分的命名仅是出于标识的目的,并不应理解为对本发明的实施例的限制。It should be understood that the above-mentioned nomenclature of the components of the unmanned flight system is for the purpose of identification only and is not to be construed as limiting the embodiments of the invention.
图2为本发明一实施例提供的地图叠加展示方法的流程图,如图2所示,本实施例的方法可以包括:FIG. 2 is a flowchart of a method for displaying a map overlay according to an embodiment of the present invention. As shown in FIG. 2, the method in this embodiment may include:
S201、获取显示界面显示的电子地图的第一经纬度。S201. Acquire a first latitude and longitude of the electronic map displayed on the display interface.
本实施例中,该显示界面可以是智能手机或者平板电脑或者台式电脑或者笔记本电脑的显示屏。该电子地图可以是高德地图的电子地图、Google地图的电子地图、百度地图的电子地图、腾讯地图的电子地图等,本实施例不限于此。一般显示界面当前显示的是部分区域的电子地图,因此,本实施例可以获取当前显示的电子地图对应的区域的经纬度信息,例如可以是经度值和纬度值,也可以是经度范围值和纬度范围值,此处将获取到的经纬度信息称为第一经纬度。In this embodiment, the display interface may be a display screen of a smart phone or a tablet computer or a desktop computer or a notebook computer. The electronic map may be an electronic map of a high-tech map, an electronic map of a Google map, an electronic map of a Baidu map, an electronic map of a Tencent map, and the like, and the embodiment is not limited thereto. The current display interface currently displays an electronic map of a partial area. Therefore, in this embodiment, the latitude and longitude information of the area corresponding to the currently displayed electronic map may be obtained, for example, a longitude value and a latitude value, or a longitude range value and a latitude range. Value, the latitude and longitude information obtained here is referred to as the first latitude and longitude.
S202、根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片,所述N为大于或等于1的整数。S202. Acquire, according to the first latitude and longitude, at least part of the N pictures whose latitude and longitude belong to the first latitude and longitude, and the N is an integer greater than or equal to 1.
本实施例中,根据上述获得的第一经纬度,以及图片的经纬度与第一经纬度至少部分重叠,从至少一张图片中获取N张图片,N为大于或等于1的整数。N张图片中的每张图片的经纬度与第一经纬度存在重叠的经纬度,该重叠的经纬度既属于该图片的经纬度也属于第一经纬度。其中,该图片的经纬度与第一经纬度重叠,即该图片的经纬度属于该第一经纬度;或者,该图
片的部分经纬度与第一经纬度重叠,即该图片的部分经纬度属于该第一经纬度,而另一部分经纬度并不属于该第一经纬度。In this embodiment, according to the first latitude and longitude obtained above, and the latitude and longitude of the picture at least partially overlapping with the first latitude and longitude, N pictures are obtained from at least one picture, and N is an integer greater than or equal to 1. The latitude and longitude of each picture in the N pictures overlaps with the first latitude and longitude, and the overlapping latitude and longitude belongs to both the latitude and longitude of the picture and also the first latitude and longitude. The latitude and longitude of the picture overlaps with the first latitude and longitude, that is, the latitude and longitude of the picture belongs to the first latitude and longitude; or, the figure
The partial latitude and longitude of the slice overlaps with the first latitude and longitude, that is, part of the latitude and longitude of the picture belongs to the first latitude and longitude, and the other part of the latitude and longitude does not belong to the first latitude and longitude.
需要说明的是,图片的经纬度是指图片中展示的区域的经纬度。It should be noted that the latitude and longitude of the picture refers to the latitude and longitude of the area displayed in the picture.
S203、根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图中叠加所述N张图片。S203. Superimpose the N pictures in the electronic map displayed on the display interface according to the at least part latitude and longitude belonging to the first latitude and longitude.
本实施例中,根据属于第一经纬度的该至少部分经纬度,即根据该N个图片中与第一经纬度重叠的那部分经纬度,将N张图片叠加在该显示界面上显示的电子地图中,此时显示界面上显示的是叠加了该N张图片的电子地图。需要说明的是,每张图片中属于第一经纬度的至少部分经纬度可以不相同。In this embodiment, according to the at least part of the latitude and longitude belonging to the first latitude and longitude, that is, according to the part of the latitude and longitude of the N pictures overlapping with the first latitude and longitude, N pictures are superimposed on the electronic map displayed on the display interface, The electronic display that superimposes the N pictures is displayed on the display interface. It should be noted that at least part of the latitude and longitude of each picture belonging to the first latitude and longitude may be different.
本实施例中,通过获取显示界面显示的电子地图的第一经纬度;根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片;根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图中叠加所述N张图片。如果电子地图上没有某一地区的地图数据,或者,电子地图上的某一地区的地图数据并未更新,通过本实施例的方案,可以在电子地图的该地区叠加图片,为电子地图补充地图数据,从而使得电子地图显示准确的地图数据,用户可以看到该地区的新地图,保证无人飞行器成功执行任务。In this embodiment, the first latitude and longitude of the electronic map displayed on the display interface is acquired; and according to the first latitude and longitude, at least part of the N latitude and longitude latitude and longitude belongs to the N latitude and longitude; according to the first latitude and longitude The N pictures are superimposed on the electronic map displayed on the display interface for at least part of latitude and longitude. If there is no map data of a certain area on the electronic map, or map data of a certain area on the electronic map is not updated, by using the scheme of the embodiment, the image may be superimposed in the area of the electronic map to supplement the map for the electronic map. The data, so that the electronic map displays accurate map data, the user can see the new map of the area to ensure that the unmanned aerial vehicle successfully performs the task.
在一些实施例中,上述S203的一种实现方式为:针对所述N张图片中的每张图片,确定所述图片中属于所述第一经纬度的所述至少部分经纬度为第二经纬度;根据所述第二经纬度,确定所述图片中第二经纬度对应的子图片;以及根据所述第二经纬度,确定所述电子地图中所述第二经纬度对应的子区域;将所述子图片覆盖显示在所述电子地图的所述子区域上。In some embodiments, an implementation manner of the foregoing S203 is: determining, for each of the N pictures, the at least part of the latitude and longitude of the first latitude and longitude in the picture as the second latitude and longitude; Determining, by the second latitude and longitude, a sub-picture corresponding to a second latitude and longitude in the picture; and determining, according to the second latitude and longitude, a sub-area corresponding to the second latitude and longitude in the electronic map; overlaying the sub-picture display On the sub-area of the electronic map.
本实施例中将N张图片叠加在电子地图上,其中,将每张图片叠加在电子地图上的实现过程类似,因此,下面以其中任一张图片叠加在电子地图上为例进行说明,确定图片中属于第一经纬度的经纬度,也就是确定图片中与第一经纬度重叠的经纬度,此处将该经纬度称为第二经纬度。该第二经纬度可以是图片的部分经纬度,这说明图片的部分经纬度属于第一经纬度,因此,当前显示的电子地图中的地区包括图片中的部分地区。或者,该第二经纬度可以是图片的经纬度,这说明图片的全部经纬度属于第一经纬度,因此,当前显示的电子地图中的地区包括图片中的所有地区。然后,本实施例再根据
上述确定的第二经纬度,确定图片中第二经纬度对应的子图片,该子图片可以是图片中的部分图片,或者,该子图片即为该图片。本实施例还根据上述第二经纬度,确定电子地图中第二经纬度对应的子区域,该子区域是电子地图中当前显示的第二经纬度对应的区域。本实施例再将上述确定的图片中的子图片覆盖在该电子地图的子区域上,因此,当前显示界面显示的是该子图片覆盖在电子地图的子区域上,电子地图的子区域由子图片来替代显示,该子图片叠加在电子地图的子区域上时位置正好匹配。避免了子区域无地图数据或者子区域的地图数据未更新时存在的缺陷,提高了电子地图上显示的地图数据的准确性。In this embodiment, N pictures are superimposed on an electronic map, wherein the implementation process of superimposing each picture on the electronic map is similar. Therefore, the following is an example of superimposing any one of the pictures on the electronic map as an example to determine The latitude and longitude of the picture belonging to the first latitude and longitude, that is, determining the latitude and longitude of the picture overlapping with the first latitude and longitude, where the latitude and longitude is referred to as the second latitude and longitude. The second latitude and longitude may be part of the latitude and longitude of the picture, which means that part of the latitude and longitude of the picture belongs to the first latitude and longitude, and therefore, the area in the currently displayed electronic map includes a part of the picture. Alternatively, the second latitude and longitude may be the latitude and longitude of the picture, which means that the entire latitude and longitude of the picture belongs to the first latitude and longitude, and therefore, the area in the currently displayed electronic map includes all the areas in the picture. Then, this embodiment is further based on
The second latitude and longitude determined above determines a sub-picture corresponding to the second latitude and longitude in the picture, and the sub-picture may be a part of the picture in the picture, or the sub-picture is the picture. In this embodiment, the sub-region corresponding to the second latitude and longitude in the electronic map is determined according to the second latitude and longitude, and the sub-region is the region corresponding to the second latitude and longitude currently displayed in the electronic map. In this embodiment, the sub-picture in the determined picture is overlaid on the sub-area of the electronic map. Therefore, the current display interface displays that the sub-picture is overlaid on the sub-area of the electronic map, and the sub-area of the electronic map is sub-picture. Instead of the display, the position is exactly matched when the sub-picture is superimposed on the sub-area of the electronic map. The defect that the sub-area has no map data or the map data of the sub-area is not updated is avoided, and the accuracy of the map data displayed on the electronic map is improved.
其中,所述图片可以为通过航拍图片获得的图片,即这些图片中呈现的是实际的地区面貌,有利于用户通过电子地图上叠加的图片准确获知实际状况。The picture may be a picture obtained by aerial photography, that is, the actual regional appearance is presented in the pictures, which is beneficial for the user to accurately know the actual situation through the pictures superimposed on the electronic map.
在一些实施例中,所述航拍图片为无人飞行器拍摄获得的图片。In some embodiments, the aerial picture is a picture taken by an unmanned aerial vehicle.
以电子地图中没有某一地区的地图数据为例,通过本实施例的方案将N张图片叠加在电子地图中可以形成如图3所示的地图画面。通过图3所示的地图画面,用户可以获知这一地区的地图信息。Taking the map data of a certain area in the electronic map as an example, by superimposing N pictures on the electronic map by the scheme of the embodiment, a map picture as shown in FIG. 3 can be formed. Through the map screen shown in Figure 3, the user can know the map information of the area.
以电子地图有某一地区的地图但是未更新,通过本实施例的方案可以将N张图片叠加在电子地图中可以形成如图4或图5所示的地图画面,其中,图4所示的是电子地图当前显示的是二维平面地图,图5所示的是电子地图当前显示的卫星地图,通过图4或图5所示的地图画面,用户可以获知这一地区的更新后的地图信息。If the electronic map has a map of a certain area but is not updated, the N pictures can be superimposed on the electronic map by the solution of the embodiment to form a map picture as shown in FIG. 4 or FIG. 5, wherein The electronic map currently displays a two-dimensional plane map. Figure 5 shows the satellite map currently displayed on the electronic map. Through the map screen shown in Figure 4 or Figure 5, the user can know the updated map information of the area. .
需要说明的是,本实施例对电子地图当前显示的地图类型不做限定,例如还可以是三维地图或者街景地图。It should be noted that the present embodiment does not limit the type of the map currently displayed on the electronic map, and may be, for example, a three-dimensional map or a street view map.
图6为本发明另一实施例提供的地图叠加展示方法的流程图,如图6所示,本实施例的方法可以包括:FIG. 6 is a flowchart of a method for displaying a map overlay according to another embodiment of the present invention. As shown in FIG. 6, the method in this embodiment may include:
S601、获取显示界面显示的电子地图的第一经纬度以及第一缩放级别。S601. Acquire a first latitude and longitude of the electronic map displayed on the display interface and a first zoom level.
本实施例中,如何获取显示界面显示的电子地图的第一经纬度可以参见图2所示实施例中的相关描述,此处不再赘述。In this embodiment, how to obtain the first latitude and longitude of the electronic map displayed on the display interface can be referred to the related description in the embodiment shown in FIG. 2, and details are not described herein again.
另外,本实施例还获取当前显示的电子地图对应的区域的画面与该区域的实际画面之间的缩放比例,也称这该电子地图的缩放级别。用户可以操作
电子地图放大或者缩小,如果越放大电子地图,则电子地图的缩放级别越大,当前电子地图中显示的地区的范围小,每个像素点对应的地球距离越小;如果越缩小电子地图,则电子地图的缩放级别越小,每个像素点对应的地球距离越大,当前电子地图中显示的地区的范围扩大。本实施例将获取的电子地图的缩放级别称为第一缩放级别。In addition, the embodiment also obtains a scaling ratio between a picture of an area corresponding to the currently displayed electronic map and an actual picture of the area, which is also referred to as a zoom level of the electronic map. User can operate
The electronic map is enlarged or reduced. If the electronic map is enlarged, the zoom level of the electronic map is larger, the range of the area displayed in the current electronic map is small, and the distance corresponding to the earth of each pixel is smaller; if the electronic map is smaller, the electronic map is smaller. The smaller the zoom level of the electronic map, the larger the Earth distance corresponding to each pixel point, and the range of the area displayed in the current electronic map is expanded. This embodiment refers to the zoom level of the acquired electronic map as the first zoom level.
缩放级别例如是15~21级,不同缩放级别的图片,每个像素点对应的地球距离不同,当前缩放级别的每个像素点对应的地球距离是上一级缩放级别的每个像素点对应的地球距离的一半。例如15级缩放级别时,每个像素素点对应的地球距离是4.4米,16级缩放级别时,每个像素点对应的地球距离是2.2米。The zoom level is, for example, 15 to 21 levels, and the pictures of different zoom levels have different earth distances corresponding to each pixel point. The earth distance corresponding to each pixel point of the current zoom level is corresponding to each pixel point of the previous level zoom level. Half the distance of the earth. For example, when the level 15 zoom level is used, the distance of the earth corresponding to each pixel point is 4.4 meters. When the level 16 is zoomed, the distance corresponding to each pixel is 2.2 meters.
S602、根据所述第一经纬度和所述第一缩放级别,从M张图片中获取至少部分经纬度属于所述第一经纬度且缩放级别为第一缩放级别的N张图片,所述M为大于或等于N的整数。S602. Acquire, according to the first latitude and longitude and the first zoom level, at least part of the N pictures whose latitude and longitude belongs to the first latitude and longitude and the zoom level is the first zoom level, where the M is greater than or An integer equal to N.
本实施例中,根据上述获取的第一经纬度和第一缩放级别,从M张图片中确定至少部分经纬度属于第一经纬度并且缩放级别为第一缩放级别的图片,其中,从M张图片中确定出满足上述条件的图片为N张图片,M为大于或等于N的整数,N为大于或等于1的整数。In this embodiment, according to the obtained first latitude and longitude and the first zoom level, at least part of the pictures whose latitude and longitude belongs to the first latitude and longitude and the zoom level is the first zoom level are determined from the M pictures, wherein the M pictures are determined from the M pictures. A picture satisfying the above condition is N pictures, M is an integer greater than or equal to N, and N is an integer greater than or equal to 1.
在一些实施例中,S602的一种实现方式可以包括S6021和S6022。In some embodiments, one implementation of S602 can include S6021 and S6022.
S6021、根据所述第一缩放级别,从M张图片中获取缩放级别为所述第一缩放级别的T张图片;所述T为大于或等于N且小于或等于M的整数。S6021: Acquire, according to the first zoom level, T pictures whose zoom level is the first zoom level from the M pictures; the T is an integer greater than or equal to N and less than or equal to M.
S6022、根据第一经纬度,从T张图片中获取所述N张图片。S6022: Acquire the N pictures from the T pictures according to the first latitude and longitude.
本实施例中M张图片中各张图片具有缩放级别,M张图片中的至少一张图片具有同一缩放级别。本实施例根据第一缩放级别,从M张图片中获取缩放级别为第一缩放级别的图片,从M张图片中缩放级别为第一缩放级别的图片为T张图片。然后根据第一经纬度,从T张图片中获取至少部分经纬度属于第一经纬度的所有图片,即为N张图片。In this embodiment, each picture in the M pictures has a zoom level, and at least one picture in the M pictures has the same zoom level. In this embodiment, according to the first zoom level, a picture whose zoom level is the first zoom level is obtained from the M pictures, and the picture whose zoom level is the first zoom level from the M pictures is T pictures. Then, according to the first latitude and longitude, at least part of the pictures whose latitude and longitude belongs to the first latitude and longitude are obtained from the T pictures, that is, N pictures.
在一些实施例中,上述每张图片可以为通过多个不同高度拍摄的航拍图片获得的图片,所述不同高度对应不同缩放级别,不同高度拍摄的航拍图片中每个像素对应的地球距离不同。其中,同一高度拍摄的航拍图片可以获得至少一张所述图片。
In some embodiments, each of the above-mentioned pictures may be a picture obtained by taking aerial photographs taken by a plurality of different heights, the different heights corresponding to different zoom levels, and each of the pixels of the different altitude photographed aerial images have different earth distances. Wherein, at least one of the pictures can be obtained by taking aerial pictures taken at the same height.
在一些实施例中,上述各张图片为通过在同一高度不同变焦倍数拍摄的航拍图片获得的图片,所述不同变焦倍数对应不同缩放级别,所述不同变焦倍数拍摄的航拍图片中每个像素对应的地球距离不同。其中,同一变焦倍数拍摄的航拍图片可以获得至少一张所述图片。In some embodiments, each of the above pictures is a picture obtained by taking aerial pictures taken at different zoom magnifications of the same height, and the different zoom magnifications correspond to different zoom levels, and each pixel in the aerial picture taken by the different zoom multiple corresponds to each pixel. The distance between the Earth is different. Wherein, at least one of the pictures can be obtained from an aerial picture taken by the same zoom factor.
其中,所述航拍图片可以为无人飞行器拍摄获得的图片。The aerial picture may be a picture taken by an unmanned aerial vehicle.
其中,获得上述M张图片的一种实现方式为:分别根据K种缩放级别中的每一种,将原始图片进行切割,获得上述M张图片。其中,K为大于或等于1的整数。原始图片的经纬度是已知的,也就是原始图片中地区的经纬度是已知的,据此可以确定原始图片中每个像素点对应的地球距离和经纬度,还可以确定原始图片的缩放级别。根据K种缩放级别中的每一种,对具有该种缩放级别的原始图片进行切割,从而可以获得M张图片,其中,这M张图片中具有上述K种缩放级别,而且每张图片具有一种缩放级别。在一些实施例中,切割后获得的M张图片中的每张图片为正方形,即每张图片包括Q*Q个像素点,所述Q为正整数,例如:Q等于256,即每张图片的大小为256*256个像素点。One implementation manner of obtaining the above M pictures is: cutting the original picture according to each of the K types of zoom levels to obtain the above M pictures. Where K is an integer greater than or equal to 1. The latitude and longitude of the original picture is known, that is, the latitude and longitude of the region in the original picture is known, and the earth distance and latitude and longitude corresponding to each pixel point in the original picture can be determined, and the zoom level of the original picture can also be determined. According to each of the K kinds of zoom levels, the original picture having the zoom level is cut, so that M pictures can be obtained, wherein the M pictures have the above K kinds of zoom levels, and each picture has one Kind of zoom level. In some embodiments, each of the M pictures obtained after cutting is square, that is, each picture includes Q*Q pixels, and the Q is a positive integer, for example: Q is equal to 256, that is, each picture The size is 256*256 pixels.
本实施例中,通过对原始图片进行切割获得多种小图片,这样在对电子地图叠加图片时,根据电子地图当前显示的地区来叠加该地区对应的至少一张小图片,无需叠加大的原始图片,由于切割后的图片的大小小于原始图片的大小,可以快速地加载切割后的图片,从而提高地图叠加展示效率。In this embodiment, a plurality of small pictures are obtained by cutting the original picture, so that when the picture is superimposed on the electronic map, at least one small picture corresponding to the area is superimposed according to the area currently displayed by the electronic map, without superimposing a large original. The image, because the size of the cut image is smaller than the original image size, can quickly load the cut image, thereby improving the efficiency of map overlay display.
另外,本实施例还存储该M张图片以及该M张图片中每张图片的缩放级别和经纬度。在一种实现方式中,本实施例可将所述每张图片作为子目录存储在该图片的经度的文件目录中,以及所述经度的文件目录作为子目录存储在该图片的缩放级别的文件目录中,所述每张图片的文件名为该图片的纬度。在另一种实现方式中,本实施例可将所述每张图片作为子目录存储在该图片的纬度的文件目录中,以及所述纬度的文件目录作为子目录存储在该图片的缩放级别的文件目录中,所述每张图片的文件名为该图片的经度。In addition, the embodiment further stores the zoom level and latitude and longitude of the M pictures and each of the M pictures. In an implementation manner, the embodiment may store each of the pictures as a subdirectory in a file directory of the longitude of the picture, and the file directory of the longitude is stored as a subdirectory in a file of a zoom level of the picture. In the directory, the file of each picture is named the latitude of the picture. In another implementation manner, the embodiment may store each picture as a subdirectory in a file directory of the latitude of the picture, and the file directory of the latitude is stored as a subdirectory at a zoom level of the picture. In the file directory, the file name of each picture is the longitude of the picture.
其中,该经度的文件目录的文件名为该图片的经度,该纬度的文件目录的文件名为该图片的纬度,该缩放级别的文件目录的文件名为该图片的缩放级别。本实施例中,可以按照{缩放级别/经度/纬度.png}的目录和文件名保存图像,或者按照{缩放级别/纬度/经度.png}的目录和文件名保存图像,其
中,图片也不限于png这一图片格式,也可以为JEPG等图片格式。以“20/856145/456615.png”为例,20是缩放级别,856145是经度,456615是维度,这表示先建立了一个名字是20的目录,在20的目录下再创建一个名字是856145的目录,再在856145的目录下创建456515.png文件。The file name of the longitude file directory is the longitude of the picture, and the file name of the file directory of the latitude is the latitude of the picture, and the file name of the file directory of the zoom level is the zoom level of the picture. In this embodiment, the image may be saved according to the directory and file name of {zoom level/longitude/latitude.png}, or the image may be saved according to the directory and file name of {zoom level/latitude/longitude.png}.
In the picture, the picture is not limited to the png image format, and can also be a picture format such as JEPG. Take "20/856145/456615.png" as an example, 20 is the zoom level, 856145 is the longitude, and 456615 is the dimension, which means that a directory with the name 20 is created first, and another name is 856145 in the directory of 20. Directory, then create a 456515.png file in the directory of 856145.
在一些实施例中,若M张图片是通过原始图片切割得到的,则原始图片可以为航拍图片。如果要获得不同缩放级别的原始图片,则原始图片可以为通过多个不同高度拍摄的航拍图片获得的图片,所述不同高度对应不同缩放级别;或者,则原始图片可以为通过在同一高度不同变焦倍数拍摄的航拍图片获得的图片,所述不同变焦倍数对应不同缩放级别。所述航拍图片为无人飞行器拍摄获得的图片。In some embodiments, if the M pictures are cut by the original picture, the original picture may be an aerial picture. If an original picture of a different zoom level is to be obtained, the original picture may be a picture obtained by taking aerial pictures taken at a plurality of different heights, the different heights corresponding to different zoom levels; or, the original picture may be different by zooming at the same height A picture obtained by multiplying aerial photographs, the different zoom magnifications corresponding to different zoom levels. The aerial picture is a picture taken by an unmanned aerial vehicle.
在一些实施例中,若M张图片无需通过切割得到,则可以认为M张图片为上述的原始图片。In some embodiments, if the M pictures are not obtained by cutting, the M pictures may be considered to be the original pictures described above.
S603、根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图中叠加所述N张图片。S603. Superimpose the N pictures in the electronic map displayed on the display interface according to the at least part latitude and longitude belonging to the first latitude and longitude.
本实施例中,S603的具体实现过程可以参见图2所示实施例中的相关描述,此处不再赘述。For the specific implementation process of the S603 in this embodiment, refer to the related description in the embodiment shown in FIG. 2, and details are not described herein again.
本实施例中,通过显示界面显示的电子地图的第一经纬度和第一缩放级别,来获取叠加在电子地图上的N张图片,由于叠加上电子地图上的N张图片的缩放级别等于电子地图的当前缩放级别,这使得N张图片在叠加在电子地图上时恰好融合到电子地图中,叠加N张图片的电子地图无视觉差,进一步提高了图片补充电子地图的显示效果。In this embodiment, the first latitude and longitude of the electronic map displayed by the display interface and the first zoom level are used to obtain N pictures superimposed on the electronic map, because the zoom level of the N pictures on the electronic map is equal to the electronic map. The current zoom level, which makes N pictures merge into the electronic map when superimposed on the electronic map, and the electronic map superimposed with N pictures has no visual difference, which further improves the display effect of the picture supplement electronic map.
在一些实施例中,本实施例根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示所述电子地图中叠加所述N张图片之前,还获取第一指令,所述第一指令用于指示显示叠加地图。该第一指令可以通过检测到用户的操作获得的指令,该第一指令用于指示显示叠加地图,则本实施例再在显示界面上显示电子地图中叠加N张图片,从而实现在用户需要显示叠加地图时执行上述方案。In some embodiments, the embodiment obtains the first instruction, before displaying the N pictures in the electronic map, according to the at least part of the latitude and longitude belonging to the first latitude and longitude. The first instruction is used to indicate that the overlay map is displayed. The first instruction may be an instruction obtained by detecting a user's operation, and the first instruction is used to indicate that the overlay map is displayed. In this embodiment, the N image is superimposed on the display interface on the display interface, thereby realizing that the user needs to display. Perform the above scenario when overlaying the map.
在一些实施例中,本实施例根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示所述电子地图中叠加所述N张图片之前,还获取第二指令,所述第二指令用于指示取消显示叠加地图;然后根据所述第二
指令,在所述显示界面显示未叠加所述N张图片的所述电子地图。本实施例中,该第二指令可以通过检测到用户的操作获得的指令,该第二指令用于指示取消显示叠加地图,则本实施例再在显示界面上显示未叠加N张图片的电子地图,从而实现在用户不需要显示叠加地图时只显示电子地图,据此用户可以对比叠加N张图片与未叠加N张图片的电子地图。In some embodiments, the present embodiment further acquires a second instruction before displaying the N pictures in the electronic map according to the at least part latitude and longitude belonging to the first latitude and longitude. The second instruction is used to indicate that the overlay map is cancelled; and then according to the second
And instructing, on the display interface, the electronic map that does not superimpose the N pictures. In this embodiment, the second instruction may be an instruction obtained by detecting a user's operation, and the second instruction is used to instruct to cancel display of the overlay map, and then the embodiment displays an electronic map that does not superimpose N pictures on the display interface. Therefore, when the user does not need to display the overlay map, only the electronic map is displayed, and accordingly, the user can compare the electronic map in which N pictures are superimposed and N pictures are not superimposed.
在一些实施例中,本实施例还获取第三指令,所述第三指令用于指示电子地图中显示叠加地图的P个区域;所述P为大于或等于1的整数。该第三指令可以通过检测到用户的操作获得的指令。则本实施例中根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图中叠加所述N张图片的一种实现方式为:根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图的所述P个区域中叠加所述N张图片。即在当前显示的电子地图的P个区域中叠加了N张图片,例如:P等于2,第1个区域中叠加了N1张图片,第2个区域中叠加了N2张图片,N1+N2=N。In some embodiments, the embodiment further acquires a third instruction for indicating P regions in the electronic map displaying the overlay map; the P is an integer greater than or equal to 1. The third instruction may be an instruction obtained by detecting a user's operation. In the embodiment, according to the at least part of the latitude and longitude of the first latitude and longitude, an implementation manner of superimposing the N pictures in the electronic map displayed on the display interface is: according to the The at least partial latitude and longitude of the latitude and longitude, the N pictures are superimposed in the P areas of the electronic map displayed on the display interface. That is, N pictures are superimposed in the P areas of the currently displayed electronic map, for example, P is equal to 2, N1 pictures are superimposed in the first area, and N2 pictures are superimposed in the second area, N1+N2= N.
在一些实施例中,所述P个区域为多个区域时,所述P个区域对应多个获取图片的任务。以P等于2为例,则表示2个获取图片的任务,即在电子地图的两个区域需要叠加图片,具体例子可以如图7所示,用户操作显示界面上显示的任务选择栏,用户选择了区域1的获取图片的任务和区域3的获取图片的任务,因此,本实施例在电子地图的这两个区域上显示叠加图片。通过本实施例的方案,方便用户管理电子地图的多个区域是否显示叠加图片。In some embodiments, when the P areas are multiple areas, the P areas correspond to multiple tasks for acquiring pictures. Taking P equal to 2 as an example, it means that two tasks for acquiring a picture need to be superimposed in two areas of the electronic map. For example, as shown in FIG. 7 , the user operates the task selection column displayed on the display interface, and the user selects The task of acquiring the picture of the area 1 and the task of acquiring the picture of the area 3, therefore, the present embodiment displays the superimposed picture on these two areas of the electronic map. With the solution of the embodiment, it is convenient for the user to manage whether multiple areas of the electronic map display the superimposed picture.
图8为本发明一实施例提供的地图叠加展示装置的结构示意图,如图8所示,本实施例的地图叠加展示装置800可以包括:处理器801和显示界面802。FIG. 8 is a schematic structural diagram of a map overlay display apparatus according to an embodiment of the present invention. As shown in FIG. 8, the map overlay display apparatus 800 of the present embodiment may include a processor 801 and a display interface 802.
上述处理器801可以是中央处理单元(Central Processing Unit,CPU),该处理器801还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 801 may be a central processing unit (CPU), and the processor 801 may be another general-purpose processor, a digital signal processor (DSP), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
所述处理器801,用于获取显示界面802显示的电子地图的第一经纬度;
以及根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片,所述N为大于或等于1的整数;根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面802上显示的所述电子地图中叠加所述N张图片。The processor 801 is configured to acquire a first latitude and longitude of an electronic map displayed by the display interface 802.
And acquiring, according to the first latitude and longitude, at least part of the N pictures belonging to the first latitude and longitude, the N being an integer greater than or equal to 1; according to the at least part of the latitude and longitude belonging to the first latitude and longitude, The N pictures are superimposed on the electronic map displayed on the display interface 802.
在一些实施例中,所述处理器801,具体用于:针对所述N张图片中的每张图片,确定所述图片中属于所述第一经纬度的所述至少部分经纬度为第二经纬度;根据所述第二经纬度,确定所述图片中第二经纬度对应的子图片;以及根据所述第二经纬度,确定所述电子地图中所述第二经纬度对应的子区域;将所述子图片覆盖显示在所述电子地图的所述子区域上。In some embodiments, the processor 801 is specifically configured to: determine, for each of the N pictures, the at least part of the latitude and longitude of the first latitude and longitude in the picture as a second latitude and longitude; Determining a sub-picture corresponding to the second latitude and longitude in the picture according to the second latitude and longitude; and determining a sub-area corresponding to the second latitude and longitude in the electronic map according to the second latitude and longitude; covering the sub-picture Displayed on the sub-area of the electronic map.
在一些实施例中,所述处理器801,还用于在根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片之前,获取所述电子地图的第一缩放级别;In some embodiments, the processor 801 is further configured to acquire, according to the first latitude and longitude, a first zoom level of the electronic map before acquiring at least part of the N pictures whose latitude and longitude belong to the first latitude and longitude;
所述处理器801,在根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片时,具体用于:根据所述第一经纬度和所述第一缩放级别,从M张图片中获取所述N张图片,所述M为大于或等于N的整数,所述N张图片的缩放级别等于所述第一缩放级别。The processor 801 is configured to: when the at least part of the latitude and longitude latitude and longitude belongs to the N latitude and longitude, according to the first latitude and longitude, according to the first latitude and longitude and the first zoom level, from the M Obtaining the N pictures in the picture, the M is an integer greater than or equal to N, and the zoom level of the N pictures is equal to the first zoom level.
在一些实施例中,所述处理器801,还用于:分别根据K种缩放级别中的每一种,将原始图片进行切割,获得所述M张图片,并存储每张图片的缩放级别、经纬度、以及所述每张图片;所述K为大于或等于1的整数。In some embodiments, the processor 801 is further configured to: cut the original picture according to each of the K types of zoom levels, obtain the M pictures, and store a zoom level of each picture, Latitude and longitude, and each of the pictures; the K is an integer greater than or equal to 1.
在一些实施例中,所述处理器801,具体用于:将所述每张图片作为子目录存储在该图片的经度的文件目录中,以及所述经度的文件目录作为子目录存储在该图片的缩放级别的文件目录中,所述每张图片的文件名为该图片的纬度;或者,将所述每张图片作为子目录存储在该图片的纬度的文件目录中,以及所述纬度的文件目录作为子目录存储在该图片的缩放级别的文件目录中,所述每张图片的文件名为该图片的经度。In some embodiments, the processor 801 is specifically configured to: store each picture as a subdirectory in a file directory of the longitude of the picture, and store the longitude file directory as a subdirectory in the picture. In the file directory of the zoom level, the file of each picture is named the latitude of the picture; or, each picture is stored as a sub-directory in a file directory of the latitude of the picture, and the file of the latitude The directory is stored as a subdirectory in a file directory of the zoom level of the picture, and the file name of each picture is the longitude of the picture.
在一些实施例中,所述缩放级别越大,所述缩放级别对应分割得到的图片中的像素点对应的地球距离越小。In some embodiments, the zoom level is larger, and the zoom level corresponds to a smaller earth distance corresponding to a pixel point in the divided picture.
在一些实施例中,所述处理器801,具体用于:根据所述第一缩放级别,从M张图片中获取缩放级别为所述第一缩放级别的T张图片;所述T为大于或等于N且小于或等于M的整数;根据所述第一经纬度,从所述T张图片
中获取所述N张图片。In some embodiments, the processor 801 is configured to: obtain, according to the first zoom level, T pictures with a zoom level of the first zoom level from the M pictures; the T is greater than or An integer equal to N and less than or equal to M; according to the first latitude and longitude, from the T pictures
Obtain the N pictures.
在一些实施例中,所述M张图片中的每张图片包括Q*Q个像素点,所述Q为正整数。In some embodiments, each of the M pictures includes Q*Q pixels, and Q is a positive integer.
在一些实施例中,所述处理器801,还用于在根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面802上显示所述电子地图中叠加所述N张图片之前,获取第一指令,所述第一指令用于指示显示叠加地图。In some embodiments, the processor 801 is further configured to display, before displaying the N pictures in the electronic map on the display interface 802 according to the at least partial latitude and longitude belonging to the first latitude and longitude. Obtaining a first instruction, the first instruction is used to indicate that the overlay map is displayed.
在一些实施例中,所述处理器801,还用于在根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面802上显示所述电子地图中叠加所述N张图片之前,获取第二指令,所述第二指令用于指示取消显示叠加地图;根据所述第二指令,在所述显示界面802显示未叠加所述N张图片的所述电子地图。In some embodiments, the processor 801 is further configured to display, before displaying the N pictures in the electronic map on the display interface 802 according to the at least partial latitude and longitude belonging to the first latitude and longitude. Obtaining a second instruction, the second instruction is used to instruct to cancel display of the overlay map; and displaying, according to the second instruction, the electronic map that does not superimpose the N pictures on the display interface 802.
在一些实施例中,所述处理器801,还用于:获取第三指令,所述第三指令用于指示电子地图中显示叠加地图的P个区域;所述P为大于或等于1的整数;In some embodiments, the processor 801 is further configured to: acquire a third instruction, where the third instruction is used to indicate P regions in the electronic map that display the overlay map; and the P is an integer greater than or equal to 1. ;
所述处理器801在根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面802上显示的所述电子地图中叠加所述N张图片时,具体用于:根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面802上显示的所述电子地图的所述P个区域中叠加所述N张图片。The processor 801 is configured to: when the N pictures are superimposed on the electronic map displayed on the display interface 802 according to the at least part of latitude and longitude belonging to the first latitude and longitude, The at least part of the latitude and longitude of the first latitude and longitude, the N pictures are superimposed in the P areas of the electronic map displayed on the display interface 802.
在一些实施例中,所述P个区域为多个区域时,所述P个区域对应多个获取图片的任务。In some embodiments, when the P areas are multiple areas, the P areas correspond to multiple tasks for acquiring pictures.
在一些实施例中,所述图片为通过航拍图片获得的图片。In some embodiments, the picture is a picture obtained by aerial photography.
在一些实施例中,所述图片为通过多个不同高度拍摄的航拍图片获得的图片,所述不同高度对应不同缩放级别;或者,In some embodiments, the picture is a picture obtained by aerial photographs taken at a plurality of different heights, the different heights corresponding to different zoom levels; or
所述图片为通过在同一高度不同变焦倍数拍摄的航拍图片获得的图片,所述不同变焦倍数对应不同缩放级别。The picture is a picture obtained by an aerial picture taken at different zoom magnifications of the same height, the different zoom magnifications corresponding to different zoom levels.
在一些实施例中,所述航拍图片为无人飞行器拍摄获得的图片。In some embodiments, the aerial picture is a picture taken by an unmanned aerial vehicle.
可选地,本实施例的装置还可以包括存储器,图中未示出。处理器801、显示界面802和存储器通过总线连接。存储器可以包括只读存储器和随机存取存储器,并向处理器801提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。存储器用于存储执行地图叠加展示方法的代码,处
理器801用于调用存储器存储的代码执行上述方案。Optionally, the apparatus of this embodiment may further include a memory, which is not shown in the figure. The processor 801, the display interface 802, and the memory are connected by a bus. The memory can include read only memory and random access memory and provides instructions and data to the processor 801. A portion of the memory may also include a non-volatile random access memory. The memory is used to store the code that performs the map overlay display method.
The processor 801 is configured to call the memory stored code to perform the above scheme.
本实施例的装置,可以用于执行本发明上述各方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solutions of the foregoing method embodiments of the present invention, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
图9为本发明实施例提供的一种无人飞行系统900的结构示意图,如图9所示,本实施例的无人飞行系统900包括:无人飞行器901和控制设备902。其中,控制设备902用于控制无人飞行器901。控制设备902包括地图叠加展示装置,该地图叠加展示装置可以采用图8所示实施例的结构,其对应地,可以执行本发明上述各方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。FIG. 9 is a schematic structural diagram of an unmanned flight system 900 according to an embodiment of the present invention. As shown in FIG. 9, the unmanned flight system 900 of the present embodiment includes an unmanned aerial vehicle 901 and a control device 902. The control device 902 is used to control the unmanned aerial vehicle 901. The control device 902 includes a map overlay display device, and the map overlay display device can adopt the structure of the embodiment shown in FIG. 8 , which can correspondingly implement the technical solutions of the foregoing method embodiments of the present invention, and the implementation principle and technical effects are similar. I will not repeat them here.
需要说明的是,本发明各实施例以无人飞行器领域为例进行说明,但本发明的方案并不限于无人飞行器领域。It should be noted that the embodiments of the present invention are described by taking the field of unmanned aerial vehicles as an example, but the solution of the present invention is not limited to the field of unmanned aerial vehicles.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读内存(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage medium includes: read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and the like, which can store program codes. Medium.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.
Claims (31)
- 一种地图叠加展示方法,其特征在于,包括:A map overlay display method, comprising:获取显示界面显示的电子地图的第一经纬度;Obtaining a first latitude and longitude of the electronic map displayed on the display interface;根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片,所述N为大于或等于1的整数;Obtaining, according to the first latitude and longitude, at least part of the N pictures whose latitude and longitude belong to the first latitude and longitude, wherein the N is an integer greater than or equal to 1;根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图中叠加所述N张图片。The N pictures are superimposed in the electronic map displayed on the display interface according to the at least part latitude and longitude belonging to the first latitude and longitude.
- 根据权利要求1所述的方法,其特征在于,所述根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图中叠加所述N张图片,包括:The method according to claim 1, wherein said superimposing said N pictures in said electronic map displayed on said display interface according to said at least part of latitude and longitude belonging to said first latitude and longitude comprises :针对所述N张图片中的每张图片,确定所述图片中属于所述第一经纬度的所述至少部分经纬度为第二经纬度;Determining, for each of the N pictures, the at least part of the latitude and longitude of the first latitude and longitude in the picture as the second latitude and longitude;根据所述第二经纬度,确定所述图片中第二经纬度对应的子图片;以及根据所述第二经纬度,确定所述电子地图中所述第二经纬度对应的子区域;Determining, according to the second latitude and longitude, a sub-picture corresponding to the second latitude and longitude in the picture; and determining, according to the second latitude and longitude, a sub-area corresponding to the second latitude and longitude in the electronic map;将所述子图片覆盖显示在所述电子地图的所述子区域上。The sub-picture overlay is displayed on the sub-area of the electronic map.
- 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:获取所述电子地图的第一缩放级别;Obtaining a first zoom level of the electronic map;所述根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片,包括:And acquiring, according to the first latitude and longitude, at least part of the N pictures whose latitude and longitude belong to the first latitude and longitude, including:根据所述第一经纬度和所述第一缩放级别,从M张图片中获取所述N张图片,所述M为大于或等于N的整数,所述N张图片的缩放级别等于所述第一缩放级别。Obtaining, according to the first latitude and longitude and the first zoom level, the N pictures from the M pictures, where the M is an integer greater than or equal to N, and the zoom level of the N pictures is equal to the first The zoom level.
- 根据权利要求3所述的方法,其特征在于,还包括:The method of claim 3, further comprising:分别根据K种缩放级别中的每一种,将原始图片进行切割,获得所述M张图片,并存储每张图片的缩放级别、经纬度、以及所述每张图片;所述K为大于或等于1的整数。The original picture is cut according to each of the K types of zoom levels, the M pictures are obtained, and the zoom level, latitude and longitude, and each picture of each picture are stored; the K is greater than or equal to An integer of 1.
- 根据权利要求4所述的方法,其特征在于,所述存储每张图片的缩放级别、经纬度、以及所述每张图片,包括:The method according to claim 4, wherein said storing a zoom level, a latitude and longitude, and each of the pictures of each picture comprises:将所述每张图片作为子目录存储在该图片的经度的文件目录中,以及所述经度的文件目录作为子目录存储在该图片的缩放级别的文件目录中,所述 每张图片的文件名为该图片的纬度;或者,Each of the pictures is stored as a subdirectory in a file directory of the longitude of the picture, and the long file directory is stored as a subdirectory in a file directory of a zoom level of the picture, The file name of each image is the latitude of the image; or,将所述每张图片作为子目录存储在该图片的纬度的文件目录中,以及所述纬度的文件目录作为子目录存储在该图片的缩放级别的文件目录中,所述每张图片的文件名为该图片的经度。Each of the pictures is stored as a subdirectory in a file directory of the latitude of the picture, and the file directory of the latitude is stored as a subdirectory in a file directory of a zoom level of the picture, and the file name of each picture For the longitude of the picture.
- 根据权利要求4或5所述的方法,其特征在于,所述缩放级别越大,所述缩放级别对应分割得到的图片中的像素点对应的地球距离越小。The method according to claim 4 or 5, wherein the zoom level is larger, and the zoom level corresponds to a smaller earth distance corresponding to a pixel point in the divided picture.
- 根据权利要求3-6任一项所述的方法,其特征在于,所述根据所述第一经纬度和所述第一缩放级别,从M张图片中确定所述N张图片,包括:The method according to any one of claims 3-6, wherein the determining the N pictures from the M pictures according to the first latitude and longitude and the first zoom level comprises:根据所述第一缩放级别,从M张图片中获取缩放级别为所述第一缩放级别的T张图片;所述T为大于或等于N且小于或等于M的整数;Obtaining, from the M pictures, T pictures of the first zoom level according to the first zoom level; the T is an integer greater than or equal to N and less than or equal to M;根据所述第一经纬度,从所述T张图片中获取所述N张图片。Obtaining the N pictures from the T pictures according to the first latitude and longitude.
- 根据权利要求3-7任一项所述的方法,其特征在于,所述M张图片中的每张图片包括Q*Q个像素点,所述Q为正整数。The method according to any one of claims 3-7, wherein each of the M pictures comprises Q*Q pixels, and the Q is a positive integer.
- 根据权利要求1-8任一项所述的方法,其特征在于,所述根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示所述电子地图中叠加所述N张图片之前,还包括:The method according to any one of claims 1-8, wherein the displaying the electronic map in the electronic map is superimposed on the display interface according to the at least part latitude and longitude belonging to the first latitude and longitude. Before the picture, it also includes:获取第一指令,所述第一指令用于指示显示叠加地图。Obtaining a first instruction, the first instruction is used to indicate that the overlay map is displayed.
- 根据权利要求1-9任一项所述的方法,其特征在于,所述根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示所述电子地图中叠加所述N张图片之前,还包括:The method according to any one of claims 1 to 9, wherein said displaying said electronic map is superimposed on said display interface according to said at least part of latitude and longitude belonging to said first latitude and longitude Before the picture, it also includes:获取第二指令,所述第二指令用于指示取消显示叠加地图;Obtaining a second instruction, the second instruction is used to instruct to cancel display of the overlay map;根据所述第二指令,在所述显示界面显示未叠加所述N张图片的所述电子地图。According to the second instruction, the electronic map in which the N pictures are not superimposed is displayed on the display interface.
- 根据权利要求1-10任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 10, further comprising:获取第三指令,所述第三指令用于指示电子地图中显示叠加地图的P个区域;所述P为大于或等于1的整数;Obtaining a third instruction, where the third instruction is used to indicate P regions in the electronic map displaying the overlay map; the P is an integer greater than or equal to 1;所述根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图中叠加所述N张图片,包括:And superimposing the N pictures in the electronic map displayed on the display interface according to the at least part latitude and longitude belonging to the first latitude and longitude, including:根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图的所述P个区域中叠加所述N张图片。 And superimposing the N pictures in the P areas of the electronic map displayed on the display interface according to the at least part latitude and longitude belonging to the first latitude and longitude.
- 根据权利要求11所述的方法,其特征在于,所述P个区域为多个区域时,所述P个区域对应多个获取图片的任务。The method according to claim 11, wherein when the P regions are a plurality of regions, the P regions correspond to a plurality of tasks for acquiring pictures.
- 根据权利要求1-12任一项所述的方法,其特征在于,所述图片为通过航拍图片获得的图片。The method according to any one of claims 1 to 12, wherein the picture is a picture obtained by aerial photography.
- 根据权利要求3-9任一项所述的方法,其特征在于,所述图片为通过多个不同高度拍摄的航拍图片获得的图片,所述不同高度对应不同缩放级别;或者,The method according to any one of claims 3 to 9, wherein the picture is a picture obtained by taking aerial pictures taken by a plurality of different heights, the different heights corresponding to different zoom levels; or所述图片为通过在同一高度不同变焦倍数拍摄的航拍图片获得的图片,所述不同变焦倍数对应不同缩放级别。The picture is a picture obtained by an aerial picture taken at different zoom magnifications of the same height, the different zoom magnifications corresponding to different zoom levels.
- 根据权利要求13或14所述的方法,其特征在于,所述航拍图片为无人飞行器拍摄获得的图片。The method according to claim 13 or 14, wherein the aerial picture is a picture taken by an unmanned aerial vehicle.
- 一种地图叠加展示装置,其特征在于,包括:处理器和显示界面;A map overlay display device, comprising: a processor and a display interface;所述处理器,用于获取显示界面显示的电子地图的第一经纬度;以及根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片,所述N为大于或等于1的整数;根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图中叠加所述N张图片。The processor is configured to acquire a first latitude and longitude of the electronic map displayed by the display interface, and acquire, according to the first latitude and longitude, at least part of the N latitude and longitude latitude and longitude belonging to the first latitude and longitude, wherein the N is greater than or equal to 1 An integer of the N pictures superimposed on the electronic map displayed on the display interface according to the at least partial latitude and longitude belonging to the first latitude and longitude.
- 根据权利要求16所述的装置,其特征在于,所述处理器,具体用于:针对所述N张图片中的每张图片,确定所述图片中属于所述第一经纬度的所述至少部分经纬度为第二经纬度;根据所述第二经纬度,确定所述图片中第二经纬度对应的子图片;以及根据所述第二经纬度,确定所述电子地图中所述第二经纬度对应的子区域;将所述子图片覆盖显示在所述电子地图的所述子区域上。The device according to claim 16, wherein the processor is configured to: determine, for each picture in the N pictures, the at least part of the picture that belongs to the first latitude and longitude The latitude and longitude is a second latitude and longitude; determining, according to the second latitude and longitude, a sub-picture corresponding to the second latitude and longitude in the picture; and determining, according to the second latitude and longitude, the sub-area corresponding to the second latitude and longitude in the electronic map; The sub-picture overlay is displayed on the sub-area of the electronic map.
- 根据权利要求16或17所述的装置,其特征在于,所述处理器,还用于在根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片之前,获取所述电子地图的第一缩放级别;The device according to claim 16 or 17, wherein the processor is further configured to acquire the at least part of the latitude and longitude latitude and longitude belonging to the first latitude and longitude N pictures according to the first latitude and longitude The first zoom level of the electronic map;所述处理器,在根据所述第一经纬度,获取至少部分经纬度属于所述第一经纬度的N张图片时,具体用于:根据所述第一经纬度和所述第一缩放级别,从M张图片中获取所述N张图片,所述M为大于或等于N的整数,所述N张图片的缩放级别等于所述第一缩放级别。The processor, when acquiring at least part of the latitude and longitude latitude and longitude belonging to the first latitude and longitude according to the first latitude and longitude, specifically, according to the first latitude and longitude and the first zoom level, from the M sheets Obtaining the N pictures in the picture, the M is an integer greater than or equal to N, and the zoom level of the N pictures is equal to the first zoom level.
- 根据权利要求18所述的装置,其特征在于,所述处理器,还用于: 分别根据K种缩放级别中的每一种,将原始图片进行切割,获得所述M张图片,并存储每张图片的缩放级别、经纬度、以及所述每张图片;所述K为大于或等于1的整数。The device according to claim 18, wherein the processor is further configured to: The original picture is cut according to each of the K types of zoom levels, the M pictures are obtained, and the zoom level, latitude and longitude, and each picture of each picture are stored; the K is greater than or equal to An integer of 1.
- 根据权利要求19所述的装置,其特征在于,所述处理器,具体用于:将所述每张图片作为子目录存储在该图片的经度的文件目录中,以及所述经度的文件目录作为子目录存储在该图片的缩放级别的文件目录中,所述每张图片的文件名为该图片的纬度;或者,将所述每张图片作为子目录存储在该图片的纬度的文件目录中,以及所述纬度的文件目录作为子目录存储在该图片的缩放级别的文件目录中,所述每张图片的文件名为该图片的经度。The device according to claim 19, wherein the processor is configured to: store each picture as a subdirectory in a file directory of the longitude of the picture, and the file directory of the longitude is used as The subdirectory is stored in a file directory of a zoom level of the picture, and the file of each picture is named the latitude of the picture; or, each picture is stored as a subdirectory in a file directory of the latitude of the picture, And the file directory of the latitude is stored as a subdirectory in a file directory of a zoom level of the picture, and the file name of each picture is the longitude of the picture.
- 根据权利要求19或20所述的装置,其特征在于,所述缩放级别越大,所述缩放级别对应分割得到的图片中的像素点对应的地球距离越小。The apparatus according to claim 19 or 20, wherein the zoom level is larger, and the zoom level corresponds to a smaller earth distance corresponding to a pixel point in the divided picture.
- 根据权利要求18-21任一项所述的装置,其特征在于,所述处理器,具体用于:根据所述第一缩放级别,从M张图片中获取缩放级别为所述第一缩放级别的T张图片;所述T为大于或等于N且小于或等于M的整数;根据所述第一经纬度,从所述T张图片中获取所述N张图片。The device according to any one of claims 18 to 21, wherein the processor is configured to: obtain, according to the first zoom level, a zoom level from the M pictures to the first zoom level. T pictures; the T is an integer greater than or equal to N and less than or equal to M; according to the first latitude and longitude, the N pictures are obtained from the T pictures.
- 根据权利要求18-22任一项所述的装置,其特征在于,所述M张图片中的每张图片包括Q*Q个像素点,所述Q为正整数。The apparatus according to any one of claims 18-22, wherein each of the M pictures comprises Q*Q pixels, and the Q is a positive integer.
- 根据权利要求16-23任一项所述的装置,其特征在于,所述处理器,还用于在根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示所述电子地图中叠加所述N张图片之前,获取第一指令,所述第一指令用于指示显示叠加地图。The apparatus according to any one of claims 16 to 23, wherein the processor is further configured to display the display on the display interface according to the at least part of latitude and longitude belonging to the first latitude and longitude Before superimposing the N pictures in the electronic map, a first instruction is obtained, where the first instruction is used to indicate that the overlay map is displayed.
- 根据权利要求16-24任一项所述的装置,其特征在于,所述处理器,还用于在根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示所述电子地图中叠加所述N张图片之前,获取第二指令,所述第二指令用于指示取消显示叠加地图;根据所述第二指令,在所述显示界面显示未叠加所述N张图片的所述电子地图。The apparatus according to any one of claims 16 to 24, wherein the processor is further configured to display the display on the display interface according to the at least part of latitude and longitude belonging to the first latitude and longitude Before superimposing the N pictures in the electronic map, acquiring a second instruction, the second instruction is used to instruct to cancel display of the overlay map; and displaying, according to the second instruction, the N pictures are not superimposed on the display interface The electronic map.
- 根据权利要求16-25任一项所述的装置,其特征在于,所述处理器,还用于:获取第三指令,所述第三指令用于指示电子地图中显示叠加地图的P个区域;所述P为大于或等于1的整数;The device according to any one of claims 16 to 25, wherein the processor is further configured to: acquire a third instruction, where the third instruction is used to indicate P regions of the electronic map displaying the overlay map The P is an integer greater than or equal to 1;所述处理器在根据属于所述第一经纬度的所述至少部分经纬度,在所述 显示界面上显示的所述电子地图中叠加所述N张图片时,具体用于:根据属于所述第一经纬度的所述至少部分经纬度,在所述显示界面上显示的所述电子地图的所述P个区域中叠加所述N张图片。The processor is in the at least part of latitude and longitude according to the first latitude and longitude, in the When the N pictures are superimposed on the electronic map displayed on the display interface, specifically, the electronic map displayed on the display interface according to the at least part of the latitude and longitude belonging to the first latitude and longitude The N pictures are superimposed in the P areas.
- 根据权利要求26所述的装置,其特征在于,所述P个区域为多个区域时,所述P个区域对应多个获取图片的任务。The device according to claim 26, wherein when the P regions are a plurality of regions, the P regions correspond to a plurality of tasks for acquiring a picture.
- 根据权利要求16-27任一项所述的装置,其特征在于,所述图片为通过航拍图片获得的图片。The apparatus according to any one of claims 16 to 27, wherein the picture is a picture obtained by aerial photography.
- 根据权利要求18-24任一项所述的装置,其特征在于,所述图片为通过多个不同高度拍摄的航拍图片获得的图片,所述不同高度对应不同缩放级别;或者,The device according to any one of claims 18 to 24, wherein the picture is a picture obtained by taking aerial pictures taken by a plurality of different heights, the different heights corresponding to different zoom levels; or所述图片为通过在同一高度不同变焦倍数拍摄的航拍图片获得的图片,所述不同变焦倍数对应不同缩放级别。The picture is a picture obtained by an aerial picture taken at different zoom magnifications of the same height, the different zoom magnifications corresponding to different zoom levels.
- 根据权利要求28或29所述的装置,其特征在于,所述航拍图片为无人飞行器拍摄获得的图片。The apparatus according to claim 28 or 29, wherein said aerial picture is a picture taken by an unmanned aerial vehicle.
- 一种无人飞行系统,其特征在于,包括:无人飞行器和控制设备;An unmanned flight system, comprising: an unmanned aerial vehicle and a control device;所述控制设备,用于控制所述无人飞行器;The control device is configured to control the unmanned aerial vehicle;其中,所述控制设备包括如权利要求16-30任一项所述的地图叠加展示装置。 The control device includes the map overlay display device according to any one of claims 16-30.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201780029531.5A CN110168524A (en) | 2017-11-21 | 2017-11-21 | Map is superimposed methods of exhibiting, device and unmanned flight's system |
PCT/CN2017/112200 WO2019100218A1 (en) | 2017-11-21 | 2017-11-21 | Method and apparatus for presenting maps in superposed manner, and unmanned flight system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/112200 WO2019100218A1 (en) | 2017-11-21 | 2017-11-21 | Method and apparatus for presenting maps in superposed manner, and unmanned flight system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019100218A1 true WO2019100218A1 (en) | 2019-05-31 |
Family
ID=66631344
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/112200 WO2019100218A1 (en) | 2017-11-21 | 2017-11-21 | Method and apparatus for presenting maps in superposed manner, and unmanned flight system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110168524A (en) |
WO (1) | WO2019100218A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116468598B (en) * | 2023-03-16 | 2023-11-17 | 深圳市规划和自然资源数据管理中心(深圳市空间地理信息中心) | High-resolution aerial image and low-resolution satellite image matching method, device and storage device |
CN117852910B (en) * | 2024-01-05 | 2024-08-30 | 常州市规划设计院 | Rural meshing treatment planning method and device and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102819530A (en) * | 2011-06-10 | 2012-12-12 | 中兴通讯股份有限公司 | Method and device for displaying electronic map |
CN103366634A (en) * | 2012-03-28 | 2013-10-23 | 嘉兴佳利电子股份有限公司 | Seamless connection method for inserting picture into electronic map |
CN104598504A (en) * | 2014-05-15 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Information display control method and device for electronic map |
US20150269258A1 (en) * | 2011-12-23 | 2015-09-24 | Prioria Robotics, Inc. | Automated Self-Censoring of Remotely-Sensed Data Based on Automated ROI Awareness and People Detection Using a Prioritized Contact Transport Stream |
CN106227853A (en) * | 2016-07-28 | 2016-12-14 | 裘羽 | One map generalization method electronically and processing method |
CN106649619A (en) * | 2016-12-01 | 2017-05-10 | 湖南简成信息技术有限公司 | Outdoor activity, game and tourist map generation method, device and equipment |
CN106951561A (en) * | 2017-03-31 | 2017-07-14 | 武汉大学 | Electronic map system based on virtual reality technology and GIS data |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004012307A (en) * | 2002-06-07 | 2004-01-15 | Fujitsu Ten Ltd | Image display |
CN101388043B (en) * | 2008-09-26 | 2011-12-07 | 北京航空航天大学 | OGC high performance remote sensing image map service method based on small picture |
WO2017161475A1 (en) * | 2016-03-21 | 2017-09-28 | 华为技术有限公司 | Method and device for generating electronic map, and method and device for planning route |
-
2017
- 2017-11-21 CN CN201780029531.5A patent/CN110168524A/en active Pending
- 2017-11-21 WO PCT/CN2017/112200 patent/WO2019100218A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102819530A (en) * | 2011-06-10 | 2012-12-12 | 中兴通讯股份有限公司 | Method and device for displaying electronic map |
US20150269258A1 (en) * | 2011-12-23 | 2015-09-24 | Prioria Robotics, Inc. | Automated Self-Censoring of Remotely-Sensed Data Based on Automated ROI Awareness and People Detection Using a Prioritized Contact Transport Stream |
CN103366634A (en) * | 2012-03-28 | 2013-10-23 | 嘉兴佳利电子股份有限公司 | Seamless connection method for inserting picture into electronic map |
CN104598504A (en) * | 2014-05-15 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Information display control method and device for electronic map |
CN106227853A (en) * | 2016-07-28 | 2016-12-14 | 裘羽 | One map generalization method electronically and processing method |
CN106649619A (en) * | 2016-12-01 | 2017-05-10 | 湖南简成信息技术有限公司 | Outdoor activity, game and tourist map generation method, device and equipment |
CN106951561A (en) * | 2017-03-31 | 2017-07-14 | 武汉大学 | Electronic map system based on virtual reality technology and GIS data |
Also Published As
Publication number | Publication date |
---|---|
CN110168524A (en) | 2019-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020062178A1 (en) | Map-based method for identifying target object, and control terminal | |
JP6289750B1 (en) | Mobile object, mobile object control method, mobile object control system, and mobile object control program | |
US20200218289A1 (en) | Information processing apparatus, aerial photography path generation method, program and recording medium | |
WO2019227441A1 (en) | Video control method and device of movable platform | |
WO2019144300A1 (en) | Target detection method and apparatus, and movable platform | |
WO2018198634A1 (en) | Information processing device, information processing method, information processing program, image processing device, and image processing system | |
JP6583840B1 (en) | Inspection system | |
WO2021168819A1 (en) | Return control method and device for unmanned aerial vehicle | |
WO2021212501A1 (en) | Trajectory generation method, remote control terminal, mobile platform, system, and computer-readable storage medium | |
WO2018214401A1 (en) | Mobile platform, flying object, support apparatus, portable terminal, method for assisting in photography, program and recording medium | |
EP4008997A1 (en) | Surveying system, surveying method, and surveying program | |
US20210208608A1 (en) | Control method, control apparatus, control terminal for unmanned aerial vehicle | |
US20210229810A1 (en) | Information processing device, flight control method, and flight control system | |
US20210185235A1 (en) | Information processing device, imaging control method, program and recording medium | |
WO2020198963A1 (en) | Data processing method and apparatus related to photographing device, and image processing device | |
JP4588369B2 (en) | Imaging apparatus and imaging method | |
WO2019100218A1 (en) | Method and apparatus for presenting maps in superposed manner, and unmanned flight system | |
CN107862652B (en) | Aerial view generation method and device | |
WO2019183789A1 (en) | Method and apparatus for controlling unmanned aerial vehicle, and unmanned aerial vehicle | |
CN108801225A (en) | A kind of unmanned plane tilts image positioning method, system, medium and equipment | |
US20120026324A1 (en) | Image capturing terminal, data processing terminal, image capturing method, and data processing method | |
US10275940B2 (en) | Image processing device, image processing method, and image processing program | |
JP7501535B2 (en) | Information processing device, information processing method, and information processing program | |
WO2019061859A1 (en) | Mobile platform, image capture path generation method, program, and recording medium | |
JP2020016663A (en) | Inspection system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17933174 Country of ref document: EP Kind code of ref document: A1 |