A fast fusion method for special vehicle vision blind spot video

By calculating the camera installation position and using methods such as longitudinal sub-area feature detection, the rapid fusion of special vehicle vision blindness videos is achieved, solving the problems of driver vision occlusion and picture distortion, and ensuring the driver's real-time observation and safety.

CN113962911BActive Publication Date: 2024-08-30NANJING UNIV OF SCI & TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110905204.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-08
Publication Date
2024-08-30
Estimated Expiration
2041-08-08

AI Technical Summary

Technical Problem

In special vehicle driving scenarios, due to the presence of the robotic arm, the driver's front view is blocked. Existing technology makes it difficult to realize real-time splicing of multiple camera images, resulting in image distortion and blind spots, affecting driving safety.

Method used

By calculating the installation position of the camera, ensure that the proportion of the overlapping area of ​​the picture is not less than one-third, and use longitudinal sub-region feature detection and registration to calculate the optimal suture line, use Alpha fusion, and save the transformation matrix parameters and suture line position parameters. Achieve rapid fusion of video images.

Benefits of technology

When the overlapping area ratio is only one-third, a better registration result is achieved, the amount of algorithm calculation is reduced, the real-time performance of the picture is ensured, and picture tearing during high-speed movement is reduced, which satisfies the requirements of special vehicle driving. Real-time requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113962911B
    Figure CN113962911B
Patent Text Reader

Abstract

The present invention discloses a method for fast fusion of blind spot video of special vehicle vision, including: calculating the installation position of the camera on the vehicle body according to the geometric relationship between the mechanical arm and the vehicle body and the viewing angle of the camera, ensuring that the proportion of the overlapping area of ​​the picture to the shooting picture is not less than one-third; performing longitudinal sub-area feature detection and registration on the acquired image; calculating the best stitching line for the overlapping area according to the search criteria, and performing Alpha fusion on both sides; saving the transformation matrix parameters, the width and height parameters of the overlapping area, and the best stitching line position parameters; using the saved parameters to directly process the subsequent input picture to obtain the fused video image. The method can provide the driver with a real-time fusion picture of the front video of the vehicle when the special vehicle moves at high speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of computer image processing, and in particular to a method for quickly fusing blind spot-filling videos of a special vehicle's field of view. Background Art

[0002] In some special vehicle driving scenarios, the driver's front field of view is blocked due to the presence of the robotic arm, and it is impossible to fully observe the front field of view of the vehicle and the surrounding situation. Directly installing multiple cameras around the vehicle body for shooting and splitting the display on the display device does not have continuity in the picture content, which is not conducive to the driver's observation. When obstacles or dangers appear during high-speed vehicle driving, the driver's understanding cost is high by observing the split display picture, which is prone to safety accidents. Since the human eye is better at observing coherent information, it is proposed to splice the picture in the sense of physical scene when the camera is shooting, display the complete picture of multiple cameras, eliminate blind spots in the field of vision, and facilitate the safe driving of special vehicles.

[0003] The essence of video fusion is to process video images frame by frame. Currently, in the research of image fusion, the methods with better effects are too complex and difficult to apply in real time. Therefore, these methods are often used for static image fusion or offline video processing. In the real-time application scenario of image fusion, the position of the camera is fixed relative to the scene. If it is used in a vehicle driving scene with high-speed camera movement, the picture will be distorted and the scene will be torn. And the above scenario does not take into account the situation where there are obstacles blocking the field of view in the scene of some special vehicle driving. Therefore, it is particularly important for special vehicle drivers to observe the surrounding environment and drive safely to propose a fast fusion method for special vehicle field of view blind spot video.

[0004] Patent CN112839160A discloses an on-board night vision assisted driving imaging optical system, which can only display the results of different sensors separately for ordinary vehicles, without multi-image fusion, and does not consider the situation where the camera is blocked. Patent CN112927267A discloses a target tracking method in a multi-camera scene, but the splicing method used in this method is only applicable to video splicing in static scenes, and does not consider the video splicing method when the camera is moving. Summary of the invention

[0005] The purpose of the present invention is to provide a method for fast fusion of special vehicle visual field blind spot compensation videos.

[0006] The technical solution to achieve the purpose of the present invention is: a method for fast fusion of special vehicle field of view blind spot filling videos, comprising:

[0007] According to the geometric relationship between the robot arm and the vehicle body and the camera's viewing angle, the camera's installation position on the vehicle body is determined by calculation to ensure that the overlapping area of ​​the image accounts for no less than one-third of the captured image;

[0008] Perform longitudinal sub-region feature detection and registration on the acquired image;

[0009] Calculate the best stitching line for the overlapping area based on the search criteria, and perform Alpha fusion on both sides;

[0010] Save transformation matrix parameters, overlapping area width and height parameters, and optimal stitching line position parameters;

[0011] The saved parameters are used to directly process the subsequent input images to obtain the fused video image.

[0012] An electronic device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method for quickly merging the special vehicle visual field blind spot compensation videos is implemented.

[0013] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned method for fast fusion of special vehicle field of view blind spot filling videos.

[0014] Compared with the prior art, the significant advantages of the present invention are: the special vehicle field of vision blind spot video rapid fusion method proposed in the present invention can obtain better registration results when the overlapping area ratio reaches only one-third, and uses longitudinal sub-area feature detection, and reduces the error matching pairs and algorithm calculation amount by introducing horizontal and vertical coordinate constraints, and obtains the best seam for fusion by improving the search criteria, and uses calculated parameters and Alpha fusion at the best seam line to ensure the real-time performance of the picture, reduce the picture tearing caused by special vehicles when moving at high speed, facilitate driver observation, and meet the real-time requirements of special vehicle driving. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 The present invention is a flow chart of a method for rapidly fusing blind spot-filling videos for special vehicle vision.

[0016] Figure 2 This is a schematic diagram of the camera installation location.

[0017] Figure 3 This is a schematic diagram of the camera shooting screen.

[0018] Figure 4 A schematic diagram of the overlapping area of ​​the shooting images.

[0019] Figure 5 Schematic diagram of longitudinal sub-region feature detection and registration.

[0020] Figure 6 A schematic diagram of the search process.

[0021] Figure 7 Schematic diagram of Alpha fusion at the optimal seam position. DETAILED DESCRIPTION

[0022] like Figure 1 As shown, a method for fast fusion of special vehicle vision blind spot videos includes the following steps:

[0023] Step 1: Calculate the camera installation position, such as Figure 2 As shown in the figure, take the installation of three cameras on a special vehicle with dual robotic arms as an example. Figure 4 As shown, let the spacing between two adjacent cameras be m, the visual angle of the cameras between the manipulators be θ, θ is determined by the length and spacing of the manipulators of the special vehicle, α is the horizontal viewing angle of the camera, and for the convenience of analysis, θ = α, β is the angle of the blind spot formed by α and θ, and d is the distance of the scene captured for image registration. At the distance d, the width of the field of view captured by the middle camera is

[0024]

[0025] At this time, if there is no mechanical arm blocking, the width of the field of view of the overlapping images captured by the adjacent cameras is bm. The actual left and middle cameras actually capture the overlapping area of ​​the image.

[0026]

[0027] The ratio of the overlapping area to the middle camera's image is

[0028]

[0029] Make sure that the overlapping area accounts for no less than one-third of the image.

[0030] At this time, the adjacent cameras capture the picture as shown in the figure Figure 3 shown.

[0031] The distance d represents the distance of the shooting picture, that is, the requirement for the openness of the shooting site. The closer the distance is, the smaller the overlap of the adjacent camera pictures is, and the more difficult it is to align them correctly. Usually α>0, so increasing the distance m between the two cameras can reduce the blind area, which is equivalent to increasing the proportion of the overlapping area at the same distance d, such as Figure 4 As shown, it is convenient for image registration.

[0032] Step 2: Perform vertical sub-region feature detection and registration on the acquired image, such as Figure 5As shown. Read the first frame, use the mask to limit the overlapping area. The overlapping area of ​​the two pictures is usually a vertical rectangular area. Select the upper and lower parts for registration. At the same time, adjust the threshold of Hessian key point detection to make the feature points more evenly distributed in the sub-area. Assuming that the number of feature points in each sub-area is N, the calculation amount of the brute force matching method for the entire overlapping area is 4N. 2 , the computational complexity of brute force matching using vertical sub-region feature detection is 2N 2 . Add horizontal and vertical coordinate constraints to the sub-region matching pairs of the overlapping regions with width W and height H:

[0033]

[0034]

[0035] Adding constraints will initially filter and purify abnormal matching pairs, reduce the number of subsequent RANSAC algorithm iterations, narrow the matching interval, and speed up feature matching. Finally, according to the improved SURF registration algorithm, the first eight optimal matching pairs are used to obtain the perspective transformation matrix and the registered image. Using the sub-region feature detection and registration method, the overlapping area can be further reduced. When the number of features is only one-third, it is still possible to effectively detect and align feature points while reducing errors, thus lowering the requirements for the scene.

[0036] Step 3: Calculate the best stitching line for the overlapping area. The best stitching line has two characteristics: the difference in pixel color values ​​is the smallest, and the pixel point with the most similar neighborhood in terms of geometric position is selected. The Sobel operator is used to calculate the gradient image in the x and y directions of the image. On this basis, the search criteria are used

[0037] E(x,y)=|E color (x,y)|+E geometry (x,y)

[0038] Where E color (x, y) represents the color difference of pixels in the overlapping area of ​​the images, E geometry (x, y) represents the difference in pixel structure in the overlapping area of ​​the image, E geometry (x,y) is defined as

[0039] E geometry (x,y)=Diff(I image1 (x,y),I image2 (x,y)

[0040] The Diff operator represents the product of the gradient differences between two images in the x and y directions.

[0041] The specific steps are:

[0042] 1) Calculate the criterion value column by column in the first row of the overlapping area as the starting point to obtain W starting points;

[0043] 2) In the overlapping area, take three points in the next row that are adjacent to the pixels in the previous row, calculate the minimum intensity value, and use it as the starting point for the next search;

[0044] 3) Continue updating row by row until the Hth row, and obtain several suture lines;

[0045] 4) The suture with the smallest total strength is taken as the best suture;

[0046] The entire search process diagram is as follows Figure 6 shown.

[0047] After the best seam line search is completed, the best seam line is used as the center to search for the best seam line on both sides of the overlapped area. The width of Alpha fusion is performed, and the schematic diagram of Alpha fusion is as follows Figure 7 As shown in Figure 2. Where w1 and w2 are the weights of the two images respectively.

[0048] Step 4: Save the parameters, including transformation matrix parameters, overlapping area width and height parameters, and seam line position parameters.

[0049] The saved transformation matrix parameters and overlapping area width and height parameters are obtained by the feature point registration obtained by the improved SURF algorithm above, and the optimal seam line position parameters are obtained by traversing the overlapping area according to the search criteria.

[0050] Step 5: Subsequent images are directly processed using the previously calculated parameters to obtain real-time video image fusion results.

[0051] The CPU model of the laptop computer used in this embodiment is Intel(R) Core(TM) i7-9750H@2.60Hz. During the test, the frame rate is specified to reach 25FPS when running with a single thread, and the frame rate is specified to reach 40FPS when running with four threads. When the number of threads is not limited, the frame rate reaches 50FPS, thus meeting the real-time requirements.

[0052] In this embodiment, images from three cameras are fused, but in theory the fusion is not limited to that of images from three cameras.

[0053] The present invention also provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for rapid fusion of special vehicle field of view blind spot compensation videos when executing the program.

[0054] Furthermore, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned method for rapid fusion of special vehicle field of view blind spot filling videos.

[0055] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for fast fusion of special vehicle vision blind spot video, characterized in that: include: According to the geometric relationship between the robot arm and the vehicle body and the viewing angle of the camera, the installation position of the camera on the vehicle body is determined by calculation to ensure that the overlapping area of ​​the picture accounts for no less than one-third of the shooting picture; The camera installation position is determined by calculation based on the geometric relationship between the mechanical arm and the vehicle body and the camera's viewing angle. Assume that the spacing between two adjacent cameras is m, the camera's viewing angle between the mechanical arms is θ, θ is determined by the length and spacing of the special vehicle's mechanical arms, α is the camera's horizontal viewing angle, θ = α, β is the angle of the blind spot formed by α and θ, d is the distance of the scene captured for image registration, then at distance d, the width of the field of view captured by the middle camera is At this time, if there is no mechanical arm blocking, the width of the field of view of the overlapping images captured by the adjacent cameras is bm. The actual left and middle cameras actually capture the overlapping area of ​​the image. The ratio of the overlapping area to the middle camera's image is The distance d represents the distance of the shooting picture; Perform longitudinal sub-region feature detection and registration on the acquired image; Calculate the best stitching line for the overlapping area based on the search criteria, and perform Alpha fusion on both sides; The optimal stitching line is calculated for the overlapping area according to a search criterion, and the function E(x, y) used in the search criterion is defined as E(x, y) = |E color (x,y)|+E geometry (x,y) Where E color (x, y) represents the color difference of pixels in the overlapping area of ​​the images, E geometry (x, y) represents the difference in pixel structure in the overlapping area of ​​the image, E geometry (x,y) is defined as E geometry (x,y)=Diff(I image1 (x,y),I image2 (x,y) The Diff operator represents the product of the gradient differences of two images in the x and y directions; The specific steps are: 1) Calculate the criterion value column by column in the first row of the overlapping area as the starting point to obtain W starting points; 2) In the overlapping area, take three points in the next row that are adjacent to the pixels in the previous row, calculate the minimum intensity value, and use it as the starting point for the next search; 3) Continue updating row by row until the Hth row, and obtain several suture lines; 4) The suture with the smallest total strength is taken as the best suture; Save transformation matrix parameters, overlapping area width and height parameters, and optimal suture line position parameters; The saved parameters are used to directly process the subsequent input images to obtain the fused video image.

2. The method for fast fusion of special vehicle vision blind spot video according to claim 1 is characterized in that: The vertical sub-region feature detection and registration of the acquired image is performed by selecting a specific area through a mask, selecting the upper and lower parts for registration respectively, adjusting the threshold of the Hessian key point detection to make the feature points evenly distributed in the sub-region, and adding horizontal and vertical coordinate constraints to the sub-region matching of the overlapping area with a width of W and a height of H. Suppose the two images to be registered are I image1 (x,y) and I image2 (x, y), x1 and x2 as well as y1 and y2 are the horizontal and vertical coordinates of the two images respectively; 3. The method for fast fusion of special vehicle vision blind spot video according to claim 1 is characterized in that: The Alpha fusion is to complete the search for the best seam line within the overlapping area, taking the best seam line as the center and merging the two sides of the seam line. The width of the alpha blending is performed.

4. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for rapid fusion of special vehicle field of view blind spot filling videos as described in any one of claims 1-3 is implemented.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for rapid fusion of special vehicle field of view blind spot filling videos as described in any one of claims 1-3 is implemented.

Citation Information

Patent Citations

  • Vehicle-mounted night vision auxiliary driving imaging optical system

    CN112839160A

  • Target tracking method in multi-camera scene

    CN112927267A

  • A blind compensation method used for the panoramic video

    CN109697696A

  • Image splicing method and device

    CN110428367A