Mine multi-batch unmanned aerial vehicle aerial survey data automatic preprocessing method
By configuring multiple group parameters, parsing multiple formats of POS, and automatically processing images, the problem of mixed images and inconsistent formats in aerial survey data processing of open-pit mines has been solved. This has enabled efficient and accurate data preprocessing, which is suitable for open-pit mine surveying and UAV oblique photogrammetry modeling.
Patent Information
- Application Number
- CN202611267394.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-24
AI Technical Summary
In the processing of aerial survey data for open-pit mines, there are problems such as file name conflicts caused by the mixed storage of multiple batches of images, inconsistent formats of POS attitude files, difficulty in automatically removing ground-based survey images, and errors in the manual configuration of modeling parameters. Existing tools cannot achieve automated processing of multiple batches of data.
By employing methods such as multi-group parameter configuration, automatic parsing of multi-format POS, intelligent filtering of ground test flight photos, and batch standardized renaming of images, the system achieves automated preprocessing of multiple batches of data through a visual interactive interface, generating standardized aerial triangulation XML files adapted to Smart3D.
It has enabled automated processing of multiple batches of aerial survey data, improving processing efficiency, reducing manual intervention, lowering the error rate, and enhancing modeling accuracy and processing speed.
Smart Images

Figure CN123157665A_ABST
Abstract
Description
Technical Field
[0001] This invention discloses an automated preprocessing method for multiple batches of UAV aerial survey data in mines, belonging to the technical field of open-pit mine surveying and UAV oblique photogrammetry modeling data processing. It is applicable to the batch normalization of multiple sorties and batches of aerial images and POS attitude data in open-pit mining areas, intelligent filtering of invalid data, and automatic generation of standardized aerial triangulation XML files. Background Technology
[0002] Open-pit mine terrain monitoring and 3D modeling of mining areas require frequent UAV aerial surveys. A single project often involves multiple sorties and multiple groups of aerial data. Traditional manual preprocessing methods have four major industry pain points: Multiple batches of images are stored in a mixed manner, with duplicate and conflicting filenames. Manual renaming and classification are time-consuming and prone to group confusion. Existing tools only support single-batch data processing and cannot manage up to 20 batches of aerial survey tasks simultaneously. The export format of UAV POS attitude files is not uniform. Different flight controllers output data delimiters include four types: comma, semicolon, tab, and space. Traditional software only supports a single delimiter, requiring manual format conversion, which is cumbersome. Before drones take off, they take ground-based photos. These images have no elevation changes and no surveying value. Manually screening and deleting them one by one is extremely inefficient, and missing deletions will reduce the accuracy of aerial triangulation modeling. Currently, there is no automated recognition and removal algorithm. The aerial triangulation modeling software Smart3D requires numerous XML configuration file parameters. Camera intrinsics, distortion coefficients, coordinate systems, and image paths must be manually entered one by one. Manual entry is prone to parameter deviations, leading to modeling failure.
[0003] In existing publicly available technologies, aerial survey data processing tools only achieve basic single-file renaming and single-format POS reading. There is no integrated automatic preprocessing solution for multi-batch operation scenarios in mines. They also lack a complete technical process including multi-group isolated storage, intelligent removal of ground test flight images, multi-format POS adaptive parsing, and one-click generation of standard aerial triangulation files. Summary of the Invention
[0004] 3.1 Purpose of the Invention To address the shortcomings of existing mine aerial surveying methods, such as low efficiency in manual processing, high data matching error rate, chaotic management of multiple batches of data, inability to automatically remove invalid images, and error-prone manual configuration of modeling parameters, this paper proposes an automated preprocessing method for multi-batch UAV aerial surveying data in mines. This method enables isolated configuration of multi-group data, automatic parsing of multi-format POS, intelligent filtering of ground test flight photos, batch standardized renaming of images, and one-click generation of aerial triangulation XML files adapted to Smart3D. The entire process requires no manual intervention, significantly reducing the workload of mine aerial surveying.
[0005] An automated preprocessing method for multi-batch UAV aerial survey data in mining includes the following steps: Step 1, Multi-group parameter visualization configuration stage: The operator selects the number of groups to be processed in the visualization interactive interface. The number of groups can be 1, 2, 10, or 20. For each group, the following configurations are made independently: photo storage folder path, POS attitude file path, and custom unique file prefix. The system verifies that all group prefixes are unique to avoid image renaming conflicts. Each group of data is independently created in the output storage directory to achieve physical isolation of multiple batches of data.
[0006] Step 2: Batch reading and sorting of raw images. Traverse each configured photo folder, filter aerial images in jpg, jpeg, tif, tiff, png, and bmp formats; extract the numerical IDs of the image file names using regular expressions, automatically sort them in ascending order according to the shooting sequence, and create a list of raw images.
[0007] Step 3: Adaptive parsing and unified extraction of multi-format POS data. Import each group of bound POS files and automatically identify file delimiters (commas / semicolons / tabs / spaces); parse valid data line by line, extract six types of attitude parameters: longitude (lon), latitude (lat), altitude (alt), heading (yaw), pitch (pitch), and roll (roll); filter out incomplete, garbled, and invalid data to generate a standardized POS dataset.
[0008] Step 4: Automatically remove ground test flight data based on the elevation change threshold method and set the elevation change threshold; read the elevation values of continuous images in the standardized POS dataset and calculate the elevation difference between adjacent images segment by segment; identify the node with the largest elevation change, determine that the continuous images before the change are ground test data taken before takeoff, automatically remove the corresponding POS data and matching aerial images, and retain only the valid mapping data after takeoff.
[0009] Step 5: Batch copying and standardized renaming of images. Rename all valid images with a custom prefix followed by a 4-digit incrementing number, and unify the suffix. Store the renamed images in a dedicated output folder for that group, and simultaneously establish a one-to-one mapping table between the images and POS pose data.
[0010] Step 6: The standardized aerial triangulation XML file automatically generates the built-in intrinsic and extrinsic parameters, distortion coefficients, and WGS84 (EPSG:4326) coordinate system parameters of the dedicated mining aerial survey camera; it traverses all grouped and associated valid images and POS coordinate data, automatically fills in the BlocksExchange 3.2 version standard XML nodes, and batch writes image paths, latitude and longitude elevation, attitude angles, and camera calibration parameters to generate an aerial triangulation configuration file that can be directly imported into Smart3D modeling software.
[0011] Step 7: Visualized progress monitoring and operation log output. The entire process is statistically analyzed in real time, showing the total number of images to be processed and the number of images processed. The processing progress is visualized through a progress bar. Each operation, abnormal warning, and processing result is written to the scrolling log window in real time. After processing is completed, a pop-up window will display the total number of images processed and the file storage path.
[0012] Furthermore, the specific logic for determining elevation abrupt changes in step 4 is as follows: sequentially calculate the elevation difference between each pair of POS elevation data, obtain the sequence position corresponding to the elevation difference being greater than a threshold, and determine all images before that position as ground-based test data.
[0013] Furthermore, if multiple groups have duplicate custom prefixes in step 1, the system will pop up a warning and prohibit entry into the data processing flow.
[0014] Furthermore, the XML file generated in step 6 is compatible with all versions of Smart3D 3.2 and above, and has built-in fixed imaging parameters for the mine aerial camera, eliminating the need for manual input.
[0015] This invention supports the simultaneous configuration and isolated storage of up to 20 sets of aerial survey data, completely solving the problem of duplicate and confused names for multiple aerial survey images in mines. Compared with traditional single-batch tools, the efficiency of parallel processing of multiple projects is improved by 80%. It adaptively recognizes four types of POS delimiters, is compatible with all drone flight control data exported from the market, and eliminates the need for manual file format conversion, saving you the trouble of manual format conversion. The unique elevation change threshold method automatically identifies and removes invalid ground test flight images, eliminating the need for manual image-by-image screening and reducing modeling accuracy defects caused by manual omissions. Built-in standardized camera and coordinate system parameters, one-click generation of industry-standard aerial triangulation XML files, eliminating errors caused by manual parameter input, and significantly improving the modeling success rate; The entire process is visualized and interactive, with real-time progress monitoring and automatic recording of operation logs, which lowers the technical threshold for operators and is suitable for non-professional office staff in the front line of mine surveying. Attached Figure Description
[0016] Figure 1 This is a general flowchart of the overall method of the present invention; Figure 2 Sub-flow diagram of POS data adaptive parsing and ground test flight data removal process; Detailed Implementation
[0017] Example 1: Batch preprocessing of 10 sets of aerial survey data from open-pit mines Step 1: The operator starts the visual processing program and selects 10 groups; configure the aerial photo folder and POS file for each of the 10 groups of aerial survey data in sequence, set a unique prefix S1~S10 for each group, the system verifies that there are no duplicate prefixes, and each group generates an independent output folder.
[0018] Step 2: The program traverses 10 folders, reads a total of 12,640 aerial images, and sorts them in ascending numerical order by filename.
[0019] Step 3: Each POS file contains two types of delimiters: commas and tabs. The program automatically identifies and parses them, extracting a total of 12,640 complete six-parameter attitude data.
[0020] Step 4: Calculate the elevation difference for each group of POS images, identify the first 2-3 images in each group as ground-based aerial images, automatically remove a total of 26 invalid photos and corresponding POS data, leaving 12,614 valid aerial images.
[0021] Step 5: Rename the images in batches using the S10001 and S10002 formats, and save them into each group's independent directory to establish a one-to-one mapping relationship between images and POS.
[0022] Step 6: Call the built-in camera calibration parameters and WGS84 coordinate system parameters, automatically fill all nodes in the XML, and generate a BlocksExchange standard aerial triangulation file, which can be directly imported into Smart3D software for aerial triangulation calculation.
[0023] Step 7: The progress bar displays the processing progress in real time, the log window records the entire process of group processing, data removal, and file generation, and a pop-up window indicates that the total number of valid images is 12,614 when processing is complete.
[0024] Example 2: Small-scale aerial surveying operations in a single batch Step 1: The operator starts the visualization processing program and selects 1 group; the aerial survey data of this group is configured with an aerial photo folder and POS file, and a unique prefix S1 is set for this group. The system verifies that there are no duplicate prefixes and generates an independent output folder.
[0025] Step 2: The program traverses the folder, reads a total of 500 aerial images, and sorts them in ascending numerical order by filename.
[0026] Step 3: This set of POS files contains two types of delimiters: commas and tabs. The program automatically identifies and parses them, extracting a total of 500 complete six-parameter attitude data.
[0027] Step 4: Calculate the elevation difference for each group of POS. If no elevation change nodes are identified, retain 500 valid aerial images.
[0028] Step 5: Rename the images in batches using the S10001 and S10002 formats, save them to the group's independent directory, and establish a one-to-one mapping relationship between images and POS.
[0029] Step 6: Call the built-in camera calibration parameters and WGS84 coordinate system parameters, automatically fill all nodes in the XML, and generate a BlocksExchange standard aerial triangulation file, which can be directly imported into Smart3D software for aerial triangulation calculation.
[0030] Step 7: The progress bar displays the processing progress in real time, the log window records the entire process of image renaming and file generation, and a pop-up window indicates that the total number of valid images is 500 when processing is complete.
Claims
1. A mine multi-batch unmanned aerial vehicle photogrammetry data automatic preprocessing method, characterized in that, Includes the following steps: Step 1: Multi-group visualization parameter configuration: Select 1 / 2 / 10 / 20 groups (or other number of groups) in the interactive interface to process the groups. Each group is independently configured with a photo folder, POS file, and a unique custom prefix. The system verifies that all group prefixes are unique and assigns an independent output directory to each group. Step 2, Original Image Reading and Sorting: Filter the aerial images in the target folder, extract the file name numbers using regular expressions, and sort them in ascending order according to the shooting sequence; Step 3, Multi-format POS Adaptive Parsing: Automatically recognizes four types of delimiters in POS files: commas, semicolons, tabs, and spaces. Extracts six types of attitude parameters (longitude, latitude, altitude, heading, pitch, and roll) line by line, filters out incomplete and invalid data, and generates a standardized POS dataset. Step 4: Remove ground test flight data using the elevation change threshold method: Continuously calculate the POS elevation difference, identify elevation change nodes, and automatically remove ground test images and corresponding POS data before the change nodes; Step 5: Standardize and batch rename images: Rename valid images with a group prefix and a fixed number of digits, store them in a dedicated directory for each group, and establish a one-to-one mapping between images and POS data; Step 6: Automatically generate standardized aerial triangulation XML file: Built-in parameters of mining aerial cameras, distortion coefficients, and WGS84 coordinate system parameters, automatically fill XML nodes according to the BlocksExchange 3.2 specification, and output an aerial triangulation configuration file that can be directly imported into Smart3D software; Step 7: Full-process visual monitoring: Real-time statistics of total processing volume and number of processed items, progress bar to show running progress, synchronous output of real-time operation logs, and pop-up window to indicate processing results upon completion. 2.The mine multi-batch UAV photogrammetry data automatic preprocessing method according to claim 1, characterized in that, The logic for determining the elevation change threshold in step 4 is as follows: read all POS elevation data, calculate the elevation difference between each pair, and if the elevation difference is greater than the threshold, it is considered an elevation change point, and all images before this location are determined to be ground test data; if the elevation differences are all less than the threshold, no removal operation is performed. 3.The mine multi-batch UAV photogrammetry data automatic preprocessing method according to claim 1, characterized in that, If multiple duplicate custom prefixes are detected in step 1, the program will display a warning pop-up and prevent further data processing.
4. The mine multi-batch unmanned aerial vehicle photogrammetry data automatic preprocessing method according to claim 1, characterized in that, The XML file generated in step 6 contains built-in fixed imaging parameters for the mine aerial camera, eliminating the need for manual input of camera intrinsic parameters, distortion parameters, and coordinate system information.
5. The mine multi-batch unmanned aerial vehicle photogrammetry data automatic preprocessing method according to claim 1, characterized in that, Step 7 includes a scrolling log window that fully records the entire process of folder reading, POS parsing, invalid data removal, file renaming, XML generation, and error warnings.
