Unmanned aerial vehicle image positioning method and system based on airborne FPGA equipment
By integrating FPGA equipment on the drone, combined with the wavelet hash algorithm and SuperPoint network, the problem of stability and adaptability of drone image matching is solved, high-precision image positioning is achieved, and the positioning performance and performance of the drone are improved. efficiency.
Patent Information
- Application Number
- CN202410717177.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-09-03
AI Technical Summary
Existing UAV image matching technology has problems with unsatisfactory stability and adaptability in stand-alone mode. Especially when matching across scales in complex scenes, content-based methods have high computational complexity while hash-based methods have information problems. loss and noise sensitivity.
The UAV image positioning method based on airborne FPGA equipment is used to realize the rough position estimation and precise positioning of the image through the signal receiving, storage, estimation and registration unit, combined with the wavelet hash algorithm and SuperPoint feature point extraction network, using GNSS Satellite signal verification and commercial satellite images are matched with high accuracy.
It improves the stability and accuracy of UAV image matching, reduces computing resource requirements, enhances positioning performance and efficiency, adapts to complex scenes, and ensures the high-precision navigation of the UAV itself.
Smart Images

Figure CN118584522A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of unmanned aerial vehicle positioning, and in particular to a method and system for unmanned aerial vehicle image positioning based on an airborne FPGA device. Background Art
[0002] Drones have the advantages of being able to adapt to complex terrain environments and flying at high speeds. They have been successfully applied to many fields such as agriculture, firefighting, express delivery, field search and rescue, location tracking, and military operations. At present, the main methods for drone image positioning are content-based remote sensing image retrieval and hash-based image retrieval. Among them, content-based image retrieval is to achieve rapid retrieval of remote sensing images by building an image content feature library and calculating the similarity measure between the input image and the benchmark image features. It mainly focuses on the visual content of remote sensing images. When retrieving, it is necessary to first obtain hand-crafted identifiers (such as spectrum, texture, or local invariant features) according to the abstract level, and then use encoding methods (such as BoW) and vector local aggregate descriptors (VLAD) or unsupervised learning methods to aggregate them into an overall representation. The hash-based remote sensing image retrieval method maps high-dimensional image features to low-dimensional hash codes through hash functions, simplifies the features, saves the storage space of feature representation, and improves the calculation speed of feature comparison. This method can be applied to fields with low computing power and power requirements such as on-board data calculation. However, content-based remote sensing image retrieval can extract rich texture features, such as color, texture, shape and other feature information, which is suitable for heterogeneous and cross-scale image registration, and to a certain extent understands the semantic content of the image, improving the accuracy of retrieval. However, due to the high computational complexity of content-based remote sensing image retrieval, the feature extraction and matching process usually involves complex mathematical operations and a large amount of data storage, which requires high computing resources and has a strong dependence on preprocessing. For example, it may still show a certain sensitivity to cross-scale differences. At the same time, the performance depends largely on the quality of the preprocessing steps, such as geometric correction and radiation calibration. Hash-based image retrieval can map high-dimensional image features into low-dimensional hash codes, greatly reducing the storage and computing requirements, improving retrieval efficiency, protecting the original image data from direct exposure, and enhancing data security. Therefore, it is suitable for distributed storage and retrieval in large-scale image databases, but there is also the problem of information loss in the process. The hash process is an irreversible lossy compression process, which will lose some original image information, and is sensitive to noise, illumination changes, and perspective changes in the image, affecting the stability of retrieval. Therefore, there is an urgent need for an interpretable and reliable image matching solution that can adapt to complex scenes to solve the cross-scale matching problem of UAV images in stand-alone mode. Summary of the invention
[0003] To this end, the present invention provides a UAV image positioning method and system based on an airborne FPGA device to solve the problems of poor stability and adaptability of UAV image matching in the existing stand-alone mode, realize UAV image matching based on the airborne FPGA device, and improve the efficiency and accuracy of the UAV's own positioning in the stand-alone mode.
[0004] According to the design scheme provided by the present invention, on the one hand, a UAV image positioning device is provided, comprising: an onboard FPGA device integrated on a UAV and connected to a UAV flight control device and a GNSS satellite receiver; the onboard FPGA device consists of a signal receiving unit, a signal storage unit, a signal estimation unit, a signal alignment unit and a GNSS satellite signal verification unit, wherein the signal receiving unit is used to obtain GNSS positioning information; the signal storage unit is used to collect and store UAV image target images; the signal estimation unit is used to obtain the approximate position of the UAV image target image; the signal alignment unit is used to obtain the target image positioning information based on the reference image and through image alignment; the GNSS satellite signal verification unit is used to verify and simulate the reliability of the received GNSS satellite signal.
[0005] The drone image positioning device of the present invention further includes: a rechargeable lithium battery connected to the airborne FPGA device for providing power to the airborne FPGA device.
[0006] On the other hand, the present invention also provides a method for positioning an image of a UAV based on an airborne FPGA device, and the positioning of the image of a UAV is realized based on the above-mentioned UAV image positioning device. The implementation process includes:
[0007] Receive GNSS satellite data without interference using a GNSS satellite receiver, and compare it with a satellite image reference image with positioning information to determine the take-off position; use drone camera equipment to obtain drone image target images without positioning information;
[0008] Preprocess the reference image and target image to obtain the corresponding image slices, global and local features, and build a global and local feature database; use the reference image based on the wavelet hash algorithm to estimate the approximate position of the target image and generate a target image approximate position information database;
[0009] The local features of the target image in the approximate location information database are extracted and matched with feature points, the correspondence between the reference image and each image slice in the drone-photographed image is obtained, and the positioning coordinates of the drone image target image are obtained based on the correspondence.
[0010] As the drone image positioning method based on the airborne FPGA device of the present invention, further, using a GNSS satellite receiver to receive GNSS satellite data to obtain a satellite image reference image with positioning information, it also includes:
[0011] Map GNSS satellite data pixels to the Earth's surface coordinate system, determine the geographic location of the GNSS satellite data, and obtain satellite image reference images with positioning information.
[0012] As the drone image positioning method based on the airborne FPGA device of the present invention, further, the reference image and the target image are preprocessed, including:
[0013] Firstly, the image data is denoised by histogram equalization to filter out redundant noise. Then, the geographic information in the longitude and latitude coordinate system is gridded, the denoised image data is encoded according to the longitude and latitude, and the image slices of the reference image and the target image are obtained through slicing. The similarity database and the feature point database are constructed to store the hash values and feature data of the feature points of the satellite images and UAV images respectively.
[0014] As the drone image positioning method based on the airborne FPGA device of the present invention, further, based on the wavelet hash algorithm and using the reference image to perform a rough position estimation on the target image, it includes:
[0015] The image is scaled normalized, and the multi-scale frequency information in the image is extracted using a two-dimensional discrete wavelet transform. The wavelet transformed image is decomposed into multiple frequency bands, and the spatial information contained in the low-frequency sub-band of the image is used as a feature extraction condition. The threshold is obtained based on the total number of pixels in the low-frequency sub-band of the image and the gray value of each pixel. The value of each pixel in the low-frequency sub-band of the image is compared with the threshold to generate a binary hash value, and the image is adjusted to a hash matrix of a specified size.
[0016] The approximate positions of the images are initially retrieved and sorted based on global features. In the initial retrieval and sorting, the hash matrices of the image features of the reference image and the target image are used to calculate the Hamming distance between the feature codes in the Hamming space of the two hash matrices. The feature similarity between the reference image and the target image is evaluated based on the Hamming distance, and the probability position estimate of the target image is obtained based on the similarity to generate a target image approximate position information database.
[0017] As the drone image positioning method based on the airborne FPGA device of the present invention, further, feature point extraction and matching are performed on the local features of the target image in the general location information database, including:
[0018] The SuperPoint feature point extraction network is lightweight, and an image registration network model is built based on the LightGlue network. Based on the local features of the image, the local features of the target image in the approximate position information database are secondary retrieved, sorted and screened through the SuperPoint feature point extraction network and the image registration network model to estimate the approximate position of the UAV image. The SuperPoint feature point extraction network includes a shared feature encoder, a key point decoder and a descriptor decoder. The number of channels of each convolution layer of the shared feature encoder is 3 layers, and the step size of the first two convolution layers is 2, so that the height and width of the feature map of the convolution output are halved; and the 2nd, 3rd, and 4th convolution layers in the shared feature encoder all use depthwise separable convolution.
[0019] On the other hand, the present invention also provides a drone image positioning system based on an airborne FPGA device, which is implemented based on the above method and includes: a data acquisition module, a rough estimation module and a precise positioning module, wherein:
[0020] The data acquisition module is used to use a GNSS satellite receiver to receive GNSS satellite data under interference-free conditions, and to compare it with a satellite image reference image with positioning information to determine the take-off position; and to use a drone camera device to obtain a drone image target image without positioning information;
[0021] The rough estimation module is used to pre-process the reference image and the target image, obtain the corresponding image slices, global and local features, and build a global and local feature database; based on the image feature similarity and using the reference image, the rough position estimation of the target image is performed to generate a target image rough position information database;
[0022] The precise positioning module is used to extract and match the local features of the target image in the approximate location information database, obtain the correspondence between the reference image and each image slice in the drone image, and obtain the positioning coordinates of the drone image target image based on the correspondence.
[0023] Beneficial effects of the present invention:
[0024] The present invention utilizes the high parallelism and reconfigurability of FPGA to process the data in the UAV positioning in real time, utilizes the UAV images without positioning information to simulate the images taken by the UAV in the GNSS denied environment, utilizes the commercial satellite images as the reference images, first performs the approximate position retrieval on the UAV images, and then performs the feature extraction, registration, and error elimination with the satellite images with positioning information, so as to obtain the correspondence between the images, and then realize the high-precision positioning of the UAV images, and implements the links of UAV image transfer, approximate position estimation, registration, GNSS reliability verification and forwarding on the airborne FPGA, so as to ensure the stability and reliability of image processing and GNSS positioning information acquisition and forwarding, and ensure the positioning performance and efficiency of the UAV itself, and has good application prospects in the fields of UAV positioning and navigation. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 This is a schematic diagram of the UAV image positioning process based on the airborne FPGA device in the embodiment;
[0026] Figure 2 This is a schematic diagram of the process of estimating the approximate position of a drone image in an embodiment;
[0027] Figure 3 This is a schematic diagram of the wavelet hash algorithm process in the embodiment;
[0028] Figure 4 This is a schematic diagram of the short flight strip extraction process of drone images in the embodiment;
[0029] Figure 5 This is a schematic diagram of the SuperPoint feature extraction network structure in the embodiment;
[0030] Figure 6 Schematic diagram of the LightGlue network structure in the embodiment. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solutions and advantages of the present invention clearer and more understandable, the present invention is further described in detail below in conjunction with the accompanying drawings and technical solutions.
[0032] Under GNSS interference conditions, drones cannot rely on airborne GNSS to obtain high-precision positioning information, so they need to use external data to locate drone images on the ground. Common auxiliary data include DOM, DEM, DLG and other digital products, among which DOM is widely used. An embodiment of the present invention provides a drone image positioning device, including: an airborne FPGA device integrated on a drone and connected to a drone flight control device and a GNSS satellite receiver; the airborne FPGA device consists of a signal receiving unit, a signal storage unit, a signal estimation unit, a signal alignment unit and a GNSS satellite signal verification unit, wherein the signal receiving unit is used to obtain GNSS positioning information; the signal storage unit is used to collect and store drone image target images; the signal estimation unit is used to obtain the approximate position of the drone image target image; the signal alignment unit is used to obtain the target image positioning information based on the reference image and through image alignment; the GNSS satellite signal verification unit is used to verify and simulate the reliability of the received GNSS satellite signal. The airborne field programmable gate array (FPGA) device is set on the drone signal processing board, and the airborne FPGA device is used to capture / simulate GNSS messages to broadcast the drone positioning information flow data to the flight control device. This can give full play to the high parallelism and reconfigurability of FPGA and realize the drone's own positioning and navigation efficiently and accurately.
[0033] Among them, in order to ensure the operational stability of the onboard FPGA device, a rechargeable lithium battery is connected to the onboard FPGA device to provide power for the onboard FPGA device. For example, a 12v 3S lithium battery can be used to power the onboard FPGA device alone. The battery weighs about 500g and can theoretically supply power for more than 2 hours. The device will generate additional losses such as cables, resistance, and heat energy during operation, but according to the hardware configuration and the duration of the flight mission (tens of minutes to 2 hours), it can meet the power demand of the onboard FPGA device under full power operation. This not only ensures the stability and reliability of the drone when performing flight missions, but also provides a strong guarantee for its long-term work in complex environments.
[0034] Furthermore, the embodiment of the present invention also provides a method for positioning an image of a UAV based on an airborne FPGA device, and realizes positioning an image of a UAV based on the above-mentioned UAV image positioning device, see Figure 1 As shown, the implementation process includes:
[0035] S101. Receive GNSS satellite data under interference-free conditions using a GNSS satellite receiver for comparison with a satellite image reference image having positioning information to determine a take-off position; and obtain a drone image target image without positioning information using a drone camera.
[0036] Map GNSS satellite data pixels to the Earth's surface coordinate system, determine the geographic location of the GNSS satellite data, and obtain satellite image reference images with positioning information.
[0037] The equipment can be carried on a drone platform, and ground image target images without positioning information can be acquired through aerial photography and remote sensing technology.
[0038] S102, pre-processing the reference image and the target image to obtain corresponding image slices; based on the wavelet hash algorithm and using the reference image, roughly estimating the position of the target image to generate a target image rough position information database.
[0039] First, the image data can be denoised by histogram equalization to filter out redundant noise; then, the geographic information in the longitude and latitude coordinate system is gridded, the denoised image data is encoded according to the longitude and latitude, and the image slices of the reference image and the target image are obtained through slicing, and a similarity database and a feature point database are constructed to store the hash values and feature data of the feature points of the satellite images and drone images respectively.
[0040] Specifically, based on the wavelet hash algorithm and using the reference image to estimate the approximate position of the target image, it can be designed to include:
[0041] The image is scaled normalized, and the multi-scale frequency information in the image is extracted using a two-dimensional discrete wavelet transform. The wavelet transformed image is decomposed into multiple frequency bands, and the spatial information contained in the low-frequency sub-band of the image is used as a feature extraction condition. The threshold is obtained based on the total number of pixels in the low-frequency sub-band of the image and the gray value of each pixel. The value of each pixel in the low-frequency sub-band of the image is compared with the threshold to generate a binary hash value, and the image is adjusted to a hash matrix of a specified size.
[0042] The approximate positions of the images are initially retrieved and sorted based on global features. In the initial retrieval and sorting, the hash matrices of the image features of the reference image and the target image are used to calculate the Hamming distance between the feature codes in the Hamming space of the two hash matrices. The feature similarity between the reference image and the target image is evaluated based on the Hamming distance, and the probability position estimate of the target image is obtained based on the similarity to generate a target image approximate position information database.
[0043] The wavelet hash algorithm uses wavelet transform to extract features from images. The Hamming distance reflects the relative difference between two objects. For image retrieval applications, the Hamming distance indicates the similarity of the content of two images. After calculating the hash code of the image, the quantization error can be further reduced by calculating the Hamming distance of the hash code pair. The smaller the Hamming distance, the more similar the images are. Conversely, the lower the similarity between the two images.
[0044] like Figure 3As shown in the figure, the spatial information contained in the low-frequency subband of the image is used as a condition to participate in the hash operation. By adjusting the binary image to a hash matrix of a specified size instead of flattening the image, the spatial structure and layout of the image are retained. The basic principle is as follows:
[0045] First, the image I is scaled normalized to reduce the amount of calculation and eliminate the influence of the image size. Then, the image is subjected to a two-dimensional discrete wavelet transform to extract the multi-scale frequency information of the image. After the transform, the image is decomposed into multiple frequency bands. In this embodiment, the low-frequency subband LL containing the low-frequency information of the image is selected as the calculation subband to extract the simplified features, and the average value μ of the LL subband is calculated as the threshold. Among them,
[0046]
[0047] N is the total number of pixels in the LL subband, χ i is the gray value of the i-th pixel.
[0048] By comparing the value of each pixel in the LL subband with the mean value μ, a binary hash value is generated.
[0049]
[0050] where h(i) is the i-th bit in the generated hash value.
[0051] Finally, calculate the Hamming distance D between the hash values H(I1) and H(I2) corresponding to the two images I1 and I2 H The image similarity can be evaluated.
[0052]
[0053] Where n is the number of bits of the hash value, h1(i) and h2(i) are the i-th bits in the two hash values respectively. Finally, the retrieval can be completed according to the threshold setting.
[0054] S103, extracting and matching feature points from the approximate location information database, obtaining the correspondence between the reference image and each image slice in the image taken by the drone, and obtaining the positioning coordinates of the target image of the drone image based on the correspondence.
[0055] Specifically, feature point extraction and matching of local features of the target image in the general location information database can be designed to include:
[0056] The SuperPoint feature point extraction network is lightweight, and an image registration network model is built based on the LightGlue network. Based on the local features of the image, the local features of the target image in the approximate position information database are secondary retrieved, sorted and screened through the SuperPoint feature point extraction network and the image registration network model to estimate the approximate position of the UAV image. The SuperPoint feature point extraction network includes a shared feature encoder, a key point decoder and a descriptor decoder. The number of channels of each convolution layer of the shared feature encoder is 3 layers, and the step size of the first two convolution layers is 2, so that the height and width of the feature map of the convolution output are halved; and the 2nd, 3rd, and 4th convolution layers in the shared feature encoder all use depthwise separable convolution.
[0057] In order to avoid matching errors caused by sparse features of drones, fewer features in a single image, and smaller width, in the implementation example of this case, Figure 4 As shown in the figure, the UAV image short flight strip strategy can be introduced in the image input layer. According to the image retrieval results, 5 images with overlapping degrees on the flight strip are automatically extracted from the UAV heading strip in sequence to form an image short flight strip for subsequent registration work. Feature tuples are constructed for the 5 images in the flight strip. Taking the central image as the benchmark, the features of multiple other images are added and then registered with the benchmark satellite image.
[0058] In order to achieve image sorting and screening based on local features, in the embodiment of this case, lightweight optimization can be performed based on the SuperPoint feature extraction network, where Figure 5 As shown in the figure, the SuperPoint feature extraction network mainly consists of three parts, namely, feature encoder, key point decoder and descriptor decoder. The numbers after the encoder represent the image dimension, input, output and step size respectively. When processing the image, it first processes and reduces the dimension of the input image through the shared feature encoder. The shared feature encoder is constructed by a lightweight fully convolutional neural network modified by VGG-style. It consists of three parts: convolution layer, Max-Pooling layer and nonlinear activation layer. The image size is changed to one eighth of the output through three Max-Pooling layers. After this step, the architecture is divided into two independent decoding parts. The feature decoder is responsible for detecting interest points on the reduced-dimensional image. It consists of three parts: point-by-point convolution layer, Softmax activation function and tensor transformation function; the descriptor decoder consists of three parts: convolution layer, interpolation function and L2 normalization. It is responsible for generating the interest point descriptor of the reduced-dimensional image, and then establishes a loss function based on the corresponding feature points and the corresponding feature point descriptors. The final loss function is the sum of the loss of the feature point detector and the loss of the descriptor. The loss function can be shown as follows:
[0059]
[0060] Among them, L p is the loss associated with the feature points, L d is the loss associated with the feature vector, These are the feature points extracted by the convolutional network in three directions. and is the feature point loss function before and after the same image processing, λ is the weight parameter, is the descriptor loss function corresponding to the feature point.
[0061] In the embodiment of this case, the native SuperPoint network is lightweight and improved. The network structure is shown in Table 1. The convolution layer of the shared encoder and the number of channels of the convolution layer are reduced, and the network lightweight processing is achieved by constructing a deep separable convolution. First, the maximum pooling layer is deleted; secondly, the input and output channels are optimized, and the number of channels of each convolution layer of the original network is reduced from 4 layers to 3 layers, and the step size of the first 2 layers is changed from 1 to 2, so that the height and width of the feature map of the convolution output are halved; finally, the first layer of convolution in the shared encoder of the original network is completely retained, and the remaining convolutions are retained, and the 2nd, 3rd, and 4th layers (conv 1b, conv 2b, conv 3b, conv 4b) of the original network shared encoder are replaced with depthwise separable convolutions. This convolution can reduce the amount of calculation while maintaining performance. The loss function used is consistent with the loss function of the original network.
[0062] Table 1 SuperPoint network improved structure
[0063]
[0064] By optimizing the native SuperPoint network, reducing the network structure of the original network, and replacing the shared encoder convolution layer of the original network with a separable convolution, the amount of calculation is reduced while having little impact on the results of feature extraction.
[0065] like Figure 6As shown, in the embodiment of this case, the LightGlue network is used to achieve accurate matching of heterogeneous images. The LightGlue network is optimized based on SuperGlue, and the algorithm is adapted according to the difficulty of image matching, allowing the neural network to adaptively adjust its matching process according to the difficulty of the image pair. When the image pair is relatively simple, the neural network will use fewer computing resources to complete the matching task. On the contrary, when the image pair is challenging or complex, the neural network will increase the input of computing resources to improve matching accuracy. The use of this adaptive matching strategy enables LightGlue to achieve more accurate matching results on image pairs of various difficulty levels. At the same time, a self-attention mechanism can be introduced in the feature matching process, so that the network can better understand the spatial information in the image and improve the accuracy of feature matching. It is more efficient, more accurate, and easier to train in terms of memory and computing.
[0066] Due to the large difference in scale between drone images and satellite images, and the size and data volume restrictions of the image input by the network model, in the embodiment of this case, the drone and satellite image slices after image preprocessing are input into the LightGlue image registration network to fully utilize the image matching advantages brought by the network's self-attention and cross-attention mechanisms, reduce power consumption and meet the computing power limit, so as to facilitate the realization of drone positioning and navigation in stand-alone mode.
[0067] Furthermore, the embodiment of the present invention also provides a drone image positioning system based on an airborne FPGA device, which is implemented based on the above method and includes: a data acquisition module, a rough estimation module and a precise positioning module, wherein:
[0068] The data acquisition module is used to use a GNSS satellite receiver to receive GNSS satellite data under interference-free conditions, and to compare it with a satellite image reference image with positioning information to determine the take-off position; and to use a drone camera device to obtain a drone image target image without positioning information;
[0069] The rough estimation module is used to pre-process the reference image and the target image, obtain the corresponding image slices, global and local features, and build a global and local feature database; based on the image feature similarity and using the reference image, the rough position estimation of the target image is performed to generate a target image rough position information database;
[0070] The precise positioning module is used to extract and match the local features of the target image in the approximate location information database, obtain the correspondence between the reference image and each image slice in the drone image, and obtain the positioning coordinates of the drone image target image based on the correspondence.
[0071] In order to verify the effectiveness of this solution, the following is a further explanation based on experimental data:
[0072] The hardware platform used is the NVIDIA Jetson AGX Orin hardware system, the GPU uses the NVIDIA Ampere architecture, and the CPU is Cortex-A78AE, which supports deep learning and vision acceleration, has a processing performance of 275TOPS and is widely used in robots, autonomous machines, medical devices and other forms of edge embedded computing. The hardware parameters are shown in Table 2.
[0073] Table 2 Hardware experimental environment
[0074]
[0075] The data used are divided into two parts: satellite data and drone data. The satellite image data comes from commercial satellites and contains corresponding geographic information. The satellite images are pre-processed in blocks, and each block is 2048 pixels wide and high. The drone image data is the public Inria aerial image data set. Part of the data from Vienna and Chicago was selected for this experiment. The data was scaled and segmented to simulate drone orthophotography. The acquisition time of heterogeneous images usually has a large time span. Light changes and the increase and decrease of vegetation and buildings will cause visual differences, which poses a great challenge to retrieval efficiency and results. Therefore, the selected image area contains abundant elements such as roads, residential areas, and vegetation, which is convenient for testing the robustness of the method. The data is shown in Table 3 for details.
[0076] Table 3 Experimental image data table
[0077]
[0078] Image retrieval is usually evaluated using precision and recall. However, for the approximate location retrieval scenario of drone images, it is often necessary to quickly determine the satellite image with the greatest similarity to the drone. In addition, there is often only one satellite image paired with the drone image. Therefore, the ToCP@n function is used to represent the ability of the nth image in the retrieval results to be detected.
[0079]
[0080] It means the cumulative accuracy of relevant images in the nth search result. Rel(i) indicates whether the i-th search result is a relevant image. The number 1 indicates relevant and the number 0 indicates irrelevant.
[0081] The experiment consists of two parts: one is the heterogeneous image retrieval based on global features. By using the hash method to perform the first retrieval of satellite images and drone images, satellite images similar to drone images are screened out from a large number of satellite image slices; the second is to use the improved SuperPoint network to perform heterogeneous image retrieval based on local features, and re-sort the retrieval results using the accuracy of feature point matching, so as to use the affine transformation relationship between satellite images and drones to achieve precise positioning of drone images, and finally evaluate the feasibility of real-time airborne through indicators such as ToCP@n and the running time based on Jetson AGX Orin.
[0082] 1. Heterogeneous image retrieval based on global features
[0083] The experiment was conducted using a partial aerial image dataset of two cities, Vienna and Chicago, and the corresponding commercial satellite image data. The first retrieval was achieved by calculating the Hamming distance of the image pair hash value. The experimental results show that when calculating the similarity between drone images and satellite images, the wavelet hash algorithm that takes into account spatial information in this solution can capture the global features and texture information of the image, and is suitable for scenes with high requirements for the similarity of image texture and detail features. The algorithm has good adaptability to the problems of color and scale differences, complex ground objects, etc. faced in the retrieval of drone and aerial images.
[0084] 2. Secondary retrieval of heterogeneous images based on local features
[0085] The improved SuperPoint network is used to perform secondary retrieval on the ToCP@6 images of heterogeneous remote sensing image retrieval results based on global features, and the retrieval results are sorted according to the number of feature points to determine the final retrieval results of UAV images.
[0086] The network is based on the input image width and height size of 512 pixels. According to the retrieval experiment results, this solution can perform efficient secondary retrieval on the primary retrieval results and successfully obtain satellite images paired with drone images.
[0087] In the experiment, the whole process experiment was conducted based on the Jetson AGX Orin hardware device and the experimental time was recorded. In order to improve the efficiency of image retrieval and shorten the retrieval process, the hash code and feature point data of the satellite image were extracted before the two retrievals to build a feature database. During the flight of the drone, only the features of the drone image acquired in real time need to be extracted, and then the retrieval can be completed by comparing the features in the satellite image feature database, avoiding repeated calculations of satellite images, significantly shortening the processing process, and improving the processing efficiency, so that the airborne equipment can complete the processing task more quickly. The images of the two regions were searched once based on global features and twice based on local features, and sorted from high to low by similarity. The experimental results are shown in Table 4.
[0088] The experimental results show that in one search result, the ToCP@1 images retrieved from the two regions are not satellite images paired with drone images. The correct satellite images retrieved are included in ToCP@6, and the similarity ranking of the correct images is 2nd, so ToCP@6 is 50%; in the second search result, the correct satellite images are successfully retrieved after a search, and the similarity ranking is 1st, so ToCP@1 is 100%. According to the total time of the two tasks, this solution can complete the retrieval process within the GNSS message radio frequency, which can reserve sufficient time for subsequent registration relief.
[0089] Table 4 UAV image quick retrieval results
[0090]
[0091] The above experimental data show that this solution can use the high parallelism and reconfigurability of FPGA to process the image data retrieval in drone positioning in real time. The average processing time can be controlled within 0.5 seconds, which can meet the RF frequency requirements of GNSS equipment and can be used for airborne real-time positioning needs.
[0092] Unless otherwise specifically stated, the relative steps, numerical expressions and values of the components and steps set forth in these embodiments do not limit the scope of the present invention.
[0093] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0094] The units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person of ordinary skill in the art may use different methods to implement the described functions for each specific application, but such implementation is not considered to be beyond the scope of the present invention.
[0095] Those skilled in the art will appreciate that all or part of the steps in the above method can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk. Optionally, all or part of the steps in the above embodiment can also be implemented using one or more integrated circuits, and accordingly, each module / unit in the above embodiment can be implemented in the form of hardware or in the form of software function modules. The present invention is not limited to any specific form of combination of hardware and software.
[0096] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A drone image positioning device, characterized in that: It comprises: an airborne FPGA device integrated on a UAV and connected to a UAV flight control device and a GNSS satellite receiver; the airborne FPGA device comprises a signal receiving unit, a signal storage unit, a signal estimation unit, a signal registration unit and a GNSS satellite signal verification unit, wherein the signal receiving unit is used to obtain GNSS positioning information; the signal storage unit is used to collect and store UAV image target images; the signal estimation unit is used to obtain the approximate position of the UAV image target image; the signal registration unit is used to obtain the target image positioning information based on the reference image and through image registration; the GNSS satellite signal verification unit is used to verify and simulate the reliability of the received GNSS satellite signal.
2. The drone image positioning device according to claim 1, characterized in that: Also included: a rechargeable lithium battery connected to the onboard FPGA device for providing power to the onboard FPGA device.
3. A method for positioning drone images based on an airborne FPGA device, characterized in that: Based on the drone image positioning device described in claim 1, drone image positioning is realized, and the realization process includes: Use a GNSS satellite receiver to receive GNSS satellite data without interference, and compare it with the satellite image reference image with positioning information to determine the take-off position; use drone camera equipment to obtain the target image taken by the drone without positioning information; Preprocess the reference image and target image to obtain the corresponding image slices, global and local features, and build a global and local feature database; use the reference image based on the wavelet hash algorithm to estimate the approximate position of the target image and generate a target image approximate position information database; The local features of the target image in the approximate location information database are extracted and matched with feature points, the correspondence between the reference image and each image slice in the image taken by the drone is obtained, and the positioning coordinates of the target image taken by the drone are obtained based on the correspondence.
4. The method for positioning unmanned aerial vehicle images based on an airborne FPGA device according to claim 3, characterized in that: Using a GNSS satellite receiver to receive GNSS satellite data to obtain a satellite image reference image with positioning information also includes: Map GNSS satellite data pixels to the Earth's surface coordinate system, determine the geographic location of the GNSS satellite data, and obtain satellite image reference images with positioning information.
5. The method for positioning unmanned aerial vehicle images based on an airborne FPGA device according to claim 3, characterized in that: Preprocess the reference image and target image, including: Firstly, the image data is denoised by histogram equalization to filter out redundant noise. Then, the geographic information in the longitude and latitude coordinate system is gridded, the denoised image data is encoded according to the longitude and latitude, and the image slices of the reference image and the target image are obtained through slicing. The similarity database and the feature point database are constructed to store the hash values and feature data of the feature points of the satellite images and UAV images respectively.
6. The method for positioning unmanned aerial vehicle images based on an airborne FPGA device according to claim 3, characterized in that: Based on the wavelet hash algorithm and using the reference image, the approximate position estimation of the target image is performed, including: The image is scaled normalized, and the multi-scale frequency information in the image is extracted using a two-dimensional discrete wavelet transform. The wavelet transformed image is decomposed into multiple frequency bands, and the spatial information contained in the low-frequency sub-band of the image is used as a feature extraction condition. The threshold is obtained based on the total number of pixels in the low-frequency sub-band of the image and the gray value of each pixel. The value of each pixel in the low-frequency sub-band of the image is compared with the threshold to generate a binary hash value, and the image is adjusted to a hash matrix of a specified size. The approximate positions of the images are initially retrieved and sorted based on global features. In the initial retrieval and sorting, the hash matrices of the image features of the reference image and the target image are used to calculate the Hamming distance between the feature codes in the Hamming space of the two hash matrices. The feature similarity between the reference image and the target image is evaluated based on the Hamming distance, and the probability position estimate of the target image is obtained based on the similarity to generate a target image approximate position information database.
7. The method for positioning unmanned aerial vehicle images based on an airborne FPGA device according to claim 3, characterized in that: Extract and match the local features of the target image in the approximate location information database, including: The SuperPoint feature point extraction network is lightweight, and an image registration network model is built based on the LightGlue network. Based on the local features of the image, the local features of the target image in the approximate location information database are secondary retrieved, sorted and screened through the SuperPoint feature point extraction network and the image registration network model to obtain the drone image position. The SuperPoint feature point extraction network includes a shared feature encoder, a key point decoder and a descriptor decoder. The number of channels of each convolution layer of the shared feature encoder is 3 layers, and the stride of the first two convolution layers is 2, so that the height and width of the feature map of the convolution output are halved; and the 2nd, 3rd, and 4th convolution layers in the shared feature encoder all use depthwise separable convolution.
8. An unmanned aerial vehicle image positioning system based on an airborne FPGA device, characterized in that: Based on the method described in claim 3, the system comprises: a data acquisition module, a rough estimation module and a precise positioning module, wherein: The data acquisition module is used to use a GNSS satellite receiver to receive GNSS satellite data under interference-free conditions, and to compare it with a satellite image reference image with positioning information to determine the take-off position; and to use a drone camera device to obtain a drone image target image without positioning information; The rough estimation module is used to pre-process the reference image and the target image, obtain the corresponding image slices, global and local features, and build a global and local feature database; based on the wavelet hash algorithm and using the reference image, the rough position estimation of the target image is performed to generate a target image rough position information database; The precise positioning module is used to extract and match the local features of the target image in the approximate location information database, obtain the correspondence between the reference image and each image slice in the drone image, and obtain the positioning coordinates of the drone image target image based on the correspondence.
9. An electronic device, characterized in that: include: at least one processor, and a memory coupled to the at least one processor; The memory stores a computer program, and the computer program can be executed by the at least one processor to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 can be implemented.
