Vehicle detection method based on combined UAV visible light video and SAR image
Through the joint detection method of visible light video and SAR images on the UAV, combined with the expansion corrosion method and visible light camera to re-confirm the identification, the accuracy and reliability problems of traditional methods in vehicle target detection in harsh environments are solved, and higher detection is achieved. accuracy and reliability.
Patent Information
- Application Number
- CN202410892974.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-07-04
AI Technical Summary
Traditional UAV vehicle target detection methods have low accuracy and reliability under low light and severe weather conditions. Synthetic aperture radar has echo interference in complex backgrounds, making it difficult to effectively detect vehicle targets.
A joint detection method of visible light video and SAR images based on UAV is adopted. The photoelectric radar comprehensive load is installed on the UAV to automatically plan the SAR radar route. It combines the expansion corrosion method to extract the closed area, calculates the vehicle pixel coordinates, and performs the detection through the visible light camera. Reconfirm the identification and improve detection accuracy.
It improves the accuracy and reliability of vehicle target detection, can quickly search for vehicle targets in a large area under various environments, and enhances the application capabilities of drones in fields such as traffic monitoring and disaster management.
Smart Images

Figure CN118429914B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of unmanned aerial vehicle (UAV) vehicle target detection, and in particular to a vehicle detection method based on the combination of UAV visible light video and SAR image. Background Art
[0002] Drones have become an important tool in key areas such as traffic monitoring and disaster management. Users' requirements for drone vehicle target detection technology are also increasing to adapt to more complex and changing environments and mission requirements.
[0003] Traditional UAV vehicle target detection methods usually rely on a single type of sensor, such as a visible light camera or a synthetic aperture radar (SAR) system. Visible light cameras can capture the color and shape information of the target. However, in low light and bad weather conditions, such as fog, rain, and snow, the image quality of visible light is seriously affected, resulting in a significant reduction in the accuracy and reliability of vehicle target detection.
[0004] The radar waves of the synthetic aperture radar (SAR) system can penetrate rain and fog, so that the synthetic aperture radar (SAR) system can still detect ground targets in adverse weather conditions. However, the synthetic aperture radar (SAR) will produce a large number of echoes in complex backgrounds, such as trees and grass swaying in the wind, which will interfere with the real vehicle target signal.
[0005] To overcome these limitations, there is an urgent need to develop a new vehicle target detection method that can comprehensively utilize optical and synthetic aperture radar (SAR) data to improve the vehicle target detection performance in various environments. Summary of the invention
[0006] In order to solve the above problems, the present invention provides a vehicle detection method based on the combination of UAV visible light video and SAR image.
[0007] The present invention aims to provide a vehicle detection method based on the combination of UAV visible light video and SAR image, comprising the following steps:
[0008] S1. Install the integrated photoelectric radar load on the drone; determine the imaging area to be scanned by the SAR radar, and automatically plan the route of the SAR radar according to the flight altitude of the drone and the area of the imaging area to be scanned;
[0009] S2. The SAR radar scans according to the planned route to obtain a SAR radar image, and stores the SAR radar image and the information carried by the SAR radar image into a custom data segment of the SAR radar image in a prescribed data format, and stores the data in a data recorder in the integrated load of the photoelectric radar;
[0010] S3. Read the data in the data recorder, automatically screen the bright targets in the SAR radar image in real time, and store the selected vehicle target coordinates in the data recorder of the photoelectric radar integrated load; the automatic screening method specifically includes:
[0011] S301. Retrieve the SAR radar image in the data recorder and extract all closed areas in the image using the dilation and corrosion method;
[0012] S302. According to the custom data segment of the SAR radar image, the pixel number range occupied by the vehicle at the current UAV flight altitude and slant range is calculated to obtain the vehicle pixel coordinates;
[0013] S303. Obtain vehicle target coordinates according to the vehicle pixel coordinates, and store the vehicle target coordinates in the data recorder of the photoelectric radar integrated load;
[0014] S4. Read the target coordinates of the vehicle, use a visible light camera to align the visual axis of the visible light to the target coordinates of the vehicle one by one through the method of geographic coordinate guidance, reconfirm and identify the vehicle, and record the detection results.
[0015] Preferably, the method for automatically planning the SAR radar route in step S1 is as follows:
[0016] Determine the flight altitude of the UAV, the area of the imaging area to be scanned by the SAR radar, and the width of the single imaging area of the SAR radar, set the overlap of adjacent routes to C, and then calculate the number of SAR radar routes B as follows:
[0017] ;
[0018] Where W represents the long side of the imaging area to be scanned, and V represents the actual width of the single imaging area of the SAR radar. The calculation method of V is as follows:
[0019] ;
[0020] Wherein, K represents the width of the single imaging area of the SAR radar, and C represents the overlap of adjacent flight paths; 0.3≤C≤0.7.
[0021] Preferably, the information carried by the SAR radar image in step S2 includes the flight altitude of the UAV photographed by the SAR radar, the azimuth of the photoelectric radar integrated load, the pitch angle of the photoelectric radar integrated load, the longitude and latitude of the upper left corner of the SAR radar image, the longitude and latitude of the center point of the SAR radar image, the SAR radar image width and the SAR radar image height.
[0022] Preferably, the expansion corrosion method in step S301 specifically includes:
[0023] Binarization is performed on the brightness value Y of the SAR radar image, and the binarized image is represented as BW;
[0024]
[0025] The binarization threshold is the average brightness value of the entire image;
[0026] Erosion processing is performed on BW, and the processed image is represented as fushi; dilation processing is performed on the eroded binary image fushi, and the dilated binary image is represented as pengzhang, and the dilated binary image pengzhang is regenerated into an image of type uint8 :
[0027]
[0028] In the image In the figure, the pixel length of the suspected vehicle closed area is , the pixel width of the suspected vehicle closed area is .
[0029] Preferably, the method for calculating the pixel coordinates of the vehicle in step S302 includes:
[0030] Calculate the actual length GSD on the ground corresponding to one pixel in the SAR radar image:
[0031] ;
[0032] In the formula, λ represents the wavelength of the radar wave of the SAR radar, H represents the flight altitude of the UAV, and L represents the equivalent length of the SAR radar antenna;
[0033] Calculate the actual length CARW and actual width CARH of the suspected vehicle closed area based on GSD:
[0034] ;
[0035] ;
[0036] In the formula, GSD represents the actual length on the ground corresponding to one pixel in the SAR radar image. Indicates the pixel length of the suspected vehicle closed area, Indicates the pixel width of the suspected vehicle closed area;
[0037] Read the azimuth of the photoelectric radar integrated payload and the pitch angle of the integrated load of the optoelectronic radar , calculate the angle and angle :
[0038] ;
[0039] ;
[0040] In the formula, It represents the angle between the line in the length direction of the suspected vehicle in the SAR radar image and the line in the length direction of the SAR radar image. It represents the angle between the line in the width direction of the suspected vehicle in the SAR radar image and the line in the width direction of the SAR radar image. represents the azimuth of the integrated load of the optoelectronic radar, Indicates the elevation angle of the photoelectric radar's comprehensive payload;
[0041] Assume that the actual length of the vehicle ranges from m meters to n meters, and the actual width ranges from s meters to t meters, m<n, s<t; if:
[0042]
[0043] ;
[0044] The suspected closed area of the vehicle in the SAR radar image is determined to be a vehicle target, and the pixel coordinates of the vehicle are (a, b), where a represents the position of the vehicle on the horizontal axis of the image, and b represents the position of the vehicle on the vertical axis of the image.
[0045] Preferably, step S303 specifically includes:
[0046] If the latitude and longitude coordinates of the upper left corner of the SAR image are (X, Y, Z), the latitude and longitude coordinates of the vehicle are obtained according to the vehicle pixel coordinates (a, b) as (X+a×GSD, Y+bGSD, Z), which are recorded as the vehicle target coordinates and stored in the data recorder of the photoelectric radar integrated load;
[0047] The coordinates of all detected vehicle targets are recorded in the DATA array, and each time a new vehicle target is screened out, it is recorded in a new row of the DATA array.
[0048] Preferably, the method of re-confirming and identifying the vehicle using a visible light camera in step S4 specifically includes the following sub-steps:
[0049] S401. Automatically plan the visible light camera route according to the single imaging width of the visible light camera;
[0050] S402. Read the data in the DATA array one by one, perform visible light imaging on the imaging area to be scanned, align the video axis center of the visible light camera to the latitude and longitude coordinates of the upper left corner of the nth vehicle target in the nth SAR radar image detected by the geographic guidance method, and use the visible light camera to capture the image to obtain a visible light image;
[0051] S403. Extracting all closed areas in the visible light image using a dilation and corrosion method;
[0052] S404. When the distance between the longitude and latitude coordinates of the center point of the suspected vehicle closed area at the center of the visual axis and the longitude and latitude coordinates of the upper left corner of the nth vehicle target is less than 5m, it is considered that the vehicle detection result of visible light is consistent with the vehicle detection result of SAR radar, confirming that there is a vehicle target at the longitude and latitude height, and recording the detection result.
[0053] Preferably, the method for automatically planning the visible light camera route in step S401 is as follows:
[0054] Determine the flight altitude of the drone, the area of the imaging area to be scanned by the visible light camera, and the width of the single imaging area of the visible light camera, set the overlap of adjacent routes to CCD_C, and the number of visible light camera routes CCD B is calculated as follows:
[0055] ;
[0056] In the formula, CCD_W represents the long side of the imaging area to be scanned, and CCD_V represents the actual width of a single imaging. The calculation method of CCD_V is as follows:
[0057] ;
[0058] Where CCD_K represents the width of the single imaging area of the visible light camera, and CCD_C represents the overlap of adjacent flight paths; 0.3≤CCD_C≤0.7.
[0059] Preferably, the expansion corrosion method in step S403 specifically includes:
[0060] The brightness of the visible light image is represented as CCD_Y, and CCD_Y is binarized. The binarized image is represented as CCD_BW:
[0061] ;
[0062] In the formula, CCD_mean represents the average brightness of the entire image, that is, the threshold of binarization;
[0063] After corroding CCD_BW, the binary image obtained is represented as CCD_fushi; after corroding the binary image CCD_fushi, the binary image after expansion is represented as CCD_pengzhang; the binary image CCD_pengzhang is regenerated into an image of type uint8 ;
[0064] ;
[0065] In the image In the center of the visual axis, the pixel length of the suspected vehicle closed area is CCD_ , the pixel width of the suspected vehicle closed area is CCD_ .
[0066] Preferably, in step S302, m=3, n=10, s=2, and t=4 are set.
[0067] Compared with the prior art, the present invention can achieve the following beneficial effects:
[0068] The present invention comprehensively utilizes the vehicle target detection method of optical and synthetic aperture radar (SAR) data, processes the images of multiple sensors of the unmanned aerial vehicle in real time on the aircraft, has a small amount of calculation, runs on the onboard computer of the unmanned aerial vehicle, can quickly search for vehicle targets in a large area, improves the accuracy and reliability of vehicle target detection, and provides more powerful and flexible technical support for the application of unmanned aerial vehicles in the fields of traffic monitoring, disaster management, etc. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 The present invention provides a flowchart of a vehicle detection method based on the combination of UAV visible light video and SAR image.
[0070] Figure 2 The figure is a schematic diagram of automatic SAR radar route planning according to an embodiment of the present invention.
[0071] Figure 3 It is a SAR radar image provided according to an embodiment of the present invention.
[0072] Figure 4 This is an image obtained by binarizing the brightness value Y of the SAR radar image provided by an embodiment of the present invention.
[0073] Figure 5 This is an image after the SAR radar image is corroded according to an embodiment of the present invention.
[0074] Figure 6 This is an image after the SAR radar image is expanded according to an embodiment of the present invention.
[0075] Figure 7 It is an image of a vehicle target (the vehicle is in the rectangular frame) detected by a SAR radar image provided by an embodiment of the present invention.
[0076] Figure 8 It is a schematic diagram of automatic visible light route planning provided according to an embodiment of the present invention.
[0077] Fig. 9 is a visible light image provided according to an embodiment of the present invention.
[0078] Fig.10 is a schematic diagram of extracting the Y component of the brightness value of a visible light image provided according to an embodiment of the present invention.
[0079] Fig.11 It is an image obtained by binarizing the brightness value Y of the visible light image provided by the embodiment of the present invention.
[0080] Fig.12 It is an image of a vehicle target (the vehicle is in the rectangular frame) that is reconfirmed and identified by a visible light image according to an embodiment of the present invention. DETAILED DESCRIPTION
[0081] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be 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.
[0082] Vehicle detection method based on the combination of UAV visible light video and SAR image ( Figure 1 The process is shown in FIG. 1 ), comprising the following steps:
[0083] S1. Install the photoelectric radar integrated load on the UAV; determine the SAR radar imaging area to be scanned, and automatically plan the SAR radar route according to the UAV flight altitude and the SAR radar imaging area to be scanned ( Figure 2 ); The integrated payload of the optoelectronic radar includes synthetic aperture (SAR) radar, optoelectronic sensors, recording computers, etc.;
[0084] The calculation method is as follows:
[0085] Determine the flight altitude of the UAV, the area of the imaging area to be scanned by the SAR radar is W meters × H meters, and the width of the single imaging area of the SAR radar is K meters. Set the overlap of adjacent routes to C. Then, the calculation method of the number of SAR radar routes B is as follows:
[0086] ;
[0087] Where W represents the long side of the imaging area to be scanned, V represents the actual width of the single imaging area of the SAR radar; the overlap of adjacent flight paths is C (the value range is 0.3~0.7, that is, the overlap of adjacent flight paths is 30%~70%), and the calculation method of V is as follows:
[0088] ;
[0089] Wherein, K represents the width of the single imaging area of the SAR radar, and C represents the overlap of adjacent routes;
[0090] When the SAR radar route is parallel to the long side W, there are B routes in total, and the scanning width of each route is K, which can ensure that the SAR image overlap rate of adjacent routes is C; the value range of C is 0.3~0.7.
[0091] In a specific embodiment, the flight altitude of the UAV is specified to be 3000m.
[0092] S2. The SAR radar scans according to the planned route to obtain a SAR radar image ( Figure 3 ), storing the SAR radar image and the information carried by the SAR radar image into a custom data segment of the SAR radar image through a prescribed data format, and storing the data in a data recorder in the photoelectric radar integrated payload;
[0093] The information carried by the SAR radar image includes the flight altitude of the UAV photographed by the SAR radar, the azimuth angle of the photoelectric radar integrated load, the pitch angle of the photoelectric radar integrated load, the longitude and latitude of the upper left corner of the SAR radar image, the longitude and latitude of the center point of the SAR radar image, the width of the SAR radar image, and the height of the SAR radar image; the format of the custom data segment is as follows Table 1:
[0094] Table 1 Format of custom data segment
[0095]
[0096] S3. Read the data in the data recorder, automatically screen the bright targets (strong echo targets) in the SAR radar image in real time, and store the screened vehicle target coordinates in the data recorder of the photoelectric radar integrated load; the automatic screening method specifically includes:
[0097] S301. Retrieve the SAR radar image in the data recorder and extract all closed areas in the image using the expansion and corrosion method; the expansion and corrosion method specifically includes:
[0098] The brightness value Y of the SAR radar image is binarized, and the binarized image is represented by BW ( Figure 4 );
[0099]
[0100] The binarization threshold is the average brightness value of the entire image;
[0101] BW is corroded and the processed image is represented as fushi ( Figure 5 ); dilate the eroded binary image fushi, and represent the dilated binary image as pengzhang, and regenerate the dilated binary image pengzhang into an image of type uint8 ( Figure 6 ):
[0102]
[0103] In the image In the figure, the pixel length of the suspected vehicle closed area is , the pixel width of the suspected vehicle closed area is .
[0104] S302. According to the custom data segment of the SAR radar image, the pixel number range occupied by the vehicle at the current UAV flight altitude and slant range is calculated to obtain the vehicle pixel coordinates; the specific method includes:
[0105] Calculate the actual length GSD on the ground corresponding to one pixel in the SAR radar image:
[0106] ;
[0107] In the formula, λ represents the wavelength of the radar wave of the SAR radar, H represents the flight altitude of the UAV, and L represents the equivalent length of the SAR radar antenna;
[0108] Calculate the actual length CARW and actual width CARH of the suspected vehicle closed area based on GSD:
[0109] ;
[0110] ;
[0111] In the formula, GSD represents the actual length on the ground corresponding to one pixel in the SAR radar image. Indicates the pixel length of the suspected vehicle closed area, Indicates the pixel width of the suspected vehicle closed area;
[0112] Read the azimuth of the photoelectric radar integrated payload and the pitch angle of the integrated load of the optoelectronic radar , calculate the angle and angle :
[0113] ;
[0114] ;
[0115] In the formula, It represents the angle between the line in the length direction of the suspected vehicle in the SAR radar image and the line in the length direction of the SAR radar image. It represents the angle between the line in the width direction of the suspected vehicle in the SAR radar image and the line in the width direction of the SAR radar image. represents the azimuth of the integrated load of the optoelectronic radar, Indicates the elevation angle of the photoelectric radar's comprehensive payload;
[0116] Assuming that the actual length of the vehicle ranges from 3 meters to 10 meters, and the actual width ranges from 2 meters to 4 meters, if:
[0117]
[0118] ;
[0119] The suspected closed area of the vehicle in the SAR radar image is determined to be a vehicle target, and the pixel coordinates of the vehicle are (a, b), where a represents the position of the vehicle on the horizontal axis of the image, and b represents the position of the vehicle on the vertical axis of the image.
[0120] S303. Obtaining the vehicle target coordinates according to the vehicle pixel coordinates, and storing the vehicle target coordinates in the data recorder of the photoelectric radar integrated load; specifically comprising:
[0121] If the latitude and longitude coordinates of the upper left corner of the SAR image are (X, Y, Z), the latitude and longitude coordinates of the vehicle are obtained according to the vehicle pixel coordinates (a, b) as (X+a×GSD, Y+b×GSD, Z), which are recorded as the vehicle target coordinates and stored in the data recorder of the photoelectric radar integrated load;
[0122] Repeat the above process to detect all SAR radar images in the data recorder in the photoelectric radar integrated payload, record the coordinates of all detected vehicle targets in the DATA array, and each time a new vehicle target is screened out, record it in a new row of the DATA array; Table 2 shows the data format in the DATA array;
[0123] Table 2 Data format in DATA array
[0124] 1 Detect the longitude of the first target in the first SAR radar image of the vehicle The latitude of the first target in the first SAR radar image of the vehicle is detected Detect the height of the first target in the first SAR radar image of the vehicle 2 Detect the longitude of the second target in the first SAR radar image of the vehicle Detect the latitude of the second target in the first SAR radar image of the vehicle Detect the height of the second target in the first SAR radar image of the vehicle 3 Detect the longitude of the third target in the first SAR radar image of the vehicle The latitude of the third target in the first SAR radar image of the vehicle is detected Detect the height of the third target in the first SAR radar image of the vehicle … … … … n Detect the longitude of the nth target in the first SAR radar image of the vehicle Detect the latitude of the nth target in the first SAR radar image of the vehicle Detect the height of the nth target in the first SAR radar image of the vehicle n+1 Detect the longitude of the first target in the second SAR radar image of the vehicle The latitude of the first target in the second SAR radar image of the vehicle is detected Detect the height of the first target in the second SAR radar image of the vehicle n+2 Detect the longitude of the second target in the second SAR radar image of the vehicle Detect the latitude of the second target in the second SAR radar image of the vehicle Detect the height of the second target in the second SAR radar image of the vehicle … … … … n×n Detect the longitude of the nth target in the nth SAR radar image of the vehicle Detect the latitude of the nth target in the nth SAR radar image of the vehicle Detect the height of the nth target in the nth SAR radar image of the vehicle
[0125] S4. Read the target coordinates of the vehicle, use the visible light camera to align the visual axis of the visible light with the target coordinates of the vehicle one by one through the method of geographic coordinate guidance, reconfirm and identify the vehicle, and record the detection results; specifically including the following sub-steps:
[0126] S401. Automatically plan the visible light camera route according to the single imaging width of the visible light camera ( Figure 8 ); the method is as follows:
[0127] Determine the flight altitude of the drone, the area of the imaging area to be scanned by the visible light camera, and the width of the single imaging area of the visible light camera, set the overlap of adjacent routes to CCD_C (the value range is 0.3~0.7), and the number of visible light camera routes CCD B is calculated as follows:
[0128] ;
[0129] In the formula, CCD_W represents the long side of the imaging area to be scanned, and CCD_V represents the actual width of a single imaging. The calculation method of CCD_V is as follows:
[0130] ;
[0131] In the formula, CCD_K represents the width of the single imaging area of the visible light camera, and CCD_C represents the overlap of adjacent flight paths;
[0132] S402. Read the data in the DATA array one by one, perform visible light imaging on the imaging area to be scanned, detect the longitude, latitude and altitude of the upper left corner of the vehicle in the nth SAR radar image, and obtain the latitude and altitude coordinates of the upper left corner of the vehicle (SAR_A, SAR_B, SAR_C);
[0133] Using the geographic guidance method, the center of the video axis of the visible light camera is aligned to the latitude and longitude coordinates of the upper left corner of the nth vehicle target in the nth SAR radar image detected, and the image is captured using the visible light camera to obtain a visible light image ( Fig. 9 );
[0134] S403. Extracting all closed areas in the visible light image using a dilation and corrosion method; specifically comprising:
[0135] The brightness of the visible light image is represented as CCD_Y ( Fig.10 is the image after the Y component is extracted), CCD_Y is binarized, and the binarized image is represented as CCD_BW ( Fig.11 ):
[0136] ;
[0137] In the formula, CCD_mean represents the average brightness of the entire image, that is, the threshold of binarization;
[0138] After corroding CCD_BW, the binary image obtained is represented as CCD_fushi; after corroding the binary image CCD_fushi, the binary image after expansion is represented as CCD_pengzhang; the binary image CCD_pengzhang is regenerated into an image of type uint8 ;
[0139] ;
[0140] In the image In the center of the visual axis, the pixel length of the suspected vehicle closed area is CCD_ , the pixel width of the suspected vehicle closed area is CCD_ ;
[0141] S404. When the distance between the latitude and longitude coordinates (a, b, c) of the center point of the suspected vehicle closed area at the center of the visual axis and the latitude and longitude coordinates (SAR_A, SAR_B, SAR_C) of the upper left corner of the nth vehicle target is less than 5m, it is considered that the vehicle detection result of the visible light is consistent with the vehicle detection result of the SAR radar, and it is confirmed that there is a vehicle target at the latitude and longitude height. The detection result is recorded in the FINAL_DATA array, and each time a vehicle target is screened out, it is stored in a new row of the FINAL_DATA array; the following Table 3 shows the data format of the FINAL_DATA array;
[0142] Table 3 Data format of FINAL_DATA array
[0143] 1 Longitude of the first target Latitude of the first target The height of the first target 2 Longitude of the second target The latitude of the second target The height of the second target 3 Longitude of the third target The latitude of the third target The height of the third target … … … … n Longitude of the nth target The latitude of the nth target The height of the nth target
[0144] It can be seen that the target that has been confirmed as a vehicle in the SAR radar image is confirmed again by the visible light camera. Figure 7 and Fig.12 The images of the vehicle target (the vehicle in the rectangular frame) detected by the SAR radar image and the image of the vehicle target (the vehicle in the rectangular frame) reconfirmed and identified by the visible light image are respectively shown, indicating that the detection method of the present invention is accurate and reliable in detecting vehicles.
[0145] 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.
[0146] 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 vehicle detection method based on the combination of UAV visible light video and SAR image, characterized in that: The steps include: S1. Install the integrated photoelectric radar load on the drone; determine the imaging area to be scanned by the SAR radar, and automatically plan the route of the SAR radar according to the flight altitude of the drone and the area of the imaging area to be scanned; S2. The SAR radar scans according to the planned route to obtain a SAR radar image, and stores the SAR radar image and the information carried by the SAR radar image into a custom data segment of the SAR radar image in a prescribed data format, and stores the data in a data recorder in the integrated load of the photoelectric radar; S3. Read the data in the data recorder, automatically screen the bright targets in the SAR radar image in real time, and store the selected vehicle target coordinates in the data recorder of the photoelectric radar integrated load; The automatic screening method specifically comprises: S301. Retrieve the SAR radar image in the data recorder and extract all closed areas in the image using the dilation and corrosion method; S302. According to the custom data segment of the SAR radar image, the pixel number range occupied by the vehicle at the current UAV flight altitude and slant range is calculated to obtain the vehicle pixel coordinates; S303. Obtain vehicle target coordinates according to the vehicle pixel coordinates, and store the vehicle target coordinates in the data recorder of the photoelectric radar integrated load; S4. Read the target coordinates of the vehicle, use a visible light camera to align the visual axis of the visible light to the target coordinates of the vehicle one by one through the method of geographic coordinate guidance, reconfirm and identify the vehicle, and record the detection results.
2. The vehicle detection method based on the combination of UAV visible light video and SAR image according to claim 1 is characterized in that: The method for automatically planning the SAR radar route in step S1 is as follows: Determine the flight altitude of the UAV, the area of the imaging area to be scanned by the SAR radar, and the width of the single imaging area of the SAR radar, set the overlap of adjacent routes to C, and then calculate the number of SAR radar routes B as follows: ; Where W represents the long side of the imaging area to be scanned, and V represents the actual width of the single imaging area of the SAR radar. The calculation method of V is as follows: ; Wherein, K represents the width of the single imaging area of the SAR radar, and C represents the overlap of adjacent flight paths; 0.3≤C≤0.
7.
3. The vehicle detection method based on the combination of UAV visible light video and SAR image according to claim 2 is characterized in that: The information carried by the SAR radar image in step S2 includes the flight altitude of the UAV photographed by the SAR radar, the azimuth angle of the photoelectric radar integrated load, the pitch angle of the photoelectric radar integrated load, the longitude and latitude of the upper left corner of the SAR radar image, the longitude and latitude of the center point of the SAR radar image, the SAR radar image width and the SAR radar image height.
4. The vehicle detection method based on the combination of UAV visible light video and SAR image according to claim 3 is characterized by: The expansion corrosion method in step S301 specifically includes: Binarization is performed on the brightness value Y of the SAR radar image, and the binarized image is represented as BW; The binarization threshold is the average brightness value of the entire image; Erosion processing is performed on BW, and the processed image is represented as fushi; dilation processing is performed on the eroded binary image fushi, and the dilated binary image is represented as pengzhang, and the dilated binary image pengzhang is regenerated into an image of type uint8 : In the image In the figure, the pixel length of the suspected vehicle closed area is , the pixel width of the suspected vehicle closed area is .
5. The vehicle detection method based on the combination of UAV visible light video and SAR image according to claim 4 is characterized in that: The method for calculating the pixel coordinates of the vehicle in step S302 includes: Calculate the actual length GSD on the ground corresponding to one pixel in the SAR radar image: ; In the formula, λ represents the wavelength of the radar wave of the SAR radar, H represents the flight altitude of the UAV, and L represents the equivalent length of the SAR radar antenna; Calculate the actual length CARW and actual width CARH of the suspected vehicle closed area based on GSD: ; ; In the formula, GSD represents the actual length on the ground corresponding to one pixel in the SAR radar image. Indicates the pixel length of the suspected vehicle closed area, Indicates the pixel width of the suspected vehicle closed area; Read the azimuth of the photoelectric radar integrated payload and the pitch angle of the integrated load of the optoelectronic radar , calculate the angle and angle : ; ; In the formula, It represents the angle between the line in the length direction of the suspected vehicle in the SAR radar image and the line in the length direction of the SAR radar image. It represents the angle between the line in the width direction of the suspected vehicle in the SAR radar image and the line in the width direction of the SAR radar image. represents the azimuth of the integrated load of the optoelectronic radar, Indicates the elevation angle of the photoelectric radar's comprehensive payload; Assume that the actual length of the vehicle ranges from m meters to n meters, and the actual width ranges from s meters to t meters, m<n, s<t; if: ; The suspected closed area of the vehicle in the SAR radar image is determined to be a vehicle target, and the pixel coordinates of the vehicle are (a, b), where a represents the position of the vehicle on the horizontal axis of the image, and b represents the position of the vehicle on the vertical axis of the image.
6. The vehicle detection method based on the combination of UAV visible light video and SAR image according to claim 5 is characterized in that: The step S303 specifically includes: If the latitude and longitude coordinates of the upper left corner of the SAR image are (X, Y, Z), the latitude and longitude coordinates of the vehicle are obtained according to the vehicle pixel coordinates (a, b) as (X+a×GSD, Y+b×GSD, Z), which are recorded as the vehicle target coordinates and stored in the data recorder of the photoelectric radar integrated load; The coordinates of all detected vehicle targets are recorded in the DATA array, and each time a new vehicle target is screened out, it is recorded in a new row of the DATA array.
7. The vehicle detection method based on the combination of UAV visible light video and SAR image according to claim 6 is characterized in that: The method for re-confirming and identifying the vehicle using a visible light camera in step S4 specifically includes the following sub-steps: S401. Automatically plan the visible light camera route according to the single imaging width of the visible light camera; S402. Read the data in the DATA array one by one, perform visible light imaging on the imaging area to be scanned, align the video axis center of the visible light camera to the latitude and longitude coordinates of the upper left corner of the nth vehicle target in the nth SAR radar image detected by the geographic guidance method, and use the visible light camera to capture the image to obtain a visible light image; S403. Extracting all closed areas in the visible light image using a dilation and corrosion method; S404. When the distance between the longitude and latitude coordinates of the center point of the suspected vehicle closed area at the center of the visual axis and the longitude and latitude coordinates of the upper left corner of the nth vehicle target is less than 5m, it is considered that the vehicle detection result of visible light is consistent with the vehicle detection result of SAR radar, confirming that there is a vehicle target at the longitude and latitude height, and recording the detection result.
8. The vehicle detection method based on the combination of UAV visible light video and SAR image according to claim 7 is characterized in that: The method for automatically planning the visible light camera route in step S401 is as follows: Determine the flight altitude of the drone, the area of the imaging area to be scanned by the visible light camera, and the width of the single imaging area of the visible light camera, set the overlap of adjacent routes to CCD_C, and the number of visible light camera routes CCD B is calculated as follows: ; In the formula, CCD_W represents the long side of the imaging area to be scanned, and CCD_V represents the actual width of a single imaging. The calculation method of CCD_V is as follows: ; Where CCD_K represents the width of a single imaging area of a visible light camera, and CCD_C represents the overlap of adjacent flight paths.
9. The vehicle detection method based on the combination of UAV visible light video and SAR image according to claim 8 is characterized in that: The expansion corrosion method in step S403 specifically includes: The brightness of the visible light image is represented as CCD_Y, and CCD_Y is binarized. The binarized image is represented as CCD_BW: ; In the formula, CCD_mean represents the average brightness of the entire image, that is, the threshold of binarization; After corroding CCD_BW, the binary image obtained is represented as CCD_fushi; after corroding the binary image CCD_fushi, the binary image after expansion is represented as CCD_pengzhang; the binary image CCD_pengzhang is regenerated into an image of type uint8 ; ; In the image In the center of the visual axis, the pixel length of the suspected vehicle closed area is CCD_ , the pixel width of the suspected vehicle closed area is CCD_ .
10. The vehicle detection method based on the combination of UAV visible light video and SAR image according to claim 9 is characterized in that: In step S302, m=3, n=10, s=2, and t=4 are set.
