Visible light and SAR image registration fusion method in dynamic flight of unmanned aerial vehicle
By simply calibrating the visible light camera and SAR field of view in the UAV payload system on the ground, and running the registration algorithm on the onboard computer, combining multi-scale descriptors and optimized search strategies, the problem of low registration efficiency of traditional methods in dynamic flight of UAVs is solved, and fast and accurate registration of visible light and SAR images is achieved, which significantly reduces the calibration workload.
Patent Information
- Application Number
- CN202510256458.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2045-03-05
AI Technical Summary
Traditional image registration methods are difficult to quickly adapt to visible focal length changes and SAR radar ground resolution transformation during dynamic flight of drones, and the lack of image registration solutions suitable for focal length lenses, resulting in huge calibration workload.
By simply calibrating the field angle of the visible light camera and SAR on the ground, and running the registration algorithm on the onboard computer, combining multi-scale descriptors and optimized search strategies, fast and accurate registration of visible light and SAR images can be achieved.
It significantly reduces the workload of image registration calibration, improves the efficiency and accuracy of registration, and is suitable for image registration of variable focal length visible cameras and variable ground resolution SAR radars in the integrated load system of drone onboard photoelectric radars.
Smart Images

Figure CN119762557A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image registration of unmanned aerial vehicle payload systems, and in particular to a method for registration and fusion of visible light and SAR images in dynamic flight of unmanned aerial vehicles. Background Art
[0002] Traditional image registration methods usually require a complex ground calibration process, which includes precise measurement of the axis center offset, edge distortion, and pixel mapping relationship of visible light and SAR radar. These calibration processes are often time-consuming and labor-intensive, and are only applicable to fixed-focal-length lenses. However, in the integrated payload system of UAV-mounted optoelectronic radar, the visible light is equipped with a variable-focal-length lens, and the SAR radar usually has an adjustable ground resolution, which makes traditional calibration methods no longer applicable because they need to be calibrated separately for each focal length, resulting in a huge workload.
[0003] In addition, due to the dynamic nature of the UAV platform and the real-time requirements of the mission, traditional image registration methods face challenges in practical applications. When the UAV is performing monitoring tasks, changes in the camera focal length are normal, which requires the image registration algorithm to quickly adapt to changes in the visible light focal length and the SAR radar ground resolution transformation to achieve real-time processing.
[0004] In the prior art, the registration of visible light and SAR images usually requires the execution of cumbersome ground calibration procedures, including calibration of the visible light and SAR line of sight center offsets, imaging mode differences, pixel mapping relationships, etc. The calibration process is complicated and only applicable to the case where the visible light is a fixed focal length lens and the SAR is a fixed parameter configuration. The visible light camera of the optoelectronic radar integrated payload is a variable focal length, and the SAR system is a variable parameter configuration. The workload of calibration such as center offset, imaging mode adaptation, pixel mapping, etc. for each focal length or parameter configuration is huge. The main limitations of the prior art are its complex ground calibration process and the lack of image registration solutions suitable for variable focal length lenses; there is a lack of algorithms that can adapt to the focal length changes of the variable focal length visible camera and the variable ground resolution SAR radar of the optoelectronic radar integrated payload on the drone and achieve fast and accurate registration. Summary of the invention
[0005] In order to solve the above problems, the present invention provides a method for registering and fusing visible light and SAR images in dynamic flight of unmanned aerial vehicles.
[0006] The present invention aims to provide a method for registration and fusion of visible light and SAR images in dynamic flight of unmanned aerial vehicles, which specifically comprises the following steps: S1. Ground calibration: measure and calibrate the relationship between the focal length of the visible light camera and the field of view angle in the Y direction of the visible light on the ground, record the relationship between the field of view angle and the focal length as a file, and store it on the camera control board; S2. Rough matching of ground pixel resolution: The camera control board controls the movement of the visible light camera through the PID algorithm until the field of view angle of a single pixel in the visible light image matches the field of view angle of a single pixel in the SAR image; S3. Image descriptor extraction and registration: extract heterogeneous image descriptors of visible light image and SAR image, match the descriptors, store the projection relationship of each pixel coordinate of visible light image and SAR image as matrix B; call matrix B to complete the registration; S4. Image fusion: According to the registered image, the visible light image format is converted from RGB to YUV, and the corresponding brightness value of the SAR image is superimposed on the Y channel. The local contrast and information entropy of the visible light image and the SAR image are calculated, and the fusion ratio of the visible light image and the SAR image is dynamically adjusted to generate a registered fused image.
[0007] Preferably, the measurement and calibration method in step S1 specifically includes: using a reentrant visible SAR dual-light common-field light pipe to gradually measure the field of view angle of the visible light camera in the Y direction; the reentrant visible SAR dual-light common-field light pipe contains a crosshair, and the step length is 0.1m.
[0008] Preferably, the method for adjusting the field of view angle of a single pixel of the visible light image to match the field of view angle of a single pixel of the SAR image in step S2 is specifically as follows: The onboard computer calculates the focal length of the visible light camera when the resolution of each pixel of the visible light camera is equal to the ground pixel resolution of the SAR image based on the UAV flight altitude and the azimuth and pitch angle of the optoelectronic payload. ; The camera control board uses the PID algorithm to control the visible light camera to adjust to the focal length , until the field of view of a single visible light pixel matches the field of view of a single SAR pixel.
[0009] Preferably, in step S3, the heterogeneous image descriptors of the visible light image and the SAR image include a phase consistency descriptor and a gradient descriptor; a weighted correlation distance method is used for matching; the specific method is as follows: S301. Calculate the phase consistency descriptor of the heterogeneous image, which is used to measure the phase of a specific frequency component in the heterogeneous image; for each pixel, the phase can be calculated by the following formula: ; in, are pixel coordinates, w are different scales, is the phase at scale w, M represents the number of sizes; S302. Calculate the gradient descriptor of the heterogeneous image; The gradient direction descriptor of the heterogeneous image is as follows: ; ; in, and They are the gradients in the x and y directions when the scale is m, I is the brightness of the image; thus, the gradient descriptor of the heterogeneous image is expressed as:
[0010] ; In the formula, Indicates the direction of the gradient, that is, the direction of the brightness change of the image at the point (x, y); S303. Set the statistical scale to m, and take the (x, y) pixel as the center and the gradient histogram of the surrounding 10×10 pixels as follows: ; S304. Based on the image target size, take M / 2 scales upward and M / 2 scales downward, for a total of M scales; ; Phase consistency descriptor at the mth scale , gradient descriptor , gradient histogram It constitutes the descriptor vector at the mth scale : ; S305. Use the weighted correlation distance method to perform matching; the expression is as follows: ; Where WCD represents the weighted correlation distance, which is the weighted sum of the differences between the descriptor vectors of the visible light image and the SAR image from scale 1 to scale M; Represents the total multi-scale descriptor vector of the visible light image; represents the total multi-scale descriptor of the SAR image; m is the scale of the descriptor; M represents the number of sizes; and Represent the multi-scale descriptor vector at the mth scale in the visible light image and SAR image respectively; is the weight of the mth scale, expressed as: ; is the descriptor vector of the mth scale and The variance of When the WCD value is greater than 0.5, it is considered and The match is successful; the projection relationship between the visible light image and each pixel coordinate in the SAR image is stored as a matrix B.
[0011] Preferably, step S4 specifically includes the following sub-steps: S401. Calculate the local contrast of the visible light image and the SAR image; normalize the local contrast of the visible light image and the SAR image to obtain the weight of the local contrast of the visible light image and the SAR image; S402. Calculate the information entropy of the visible light image and the information entropy of the SAR image, normalize the information entropy of the visible light image and the SAR image, and obtain the weights of the information entropy of the visible light image and the SAR image; S403. Convert the RGB format file of the visible light image to YUV, and adjust the brightness value of the Y channel of the visible light image according to matrix B. Y Y channel brightness value of CCD and SAR images Y SAR Overlay and fuse pixel by pixel to generate a registered fused image Y fused, the expression is as follows: ; In the formula, Y fused means to register the fused image. Y CCD represents the Y channel brightness value of the visible light image. Y SAR is the Y channel brightness value of the SAR image; represents the visible light image weight based on local contrast, represents the SAR image weight based on local contrast; represents the weight of the visible light image based on information entropy, Represents the SAR image weight based on information entropy.
[0012] Preferably, step S401 specifically includes the following sub-steps: S4011. Determine a local area centered on the feature, apply a mean filter to the local area to obtain the local average brightness, calculate the standard deviation of the deviation between the pixel value in the local area and the local average brightness, and take the maximum value of the standard deviation as the local contrast; The calculation formulas for the local standard deviation of visible light images and SAR images are as follows: ; ; In the formula, is the visible image at coordinates ( x , y ), is the SAR image at coordinates ( x , y ), is the local area Ω in the visible light image or SAR imagef The average pixel value, |Ω f ∣ represents the local area Ω in the visible light image or SAR image f The total number of pixels; The local contrast expression of visible light image or SAR image is as follows: CCDLocalContrast=max( ); ; S4012. Normalize the local contrast of the visible light image and the SAR image so that the sum of CCDLocalContrast and SARLocalContrast is 1; obtain the weight of the local contrast of the visible light image and the SAR image: ; In the formula, represents the visible light image weight based on local contrast, Represents the SAR image weight based on local contrast.
[0013] Preferably, step S402 specifically includes the following sub-steps: S4021. Use a histogram to represent the number of times the gray value i appears in the visible light image or SAR image; for each pixel in the gray image, the gray value or , do the following: ; In the formula, and Represents visible histogram and SAR histogram; i represents gray value; represents the indicator function; when When it is equal to i, δ is 1, otherwise it is 0; when When it is equal to i, δ is 1, otherwise it is 0; Represents the grayscale value of the pixel with coordinates (x, y) in the visible image. Represents the grayscale value of the pixel with coordinates (x, y) in the SAR image; S4022. Perform normalization to convert the histogram into a probability distribution by dividing the frequency of each gray value by the total number of pixels in the image: ; ; In the formula, and are the probability distribution of each gray value of the visible light image and SAR image, and are the width and height of the visible light image, respectively. and are the width and height of the SAR image respectively; S4023. Using the Shannon information entropy formula, multiply the probability of each gray value by its logarithm with base 2, and accumulate all 256 possible gray values to calculate the information entropy of the visible light image. H Information entropy of CCD and SAR images H SAR; the calculation formula is as follows: ; ; S4024. Normalize the information entropy of the visible light image and the SAR image so that H CCD and H The sum of SAR is 1, and the weights of the information entropy of the visible light image and the SAR image are obtained: ; In the formula, represents the weight of the visible light image based on information entropy, Represents the SAR image weight based on information entropy.
[0014] Preferably, the value range of information entropy is 0 to 8 bits; when all pixels have the same grayscale value, H CCD = 0, H SAR=0; when the probability of each gray value appearing is equal, the information entropy H CCD = 8, H SAR=8.
[0015] Compared with the prior art, the present invention can achieve the following beneficial effects: The present invention only needs to simply calibrate the visible and SAR field of view angles on the ground, and after zooming, run the registration algorithm on the onboard computer, combining multi-scale descriptors and optimized search strategies to improve the efficiency and accuracy of feature matching. It is suitable for the registration of visible SAR images with different resolutions and under the condition that the visible SAR radar is a zoom lens, and is particularly suitable for the registration of images under the conditions of variable focal length visible cameras with variable ground resolution SAR radars under the integrated load of photoelectric radars on unmanned aerial vehicles, etc. It has broad application prospects and practical application value, and significantly reduces the workload of registration and calibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 The present invention is a flowchart of a method for registration and fusion of visible light and SAR images in dynamic flight of a UAV provided in accordance with an embodiment of the present invention.
[0017] Figure 2It is a visible light image taken by a drone according to an embodiment of the present invention.
[0018] Figure 3 This is a SAR image taken by a drone according to an embodiment of the present invention.
[0019] Figure 4 It is a fused registration image generated by fusing the visible light image and the SAR image on the drone provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0020] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the following description, the same modules are represented by the same reference numerals. In the case of the same reference numerals, their names and functions are also the same. Therefore, the detailed description thereof will not be repeated.
[0021] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and do not constitute a limitation of the present invention.
[0022] The present invention aims to solve the limitations of the prior art and provide a new image registration method, which is applicable to the integrated payload system of the photoelectric radar onboard the UAV, can reduce the calibration workload and improve the efficiency and accuracy of image registration. By performing a simple field of view angle calibration on the ground, combined with multi-scale descriptors and optimized search strategies, the registration algorithm can be run in real time on the onboard computer to meet the needs of real-time image processing of the UAV.
[0023] See also Figure 1 The present invention provides a method for registering and fusing visible light and SAR images in dynamic flight of an unmanned aerial vehicle, which specifically comprises the following steps: S1. Ground calibration: Install the visible light camera on the optoelectronic turret on the drone; measure and calibrate the relationship between the focal length of the visible light camera and the field of view angle in the Y direction of the visible light on the ground, record the relationship between the field of view angle and the focal length as a file, and store it on the camera control board; The measurement and calibration method specifically includes: using a reentrant visible SAR dual-light common field light tube (the light tube contains crosshairs, and the step length is 0.1m) to gradually measure the Y-direction field of view angle of the visible light camera; Specifically, the inside of the photoelectric turret is equipped with a measured azimuth and pitch encoder; assuming that the focal length of the visible light camera lens is CCD_F at this time, the pitch angle of the photoelectric turret is locked to 0, align the upper edge of the visible light camera with the crosshairs of the light tube, and read the azimuth angle CCDup of the photoelectric turret at this time; rotate the photoelectric turret to align the lower edge of the visible light camera with the crosshairs of the light tube, and read the azimuth angle CCDdown of the photoelectric turret at this time, then when the focal length of the visible light camera is CCD_F, the field of view angle of the visible light in the Y direction is CCD_Y=CCDup-CCDdown; record the correspondence between the focal length of the visible light lens and the field of view angle into array c.
[0024] S2. Rough matching of ground pixel resolution: The camera control board controls the movement of the visible light camera through the PID algorithm until the field of view angle of a single pixel in the visible light image matches the field of view angle of a single pixel in the SAR image; The specific operation is as follows: The onboard computer calculates the focal length of the visible light camera when each pixel of the visible light camera has the same resolution as the ground pixel of the SAR image based on the flight altitude of the UAV and the azimuth and pitch angle of the optoelectronic payload. ; The camera control board uses the PID algorithm to control the visible light camera to adjust to the focal length , until the field of view of a single visible light pixel matches the field of view of a single SAR pixel.
[0025] Each pixel of the visible light image and the SAR image has the same ground pixel resolution, so the relationship between the focal length of the visible light lens is derived as follows: If the ground pixel resolution of the SAR image selected by the ground station is 0.2m, it means that the ground size represented by each SAR pixel is 0.2m×0.2m. The onboard computer calculates the focal length of the visible light camera when each pixel of the visible light camera represents a ground size of 0.2m×0.2m based on the flight altitude of the UAV and the azimuth and pitch angle of the optoelectronic payload; Consider the pitch angle θ In the case of , the calculation formula for the focal length of the visible light camera is: ; In the formula, f is the focal length of the visible light camera; H is the flight altitude of the drone; θ is the pitch angle of the photoelectric payload, that is, the angle of the camera relative to the horizontal plane; S is the size of the visible light camera pixel; P is the ground size represented by the pixel, which is 0.2 meters here.
[0026] Similarly, calculate the focal length of the visible light camera when SAR is at other resolutions; the camera control board uses the PID algorithm to control the visible light to adjust to the corresponding focal length , and adjust repeatedly until the field of view of a single visible light pixel matches the field of view of a single SAR pixel.
[0027] S3. Image descriptor extraction and registration: extract heterogeneous image descriptors of visible light image and SAR image, match the descriptors, store the projection relationship of each pixel coordinate of visible light image and SAR image as matrix B; call matrix B to complete the registration; The heterogeneous image descriptors of visible light images and SAR images include phase consistency descriptors and gradient descriptors. The method for matching the descriptors is to extract the common feature descriptors of visible light images and SAR images by combining the phase consistency descriptors and the gradient descriptors, and then use the weighted correlation distance (WCD) method for matching. The specific method is as follows: S301. Calculate the phase consistency descriptor of the heterogeneous image, which is used to measure the phase of a specific frequency component in the heterogeneous image; for each pixel, the phase can be calculated by the following formula: ; in, are pixel coordinates, w are different scales, is the phase at scale w, M represents the number of sizes (usually 10); S302. Calculate the gradient descriptor of the heterogeneous image; The gradient direction descriptor of the heterogeneous image is as follows: ; ; in, and They are the gradients in the x and y directions when the scale is m, I is the brightness of the image; thus, the gradient descriptor of the heterogeneous image is expressed as:
[0028] ; In the formula, Indicates the direction of the gradient, which indicates the direction of the brightness change of the image at the point (x, y); S303. Set the statistical scale to m, and take the (x, y) pixel as the center and the gradient histogram of the surrounding 10×10 pixels as follows: ; S304. Based on the image target size, take M / 2 scales upward and M / 2 scales downward, for a total of M scales. Phase consistency descriptor under , gradient descriptor (gradient magnitude) , gradient histogram It constitutes the descriptor vector at the mth scale : ; The visible light image and SAR image are operated according to the above method, and each feature point in the obtained visible light image and SAR image generates a rich multi-scale descriptor vector and ,This descriptor effectively describes the local structural information of visible images and SAR images, and provides a solid foundation for feature matching.
[0029] S305. Use the weighted correlation distance (WCD) method for matching; the expression is as follows: ; Where WCD represents the weighted correlation distance, which is the weighted sum of the differences between the descriptor vectors of the visible light image and the SAR image from scale 1 to scale M; Represents the total multi-scale descriptor vector of the visible light image, which contains information of all scales of visible light; represents the total multi-scale descriptor vector of the SAR image, which contains the information of all scales of the SAR image; m is the scale of the descriptor (the value of m ranges from 1 to M); M represents the number of sizes (usually 10); and Represent the multi-scale descriptor vector at the mth scale in the visible light image and SAR image respectively; is the weight of the mth scale, expressed as: ; is the descriptor vector of the mth scale and The variance of When the WCD value is greater than 0.5, it is considered and The match is successful; the projection relationship between the visible light image and each pixel coordinate in the SAR image is stored as a matrix B.
[0030] Principle: After step S2, the resolution of visible ground pixels is basically consistent with that of SAR ground pixels in theory. However, due to the field of view calibration error in step S1 and the focal length control error in step S2, there is a slight difference between the resolution of visible ground pixels and that of SAR ground pixels. Therefore, registration is required. The calculation of the common feature descriptors of visible light images and SAR images is a key step in the matching of visible light images and SAR images. It provides a unique vector representation for each feature point of the visible light image and the SAR image.
[0031] The weighted correlation distance (WCD) method not only considers the Euclidean distance between feature vectors, but also the correlation between feature dimensions. This method is particularly suitable for situations where there are intrinsic connections between feature dimensions.
[0032] Because visible SAR uses external triggering to ensure that visible SAR is exposed at the same time, after exposure, a new frame of visible light image and SAR image arrive at the onboard computer. Only by calling matrix B can the real-time registration of visible SAR be completed, so that the real-time performance of the registration is effectively guaranteed.
[0033] S4. Image fusion: According to the registered image, convert the visible light image format from RGB to YUV, and superimpose the corresponding brightness value of the SAR image on the Y channel, calculate the local contrast and information entropy of the visible light image and the SAR image, dynamically adjust the fusion ratio of the visible light image and the SAR image, and generate a registered fused image; specifically, it includes the following sub-steps: S401. Calculate the local contrast of the visible light image and the SAR image; normalize the local contrast of the visible light image and the SAR image to obtain the weight of the local contrast of the visible light image and the SAR image; specifically include the following sub-steps: S4011. Determine a local area centered on the feature, apply a mean filter to the local area to obtain the local average brightness, calculate the standard deviation of the deviation between the pixel values in the local area and the local average brightness, and take the maximum value of the standard deviation as the local contrast.
[0034] Local standard deviation It is a local area The measurement of the internal pixel value fluctuation, the local standard deviation calculation formulas for visible light images and SAR images are as follows: ; ; In the formula, is the visible image at coordinates ( x , y ), is the SAR image at coordinates ( x , y ), is the local area Ω in the visible light image or SAR image f The average pixel value, |Ω f ∣ represents the local area Ω in the visible light image or SAR image f The total number of pixels.
[0035] The local standard deviation is calculated by calculating the local region Ω f Inner pixel value and its average value μf The sum of the squared deviations of , and then take the square root. This value reflects the dispersion of pixel intensity in the feature area and is an indicator of the complexity of local texture.
[0036] The local contrast of a visible light image or SAR image is defined as the maximum value of its local standard deviation: CCDLocalContrast=max( ); ; S4012. Normalize the local contrast of the visible light image and the SAR image so that the sum of CCDLocalContrast and SARLocalContrast is 1; obtain the weight of the local contrast of the visible light image and the SAR image: ; In the formula, represents the visible light image weight based on local contrast, Represents the SAR image weight based on local contrast.
[0037] S402. Calculate the information entropy of the visible light image and the information entropy of the SAR image, normalize the information entropy of the visible light image and the SAR image, and obtain the weights of the information entropy of the visible light image and the SAR image; specifically, the following sub-steps are included: S4021. Use a histogram to represent the number of times the gray value i appears in the visible light image or SAR image; for each pixel in the gray image, the gray value or , do the following: ; In the formula, and Represents visible histogram and SAR histogram; i represents gray value; represents the indicator function; when When it is equal to i, δ is 1, otherwise it is 0; when When it is equal to i, δ is 1, otherwise it is 0; Represents the grayscale value of the pixel with coordinates (x, y) in the visible image. Represents the grayscale value of the pixel with coordinates (x, y) in the SAR image.
[0038] S4022. Perform normalization to convert the histogram into a probability distribution by dividing the frequency of each gray value by the total number of pixels in the image: ; ; In the formula, and are the probability distribution of each gray value of the visible light image and SAR image, and are the width and height of the visible light image, respectively. and are the width and height of the SAR image respectively.
[0039] S4023. Using the Shannon information entropy formula, multiply the probability of each gray value by its logarithm with base 2, and accumulate all 256 possible gray values to calculate the information entropy of the visible light image. H Information entropy of CCD and SAR images H SAR; ; ; The range of information entropy is from 0 to a maximum of 8 bits. This range reflects the amount of information in an image from complete disorder (the grayscale value of each pixel is random and has equal probability) to complete order (all pixels have the same grayscale value); when all pixels have the same grayscale value (that is, the image is completely uniform), H CCD = 0, H SAR=0; when the probability of each gray value appearing is equal, the information entropy H CCD = 8, H SAR=8, reaching the maximum value.
[0040] S4024. Normalize the information entropy of the visible light image and the SAR image so that H CCD and H The sum of SAR is 1, and the weights of the information entropy of the visible light image and the SAR image are obtained: ; In the formula, represents the weight of the visible light image based on information entropy, Represents the SAR image weight based on information entropy.
[0041] S403. Convert the RGB format file of the visible light image to YUV, and adjust the brightness value of the Y channel of the visible light image according to matrix B. Y Y channel brightness value of CCD and SAR images Y SAR Overlay and fuse pixel by pixel to generate a registered fused image Y fused, the expression is as follows: ; In the formula, Y fused means to register the fused image.Y CCD represents the Y channel brightness value of the visible light image. Y SAR is the Y channel brightness value of the SAR image; represents the visible light image weight based on local contrast, represents the SAR image weight based on local contrast; represents the weight of the visible light image based on information entropy, Represents the SAR image weight based on information entropy.
[0042] In summary, the present invention simplifies the ground calibration process and only needs to calibrate the field of view and imaging parameters of the visible light camera and SAR. After the focal length or parameter changes, the registration algorithm is run on the airborne computer to extract the heterogeneous image descriptors, match the descriptors of the visible light and SAR images, and store the projection relationship between the visible light and each pixel coordinate of the SAR as a matrix B. When the focal length or parameter configuration remains unchanged, the matrix B only needs to be calculated once and stored in the airborne computer.
[0043] Because visible light and SAR use synchronous triggering to ensure that visible light and SAR acquire data at the same time, after data acquisition, a new frame of visible light image and SAR image arrive at the onboard computer at the same time, and only need to call matrix B to complete the real-time registration of visible light and SAR, so that the real-time registration is effectively guaranteed. After each frame of image is registered by matrix B, the visible light video format is converted from RGB to YUV, and the corresponding brightness value of SAR is superimposed on the Y channel, and the local contrast and information entropy of visible light and SAR are calculated. According to the local contrast and information entropy, the fusion ratio of visible light Y and SAR brightness values is dynamically adjusted to maximize the information content of the fused image.
[0044] The method of the present invention is suitable for image registration under conditions of different resolutions and when the visible light camera and SAR are in variable focal length or variable parameter configurations, and is particularly suitable for the fields of image registration of variable focal length visible light camera and SAR with integrated load of photoelectric radar onboard unmanned aerial vehicles, etc. It has broad application prospects and practical application value, and significantly reduces the workload of registration and calibration.
[0045] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the disclosure of the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.
[0046] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for registering and fusing visible light and SAR images in dynamic flight of unmanned aerial vehicles, characterized in that: The specific steps include: S1. Ground calibration: measure and calibrate the relationship between the focal length of the visible light camera and the field of view angle in the Y direction of the visible light on the ground, record the relationship between the field of view angle and the focal length as a file, and store it on the camera control board; S2. Rough matching of ground pixel resolution: The camera control board controls the movement of the visible light camera through the PID algorithm until the field of view angle of a single pixel in the visible light image matches the field of view angle of a single pixel in the SAR image; S3. Image descriptor extraction and registration: extract heterogeneous image descriptors of visible light image and SAR image, match the descriptors, store the projection relationship of each pixel coordinate of visible light image and SAR image as matrix B; call matrix B to complete the registration; S4. Image fusion: According to the registered image, the visible light image format is converted from RGB to YUV, and the corresponding brightness value of the SAR image is superimposed on the Y channel. The local contrast and information entropy of the visible light image and the SAR image are calculated, and the fusion ratio of the visible light image and the SAR image is dynamically adjusted to generate a registered fused image.
2. The method for registration and fusion of visible light and SAR images in dynamic flight of unmanned aerial vehicle according to claim 1, characterized in that: The measurement and calibration method in step S1 specifically includes: using a reentrant visible SAR dual-light common-field light pipe to gradually measure the Y-direction field of view angle of the visible light camera; the reentrant visible SAR dual-light common-field light pipe contains a crosshair, and the step length is 0.1m.
3. The method for registration and fusion of visible light and SAR images in dynamic flight of unmanned aerial vehicle according to claim 1, characterized in that: The method for adjusting the field of view angle of a single pixel of the visible light image to match the field of view angle of a single pixel of the SAR image in step S2 is specifically as follows: The onboard computer calculates the focal length of the visible light camera when the resolution of each pixel of the visible light camera is equal to the ground pixel resolution of the SAR image based on the UAV flight altitude and the azimuth and pitch angle of the optoelectronic payload. ; The camera control board uses the PID algorithm to control the visible light camera to adjust to the focal length , until the field of view of a single visible light pixel matches the field of view of a single SAR pixel.
4. The method for registration and fusion of visible light and SAR images in dynamic flight of unmanned aerial vehicle according to claim 1, characterized in that: In step S3, the heterogeneous image descriptors of the visible light image and the SAR image include a phase consistency descriptor and a gradient descriptor; the weighted correlation distance method is used for matching; the specific method is as follows: S301. Calculate the phase consistency descriptor of the heterogeneous image, which is used to measure the phase of a specific frequency component in the heterogeneous image; for each pixel, the phase can be calculated by the following formula: ; in, are pixel coordinates, w are different scales, is the phase at scale w, M represents the number of sizes; S302. Calculate the gradient descriptor of the heterogeneous image; The gradient direction descriptor of the heterogeneous image is as follows: ; ; in, and They are the gradients in the x and y directions when the scale is m, I is the brightness of the image; thus, the gradient descriptor of the heterogeneous image is expressed as: ; In the formula, Indicates the direction of the gradient, that is, the direction of the brightness change of the image at the point (x, y); S303. Set the statistical scale to m, and take the (x, y) pixel as the center and the gradient histogram of the surrounding 10×10 pixels as follows: ; S304. Based on the image target size, take M / 2 scales upward and M / 2 scales downward, for a total of M scales; ; Phase consistency descriptor at the mth scale , gradient descriptor , gradient histogram It constitutes the descriptor vector at the mth scale : ; S305. Use the weighted correlation distance method to perform matching; the expression is as follows: ; Where WCD represents the weighted correlation distance, which is the weighted sum of the differences between the descriptor vectors of the visible light image and the SAR image from scale 1 to scale M; Represents the total multi-scale descriptor vector of the visible light image; represents the total multi-scale descriptor of the SAR image; m is the scale of the descriptor; M represents the number of sizes; and Represent the multi-scale descriptor vector at the mth scale in the visible light image and SAR image respectively; is the weight of the mth scale, expressed as: ; is the descriptor vector of the mth scale and The variance of When the WCD value is greater than 0.5, it is considered and The match is successful; the projection relationship between the visible light image and each pixel coordinate in the SAR image is stored as a matrix B.
5. The method for registration and fusion of visible light and SAR images in dynamic flight of unmanned aerial vehicle according to claim 1, characterized in that: The step S4 specifically includes the following sub-steps: S401. Calculate the local contrast of the visible light image and the SAR image; normalize the local contrast of the visible light image and the SAR image to obtain the weight of the local contrast of the visible light image and the SAR image; S402. Calculate the information entropy of the visible light image and the information entropy of the SAR image, normalize the information entropy of the visible light image and the SAR image, and obtain the weights of the information entropy of the visible light image and the SAR image; S403. Convert the RGB format file of the visible light image to YUV, and adjust the brightness value of the Y channel of the visible light image according to matrix B. Y Y channel brightness value of CCD and SAR images Y SAR Overlay and fuse pixel by pixel to generate a registered fused image Y fused, the expression is as follows: ; In the formula, Y fused means to register the fused image. Y CCD represents the Y channel brightness value of the visible light image. Y SAR is the brightness value of the Y channel of the SAR image; represents the visible light image weight based on local contrast, represents the SAR image weight based on local contrast; represents the weight of the visible light image based on information entropy, Represents the SAR image weight based on information entropy.
6. The method for registration and fusion of visible light and SAR images in dynamic flight of unmanned aerial vehicle according to claim 5, characterized in that: The step S401 specifically includes the following sub-steps: S4011. Determine a local area centered on the feature, apply a mean filter to the local area to obtain the local average brightness, calculate the standard deviation of the deviation between the pixel value in the local area and the local average brightness, and take the maximum value of the standard deviation as the local contrast; The calculation formulas for the local standard deviation of visible light images and SAR images are as follows: ; ; In the formula, is the visible image at coordinates ( x , y ), is the SAR image at coordinates ( x , y ), is the local area Ω in the visible light image or SAR image f The average pixel value, |Ω f ∣ represents the local area Ω in the visible light image or SAR image f The total number of pixels; The local contrast expression of visible light image or SAR image is as follows: CCDLocalContrast=max( ); ; S4012. Normalize the local contrast of the visible light image and the SAR image so that the sum of CCDLocalContrast and SARLocalContrast is 1; obtain the weight of the local contrast of the visible light image and the SAR image: ; In the formula, represents the visible light image weight based on local contrast, Represents the SAR image weight based on local contrast.
7. The method for registration and fusion of visible light and SAR images in dynamic flight of unmanned aerial vehicle according to claim 6, characterized in that: The step S402 specifically includes the following sub-steps: S4021. Use a histogram to represent the number of times the gray value i appears in the visible light image or SAR image; for each pixel in the gray image, the gray value or , do the following: ; In the formula, and Represents visible histogram and SAR histogram; i represents gray value; represents the indicator function; when When it is equal to i, δ is 1, otherwise it is 0; when When it is equal to i, δ is 1, otherwise it is 0; Represents the grayscale value of the pixel with coordinates (x, y) in the visible image. Represents the grayscale value of the pixel with coordinates (x, y) in the SAR image; S4022. Perform normalization to convert the histogram into a probability distribution by dividing the frequency of each gray value by the total number of pixels in the image: ; ; In the formula, and are the probability distribution of each gray value of the visible light image and SAR image, and are the width and height of the visible light image, respectively. and are the width and height of the SAR image respectively; S4023. Using the Shannon information entropy formula, multiply the probability of each gray value by its logarithm with base 2, and accumulate all 256 possible gray values to calculate the information entropy of the visible light image. H Information entropy of CCD and SAR images H SAR; the calculation formula is as follows: ; ; S4024. Normalize the information entropy of the visible light image and the SAR image so that H CCD and H The sum of SAR is 1, and the weights of the information entropy of the visible light image and the SAR image are obtained: ; In the formula, represents the weight of the visible light image based on information entropy, Represents the SAR image weight based on information entropy.
8. The method for registration and fusion of visible light and SAR images in dynamic flight of unmanned aerial vehicle according to claim 7, characterized in that: The value range of the information entropy is 0 to 8 bits; when all pixels have the same gray value, H CCD = 0, H SAR=0; when the probability of each gray value appearing is equal, the information entropy H CCD = 8, H SAR=8.
Citation Information
Patent Citations
Remote sensing image registration method based on structure information and space constraint
CN108346162A
Method and system for improving registration speed of visible light image and SAR image
CN110246165A
Visible light-SAR image registration algorithm based on OS-SIFT
CN115423851A
Multi-source image matching method based on feature point extraction and screening
CN117078972A
Adaptive weight detail preserving multi-exposure image fusion algorithm
CN118195920A
Cited By
Visible light and SAR large view angle difference image registration method and system for unmanned aerial vehicle platform
CN120147387A
A Visible Light and SAR Large View Angle Difference Image Registration Method and System for UAV Platforms
CN120147387B
Unmanned cooperative detection method and system based on SAR guided optical load
CN120334914A
Unmanned collaborative detection method and system based on SAR-guided optical payload
CN120334914B