Vehicle side-overhead clearance measurement and warning method and system based on monocular surround view imaging
By using monocular surround-view imaging technology, the clearance information of the overpass structure above the vehicle is extracted by using ring-band interception and unfolding mapping. This solves the problem that the clearance above the vehicle cannot be measured in real time in the existing technology, and realizes efficient and accurate clearance measurement and early warning, reducing the false alarm rate and expanding the perception range.
Patent Information
- Application Number
- CN202611521799.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-29
- Publication Date
- 2026-12-01
AI Technical Summary
Existing technologies cannot measure the clearance above a vehicle in real time without prior map information, lack a structure extraction mechanism for the characteristics of barrel surround view imaging, and lack a dynamic clearance estimation mechanism based on monocular vision, resulting in an inability to effectively warn of the collision risk between the vehicle and the overpass structure above it.
The monocular panoramic imaging method is adopted to convert the barrel imaging image into a rectangular strip image through ring-band interception and expansion mapping. The candidate region of the bottom edge of the cross-road structure is extracted, and the clearance estimate and forward distance are calculated by normalized position and angle mapping. The false alarm rate is reduced by multi-level verification, and real-time early warning is achieved by combining the joint judgment of multiple cameras.
It enables real-time and accurate measurement of the clearance above vehicles without the need for a pre-stored geographic information database and with low hardware costs, reducing the false alarm rate, expanding the sensing coverage, and minimizing the interference of false alarms on operation and management through manual verification.
Smart Images

Figure CN123201218A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle intelligent safety assistance technology, specifically to a method and system for measuring and warning the clearance above and to the side of a vehicle based on monocular surround-view imaging. Background Technology
[0002] In the logistics and urban public transportation sectors, accidents involving tall vehicles scraping their roofs against overpasses such as bridges, height restriction barriers, road shelters, and gantries are relatively common. These accidents often occur in the area above and to the right front of the vehicle, which is outside the driver's direct field of vision. Traditional forward-looking sensor systems typically focus on the front of the vehicle, resulting in insufficient coverage of the area above and to the right front of the vehicle, leaving little effective risk prediction when the vehicle approaches these structures.
[0003] Several solutions for detecting vehicle headroom or obstacles in front have been proposed in the prior art. For example, patent document CN104599529A discloses a system for determining the headroom of an approaching headroom structure. Its controller is configured to access a geographic information database containing multiple predetermined relevant points defined by headroom height. The controller detects low-headroom structures using a first sensor and determines their location using a second sensor, then updates the geographic information database with the detected locations to generate new relevant points. This solution relies on a pre-entered geographic information database and requires two sensors to work together, resulting in a complex system architecture and high hardware costs. Furthermore, this solution cannot cover road structures not recorded in the database, and the system cannot make correct judgments when the database information differs from actual road conditions (such as temporary changes in headroom height due to road construction).
[0004] For example, patent document CN112224132A discloses a vehicle-mounted panoramic obstacle warning method. This method uses multiple vehicle-mounted cameras to acquire environmental images, generates a 360-degree panoramic image through image stitching technology, and uses a deep learning model to detect and warn of common obstacles such as pedestrians, vehicles, and roadblocks in the panoramic image. This solution mainly targets the detection of obstacles near the ground around the vehicle, and does not address the clearance measurement of cross-road structures (such as the bottom edge of bridges, height restriction beams, etc.) above the vehicle, nor does it provide any technical inspiration on how to extract the bottom edge of the cross-road structure from the barrel imaging image and estimate the clearance height.
[0005] However, the existing solutions mentioned above still have the following technical shortcomings in practical applications: First, they cannot achieve real-time measurement of side-above clearance without prior map information. The solution based on a geographic information database, represented by CN104599529A, relies on pre-collected and stored clearance height data. The system's perception capability is limited by the database's coverage and the data's timeliness. The system cannot effectively respond to road structures not recorded in the database, or when the actual clearance height differs from the database record. The update mechanism of this solution is post-event recording; the vehicle must first reach a low clearance position and detect the structure before recording can begin, rather than pre-prediction. Furthermore, this solution requires two sensors (a first sensor for detection and a second sensor for positioning), resulting in high hardware costs and a complex system architecture, which is not conducive to large-scale deployment in commercial vehicles. Second, it lacks a mechanism for extracting side-above structures and estimating clearance specific to the characteristics of barrel surround-view imaging. The panoramic obstacle warning scheme represented by CN112224132A, while utilizing panoramic image resources, only processes obstacles near the ground around the vehicle. It lacks a dedicated method for ring-strip extraction and mapping tailored to the imaging characteristics of the upper-side region in barrel imaging. In barrel imaging, structures crossing from the side appear as arc-shaped features within a ring-shaped area. Using conventional rectangular image processing methods directly makes it difficult to accurately extract the geometric relationships and spatial positions of the structure's bottom. Existing technologies lack a complete technical solution for expanding the ring-shaped region in barrel panoramic images into strip images that facilitate bottom edge detection, and then converting the positional information in the strip images into actual pitch angles and clearance heights. Thirdly, it lacks a dynamic clearance estimation mechanism based on monocular vision. Existing monocular vision ranging schemes typically require pre-calibrating the camera attitude or rely on road surface assumptions. During vehicle movement, the camera attitude may change with vehicle pitch and tilt, making fixed calibration parameters unsuitable for dynamic conditions. In addition, existing solutions mostly estimate distances to obstacles directly in front of the vehicle. For structures crossing above or to the side of the vehicle, their position and imaging characteristics in the image differ from those of obstacles directly in front, making it difficult to directly apply existing ranging methods.
[0006] Furthermore, existing monocular vision ranging schemes typically require pre-calibration of the camera attitude or rely on real-time attitude angle correction. This invention differs from the aforementioned existing technical approaches by constraining the attitude perturbation amplitude within the observation window and directly utilizing continuous frame angle changes and vehicle displacement for triangulation within a negligible perturbation window. This eliminates the need for real-time attitude correction at the underlying level.
[0007] To address the aforementioned shortcomings, this invention proposes systematic solutions from several dimensions, including ring-shaped surround view image extraction and expansion mapping, multi-level verification of bottom edge candidate regions and cross-road structure identification, angle mapping based on normalized position and dynamic clearance estimation, and multi-state risk judgment and early warning output. Therefore, there is a need for a clearance measurement and early warning method and system that can utilize existing vehicle-mounted monocular surround view cameras to achieve real-time measurement and early warning of clearance above side-mounted cross-road structures, does not rely on pre-stored geographic information databases, has minimal hardware increments, and is suitable for engineering deployment. Summary of the Invention
[0008] This invention provides a method and system for measuring and warning the vehicle's side overhead clearance based on monocular surround-view imaging, in order to solve the technical problems of existing solutions that cannot measure the side overhead clearance in real time without prior map information, lack a structure extraction mechanism for the characteristics of barrel surround-view imaging, and lack a dynamic clearance estimation mechanism based on monocular vision.
[0009] This invention provides a method for measuring and warning the clearance above a vehicle from the side based on monocular surround-view imaging, executed by an onboard processing host, including: S1: Acquire a barrel-shaped imaging image of the area above the side of the vehicle captured by a monocular surround-view camera set on the side or front of the vehicle. Based on the preset center position, inner ring radius and outer ring radius, the barrel-shaped imaging image is cropped into a ring, and the cropped ring area is expanded and mapped to obtain an analysis image of the upper side ring. S2: Extract candidate regions for the bottom edge of the cross-road structure from the side-above ring analysis image, wherein the cross-road structure includes at least one of the following: the bottom edge of the bridge, the height restriction pole, the bottom edge of the station canopy, and the crossbeam of the gantry frame; S3: Calculate the normalized position of the candidate bottom edge region in the side-above ring analysis image, and use a preset angle calibration relationship to map the normalized position to the observation angle of the bottom edge of the crossroad structure relative to the monocular panoramic camera; S4: Based on the change in observation angle of the bottom edge of the crossroad structure and vehicle speed information in multiple consecutive frames of images acquired by the monocular surround-view camera, calculate the estimated clearance and forward distance of the crossroad structure relative to the vehicle. S5: Compare the estimated clearance value with a preset vehicle height threshold, and compare the forward distance with a preset distance threshold. Generate a judgment result based on the comparison result, and output a warning message via the warning output terminal when a risk is determined to exist.
[0010] Further, the barrel-shaped imaging image is subjected to annular cropping, and the cropped annular region is expanded and mapped to obtain a side-above annular analysis image. This includes: pre-setting a fixed center, inner ring radius R1, and outer ring radius R2 in the barrel-shaped imaging image; cropping the annular region located between R1 and R2; and expanding the annular region into a rectangular strip image along the circumferential direction. The width direction of the rectangular strip image corresponds to the angular dimension, and the height direction corresponds to the radial dimension. The inner ring radius R1 and outer ring radius R2 are pre-set according to the calibration parameters of the monocular surround-view camera and the installation position of the monocular surround-view camera on the vehicle.
[0011] Furthermore, the extraction of candidate regions for the bottom edge of the cross-road structure includes: Perform grayscale processing and edge detection on the side-upper ring analysis image to obtain an edge response map; In the edge response map, continuous horizontal edge segments are detected, and the regions where the horizontal continuous edge segments with a length exceeding a preset length threshold are located are marked as candidate bottom edge regions. Dark area verification is performed on the candidate bottom edge region. The average gray value of pixels within a preset range below the candidate bottom edge region is compared with the average gray value of pixels within a preset range above it. When the average gray value below is greater than the average gray value above, the candidate bottom edge region is confirmed as the bottom edge candidate region. A continuity analysis is performed on the candidate bottom edge region to confirm whether it belongs to a road-crossing structure: the lateral span ratio, left and right support distribution ratio, lower edge alignment ratio, structural coverage ratio, and structural attachment ratio of the candidate bottom edge region are calculated. The value of the lower edge alignment ratio is calculated according to the following formula: ,in This is the value for the bottom edge alignment ratio. It is the difference between the maximum and minimum position values of each pixel in the radial direction in the candidate region of the bottom edge. The length of the region in the width direction of the rectangular strip image is defined as follows: when the horizontal span ratio is greater than the first preset threshold, the left and right support distribution ratios are both greater than the second preset threshold, the lower edge alignment ratio is greater than the third preset threshold, the structure coverage ratio is greater than the fourth preset threshold, and the structure attachment ratio is greater than the fifth preset threshold, the bottom edge candidate region is confirmed to be a cross-road structure; otherwise, the bottom edge candidate region is marked as a single-sided attachment structure and excluded.
[0012] Further, in S3, the normalized position is the normalized coordinate value p of the bottom edge candidate region in the height direction of the rectangular strip image, p∈[0,1]; the height direction corresponds to the radial dimension of the ring region, and the radial dimension corresponds to the pitch angle of the monocular panoramic camera; The preset angle calibration relationship is as follows: ,in and These are the minimum and maximum pitch angles of the monocular panoramic camera in the radial direction of the annular region, respectively. The calculation of the clearance estimate and forward distance based on the change in observation angle and vehicle speed information in consecutive frames includes: calculating the change in observation angle of the bottom edge of the crossroad structure in multiple consecutive frames of images acquired by the monocular surround-view camera. and vehicle displacement Let the observation angles of two adjacent frames be respectively and ,but ,according to Calculate the vertical height of the bottom edge relative to the optical center of the monocular surround-view camera. The sum of the vertical height and the installation height of the monocular surround-view camera is used as the clearance estimate H. The pitch angle of the current frame and the angle between the horizontal line connecting the monocular surround-view camera and the bottom edge of the crossroad structure and the vehicle's direction of travel. ,according to Calculate the horizontal slant distance from the optical center of the monocular panoramic camera to the bottom edge of the crossroad structure. ,according to Calculate the forward distance When the included angle When the angle is less than the preset angle threshold, the horizontal slope distance is... Directly used as the forward distance .
[0013] Further, the estimated clearance value is compared with a preset vehicle height threshold, and the forward distance is compared with a preset distance threshold. A judgment result is generated based on the comparison results, including: When the estimated clearance value is less than the vehicle height threshold, a dangerous clearance determination result is generated; When the estimated clearance value is greater than or equal to the vehicle height threshold and the forward distance is less than the preset distance threshold, a clearance warning result is generated. When the estimated inter-frame clearance fluctuates beyond a preset range but the existence of a candidate region at the bottom edge of the cross-path structure has been confirmed, a judgment result to be reviewed is generated. Otherwise, a valid decision result is generated.
[0014] Furthermore, the vehicle speed information is obtained through at least one of the following methods: character recognition of speed superimposed information in the video image captured by the monocular surround-view camera; reading speed signals from the vehicle controller local area network bus; obtaining speed data from a satellite positioning terminal; obtaining speed data from an onboard inertial measurement unit; The warning information includes at least one of the following: an event screenshot, a cutout image of the bottom edge of the crossroad structure in the side-above ring analysis image, the estimated clearance value, the forward distance, and the risk level; the warning output terminal outputs the warning information through at least one of the following methods: sound prompt, light prompt, screen display, and remote platform push.
[0015] Furthermore, it also includes performing the following steps through a manual review interface: The risk event information generated by the vehicle-mounted processing host is sent to a web page or a remote platform terminal. The risk event information includes event screenshots, cutout images, estimated clearance values, forward distances, risk levels, and event occurrence times. The system receives the manual review results returned by the web page or remote platform terminal and stores them in the memory of the vehicle-mounted processing host to generate review records for traceability. The manual review results include actual risks, false alarms, or pending status.
[0016] Further, the monocular surround-view camera can be one or more; when multiple monocular surround-view cameras are used, the multiple monocular surround-view cameras are respectively set in at least two directions of the vehicle's right front side, right side, left front side, and left side, and respectively acquire barrel imaging images in the corresponding directions; for the barrel imaging images in each direction, ring band interception and expansion mapping, bottom edge candidate region extraction, observation angle mapping, clearance estimation value and forward distance calculation, and risk judgment are performed to obtain independent clearance estimation values and independent risk judgment results for each direction; the independent risk judgment results for each direction are jointly judged: when the independent risk judgment result for any direction is dangerous clearance, a comprehensive dangerous clearance warning is output; when there is no dangerous clearance, but the independent risk judgment result for any direction is a clearance warning, a comprehensive clearance warning is output; when the independent risk judgment results for all directions are passable, a comprehensive passable result is output; when there is no dangerous clearance and no clearance warning, but there is a judgment result to be reviewed, a comprehensive result to be reviewed is output.
[0017] Furthermore, the inner ring radius R1 and the outer ring radius R2 are preset fixed values; the inner ring radius R1 is greater than the maximum projection radius of the vehicle's own structure in the radial direction in the image acquired by the monocular surround-view camera; the outer ring radius R2 is less than the minimum projection radius of the distant area in the radial direction in the image acquired by the monocular surround-view camera; the inner ring radius R1 is less than the outer ring radius R2, and the inner ring radius R1 and the outer ring radius R2 remain unchanged during the vehicle's movement.
[0018] A vehicle side-above clearance measurement and early warning system based on monocular surround-view imaging includes a monocular surround-view camera, an on-board processing host, a vehicle speed input interface, an early warning output terminal, and a manual verification interface; The monocular surround-view camera is located on the side or front of the vehicle and is used to acquire barrel-shaped imaging images of the area above the side of the vehicle. The vehicle speed input interface is used to provide vehicle speed information to the on-board processing host; The monocular surround-view camera, the vehicle speed input interface, and the early warning output terminal are respectively connected to the vehicle-mounted processing host. The manual review interface is connected to the early warning output terminal and is used to send the risk event information generated by the vehicle-mounted processing host and output by the early warning output terminal to the web page or remote platform terminal, and to receive the manual review result returned by the web page or remote platform terminal and transmit it to the vehicle-mounted processing host. The vehicle-mounted processing host includes a processor and a memory. The memory stores program instructions that can be executed by the processor. When the program instructions are executed, the vehicle-mounted processing host implements a method for measuring and warning the clearance above and to the side of a vehicle based on monocular surround-view imaging.
[0019] Compared with the prior art, the present invention has the following beneficial effects: First, by using ring-band truncation and unfolding mapping, the annular region in the barrel imaging image is converted into a rectangular strip image, which transforms the originally arc-shaped bottom edge of the structure into an approximately horizontal straight edge, reducing the difficulty of subsequent edge detection. At the same time, by adopting a truncation method with a fixed center and fixed radius, the detection drift introduced by detecting the center and the ring-band boundary frame by frame is avoided, which improves the stability of ring-band truncation and the consistency of clearance estimation.
[0020] Second, through a four-level verification process of edge detection, horizontal line segment screening, dark area verification, and continuity analysis, false candidate areas that do not conform to the bottom edge characteristics of the cross-road structure are gradually filtered out, effectively distinguishing single-sided attached structures (such as roadside billboards, trees, lampposts, etc.) from the cross-road structure and reducing the false alarm rate.
[0021] Third, by using angle mapping based on normalized position and clearance estimation method based on change of observation angle, real-time clearance estimation is achieved without the need for pre-stored geographic information database, lidar or binocular vision, provided that the attitude disturbance of adjacent frames is within the preset allowable range.
[0022] Fourth, by classifying the clearance status into four categories—dangerous clearance, clearance warning, pending review, and passable—a refined assessment of clearance risks across structures has been achieved.
[0023] Fifth, the manual review interface sends risk event information to the remote platform and receives the manual review results, forming a closed loop between system early warning and manual confirmation, reducing the interference of false alarms on operation and management; the accumulation of review records provides a data foundation for the continuous optimization of system parameters; and the simultaneous monitoring and joint judgment of vehicles in multiple directions by multiple monocular surround-view cameras expands the perception coverage of the system.
[0024] Sixth, by constraining pitch and roll attitude changes between adjacent frames to not exceed preset allowable ranges, the influence of attitude disturbances on triangulation results of consecutive frames is suppressed, and the stability of clearance estimation is improved.
[0025] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description and drawings.
[0026] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0027] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is a schematic diagram of the steps of the vehicle side-above clearance measurement and early warning method based on monocular surround-view imaging according to the present invention; Figure 2 This is a schematic diagram of the fixed ring unfolding mapping of the monocular panoramic barrel imaging of the present invention; Figure 3 This is a schematic diagram of the vehicle side-above clearance measurement and early warning system based on monocular surround-view imaging according to the present invention. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0029] Example 1: As Figure 1 As shown, this embodiment provides a method for measuring and warning the clearance above a vehicle's side based on monocular surround-view imaging. This method is executed by an onboard processing host. The onboard processing host includes a processor and a memory. The processor executes computer program instructions stored in the memory to implement logical operations and control functions for each step. The method includes the following steps S1 to S5.
[0030] In step S1, the vehicle-mounted processing host acquires a barrel-shaped imaging image of the area above the side of the vehicle, captured by a monocular surround-view camera positioned on the side or front of the vehicle. In this embodiment, the monocular surround-view camera refers to an vehicle-mounted camera employing a barrel-shaped imaging optical system, whose imaging field of view covers the area above the side of the vehicle, and whose imaging distortion characteristics are between standard perspective imaging and fisheye imaging. The barrel-shaped imaging image exhibits an imaging feature that gradually compresses from the image center to the outer edge in the radial direction, where the structure spanning the upper side appears as an arc-shaped feature within a ring-shaped region in the image. The vehicle-mounted processing host performs ring-shaped cropping on the barrel-shaped imaging image based on a preset center position, inner ring radius, and outer ring radius, that is, extracting only the ring-shaped image region located between the inner and outer ring radii, which corresponds to the space of interest above the side of the vehicle. Subsequently, the vehicle-mounted processing host expands and maps the cropped ring-shaped region, that is, establishing a polar coordinate system with the preset center position as the origin, and mapping the polar coordinates (r, θ) of each pixel in the ring-shaped region to the rectangular coordinates (x, y) of the rectangular strip image, obtaining the upper side ring-shaped analysis image. Through this unfolding mapping, the bottom edge of the cross structure, which was originally arc-shaped in the barrel imaging image, is transformed into an approximately horizontal straight edge, which facilitates subsequent edge detection and location.
[0031] In step S2, the vehicle-mounted processing host extracts the candidate bottom edge region of the overpass structure from the side-above ring analysis image. In this embodiment, the overpass structure refers to a structure spanning above the road, including at least one of the following: the bottom edge of a bridge, a height restriction pole, the bottom edge of a canopy, and a gantry beam. The extraction process includes: the vehicle-mounted processing host performs grayscale processing and edge detection on the side-above ring analysis image to obtain an edge response map; detects continuous horizontal edge segments in the edge response map, and marks the area where the horizontal continuous edge segment with a length exceeding a preset length threshold is located as a candidate bottom edge region; performs dark area verification on the candidate bottom edge region, comparing the average grayscale value of pixels within a preset range below the candidate bottom edge region with the average grayscale value of pixels within a preset range above it, and confirming it as a candidate bottom edge region when the average grayscale value below is greater than the average grayscale value above.
[0032] In step S3, the onboard processing host calculates the normalized position of the bottom edge candidate region in the side-above ring analysis image, and maps this normalized position to the observation angle of the bottom edge of the cross-road structure relative to the monocular surround-view camera using a preset angle calibration relationship. The normalized position refers to the relative position of the bottom edge candidate region in the height direction of the rectangular strip image, with a value ranging from 0 to 1, where 0 corresponds to the starting radial position of the rectangular strip image and 1 corresponds to the ending radial position. The preset angle calibration relationship is the mapping function between the normalized position and the actual observation angle, which is predetermined through calibration of the monocular surround-view camera.
[0033] In step S4, the onboard processing host calculates the estimated clearance and forward distance of the crossroad structure relative to the vehicle based on the change in observation angle of the bottom edge of the crossroad structure and vehicle speed information in multiple consecutive frames of images acquired by the monocular surround-view camera. Specifically, the onboard processing host tracks the observation angle of the same crossroad structure's bottom edge in consecutive frames, obtaining the change in observation angle between adjacent frames; simultaneously, it obtains vehicle speed information through the vehicle speed input interface and calculates the vehicle displacement between adjacent frames based on the inter-frame time interval. Based on the change in observation angle and vehicle displacement, the onboard processing host calculates the clearance height of the bottom edge of the crossroad structure relative to the vehicle according to the triangulation principle, and simultaneously calculates the horizontal distance (i.e., forward distance) from the bottom edge of the crossroad structure to the vehicle's current position along the vehicle's driving direction. In this embodiment, the observation angle is the spatial observation angle between the bottom edge of the crossroad structure and the monocular surround-view camera; the forward distance is the horizontal distance from the bottom edge of the crossroad structure to the vehicle along the vehicle's driving direction.
[0034] In step S5, the on-board processing unit compares the estimated clearance value with a preset vehicle height threshold and the forward distance with a preset distance threshold, generating a judgment result based on the comparison results. The preset vehicle height threshold is determined by adding a safety margin to the actual vehicle height. When the estimated clearance value is less than the vehicle height threshold, a collision risk is determined; when the forward distance is less than the preset distance threshold, it indicates that the vehicle is approaching the road crossing structure, and an early warning is required even if the current estimated clearance value is still within the safe range. When the on-board processing unit determines that a risk exists, it outputs a warning message through the warning output terminal.
[0035] In this embodiment, the barrel imaging image data acquired by the monocular surround-view camera is temporarily stored in the image buffer of the processor's static random access memory (SRAM) in digital image format; the vehicle-mounted processing host reads the image data from the image buffer through the direct memory access (DMA) channel, and after the processor performs image processing and numerical calculations at each step, the intermediate processing results are stored in the working area of dynamic random access memory (DRAM); the final judgment result and warning information are transmitted by the processor to the warning output terminal through the communication interface.
[0036] In this embodiment, the ring-band interception and unfolding mapping transforms the arc-shaped features of the upper side region in the barrel imaging image into approximately horizontal straight edges, reducing the difficulty of subsequent edge detection; the dynamic calculation method combining the change in observation angle between consecutive frames with vehicle displacement enables real-time clearance measurement without the need for a pre-stored geographic information database. Example 2: As... Figure 2 As shown, based on step S1 of Embodiment 1, this embodiment provides the following refined solution for the operation of "performing ring zoning on the barrel imaging image and expanding and mapping the captured ring zoning region to obtain the side-superior ring zoning analysis image": In the barrel-shaped imaging image acquired by the monocular surround-view camera, a fixed center, an inner ring radius R1, and an outer ring radius R2 are preset. The fixed center is predetermined based on the projection position of the optical center of the monocular surround-view camera in the image. The inner ring radius R1 is larger than the maximum radial projection radius of the vehicle's own structure in the image acquired by the monocular surround-view camera, ensuring that the inner boundary of the ring area can exclude interference from the vehicle's own structure (such as the side of the vehicle body, rearview mirrors, etc.) on the analysis area; the outer ring radius R2 is smaller than the minimum radial projection radius of the distant area in the image acquired by the monocular surround-view camera, ensuring that the outer boundary of the ring area can exclude interference from irrelevant areas such as the sky and distant buildings on the analysis area. The specific values of R1 and R2 are determined after the monocular surround-view camera is calibrated, based on the above projection radii in the calibration image acquired when the vehicle is stationary.
[0037] The vehicle-mounted processing host extracts an annular region located between R1 and R2, based on a preset fixed center, inner ring radius R1, and outer ring radius R2. Subsequently, the host establishes a polar coordinate system with the fixed center as the origin, mapping the polar coordinates (r, θ) of each pixel in the annular region to the rectangular coordinates (x, y) of the rectangular strip image. The x-coordinate corresponds to the angle θ, and the y-coordinate corresponds to the radial distance r, thus unfolding the annular region into a rectangular strip image along the circumference. In this rectangular strip image, the width direction corresponds to the angular dimension of the annular region, and the height direction corresponds to the radial dimension. This circumferential angular dimension corresponds to the azimuth angle range of the monocular surround-view camera in the horizontal direction, and the radial dimension corresponds to the pitch angle range of the monocular surround-view camera in the vertical direction. The observation angle used for subsequent triangulation is taken from the pitch angle corresponding to the radial dimension, not the azimuth angle corresponding to the circumferential angular dimension. Through the above unfolding mapping, the arc-shaped bottom edge of the side-above spanning structure, which appears in the original barrel imaging image, is transformed into an approximately horizontal straight edge in the rectangular strip image, which facilitates subsequent edge detection and location.
[0038] In this embodiment, the barrel imaging image is stored in the SRAM image cache of the processor; the fixed center, inner ring radius R1 and outer ring radius R2 are stored as preset parameters in the configuration parameter area of the memory; when the processor performs ring banding, it reads the above parameters from the configuration parameter area, reads the barrel imaging image data from the SRAM image cache, performs ring banding and polar coordinate expansion mapping, and writes the generated rectangular strip image data into the working area of DRAM.
[0039] In this embodiment, the annular band segmentation with a fixed center and fixed radius avoids detection drift that may be introduced by re-detecting the center and annular band boundary in each frame of the image, thus improving the stability of the annular band segmentation and the consistency of the clearance estimation. At the same time, by expanding the annular region into a rectangular strip image through polar coordinate mapping, the shape spanning the bottom edge of the structure is transformed from an arc shape to an approximately straight line shape, reducing the difficulty of subsequent edge detection.
[0040] Example 3: Based on step S2 of Example 1, this example provides the following refined solution for the operation of "extracting the candidate region of the bottom edge of the crossroad structure from the analysis image of the side-above ring": The onboard processing unit performs grayscale processing and edge detection on the side-upper ring analysis image (i.e., the rectangular strip image) to obtain an edge response map. Grayscale processing converts the color image into a grayscale image, and edge detection can employ the Sobel operator, Canny operator, or other edge detection algorithms known in the art.
[0041] After performing grayscale processing and edge detection, the onboard processing unit detects continuous horizontal edge segments in the edge response image. Since the bottom edge of the overpass structure appears as a horizontally extending edge in the rectangular strip image, detecting continuous horizontal edge segments can initially locate potential bottom edge positions. The onboard processing unit marks regions containing horizontally continuous edge segments with a length exceeding a preset threshold as candidate bottom edge regions. This preset length threshold is pre-set based on the minimum expected length of the bottom edge of the overpass structure in the image.
[0042] Subsequently, the onboard processing unit performs dark region verification on the candidate bottom edge region. The bottom edge of a road overpass typically exhibits a grayscale distribution characteristic in the image where the upper region (the structure itself) is darker and the lower region (the open space) is brighter. The onboard processing unit compares the average grayscale value of pixels within a preset range below the candidate bottom edge region with the average grayscale value of pixels within a preset range above it. When the average grayscale value below is greater than the average grayscale value above, the candidate bottom edge region is confirmed to meet the dark region characteristics of the bottom edge of a road overpass and is thus identified as a candidate bottom edge region for the road overpass structure.
[0043] Based on the confirmed bottom edge candidate region, the vehicle-mounted processing host performs a continuity analysis on the bottom edge candidate region to confirm whether it belongs to a road crossing structure. Specifically, the vehicle-mounted processing host calculates the lateral span ratio, left and right support distribution ratio, lower edge alignment ratio, structure coverage ratio, and structure attachment ratio of the bottom edge candidate region. The lateral span ratio refers to the ratio of the total length of the detected horizontal continuous edge line segments in the bottom edge candidate region to the total width of the image, used to characterize the degree of continuous extension of the edge in the horizontal direction. The left and right support distribution ratio refers to the proportion of pixels with edge response intensity exceeding a preset threshold in the left and right regions of the bottom edge candidate region, used to characterize whether there are support structures on the left and right sides of the road crossing structure. The value of the lower edge alignment ratio is calculated according to the following formula: ,in This is the value for the bottom edge alignment ratio. It is the difference between the maximum and minimum position values of each pixel in the radial direction in the candidate region of the bottom edge. This is the length of the region extending along the width of the rectangular strip image, used to characterize the flatness of the bottom edge; and Both are pixel distances with consistent dimensions. The bottom edge of a cross-road structure is usually a horizontal straight line with a high alignment ratio; while the bottom edge of a single-sided attached structure (such as tree branches or billboard edges) is usually irregular with a low alignment ratio. The structure coverage ratio is the ratio of the width of the outer rectangle of the bottom edge candidate region along the width direction of the rectangular strip image to the total image width, used to characterize the completeness of the bottom edge's lateral crossing in the image. The structure attachment ratio is the ratio of the pixel area of the vertical support structure connected to the bottom edge to the total area of the corresponding end region in the left and right regions of the bottom edge candidate region, used to characterize the attachment degree of the support structures on the left and right sides of the cross-road structure. When the lateral span ratio is greater than the first preset threshold, the left and right support distribution ratios are both greater than the second preset threshold, the bottom edge alignment ratio is greater than the third preset threshold, the structure coverage ratio is greater than the fourth preset threshold, and the structure attachment ratio is greater than the fifth preset threshold, the onboard processing host confirms that the bottom edge candidate region belongs to a cross-road structure; otherwise, the bottom edge candidate region is marked as a single-sided attached structure and excluded.
[0044] For example, the aforementioned preset thresholds can be calibrated and selected based on camera parameters and vehicle model: the preset length threshold corresponding to the horizontal continuous length can be selected as 1 / 5 of the image width; the first preset threshold representing the horizontal span ratio can be 0.6; the second preset threshold representing the left and right support distribution ratio can be 0.3; the third preset threshold representing the lower edge alignment ratio can be 0.7; the fourth preset threshold representing the structure coverage ratio can be 0.5; and the fifth preset threshold representing the structure attachment ratio can be 0.4. The above values are merely examples and can be adjusted according to the camera installation position, lens distortion, and target scene during actual product development. They are not intended to limit the scope of protection of this invention.
[0045] In this embodiment, the rectangular strip image data is stored in the working area of DRAM; the processor reads the rectangular strip image data from DRAM, performs grayscale processing and edge detection, and then writes the edge response map data back to DRAM; the processor reads the edge response map data from DRAM, performs horizontal continuous edge segment detection, dark area verification and continuity analysis, and then stores the coordinate information of the bottom edge candidate region and the determination result of whether it belongs to the cross-road structure in the variable area of SRAM.
[0046] In this embodiment, the four-level verification process of "edge detection, horizontal line segment screening, dark area verification, and continuity analysis" gradually filters out false candidate areas that do not conform to the bottom edge characteristics of the cross-road structure, thereby improving the detection accuracy of the bottom edge candidate area and avoiding misjudging roadside billboards, trees, lampposts, and other single-sided attached structures as cross-road structures.
[0047] Example 4: Based on steps S3 to S4 of Example 1, this example provides the following refined scheme for the operations of "calculating the normalized position of the bottom edge candidate region and mapping it to the observation angle" and "calculating the clearance estimate and forward distance based on the change in observation angle and vehicle speed information": The onboard processing unit first determines the normalized coordinate value p of the bottom edge candidate region in the height direction of the rectangular strip image. The normalized coordinate value p ranges from [0,1], where p=0 corresponds to the starting radial position of the rectangular strip image, and p=1 corresponds to the ending radial position of the rectangular strip image; the height direction corresponds to the radial dimension of the ring region, and the radial dimension corresponds to the pitch angle of the monocular surround-view camera.
[0048] The onboard processing unit uses a preset angle calibration relationship to map the normalized coordinate value p to the observation angle. The preset angle calibration relationship is established in advance through the calibration of a monocular panoramic camera: during the calibration process, a reference target with a known pitch angle is placed at different positions in the camera's field of view, and the normalized coordinate values of the reference target in the height direction of the rectangular strip image and the corresponding pitch angle mapping data are recorded. A mapping function between the normalized coordinate values and the observed pitch angle is then fitted. The preset angle calibration relationship is as follows: ,in and These represent the minimum and maximum pitch angles of the monocular panoramic camera in the radial direction of the annular region, respectively.
[0049] The onboard processing unit tracks the pitch angle change of the bottom edge of the same overpass structure in consecutive frames. For multiple temporally consecutive images, the onboard processing unit acquires the pitch angle change of the bottom edge of the overpass structure between adjacent frames. Simultaneously, the onboard processing unit acquires vehicle speed information through the vehicle speed input interface and calculates the displacement of the monocular surround-view camera between adjacent frames based on the inter-frame time interval. .
[0050] Let the angle between the horizontal line connecting the monocular surround-view camera and the bottom edge of the road overpass structure and the vehicle's direction of travel be the azimuth angle. Vehicle displacement Take the displacement of the monocular panoramic camera At the azimuth angle The projected components on, i.e. The above projection is an approximate projection under small displacement conditions: when the displacement When the distance is much smaller than the horizontal distance from the monocular panoramic camera to the bottom edge of the crossroad structure, the change in the horizontal distance from the camera to the target is approximately equal to the projection component of the displacement in the target direction; when the azimuth angle The displacement is less than a preset angle threshold, and the displacement When the distance between the monocular panoramic camera and the bottom edge of the crossroad structure is less than a preset proportion, the displacement of the monocular panoramic camera between adjacent frames is adjusted. The horizontal distance change is used as the preset angle threshold, which is determined based on the approximate error requirement of the two-dimensional height measurement formula. Within this angle range, the calculation error of the two-dimensional height measurement formula is within an acceptable range. The preset ratio is also determined based on the approximate error requirement of the two-dimensional height measurement formula. The azimuth angle... The angle between the horizontal line connecting the monocular surround-view camera and the bottom edge of the road overpass in the first frame image and the vehicle's driving direction is taken. Alternatively, the average of the corresponding angles in two adjacent frames can be used; either method can be chosen. Specifically, when the angle between the bottom edge of the road overpass and the vehicle's driving direction changes little between adjacent frames, taking the azimuth angle of the first frame image is sufficient to meet the accuracy requirements; when the angle between the bottom edge of the road overpass and the vehicle's driving direction changes significantly between adjacent frames, taking the average of the corresponding angles in two adjacent frames can reduce the projection error introduced by the azimuth angle change. The azimuth angle... The smaller the value, the smaller the approximate projection of the small displacement. The closer the cosine value is to 1, the stronger the projection component. With displacement The smaller the deviation between them; the displacement The smaller the ratio of the distance between the camera and the target to the horizontal distance, the greater the change in the horizontal distance between the camera and the target and the projection component. The smaller the deviation between them, the better. Conversely, the larger the deviation between them, the greater the azimuth angle. Larger or displacement The larger the ratio to the horizontal distance, the greater the approximate error of the two-dimensional height measurement formula. Therefore, while ensuring measurement accuracy, the preset angle threshold and the preset ratio can be adjusted according to the error tolerance of the actual working conditions.
[0051] The vehicle-mounted processing host is according to Calculate the vertical height of the bottom edge relative to the optical center of the monocular surround-view camera, and use the sum of the vertical height and the installation height of the monocular surround-view camera as the clearance estimate H. The geometric principle of this formula is as follows: Select the pixel point corresponding to the center position of the rectangular strip image width direction in the bottom edge candidate region as the observation point P. The normalized coordinate value of the observation point P in the height direction of the rectangular strip image is denoted as p, and p is mapped to the pitch angle corresponding to the observation point P according to a preset angle calibration relationship. When the pitch and tilt attitude changes of the monocular surround-view camera between adjacent frames are within a preset allowable range, making the influence of attitude changes on the change in the observed pitch angle negligible, based on the positional continuity of the bottom edge candidate region in the rectangular strip image, track the observation point P corresponding to the same physical point in adjacent frames, and perform triangulation based on the pitch angle corresponding to the observation point P in adjacent frames. Let the pitch angle corresponding to the observation point P when the vehicle is at position A in the first frame be... At position B in the second frame, the elevation angle corresponding to the observation point P is ,but Vehicle displacement Let be the projected component of the distance from A to B in the target direction. The estimated clearance of observation point P relative to the ground is H, and the installation height of the monocular surround-view camera is... Then the vertical height of the observation point P relative to the optical center of the camera is In a right triangle, at position A there is... There is at location B ,in and , respectively, are the horizontal distances from observation point P to A and B. , Therefore, We can obtain the following through trigonometric identities: Therefore, the vertical height h of P relative to the camera's optical center can be inferred from the change in observation angle between consecutive frames and the vehicle's displacement, thus obtaining an estimate of the clearance between the bottom edge of the overpass structure and the ground. Among them, the installation height of the monocular surround-view camera Configuration parameters are pre-measured and stored in the memory area during the calibration process. The onboard processing unit follows... Calculate the horizontal slant distance from the optical center of the monocular panoramic camera to the bottom edge of the crossroad structure. ,in The pitch angle of the current frame, and the azimuth angle as defined above. The forward distance according to Calculate; when the azimuth angle When the angle is less than the preset angle threshold, the horizontal slope distance is... Directly used as the forward distance .
[0052] In this embodiment, the normalized coordinate value p is stored in the variable area of the SRAM; and The configuration parameter area of the memory is stored as calibration parameters; the processor reads from the configuration parameter area. and The processor reads p from the variable area, performs angle mapping calculation, and stores the pitch angle in DRAM. The processor reads pitch angle data from consecutive frames from DRAM, combines it with speed information obtained from the vehicle speed input interface to calculate the displacement of the monocular surround-view camera, and then calculates the vehicle displacement. Net airspace estimate and forward distance The calculation results are then stored in the result area of DRAM.
[0053] In this embodiment, the normalized position of the bottom edge candidate region in the rectangular strip image is mapped to the actual pitch angle. Then, the clearance estimate is calculated based on the change in pitch angle between consecutive frames and the vehicle displacement. The clearance estimate can be performed in real time without pre-storing geographic information, LiDAR or binocular vision. The hardware cost is low and it is suitable for vehicle deployment.
[0054] Example 5: Based on step S5 of Example 1, this example provides the following refined solution for the operation of "comparing the estimated clearance value with a preset vehicle height threshold, comparing the forward distance with a preset distance threshold, and generating a judgment result based on the comparison result": The onboard processing unit acquires a preset vehicle height threshold. This vehicle height threshold is determined by adding the vehicle's actual height to a safety margin, and the sum of the actual vehicle height and the safety margin is used as the judgment threshold.
[0055] The onboard processing unit compares the estimated clearance value with the vehicle height threshold and the forward distance with a preset distance threshold, and generates one of the following four judgment results based on the comparison results: First, when the estimated clearance is less than the vehicle height threshold, the onboard processing unit determines it to be a dangerous clearance. This determination indicates that the vehicle's current position makes it unsafe to pass through the overpass structure, and immediate braking or evasive action is required.
[0056] Second, when the estimated clearance value is greater than or equal to the vehicle height threshold and the forward distance is less than the preset distance threshold, the on-board processing host determines it as a clearance warning.
[0057] This preset distance threshold is determined in advance based on the vehicle's braking distance and the driver's reaction time. It is calculated based on the vehicle's current speed, the road adhesion coefficient, and the driver's average reaction time. When the forward distance is less than this threshold, the vehicle has entered a risk distance range that requires the driver's attention. The driver must take braking measures within the preset reaction time to safely pass through or avoid the overpass structure. This judgment indicates that although the vehicle has not yet entered an area with insufficient clearance, continuing at the current speed will lead to the overpass structure in a short time, requiring an advance warning to allow the driver sufficient time to react.
[0058] Third, when the estimated clearance value fluctuates beyond a preset range between consecutive frames (due to poor image quality, unstable bottom edge detection, etc.), but a candidate bottom edge region for a road crossing structure has been confirmed, the on-board processing host determines it to be pending verification. This determination indicates that the system has detected the existence of the road crossing structure, but due to unsatisfactory measurement conditions, it cannot provide a reliable clearance estimate and requires further confirmation or manual verification.
[0059] Fourth, if none of the above three conditions are met, the on-board processing host determines that passage is permitted.
[0060] When the onboard processing unit generates a judgment result indicating a dangerous clearance or clearance warning, it outputs warning information via the warning output terminal. The warning information includes an event screenshot, a cropped image of the corresponding bottom edge of the overpass structure in the side-above ring analysis image, a clearance estimate, forward distance, and risk level. This judgment result indicates that although the vehicle has not yet entered an area with insufficient clearance, continuing at the current speed will result in reaching the overpass structure in a short time, requiring an advance warning to allow the driver sufficient time to react.
[0061] For example, the safety margin can be 0.2 to 0.5 m; the preset distance threshold can be dynamically adjusted based on vehicle speed, with a value range of 5 to 20 m. Similarly, these values are merely implementation examples and can be flexibly configured according to vehicle type, braking performance, and business management requirements, and are not intended to limit the scope of protection of this invention. Typical scenarios where the estimated clearance value fluctuates beyond the preset range between consecutive frames include: image motion blur, breakage at the bottom edge of the cross-road structure, and loss of continuous frame tracking. In these cases, even if a candidate region for the bottom edge is detected, the measurement result has low reliability, triggering a review determination.
[0062] In this embodiment, the vehicle height threshold and safety margin are stored as preset parameters in the configuration parameter area of the memory; the preset distance threshold is stored in the configuration parameter area of the memory; the processor reads the clearance estimate and forward distance from the DRAM result area, and reads the vehicle height threshold, safety margin and preset distance threshold from the configuration parameter area. After performing comparison and judgment, the judgment result is stored in the DRAM result area; the processor generates warning information based on the judgment result and transmits it to the warning output terminal through the communication interface.
[0063] In this embodiment, four judgment states—"dangerous clearance, clearance warning, pending verification, and passable"—enable a refined assessment of clearance risks for cross-road structures. Among them, the "clearance warning" state allows the system to issue a warning before the vehicle enters the area with insufficient clearance, giving the driver more reaction time. The "pending verification" state avoids the risk of missed reports that may result from directly determining the road as passable due to unstable single measurements.
[0064] Example 6: Based on Example 1, this example provides the following detailed solution regarding the acquisition method of vehicle speed information and the specific content and method of warning output: Vehicle speed information is obtained through at least one of the following methods: character recognition of speed superimposed information in video images captured by a monocular surround-view camera, which uses optical character recognition technology to extract speed data from the speed value area superimposed on the video image; reading speed signals from the vehicle controller local area network (CAN) bus, which directly reads speed data broadcast by the vehicle's electronic control unit through the CAN bus interface; obtaining speed data from a satellite positioning terminal, which obtains speed data based on Doppler frequency shift or position difference calculation through a global navigation satellite system receiver; or obtaining speed data from an onboard inertial measurement unit, which calculates vehicle speed by fusing accelerometer and gyroscope data.
[0065] The on-board processing host timestamps the speed data obtained in the above manner and associates it with the corresponding image frame to ensure that the speed information and image data are synchronized in time.
[0066] The warning information includes at least one of the following: an event screenshot, a cropped image of the bottom edge of the cross-road structure from the side-above ring analysis image, an estimated clearance value, forward distance, and a risk level. An event screenshot refers to a static image of the original barrel imaging image or the side-above ring analysis image corresponding to the triggering of the warning. A cropped image refers to a local image region containing the bottom edge of the cross-road structure, cropped from the side-above ring analysis image.
[0067] The warning output terminal outputs warning information through at least one of the following methods: audible alerts, visual alerts, screen displays, and remote platform push notifications. Audible alerts are delivered via vehicle speakers, emitting voice announcements or warning sounds; visual alerts are delivered via vehicle indicator lights, emitting flashing or color-changing signals; screen displays present warning information and visual images on the vehicle's display screen; and remote platform push notifications transmit warning information to a cloud management platform or mobile terminal via a wireless communication network.
[0068] In this embodiment, the speed data obtained by each method is processed by the processor and stored in the variable area of DRAM, and associated with the corresponding image frame through a timestamp; the warning information is generated by the processor and temporarily stored in the output buffer of DRAM, and then transmitted to the corresponding warning output terminal through the communication interface.
[0069] In this embodiment, multiple vehicle speed information sources are compatible and can be flexibly selected according to the hardware configuration of different vehicle models; the multimodal warning output method ensures that the driver can obtain risk information in a timely manner under different driving environments.
[0070] Example 7: Based on Example 1, this example provides a supplementary solution for manual review.
[0071] After generating risk events (including hazardous airspace clearance, airspace warnings, and events awaiting review), the onboard processing unit sends the risk event information to a web page or remote platform terminal via a manual review interface. Risk event information includes event screenshots, cropped images, estimated airspace clearance, forward distance, risk level, and event occurrence time.
[0072] After receiving risk event information, the web page or remote platform terminal displays the above information on the review interface for manual review by back-end administrators. Based on visual information such as event screenshots and cut-out diagrams, combined with data such as estimated net clearance and forward distance, administrators determine whether the risk event is genuine and mark it as a real risk, a false alarm, or pending.
[0073] The manual verification results are returned to the vehicle-mounted processing host via a web interface or remote platform terminal. The vehicle-mounted processing host receives the verification results and stores them in the historical record area of its memory. This verification record is used to generate verification logs for management personnel to trace and statistically analyze, and also to evaluate the accuracy of the system's early warnings, providing data for subsequent adjustments to preset vehicle height thresholds and safety margins.
[0074] In this embodiment, risk event information is generated by the processor and temporarily stored in the output buffer of DRAM; the processor sends the risk event information to the web page or remote platform terminal through the communication interface; the vehicle-mounted processing host receives the returned review results through the communication interface, associates the review results with the corresponding risk event information, and stores them in the historical record area of the memory.
[0075] In this embodiment, the manual review interface realizes a closed-loop processing that combines automatic system warnings with manual confirmation, reducing the interference of false alarms on operation and management. At the same time, the accumulation of review records provides a data foundation for the continuous optimization of system parameters.
[0076] Example 8: Based on Example 1, this example provides an extended solution using multiple monocular surround-view cameras. There can be one or more monocular surround-view cameras. When multiple monocular surround-view cameras are used, they are respectively positioned in at least two of the following directions: the right front side, the right side, the left front side, and the left side of the vehicle, acquiring barrel imaging images in the corresponding directions.
[0077] The onboard processing host performs ring-band cropping and expansion mapping, bottom edge candidate region extraction, observation angle mapping, clearance estimation and forward distance calculation, and risk assessment on the barrel imaging images in each direction, and obtains independent clearance estimation and independent risk assessment results for each direction.
[0078] The onboard processing unit performs a joint assessment of the independent risk assessment results from each direction. The rules for joint assessment are as follows: when the independent risk assessment result for any direction is a dangerous clearance, a comprehensive dangerous clearance warning is output; when there is no dangerous clearance, but the independent risk assessment result for any direction is a clearance warning, a comprehensive clearance warning is output; when the independent risk assessment results for all directions are passable, a comprehensive passable result is output; when there is no dangerous clearance and no clearance warning, but there is a assessment result pending review, a comprehensive result pending review is output.
[0079] In this embodiment, the barrel imaging images acquired by the monocular surround-view cameras in each direction are stored in different cache areas of the DRAM; the processor processes the image data in each direction in sequence, and stores the independent processing results in each direction in the corresponding area of the DRAM; the processor reads the independent risk assessment results in each direction from the DRAM, performs joint assessment, and stores the comprehensive assessment result in the result area of the DRAM.
[0080] In this embodiment, multiple monocular surround-view cameras simultaneously monitor and jointly determine the side and above areas of the vehicle in multiple directions, expanding the perception coverage of the system and enabling simultaneous clearance measurement and risk warning for crossing structures in multiple directions. The conservative strategy of "clearance warning takes priority over pending verification, and pending verification takes priority over passability" in the joint determination ensures that no potential risks in any direction are overlooked.
[0081] Example 9: Based on Example 2, this example provides a further limiting scheme for the physical boundaries of the inner ring radius R1 and the outer ring radius R2.
[0082] As mentioned earlier, the inner ring radius R1 is greater than the maximum radial projection radius of the vehicle's own structure in the image acquired by the monocular surround-view camera. This ensures that the inner boundary of the ring area can exclude interference from the vehicle's own structure on the analysis area. This maximum projection radius is determined by measuring the calibration image acquired when the vehicle is stationary. Specifically, in the calibration image, the pixel position of the vehicle's own structure (including protruding parts such as the side of the vehicle body, rearview mirrors, and door handles) farthest from the fixed center in the radial direction is identified, and the radial distance value corresponding to this position is measured. This value is used as the maximum projection radius. The value of R1 is based on this maximum projection radius plus a preset margin. This preset margin is determined based on the installation tolerance of the monocular surround-view camera and the expected compression of the vehicle's suspension during vehicle operation.
[0083] Similarly, the outer ring radius R2 is smaller than the minimum radial projection radius of the distant area in the image acquired by the monocular surround-view camera, to ensure that the outer boundary of the ring area can exclude the interference of the distant area on the analysis area. This minimum projection radius is determined by measuring the position of the pixel closest to the fixed circle center in the radial direction of the distant areas such as the sky and distant buildings in the calibration image. The value of R2 is determined by subtracting a preset margin from this minimum projection radius. This preset margin is determined based on the lens distortion characteristics of the monocular surround-view camera and the expected pitch angle change of the vehicle body during driving.
[0084] The inner ring radius R1 is smaller than the outer ring radius R2 to ensure that the ring area has a non-empty width. During vehicle movement, the inner ring radius R1 and the outer ring radius R2 remain constant.
[0085] In this embodiment, the measurement data of the maximum projection radius of the vehicle's own structure and the minimum projection radius of the distant area are stored in the calibration parameter area of the memory; the values of R1 and R2 are calculated by the processor based on the above measurement data and preset margins during system initialization, and written into the configuration parameter area of the memory for subsequent processing.
[0086] In this embodiment, R1 and R2 are limited to being greater than the maximum projection radius of the vehicle body structure and less than the minimum projection radius of the distant area, which ensures the effectiveness and reliability of the ring-shaped interception area and guarantees from the source that the image area on which the subsequent clearance estimation depends does not contain interference information.
[0087] Example 10: As Figure 3 As shown, this embodiment provides a vehicle side-above clearance measurement and early warning system based on monocular surround-view imaging. The system includes a monocular surround-view camera, an on-board processing host, a vehicle speed input interface, an early warning output terminal, and a manual verification interface.
[0088] The monocular surround-view camera is positioned on the side or front of the vehicle to capture barrel-shaped imaging images of the area above and to the side of the vehicle. In this embodiment, the monocular surround-view camera refers to an onboard camera employing a barrel-shaped imaging optical system, whose imaging field of view covers the area above and to the side of the vehicle, and whose imaging distortion characteristics are between those of standard perspective imaging and fisheye imaging.
[0089] The vehicle speed input interface is used to provide vehicle speed information to the on-board processing host. In this embodiment, the vehicle speed input interface refers to an input interface used to provide vehicle speed signals to the on-board processing host, which can obtain speed data from the on-board bus system, positioning system, or image information. Specifically, the vehicle speed input interface can obtain vehicle speed information in at least one of the following ways: character recognition of speed display information superimposed on the video image captured by the monocular surround view camera; reading speed signals from the vehicle controller area network (CAN) bus; obtaining speed data from the satellite positioning terminal; or obtaining speed data from the on-board inertial measurement unit.
[0090] The warning output terminal is used to output warning information when a risk is determined to exist. The warning information may include at least one of the following: an event screenshot, a cutaway image of the bottom edge of the cross-road structure in the side-above ring analysis image, an estimated clearance value, forward distance, and risk level. The warning output terminal can output warning information through at least one of the following methods: sound prompts, light prompts, screen display, and remote platform push notifications.
[0091] The manual review interface is connected to the early warning output terminal and is used to send the risk event information generated by the vehicle-mounted processing host and output by the early warning output terminal to the web page or remote platform terminal, and to receive the manual review result returned by the web page or remote platform terminal and transmit it to the vehicle-mounted processing host.
[0092] The monocular surround-view camera, vehicle speed input interface, and warning output terminal are respectively connected to the on-board processing host. The on-board processing host includes a processor and a memory. The processor executes computer program instructions stored in the memory to realize a method for measuring and warning of the vehicle's side and top clearance based on monocular surround-view imaging.
[0093] In this embodiment, the barrel imaging image data acquired by the monocular surround-view camera is temporarily stored in the image buffer of the processor's static random access memory (SRAM) in digital image format; the vehicle-mounted processing host reads the image data from the image buffer through the direct memory access (DMA) channel, and after the processor performs image processing, the intermediate processing results are stored in the working area of dynamic random access memory (DRAM); the finally generated warning information and event records are transmitted by the processor to the warning output terminal through the communication interface.
[0094] In this embodiment, the above-described hardware architecture enables the physical deployment of the method embodiment. This architecture reuses the vehicle's existing monocular surround-view hardware or only requires the addition of a few components, making the engineering implementation cost controllable.
[0095] Any modifications, equivalent substitutions, or improvements made within the spirit and principles of this invention shall be included within the scope of protection of this invention.
Claims
1. A method for measuring and warning the clearance above a vehicle from the side based on monocular surround-view imaging, characterized in that, Executed by the onboard processing unit, including: S1: Acquire a barrel-shaped imaging image of the area above the side of the vehicle captured by a monocular surround-view camera set on the side or front of the vehicle. Based on the preset center position, inner ring radius and outer ring radius, the barrel-shaped imaging image is cropped into a ring, and the cropped ring area is expanded and mapped to obtain an analysis image of the upper side ring. S2: Extract candidate regions for the bottom edge of the cross-road structure from the side-above ring analysis image, wherein the cross-road structure includes at least one of the following: the bottom edge of the bridge, the height restriction pole, the bottom edge of the station canopy, and the crossbeam of the gantry frame; S3: Calculate the normalized position of the candidate bottom edge region in the side-above ring analysis image, and use a preset angle calibration relationship to map the normalized position to the observation angle of the bottom edge of the crossroad structure relative to the monocular panoramic camera; S4: Based on the change in observation angle of the bottom edge of the crossroad structure and vehicle speed information in multiple consecutive frames of images acquired by the monocular surround-view camera, calculate the estimated clearance and forward distance of the crossroad structure relative to the vehicle. S5: Compare the estimated clearance value with a preset vehicle height threshold, and compare the forward distance with a preset distance threshold. Generate a judgment result based on the comparison result, and output a warning message via the warning output terminal when a risk is determined to exist.
2. The method for measuring and warning the clearance above a vehicle's side based on monocular surround-view imaging according to claim 1, characterized in that, The barrel-shaped imaging image is subjected to annular cropping, and the cropped annular region is expanded and mapped to obtain a side-above annular analysis image. This includes: pre-setting a fixed center, inner ring radius R1, and outer ring radius R2 in the barrel-shaped imaging image; cropping the annular region located between R1 and R2; and expanding the annular region into a rectangular strip image along the circumferential direction. The width direction of the rectangular strip image corresponds to the angular dimension, and the height direction corresponds to the radial dimension. The inner ring radius R1 and outer ring radius R2 are pre-set according to the calibration parameters of the monocular surround-view camera and the installation position of the monocular surround-view camera on the vehicle.
3. The method for measuring and warning the clearance above a vehicle's side based on monocular surround-view imaging according to claim 1, characterized in that, Extracting candidate regions for the bottom edge of the cross-road structure includes: Perform grayscale processing and edge detection on the side-upper ring analysis image to obtain an edge response map; In the edge response map, continuous horizontal edge segments are detected, and the region where the continuous horizontal edge segments with a length exceeding a preset length threshold are located is marked as a candidate bottom edge region. Dark area verification is performed on the candidate bottom edge region. The average gray value of pixels within a preset range below the candidate bottom edge region is compared with the average gray value of pixels within a preset range above it. When the average gray value below is greater than the average gray value above, the candidate bottom edge region is confirmed as the bottom edge candidate region. A continuity analysis is performed on the candidate bottom edge region to confirm whether it belongs to a road-crossing structure: the lateral span ratio, left and right support distribution ratio, lower edge alignment ratio, structural coverage ratio, and structural attachment ratio of the candidate bottom edge region are calculated. The value of the lower edge alignment ratio is calculated according to the following formula: ,in This is the value for the bottom edge alignment ratio. It is the difference between the maximum and minimum position values of each pixel in the radial direction in the candidate region of the bottom edge. The length of the region in the width direction of the rectangular strip image is defined as follows: when the horizontal span ratio is greater than the first preset threshold, the left and right support distribution ratios are both greater than the second preset threshold, the lower edge alignment ratio is greater than the third preset threshold, the structure coverage ratio is greater than the fourth preset threshold, and the structure attachment ratio is greater than the fifth preset threshold, the bottom edge candidate region is confirmed to be a cross-road structure; otherwise, the bottom edge candidate region is marked as a single-sided attachment structure and excluded.
4. The method for measuring and warning the clearance above a vehicle's side based on monocular surround-view imaging according to claim 2, characterized in that, In S3, the normalized position is the normalized coordinate value p of the bottom edge candidate region in the height direction of the rectangular strip image, p∈[0,1]; the height direction corresponds to the radial dimension of the ring region, and the radial dimension corresponds to the pitch angle of the monocular panoramic camera; The preset angle calibration relationship is as follows: ,in and These are the minimum and maximum pitch angles of the monocular panoramic camera in the radial direction of the annular region, respectively. The calculation of the clearance estimate and forward distance based on the change in observation angle and vehicle speed information in consecutive frames includes: calculating the change in observation angle of the bottom edge of the crossroad structure in multiple consecutive frames of images acquired by the monocular surround-view camera. and vehicle displacement Let the observation angles of two adjacent frames be respectively and ,but ,according to Calculate the vertical height of the bottom edge relative to the optical center of the monocular surround-view camera. The sum of the vertical height and the installation height of the monocular surround-view camera is used as the clearance estimate H. The pitch angle of the current frame and the angle between the horizontal line connecting the monocular surround-view camera and the bottom edge of the crossroad structure and the vehicle's direction of travel. ,according to Calculate the horizontal slant distance from the optical center of the monocular panoramic camera to the bottom edge of the crossroad structure. ,according to Calculate the forward distance When the included angle When the angle is less than the preset angle threshold, the horizontal slope distance is... Directly used as the forward distance .
5. The method for measuring and warning the clearance above a vehicle's side based on monocular surround-view imaging according to claim 1, characterized in that, The estimated clearance value is compared with a preset vehicle height threshold, and the forward distance is compared with a preset distance threshold. A judgment result is generated based on the comparison results, including: When the estimated clearance value is less than the vehicle height threshold, a dangerous clearance determination result is generated; When the estimated clearance value is greater than or equal to the vehicle height threshold and the forward distance is less than the preset distance threshold, a clearance warning result is generated. When the estimated inter-frame clearance fluctuates beyond a preset range but the existence of a candidate region at the bottom edge of the cross-path structure has been confirmed, a judgment result to be reviewed is generated. Otherwise, a valid decision result is generated.
6. The method for measuring and warning the clearance above a vehicle's side based on monocular surround-view imaging according to claim 1, characterized in that, The vehicle speed information is obtained through at least one of the following methods: character recognition of speed superimposed information in the video image captured by the monocular surround-view camera; reading speed signals from the vehicle controller local area network bus; or obtaining speed data from a satellite positioning terminal. Speed data is acquired from the vehicle-mounted inertial measurement unit; The early warning information includes at least one of the following: an event screenshot, a cut-out image of the bottom edge of the crossroad structure in the side-above ring analysis image, the estimated clearance value, the forward distance, and the risk level; The warning output terminal outputs the warning information through at least one of the following methods: sound prompt, light prompt, screen display, and remote platform push.
7. The method for measuring and warning the clearance above a vehicle's side based on monocular surround-view imaging according to claim 1, characterized in that, This also includes performing the following steps through a manual review interface: The risk event information generated by the vehicle-mounted processing host is sent to a web page or a remote platform terminal. The risk event information includes event screenshots, cutout images, estimated clearance values, forward distances, risk levels, and event occurrence times. The system receives the manual review results returned by the web page or remote platform terminal and stores them in the memory of the vehicle-mounted processing host to generate review records for traceability. The manual review results include actual risks, false alarms, or pending status.
8. The method for measuring and warning the clearance above a vehicle's side based on monocular surround-view imaging according to claim 5, characterized in that, The monocular surround-view camera can be one or more; when multiple monocular surround-view cameras are used, the multiple monocular surround-view cameras are respectively set in at least two directions of the right front side, right side, left front side and left side of the vehicle, and respectively acquire barrel imaging images in the corresponding directions; the barrel imaging images in each direction are respectively subjected to ring band interception and expansion mapping, bottom edge candidate region extraction, observation angle mapping, clearance estimation value and forward distance calculation, and risk assessment to obtain independent clearance estimation value and independent risk assessment results for each direction; The independent risk assessment results of each direction are jointly assessed: when the independent risk assessment result of any direction is a dangerous airspace, a comprehensive dangerous airspace warning is output. When there is no dangerous airspace, but the independent risk assessment result in any direction is an airspace warning, a comprehensive airspace warning is output. When all independent risk assessment results in all directions are passable, output a comprehensive passable result; when there is no dangerous airspace and no airspace warning, but there is a assessment result pending review, output a comprehensive result pending review.
9. The method for measuring and warning the clearance above a vehicle's side based on monocular surround-view imaging according to claim 1, characterized in that, The inner ring radius R1 and the outer ring radius R2 are preset fixed values; the inner ring radius R1 is greater than the maximum radial projection radius of the vehicle's own structure in the image acquired by the monocular surround-view camera; the outer ring radius R2 is less than the minimum radial projection radius of the distant area in the image acquired by the monocular surround-view camera; the inner ring radius R1 is less than the outer ring radius R2, and the inner ring radius R1 and the outer ring radius R2 remain unchanged during the vehicle's movement.
10. A vehicle side-above clearance measurement and early warning system based on monocular surround-view imaging, characterized in that, This includes a monocular surround-view camera, an on-board processing unit, a vehicle speed input interface, a warning output terminal, and a manual verification interface; The monocular surround-view camera is located on the side or front of the vehicle and is used to acquire barrel-shaped imaging images of the area above the side of the vehicle. The vehicle speed input interface is used to provide vehicle speed information to the on-board processing host; The monocular surround-view camera, the vehicle speed input interface, and the early warning output terminal are respectively connected to the vehicle-mounted processing host. The manual review interface is connected to the early warning output terminal and is used to send the risk event information generated by the vehicle-mounted processing host and output by the early warning output terminal to the web page or remote platform terminal, and to receive the manual review result returned by the web page or remote platform terminal and transmit it to the vehicle-mounted processing host. The vehicle-mounted processing host includes a processor and a memory, wherein the memory stores program instructions executable by the processor, and when the program instructions are executed, the vehicle-mounted processing host performs the method as described in any one of claims 1 to 9.
Citation Information
Patent Citations
system for determining clearance of approaching overhead structure
CN104599529A
Panoramic look-around obstacle early warning method for vehicle
CN112224132A
