CN115238119B - Method and device for analyzing position information of oblique photography photo - Google Patents

Method and device for analyzing position information of oblique photography photo Download PDF

Info

Publication number
CN115238119B
CN115238119B CN202211154531.7A CN202211154531A CN115238119B CN 115238119 B CN115238119 B CN 115238119B CN 202211154531 A CN202211154531 A CN 202211154531A CN 115238119 B CN115238119 B CN 115238119B
Authority
CN
China
Prior art keywords
data
group
latitude
longitude
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211154531.7A
Other languages
Chinese (zh)
Other versions
CN115238119A (en
Inventor
孙浩然
胡军军
于海洋
封顺天
张银河
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Digital City Technology Co ltd
Original Assignee
China Telecom Digital City Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Digital City Technology Co ltd filed Critical China Telecom Digital City Technology Co ltd
Priority to CN202211154531.7A priority Critical patent/CN115238119B/en
Publication of CN115238119A publication Critical patent/CN115238119A/en
Application granted granted Critical
Publication of CN115238119B publication Critical patent/CN115238119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/587Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C11/00Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
    • G01C11/04Interpretation of pictures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/909Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method and a device for analyzing position information of oblique photography photos, which relate to the technical field of photogrammetry, and the method comprises the following steps: determining file name data based on a POS file acquired in advance, wherein the POS file comprises photo information of an acquisition point acquired by oblique photography equipment; determining height data of the acquisition point according to the photo information, and acquiring a first group of data and a second group of data which are left in the photo information; according to the method, the first group of data is determined to be longitude data and the second group of data is determined to be latitude data according to a pre-established administrative region value range database, the method is utilized to realize the automatic analysis of the position information of the oblique photography photo, the technical problems of low analysis and processing efficiency and low accuracy rate in the prior art are solved, and the technical effect of improving the accuracy rate and efficiency of photo analysis is achieved.

Description

Method and device for analyzing position information of oblique photography photo
Technical Field
The invention relates to the technical field of photogrammetry, in particular to a method and a device for analyzing position information of oblique photography photos.
Background
With the wide application of the digital twin technology and the comprehensive promotion of the real three-dimensional Chinese construction, the demand of urban three-dimensional modeling is increasing and generalized day by day, and the oblique photography technology is widely applied due to the low-cost high-efficiency characteristic. In order to ensure the correctness of the spatial position of the data result, position information needs to be given to the photo data in the modeling process. The location information is usually recorded in a POS file, and includes four sets of data, i.e., file name, longitude, latitude, and altitude. In the manual assignment process of the position information, errors in calculation of aerial triangulation (air triangulation) are often caused by improper operation or errors in data interpretation, and further, computational resources and time are wasted in the air triangulation calculation process. That is, the conventional technique for analyzing the positional information of a photograph acquired by oblique photography has the technical problems of low analysis efficiency and low accuracy.
Disclosure of Invention
The invention aims to provide a method and a device for analyzing position information of an oblique photography photo, which are used for solving the technical problem that the accuracy of photo position information analysis is low in the prior art.
In a first aspect, an embodiment of the present invention provides a method for analyzing oblique photography photo position information, including: determining file name data based on a POS file acquired in advance; the POS file acquired in advance includes: acquiring photo information of a collection point by using oblique photographing equipment;
determining height data of the acquisition point according to the photo information, and acquiring a first group of data and a second group of data which are left in the photo information;
and determining the first group of data as longitude data and the second group of data as latitude data according to a pre-established administrative region value range database.
In some possible embodiments, the method further comprises: determining a position coordinate according to the longitude data, the latitude data and the altitude data; and combining the position coordinates with the pictures of the acquisition points corresponding to the file name data to generate a route track graph.
In some possible embodiments, determining the file name data based on the pre-obtained POS file includes:
acquiring photo information of a collection point by utilizing oblique photography equipment; the photo information comprises four groups of data character strings; converting the four groups of data character strings into character arrays; judging whether the character array contains English letters or not according to the ASCII value of the characters; if the English letters exist in the character array, determining the data character string corresponding to the character array as first target group data; the first target group data is file name data.
In some possible embodiments, the method further comprises: determining height data of the acquisition point according to the photo information, wherein the height data comprises:
removing the file name data from the four groups of data character strings of the photo information; determining the second target group data as height data according to the number of characters after the decimal point of the remaining three groups of data character strings; the number of characters after the decimal point of the second target group data is different from the number of characters after the decimal point of the first group data and the number of characters after the decimal point of the second group data, and is smaller than the number of characters after the decimal point of the first group data and the number of characters after the decimal point of the second group data.
In some possible embodiments, determining the second target group data as the height data according to the number of characters after the decimal point of the remaining three groups of data character strings further includes:
converting the remaining three groups of data character strings into a decimal form; respectively calculating the number of the decimal characters of the data character string converted into decimal form.
In some possible embodiments, determining the first set of data as longitude data and determining the second set of data as latitude data according to a pre-established administrative region range database includes:
recording longitude and latitude value ranges of various administrative districts according to a pre-established global administrative district division value range database; determining a target administrative division according to the longitude and latitude value range of each administrative division, and calling the longitude value range and the latitude value range of the target administrative division respectively; comparing the longitude range and the latitude range of the target administrative division with the numerical values of the first group of data and the second group of data respectively; if the first group of data is within the range of the longitude value range, determining that the first group of data is longitude data; and if the second set of data is within the range of the latitude value range, determining that the second set of data is latitude data.
In some possible embodiments, the method further comprises: superposing the air route track graph on an online map, and comparing the air route track graph with a planning air route graph generated in advance; and if the route track map is not consistent with the planning route map, determining that the first group of data is latitude data and the second group of data is longitude data.
In a second aspect, an embodiment of the present invention provides an apparatus for analyzing position information of an oblique photograph, where the apparatus includes:
the file name data acquisition module is used for determining file name data based on a POS file acquired in advance; the POS file acquired in advance includes: acquiring photo information of a collection point by utilizing oblique photography equipment;
the height data acquisition module is used for determining height data of the acquisition point according to the photo information and acquiring a first group of data and a second group of data which are left in the photo information;
and the latitude and longitude data determining module is used for determining the first group of data as the longitude data and determining the second group of data as the latitude data according to a pre-established administrative region value range database.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the steps of the method according to any one of the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium storing machine executable instructions that, when invoked and executed by a processor, cause the processor to perform the method of any of the first aspects.
The invention provides a method and a device for analyzing position information of oblique photography photos, wherein the method comprises the following steps: determining file name data based on a POS file acquired in advance, wherein the POS file comprises photo information of an acquisition point acquired by oblique photography equipment; determining height data of a collecting point according to the photo information, and acquiring a first group of data and a second group of data which are left in the photo information; according to the method, the first group of data is determined to be longitude data and the second group of data is determined to be latitude data according to a pre-established administrative region value range database, the method is utilized to realize the automatic analysis of the position information of the oblique photography photo, the technical problems of low analysis and processing efficiency and low accuracy rate in the prior art are solved, and the technical effect of improving the accuracy rate and efficiency of photo analysis is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a method for analyzing location information of oblique photography photos according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a system for analyzing positional information of oblique photographs according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an interactive interface of a system for analyzing positional information of oblique photographs according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures. Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
With the wide application of the digital twin technology and the comprehensive promotion of the real three-dimensional Chinese construction, the demand of urban three-dimensional modeling is increasing and generalized day by day, and the oblique photography technology is widely applied due to the low-cost high-efficiency characteristic. In order to ensure the correctness of the spatial position of the data result, position information needs to be given to the photo data in the modeling process. The location information is usually recorded in a POS file, and includes four sets of data, i.e., file name, longitude, latitude, and altitude. In the manual assignment process of the position information, errors in air triangulation calculation are often caused by improper operation or errors in data interpretation, and further computational resources and time are wasted in the air triangulation calculation process.
In the calculation task of oblique photography aerial triangulation, position information in a POS file of a device needs to be acquired to provide exterior orientation elements for a photo, so that the correctness of a spatial position is ensured. The position information in the POS file is composed of four sets of data of file name, longitude, latitude, and altitude. In the traditional method, users often need to manually specify specific meanings for the four groups of data, but the interpretation of the data needs to have certain subject foundation to avoid concept confusion, and the possibility of misoperation exists, and the wrong assignment of the position information wastes time and calculation resources, which is in the left of the gradually generalized three-dimensional modeling requirement. That is, the conventional oblique photography technique has the technical problems of long time consumption, low efficiency and low accuracy in analyzing the position information of the photograph.
Based on this, embodiments of the present invention provide a method and an apparatus for analyzing oblique photography photo position information, so as to alleviate the above technical problems in the prior art.
To facilitate understanding of the present embodiment, first, a method for analyzing location information of oblique photography photos disclosed in the embodiment of the present invention is described in detail, referring to a schematic flow chart of the method for analyzing location information of oblique photography photos shown in fig. 1, where the method can be executed by an electronic device and mainly includes the following steps S110 to S130:
s110: determining file name data based on a POS file acquired in advance;
wherein, the POS file that obtains in advance includes: and acquiring photo information of the point by using the oblique photographing equipment.
Oblique photography collection equipment carries on the camera for unmanned aerial vehicle generally, and the data of gathering are the photo. The space position information and the posture information of each acquisition point corresponding to the equipment for acquiring the photos are stored in the POS file. The POS information of different devices contains substantially the same data content, and usually consists of file name, time, longitude, latitude, altitude, yaw angle, roll angle, pitch angle, etc., but there may be differences in data ordering. In addition, in the oblique photography modeling process of each group of data in the POS, other data except the file name, longitude and latitude and height data are not necessarily provided.
S120: determining height data of the acquisition point according to the photo information, and acquiring a first group of data and a second group of data which are left in the photo information;
in the present embodiment, the position information in the POS file is composed of four sets of data of file name, longitude, latitude, and altitude. Correspondingly, the first group of data and the second group of data correspond to longitude and latitude data.
S130: and determining the first group of data as longitude data and the second group of data as latitude data according to a pre-established administrative region value range database.
In the method for analyzing the position information of the oblique photography photo provided by this embodiment, the photo obtained by oblique photography is analyzed by using the data structure and the precision difference of the photo information data in the POS file and the value range difference of the longitude and the latitude of different administrative regions, so that the position data in the POS file is more conveniently assigned to the photo file. The method provided by the embodiment is used for analyzing the photo position information, the specific longitude and latitude conditions of the location of the project do not need to be acquired in advance, the operation is simplified, the probability of error occurrence is reduced, the technical threshold of the work is lowered, and the air-to-air ratio is improved.
In an embodiment, the determining the file name data based on the POS file acquired in advance in step S110 may include the following steps:
(1) Acquiring photo information of a collection point by utilizing oblique photography equipment; the photo information comprises four groups of data character strings;
(2) Converting the character strings of the four groups of data into character arrays;
(3) Judging whether the character array contains English letters or not according to the ASCII value of the characters;
(4) If the English letters exist in the character array, determining the data character string corresponding to the character array as first target group data; the first target group data is file name data.
In an embodiment, in the step S120, determining the height data of the collection point according to the photo information may include:
(A) Removing file name data from four groups of data character strings of the photo information;
(B) And determining the second target group data as height data according to the number of characters after the decimal point of the remaining three groups of data character strings.
The number of characters after the decimal point of the second target group data is different from the number of characters after the decimal point of the first group data and the number of characters after the decimal point of the second group data, and is smaller than the number of characters after the decimal point of the first group data and the number of characters after the decimal point of the second group data.
As a specific example, the remaining three sets of data character strings may each be converted into a decimal form, and then the number of characters after the decimal point of the data character string converted into the decimal form may be calculated, respectively. The number of characters after the decimal point is determined to be different from the first group of data and the second group of data, and the data less than the two groups of data is the second target group of data, namely height data.
In this embodiment, the step S130 of determining the first group of data as longitude data and the second group of data as latitude data according to the pre-established administrative region range database may include:
s21: recording longitude and latitude value ranges of various administrative districts according to a pre-established global administrative district division value range database;
s22: determining a target administrative division according to the longitude and latitude value range of each administrative division, and calling the longitude value range and the latitude value range of the target administrative division respectively;
s23: comparing the longitude value range and the latitude value range of the target administrative division with the numerical values of the first group of data and the second group of data respectively;
s24: if the first set of data is within the range of longitude value ranges, determining that the first set of data is longitude data; if the second set of data is within the range of latitude range, the second set of data is determined to be latitude data.
The global longitude range is-180 to 180 degrees, the latitude range is-90 to 90 degrees, and the longitude and latitude ranges of most of the regional administrative division units are different. Establishing a global administrative division value range database, recording the longitude and latitude value range of each administrative division, calling the longitude and latitude value range of the administrative division after the administrative division is selected, and comparing the longitude and latitude value range with the first group of data values and the second group of data values to determine whether the corresponding data type is longitude or latitude. If the longitude and latitude value ranges of the administrative districts at the state level are overlapped, administrative districts at the province level, the city level and the county level are selected in sequence for distinguishing.
In one embodiment, the method may further include: determining position coordinates according to the longitude data, the latitude data and the altitude data; and combining the position coordinates with the pictures of the acquisition points corresponding to the file name data to generate a route track graph.
In one embodiment, after the above steps, the method may further include verifying a result of the parsing of the location information: firstly, converting an analysis result into a point position form to form a route locus diagram; then, overlaying the route track map on the online map, and comparing the route track map with a planned route generated in advance; and if the schematic route diagram is inconsistent with the planned route, determining that the first group of data is latitude data and the second group of data is longitude data.
As a specific example, the step of verifying the analysis result may specifically include:
(S31) determining location coordinates from the longitude data, the latitude data, and the altitude data;
(S32) combining the position coordinates with the photos of the acquisition points corresponding to the file name data to generate a course locus diagram;
(S33) superimposing the route trace map on an online map and comparing with a planned route map generated in advance;
(S34) if the lane trace graph is inconsistent with the planning lane graph, determining that the first group of data is latitude data and the second group of data is longitude data.
According to the method for analyzing the position information of the oblique photography photo, provided by the embodiment of the invention, the photo position information in the POS file is automatically read in a mode of selecting the administrative division of the project operation place, so that the accuracy rate of position information endowing is improved, and the probability of errors in manual operation is reduced.
As a specific example, the present application provides a method for parsing positional information of oblique photography photos, including the following procedures. Accordingly, the method for analyzing the oblique photograph position information provided in the following embodiments may be executed by an analysis system for the oblique photograph position information, and as shown in fig. 2, the following processes (1) to (4) may respectively correspond to one unit in the analysis system for the oblique photograph position information, that is: a character string detection unit 210, a data precision analysis unit 220, a value range analysis unit 230, and an analysis result verification unit 240. The system can be a terminal system installed on an electronic device, and a specific interactive interface can be seen in fig. 3.
(1) Detecting character strings: according to the data characteristics in the POS file, the data character string of 'file name' in the four groups of data should contain an English suffix name, and the data detection is carried out by the method. The String class tocarray () method is applied. Firstly, converting four groups of data character strings into a character array, circulating the character array, judging whether the data comprise English letters or not according to the ASCII value of the character, and judging that a certain group of data comprise the English letters as file name data when detecting that the certain group of data comprise the English letters.
(2) And (3) data precision analysis: the height data is generally taken to millimeter level due to the limitation of the precision of measuring equipment, the longitude and latitude data in the form of minutes and seconds are in sexagesimal system, after the height data is converted into a decimal form, the precision after decimal point is generally more than 6 bits, the digit after decimal point of the rest three groups of values can be respectively calculated by utilizing getNumberDecimeldigits (), and the maximum decimal digits of longitude and latitude are equal and more than the decimal digit of the height data. Therefore, the method for numerical precision analysis can judge the height data in the remaining three groups of data;
(3) Value range analysis: establishing a longitude and latitude value range database of locations of administrative divisions at different levels of countries all over the world, wherein each administrative division at least comprises 8 fields of 'country' level, 'province' level, 'city' level, 'county' level, 'maximum latitude', 'minimum latitude', 'maximum longitude' and 'minimum longitude'. After the operation of 'selection of working area' is completed in the method, the corresponding areas 'maximum latitude', 'minimum latitude', 'maximum longitude', 'minimum longitude' are called and compared with the two groups of data (called data C and data D) in the POS file. If the data C is between the "maximum latitude" and the "minimum latitude" and the data D is between the "maximum longitude" and the "minimum longitude", the data C is latitude data and the data D is longitude data, and if the condition is not satisfied, the verification order of the data C and the data D is exchanged, and the data C is regarded as longitude data and the data D is regarded as latitude data.
After two value range comparison judgments, the longitude value range and the latitude value range have no overlapping area, and the correct judgment can be made. When the longitude and latitude value ranges of the small region are completely consistent, the evaluation can be further determined in the following analysis result verification process.
(4) And (3) verification of an analysis result: and converting the analysis result into a point location form to form a route schematic diagram, overlaying the route schematic diagram on an online map, visually comparing and verifying the route schematic diagram with a planned route, and if the route schematic diagram is inconsistent with the planned route schematic diagram, adjusting the route schematic diagram by using a 'longitude and latitude interchange' function. The process assists in judging the longitude and latitude when the longitude and latitude value domains of the small part of the area are completely consistent, namely: and comparing and verifying the small part of the longitude and latitude value range overlapping area with a planned route by combining a mode of superposing longitude and latitude coordinate points on an online map, and if the longitude and latitude coordinate points are different from the planned route, checking the 'longitude and latitude interchange' in the figure 3 for correction.
According to the method, the position information of the oblique photography photo is endowed to work, the traditional manual interpretation mode is changed into automatic analysis processing, the specific longitude and latitude information of the project location is not required to be known, the production work can be carried out, the technical threshold is reduced, the operation flow is simplified, and the work efficiency is improved.
Compared with the prior art, the method has the main advantages that: the method for judging the data value range based on the data characteristics and by utilizing the administrative division range can more intuitively and conveniently give the position information to the oblique photography photo file, greatly improve the accuracy of the working process and effectively reduce the waste of time and calculation resources caused by manual interpretation errors.
In addition, an embodiment of the present invention further provides an apparatus for analyzing positional information of an oblique photograph, including:
the file name data acquisition module is used for determining file name data based on a POS file acquired in advance; the pre-acquired POS file includes: acquiring photo information of a collection point by utilizing oblique photography equipment;
the height data acquisition module is used for determining height data of the acquisition point according to the photo information and acquiring a first group of data and a second group of data which are left in the photo information;
and the latitude and longitude data determining module is used for determining the first group of data as the longitude data and determining the second group of data as the latitude data according to a pre-established administrative region value range database.
The embodiment of the invention provides a method and a device for analyzing position information of an oblique photography photo, wherein the method comprises the following steps: acquiring a plurality of sets of data representing position information based on a POS file acquired in advance; the pre-acquired POS files include: position information of each acquisition point corresponding to the oblique photography equipment during photo acquisition; several sets of data include: a first set of data and a second set of data; determining a first group of data as longitude data and a second group of data as latitude data according to a pre-established administrative region value range database; the longitude data and the corresponding latitude data are combined to generate coordinate information, and the lane trace diagram is generated according to the coordinate information.
The device for analyzing the position information of the oblique photography photo provided by the embodiment of the application can be specific hardware on the equipment, or software or firmware installed on the equipment, and the like. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. The device for analyzing the oblique photography photo position information provided by the embodiment of the application has the same technical characteristics as the method for analyzing the oblique photography photo position information provided by the embodiment, so the same technical problems can be solved, and the same technical effects can be achieved.
The embodiment of the application further provides an electronic device, and specifically, the electronic device comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the above described embodiments.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 400 includes: a processor 40, a memory 41, a bus 42 and a communication interface 43, wherein the processor 40, the communication interface 43 and the memory 41 are connected through the bus 42; the processor 40 is arranged to execute executable modules, such as computer programs, stored in the memory 41.
The Memory 41 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 43 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
The bus 42 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
The memory 41 is used for storing a program, the processor 40 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 40, or implemented by the processor 40.
The processor 40 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware integrated logic circuits or software in the processor 40. The Processor 40 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in ram, flash, rom, prom, or eprom, registers, etc. as is well known in the art. The storage medium is located in a memory 41, and the processor 40 reads the information in the memory 41 and completes the steps of the method in combination with hardware thereof.
Corresponding to the method, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores machine executable instructions, and when the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to execute the steps of the method.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some communication interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters indicate like items in the figures, and thus once an item is defined in a figure, it need not be further defined or explained in subsequent figures, and moreover, the terms "first," "second," "third," etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the spirit of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A method for analyzing oblique photography photo position information is applied to an analysis system of oblique photography photo position information installed on an electronic device, and the method comprises the following steps:
determining first target group data as file name data based on a POS file acquired in advance; the pre-acquired POS file includes: acquiring photo information of a collection point by utilizing oblique photography equipment; the photo information comprises four groups of data character strings;
removing the file name data from the four groups of data character strings of the photo information; converting the remaining three groups of data character strings into a decimal form; respectively calculating the number of characters after decimal points of the data character strings converted into decimal form, and determining second target group data as height data; the decimal character number of the second target group data is different from the decimal character number of the first group data and the decimal character number of the second group data, and is smaller than the decimal character number of the first group data and the decimal character number of the second group data;
determining height data of the acquisition point according to the photo information, and acquiring a first group of data and a second group of data which are left in the photo information;
determining the first group of data as longitude data and the second group of data as latitude data according to a pre-established administrative region value range database;
the system for analyzing the position information of the oblique photography photo comprises: the device comprises a character string detection unit, a data precision analysis unit, a value range analysis unit and an analysis result verification unit;
the character string detection unit is used for converting the four groups of data character strings into a character array, circulating the character array, judging whether English letters are contained according to the ASCII value of the characters, and judging that certain group of data is file name data when detecting that the group of data contains the English letters;
the data precision analysis unit is used for calculating decimal point posterior digits of the remaining three groups of numerical values and judging height data in the remaining three groups of data;
the value range analysis unit is used for calling the value range of the corresponding administrative region to compare with the remaining first group of data and the second group of data based on the operation selected aiming at the operation region, and determining precision data and latitude data;
and the analysis result verification unit is used for converting the analysis result into a point position form to form a route schematic diagram, overlapping the route schematic diagram on an online map to be compared and verified with a planned route, and if the analysis result is not consistent with the planned route schematic diagram, using a longitude and latitude interchange function to adjust.
2. The method of resolving oblique photograph location information as claimed in claim 1, wherein said method further comprises:
determining position coordinates according to the longitude data, the latitude data and the altitude data;
and combining the position coordinates with the pictures of the acquisition points corresponding to the file name data to generate a course locus diagram.
3. The method of claim 2, wherein determining the first set of data as longitude data and the second set of data as latitude data from a pre-established administrative region range database comprises:
recording longitude and latitude value ranges of various administrative districts according to a pre-established global administrative district division value range database;
determining a target administrative division according to the longitude and latitude value range of each administrative division, and calling the longitude value range and the latitude value range of the target administrative division respectively;
comparing the longitude value range and the latitude value range of the target administrative division with the numerical values of the first group of data and the second group of data respectively;
determining that the first set of data is longitude data if the first set of data is within the range of the longitude range;
determining the second set of data to be latitude data if the second set of data is within the range of latitude values.
4. The method for parsing positional information of oblique photograph according to claim 3, wherein said method further comprises:
overlaying the route track map on an online map, and comparing the route track map with a planning route map generated in advance;
and if the air route track map is not consistent with the planning air route map, determining that the first group of data is latitude data, and the second group of data is longitude data.
5. An electronic device comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and wherein the processor implements the steps of the method of any one of claims 1 to 4 when executing the computer program.
6. A computer readable storage medium having stored thereon machine executable instructions which, when invoked and executed by a processor, cause the processor to execute the method of any of claims 1 to 4.
CN202211154531.7A 2022-09-22 2022-09-22 Method and device for analyzing position information of oblique photography photo Active CN115238119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211154531.7A CN115238119B (en) 2022-09-22 2022-09-22 Method and device for analyzing position information of oblique photography photo

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211154531.7A CN115238119B (en) 2022-09-22 2022-09-22 Method and device for analyzing position information of oblique photography photo

Publications (2)

Publication Number Publication Date
CN115238119A CN115238119A (en) 2022-10-25
CN115238119B true CN115238119B (en) 2023-01-03

Family

ID=83667483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211154531.7A Active CN115238119B (en) 2022-09-22 2022-09-22 Method and device for analyzing position information of oblique photography photo

Country Status (1)

Country Link
CN (1) CN115238119B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867730A (en) * 2010-06-09 2010-10-20 马明 Multimedia integration method based on user trajectory
CN103116912A (en) * 2013-02-06 2013-05-22 范艳君 Dynamic vehicle data acquisition and analysis method and system based on longitude and latitude
CN104980635A (en) * 2015-06-16 2015-10-14 成都西可科技有限公司 Motion camera for recording and displaying 3D shooting track
CN106407439A (en) * 2016-09-29 2017-02-15 四川研宝科技有限公司 Method and system used for generating and marking track in photo or/and video set
CN108446349A (en) * 2018-03-08 2018-08-24 国网四川省电力公司电力科学研究院 A kind of detection method of GIS abnormal datas

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109945886B (en) * 2017-12-20 2021-08-03 中国移动通信集团辽宁有限公司 Method, device, equipment and medium for prompting administrative division switching
CN114413849B (en) * 2021-12-09 2023-10-31 国网辽宁省电力有限公司经济技术研究院 Three-dimensional geographic information data processing method and device for power transmission and transformation project
CN114357318A (en) * 2021-12-24 2022-04-15 以萨技术股份有限公司 Multi-dimensional track data display method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867730A (en) * 2010-06-09 2010-10-20 马明 Multimedia integration method based on user trajectory
CN103116912A (en) * 2013-02-06 2013-05-22 范艳君 Dynamic vehicle data acquisition and analysis method and system based on longitude and latitude
CN104980635A (en) * 2015-06-16 2015-10-14 成都西可科技有限公司 Motion camera for recording and displaying 3D shooting track
CN106407439A (en) * 2016-09-29 2017-02-15 四川研宝科技有限公司 Method and system used for generating and marking track in photo or/and video set
CN108446349A (en) * 2018-03-08 2018-08-24 国网四川省电力公司电力科学研究院 A kind of detection method of GIS abnormal datas

Also Published As

Publication number Publication date
CN115238119A (en) 2022-10-25

Similar Documents

Publication Publication Date Title
CN112667837A (en) Automatic image data labeling method and device
CN104422451A (en) Road recognition method and road recognition apparatus
CN112287566A (en) Automatic driving scene library generation method and system and electronic equipment
CN116484036A (en) Image recommendation method, device, electronic equipment and computer readable storage medium
CN110109165B (en) Method and device for detecting abnormal points in driving track
CN115496893A (en) Pointer type water meter reading identification method
CN114022523A (en) Low-overlap point cloud data registration system and method
CN115238119B (en) Method and device for analyzing position information of oblique photography photo
US20160034515A1 (en) Assessing Risk of Inaccuracies in Address Components of Map Features
WO2021051568A1 (en) Method and apparatus for constructing road network topological structure, and computer device and storage medium
WO2021184178A1 (en) Labeling method and apparatus
US20150248192A1 (en) Semi-Automated Generation of Address Components of Map Features
WO2023005020A1 (en) Reflector localization method, robot and computer-readable storage medium
CN113048988B (en) Method and device for detecting change elements of scene corresponding to navigation map
CN113674358A (en) Method and device for calibrating radar vision equipment, computing equipment and storage medium
CN113129438A (en) Method and device for improving accuracy of lane line and readable storage medium
CN118031952A (en) Map scene verification method, path planning method and related devices
CN117150570B (en) Asset information process safety monitoring method and system based on data resource elements
CN112101299B (en) Automatic traffic sign extraction method and system based on binocular CCD camera
CN113065076A (en) Map data processing method and device, electronic equipment and storage medium
CN114494626A (en) Large-scale digital line map determining method and device and terminal equipment
CN116012795A (en) Lane line identification method and device based on road side equipment and electronic equipment
CN105044739A (en) GPS speed signal analyzing method
US9648459B2 (en) Information processing device, terminal separation determination system and terminal separation determination method
CN118212099A (en) Method and device for acquiring cell to be corrected, electronic equipment and readable storage medium

Legal Events

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