Obstacle visualization alerting method and system
By acquiring a dataset of obstacles around the vehicle, identifying and filling in blind spots, generating smooth obstacle outline curves and performing dynamic rendering, the problem of existing technologies being unable to adapt to irregularly shaped obstacles and having detection blind spots is solved, thus improving visual effects and safety.
Patent Information
- Application Number
- CN202611324933.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-12-01
AI Technical Summary
In existing technologies, obstacle visualization alarm schemes for vehicle parking assistance systems cannot adapt to irregularly shaped obstacles, resulting in blind spots and poor visual effects.
By acquiring a dataset of obstacles around the vehicle, blind spots are identified and filled in. An interpolation algorithm is used to generate smooth obstacle outline curves, which are then dynamically rendered to replace fixed texture materials.
It achieves efficient reconstruction of irregularly shaped obstacles, eliminates blind spots in detection, improves visual effects and safety, and reduces development costs.
Smart Images

Figure CN123190849A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle parking assistance technology, and in particular to an obstacle visualization alarm method and system. Background Technology
[0002] With the continuous improvement of automotive intelligence, parking distance control (PDC) systems have become standard equipment in mid-to-high-end models. PDC systems use distance sensors deployed around the vehicle to detect obstacles in real time and display the obstacle distance information visually on the in-vehicle display screen, assisting the driver in parking safely.
[0003] In related technologies, vehicle PDC alarm solutions generally use fixed textures for rendering. Specifically, fixed shape color blocks (usually fan-shaped or arc-shaped) with fixed coordinates relative to the vehicle model are preset at the front and rear bumper positions. When the radar detects an obstacle, it directly triggers, scales, and overlays the preset fixed texture. The drawbacks of this solution are: firstly, the displayed shape depends entirely on the preset material and does not change with the actual outline of the obstacle. The texture shape is fixed and cannot adapt to walls or irregularly shaped obstacles, resulting in a mismatch with the real outline; secondly, the radar probes are discretely arranged, creating detection blind spots between adjacent probes. The texture cannot cover the blind spots, posing a safety hazard of "obstacles present, but no display".
[0004] Some related technologies have attempted to connect radar detection points by performing simple linear interpolation, but the interpolation results in abrupt changes in the tangent direction, a flat and rigid outline, and an inability to reconstruct curved obstacles. Furthermore, the lines connecting discrete points have sharp edges and jagged edges, resulting in poor visual effects. Summary of the Invention
[0005] This application provides an obstacle visualization alarm method and system to solve the problems in related technologies, such as fixed texture shape being unable to adapt to irregularly shaped obstacles, discrete radar arrangement causing blind spots with no visualization display, and direct connection of discrete points resulting in jagged contours.
[0006] Firstly, an obstacle visualization alarm method is provided, including the following steps: Obtain the obstacle detection dataset collected by the vehicle's surrounding distance detection device; Identify the blind zone between adjacent detection points in the obstacle detection dataset, and generate at least one completion point in the blind zone based on the position coordinates and tangent direction of the adjacent detection points to obtain the obstacle point set. Based on the obstacle point set and curve fitting algorithm, the outer contour curve of the obstacle is generated; The area enclosed by the outer contour curve of the obstacle is filled and rendered to generate a visual alarm image.
[0007] In some embodiments, identifying blind spots between adjacent detection points in the obstacle detection dataset includes: Traverse the adjacent detection points in the obstacle detection dataset, calculate the straight-line distance between the two points and the radial distance deviation between the two points and the vehicle. If the straight-line distance is greater than the blind zone determination threshold and the radial distance deviation is less than the deviation threshold, then the area between the two points is determined to be the blind zone.
[0008] In some embodiments, before generating at least one completion point within the blind zone, the method further includes: normalizing the position coordinates of the blind zone; Generating at least one completion point within the blind zone includes: generating at least one completion point within the blind zone based on the position coordinates, tangent direction, and normalized local variables of adjacent detection points.
[0009] In some embodiments, based on the position coordinates, tangent direction, and normalized local variables of adjacent detection points, at least one completion point is generated within the blind zone, including: The two detection points constituting the blind zone are respectively designated as the first detection point and the second detection point; Obtain the first tangent direction at the first detection point and the second tangent direction at the second detection point; Based on the position coordinates of the first and second detection points, the first tangent direction and the second tangent direction, and the normalized local variables, the coordinates of at least one completion point in the blind zone are calculated using an interpolation algorithm.
[0010] In some embodiments, the interpolation algorithm is a cubic Hermitian interpolation algorithm.
[0011] In some embodiments, obtaining the first tangential direction at the first detection point includes: Obtain the coordinates of the adjacent detection point on the side of the first detection point away from the blind zone, and use the coordinates of the first detection point, the adjacent detection point, and the second detection point to calculate the first tangent direction at the first detection point; Obtaining the second tangential direction at the second detection point includes: Obtain the coordinates of the adjacent detection point on the side of the second detection point away from the blind zone, and use the coordinates of the second detection point, the adjacent detection point, and the first detection point to calculate the second tangent direction at the second detection point.
[0012] In some embodiments, the curve fitting algorithm is a quadratic B-spline fitting algorithm or a cubic B-spline fitting algorithm.
[0013] In some embodiments, based on the obstacle point set and curve fitting algorithm, an obstacle outer contour curve is generated, including: Multiple consecutive detection points are extracted sequentially from the obstacle point set, and the weight function of each detection point is calculated. The sum of the weight functions of multiple detection points is 1. Multiple weighting functions are used to weight and calculate the values of multiple consecutive detection points to generate a smooth curve segment. The smooth curve segments are sequentially connected to generate the outer contour curve of the obstacle.
[0014] In some embodiments, generating a visual alarm image includes: Get the visual alarm image generated in the current frame and the visual alarm image displayed in the previous frame; If the change in obstacle distance between the current frame and the previous frame is less than the preset anti-shake threshold, the visual alarm image displayed in the previous frame will remain unchanged.
[0015] Secondly, an obstacle visualization alarm system is provided, including: The acquisition module is used to acquire the obstacle detection dataset collected by the vehicle's surrounding distance detection device; The blind spot completion module is used to identify blind spots between adjacent detection points in the obstacle detection dataset. Based on the position coordinates and tangent direction of the adjacent detection points, at least one completion point is generated in the blind spot to obtain the obstacle point set. The contour generation module is used to generate the outer contour curve of the obstacle based on the obstacle point set and the curve fitting algorithm. The rendering module is used to fill and render the area enclosed by the outer contour curve of the obstacle to generate a visual alarm image.
[0016] This application provides an obstacle visualization alarm method and system. When interpolating and completing the blind zone, not only are the position coordinates of the detection points at both ends used, but the tangent slope at the detection points at both ends is also introduced as an interpolation constraint. This ensures that the completed curve satisfies both position continuity and smooth transition of the tangent slope. Therefore, the completed points can smoothly transition with the real detection points at both ends of the blind zone, eliminating detection gaps. Then, curve fitting is performed on the completed point set to generate a smooth and continuous obstacle outer contour curve. Finally, the area enclosed by the contour is dynamically filled and rendered to replace the preset texture material. Thus, the visualization blind zone caused by the discrete arrangement of radar is eliminated, and the jagged and harsh broken lines caused by directly connecting discrete points are avoided. This improves the obstacle shape restoration accuracy and visual effect while eliminating safety hazards and reducing development costs. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A flowchart of the obstacle visualization alarm method provided in the embodiments of this application; Figure 2 A block diagram of an obstacle visualization alarm system provided in an embodiment of this application; Figure 3 A schematic diagram of a visual alarm image generated by simulation of the obstacle visualization alarm method provided in this application embodiment. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] This application provides an obstacle visualization alarm method that can solve the problems in related technologies, such as fixed texture shape being unable to adapt to irregularly shaped obstacles, radar discrete arrangement causing blind spots with no visualization display, and direct connection of discrete points resulting in jagged contours.
[0021] Example 1 Figure 1 This is a flowchart of an obstacle visualization alarm method provided in an embodiment of this application. Figure 1 As shown, the method includes the following steps: Step S100: Obtain the obstacle detection dataset collected by the vehicle perimeter distance detection device.
[0022] In this embodiment, the distance detection device is preferably a vehicle-wide distributed ultrasonic radar system. Multiple ultrasonic probes are installed on the front and rear bumpers of the vehicle, with an effective detection distance range of 0.3m to 1.2m, and the detection angle covers the low-speed warning area around the vehicle body.
[0023] Specifically, a vehicle coordinate system is established, with the vehicle's center ground projection point as the origin O(0,0), and the X-axis as the vertical axis and the Y-axis as the horizontal axis—a two-dimensional planar coordinate system. All detection data, fitted point locations, and contour coordinate calculations are based on this unified coordinate system. The distance detection device detects obstacles in real time, and the obstacle detection dataset is obtained through coordinate calculation, denoted as... ={ , ,..., }, where each point contains position coordinates ( , This dataset contains valid data points after filtering out fault signals, over-range data, and jitter noise.
[0024] By establishing a unified vehicle coordinate system, the detection data from all radar probes are converted to the same reference for calculation, eliminating the error accumulation problem caused by the inconsistency of coordinates among multiple probes. At the same time, the original detection data is filtered for fault signals, over-range data, and jitter noise, ensuring that all detection points participating in subsequent calculations are valid points. This improves the reliability and accuracy of the algorithm from the data source and avoids interference from invalid data in blind spot determination and contour generation.
[0025] Step S200: Identify the blind zone between adjacent detection points in the obstacle detection dataset. Based on the position coordinates and tangent direction of the adjacent detection points, generate at least one completion point in the blind zone to obtain the obstacle point set.
[0026] Because radar probes are discretely arranged, detection blind zones will form between adjacent probes. This step specifically includes two sub-processes: blind zone determination and blind zone completion.
[0027] S201: Blind Spot Determination Iterate through the adjacent detection points in the obstacle detection dataset, for example, the m-th detection point. and the (m+1)th detection point Calculate the straight-line distance between two points. And the radial distance deviation between the two points and the vehicle. Radial distance deviation refers to the absolute value of the difference between the distances of two points to the origin O.
[0028] If the linear spacing Greater than the blind zone detection threshold And radial distance deviation Less than the deviation threshold If the two points are in a blind zone, then the area between them is determined to be a blind zone.
[0029] In a preferred embodiment, the blind zone determination threshold The setting is 0.4m, which is the maximum effective coverage width of a single radar segment, and the deviation threshold. The threshold is set to 0.05m. This threshold is set according to the actual vehicle measurement parameters, and the threshold varies for different vehicle models.
[0030] More preferably, to avoid interpolation distortion, after determining a blind zone, a long blind zone filtering step is included: if the number of consecutively failed radar probes between the two detection points constituting the blind zone is greater than or equal to 2, it is determined to be a long blind zone. The interpolation completion process is not initiated, the curve remains broken, and a preset blind zone warning label is displayed at the corresponding position in the subsequently generated alarm image to alert the driver. Through the long blind zone filtering mechanism, interpolation completion is not initiated for long blind zones with ≥2 consecutively failed radar probes, avoiding contour distortion caused by unreliable interpolation in areas with severely missing information. The display of the blind zone warning label at the corresponding position balances both visualization effectiveness and the reliability of driving safety warnings.
[0031] S202: Blind Spot Completion After identifying the blind zone, since the span of different blind zones varies, in order to unify the calculation model and improve the universality and robustness of the algorithm, the position coordinates of the blind zone are first normalized, and at least one completion point is generated in the blind zone based on the position coordinates of adjacent detection points, tangent direction and normalized local variables.
[0032] Specifically, the detection points at both ends that constitute the blind zone are respectively designated as the first detection point. Second detection point Constructing the interpolation function The interpolation constraints include: Positional continuity constraint: The completed curve must pass through the true valid points at both ends of the blind zone, i.e. , .
[0033] Trend constraint: The completed region does not deviate from the actual obstacle location, that is, the slope of the tangent line at both ends of the completed curve. The slope of the tangent to the original contour at that point remains consistent, i.e. , .
[0034] First, obtain the first detection point. The first tangent direction at the location and the second detection point The second tangent direction at the location .
[0035] Regarding the slope of the tangent line In one embodiment, the tangent direction is calculated as follows: Obtain the first detection point The adjacent detection point on the side away from the blind zone The coordinates, using the first detection point The adjacent detection point and the second detection point The coordinates of the three coordinates are used to calculate the first tangent direction at the first detection point. The specific calculation formula is as follows: =( - ) / ( - ).
[0036] Acquire the second detection point The adjacent detection point on the side away from the blind zone The coordinates, using the second detection point The adjacent detection point and the first detection point The coordinates of the three coordinates are used to calculate the second tangent direction at the second detection point. The specific calculation formula is as follows: =( - ) / ( - ).
[0037] This slope calculation method based on the three-point difference method can avoid contour inflection point distortion and more accurately reflect the true contour direction of the obstacle at the endpoint, providing a reliable constraint for subsequent interpolation.
[0038] The blind spot is normalized, including: Introducing normalized local variables : ,in Let t be the x-coordinate of the interpolation point within the blind zone, where t∈[0,1].
[0039] Normalized local variables are parameters that characterize the relative positions of interpolation points within the blind zone. By normalizing the blind zone intervals and generating multiple completion points using uniform dense sampling, blind zones of different spans can be calculated using a unified interpolation model, which improves the algorithm's versatility and robustness. At the same time, it ensures the continuity of the completion point set, providing a complete and dense data foundation for subsequent contour fitting.
[0040] Finally, based on the position coordinates of the first and second detection points ( , )and( , First tangential direction Second tangential direction and normalized local variables The coordinates of at least one completion point within the blind zone are calculated using an interpolation algorithm.
[0041] Preferably, the interpolation algorithm is the cubic Hermite interpolation algorithm. This algorithm can simultaneously satisfy the constraints of positional continuity and tangent slope continuity. Its basis functions and the complete interpolation curve expression are as follows: Define the fourth-order weighting coefficients: Left endpoint position weight: ; Right endpoint position weight: ; Left endpoint slope trend weight: ; Right endpoint slope trend weight: ; The complete mathematical expression for the interpolation curve is: ; By uniformly densely sampling t within the interval [0,1] (e.g., taking 10 points at equal intervals), multiple consecutive completion points can be generated. Inserting these completion points into the original obstacle detection dataset yields a complete and continuous set of obstacle points.
[0042] When using the cubic Hermitian interpolation algorithm for blind zone completion, continuous constraints on endpoint position and endpoint tangent slope are introduced simultaneously. This allows the completed curve to smoothly transition with the actual detection points at both ends of the blind zone, eliminating the defects of abrupt slope changes and harsh contours in traditional linear interpolation, and achieving seamless connection between the blind zone contour and the measured contour.
[0043] Step S300: Generate the outer contour curve of the obstacle based on the obstacle point set and curve fitting algorithm.
[0044] After completing the blind spot filling, a complete and dense set of obstacle points is obtained. To eliminate the jagged edges and harsh broken lines caused by direct connections between discrete points, in this embodiment, the curve fitting algorithm is a quadratic B-spline fitting algorithm or a cubic B-spline fitting algorithm, preferably a quadratic B-spline fitting algorithm. The specific implementation process is as follows: Multiple consecutive detection points are extracted sequentially from the obstacle point set, using three consecutive detection points as an example. , , Process them as a group. Calculate the weight function for each of the three probe points, ensuring that the sum of all weight functions equals 1.
[0045] The front point weighting function is used to anchor the first real detection point and control the initial segment of the curve to perfectly match the real obstacle point in front.
[0046] ; The center point dominant weighting function is the core shaping function of the entire curve, which dominates the bending trend in the middle and determines the smoothness of the contour.
[0047] ; Post-position weighting function: Anchors the third real detection point, controls the end of the curve to accurately fit the real obstacle point on the rear side, and ensures that the splicing of multiple curve segments is seamless.
[0048] ,t∈[0,1] ; in, + =1.
[0049] Then, the three weighting functions mentioned above are applied to the three consecutive detection points respectively. , , Perform weighted calculations to generate a smooth curve segment C(t): ; Finally, the smooth curve segments generated for different point sets are sequentially connected end to end to generate the outer contour curve of the obstacle. Compared with Bézier curves, B-splines have the advantages of local controllability, no deviation from feature points, and no global distortion. The contour curvature generated in this embodiment is continuous, smooth, and without hard inflection points. It only smooths noise and not the real edges of the obstacle, perfectly adapting to the contour restoration scenes of irregular obstacles, long walls, and curved pillars around vehicles.
[0050] First, by replacing direct connections between discrete points with a quadratic B-spline fitting algorithm, the generated obstacle outline curve exhibits continuous curvature, smooth transitions, and no hard inflection points. This fundamentally eliminates the visual defects of severe jagged edges and sharp corners found in traditional methods, significantly improving the visual effect and realism of alarm images. Second, the constraint that the sum of the three weighting functions is always equal to 1 ensures that the fitted curve is generated entirely from real radar measurement points, preventing distortion from arbitrary expansion or contraction. This ensures the geometric conformity of the outline, allowing the fitting result to truly reflect the actual shape of the obstacle. Third, the B-spline algorithm itself possesses locally controllable characteristics. When local detection points change, only the curve shape of the corresponding interval is affected, without causing global outline distortion, which is a significant advantage over Bézier curves. Furthermore, this algorithm only smooths out minor fluctuations caused by detection noise while preserving the true angular features of the obstacle, perfectly adapting to the outline restoration of various scenarios such as vehicle perimeter walls, curved pillars, and irregularly shaped obstacles. Fourth, the curve splicing method that connects the beginning and end after segmented fitting ensures the continuity of the overall outline and eliminates the discontinuity or overlap at the segment splicing points.
[0051] Step S400: Fill and render the area enclosed by the outer contour curve of the obstacle to generate a visual alarm image.
[0052] This step completely abandons preset texture materials and performs dynamic color block rendering based on the closed contour path generated by fitting.
[0053] First, the obstacle's outer contour curve generated in step S300 is stitched together to form a closed polygonal region. Then, a scanline filling algorithm or other region filling algorithms known in the art are used to perform pixel-level filling rendering on this closed region, generating a visual alarm color block.
[0054] In a preferred embodiment, the rendering process also employs a tiered color rendering strategy: color matching is applied based on the distance of each point on the outer contour curve of the obstacle from the vehicle. For example, a red warning is rendered when the distance is between 0m and 0.3m; a yellow warning is rendered when the distance is between 0.3m and 0.6m; and a green alert is rendered when the distance is between 0.6m and 1.2m. This tiered threshold can be flexibly adjusted according to the vehicle model and calibration requirements.
[0055] For multiple non-connected independent obstacles, this method can fit their respective independent closed contours and render them separately to generate multiple independent alarm color blocks, thus avoiding confusion.
[0056] Furthermore, to further improve display stability, this method also introduces anti-shake and anti-flicker constraints. When generating a visual alarm image, the method acquires the visual alarm image generated in the current frame and the visual alarm image displayed in the previous frame. It calculates the change in obstacle distance between the current frame and the previous frame. If this change is less than a preset anti-shake threshold (e.g., 3cm), the visual alarm image displayed in the previous frame remains unchanged, and the current frame is not updated. This strategy effectively suppresses high-frequency screen jitter caused by sensor noise or minor vibrations, improving the user experience.
[0057] Through the above steps S100 to S400, the embodiments of this application realize a full-link algorithm solution from radar data acquisition, blind spot intelligent completion, contour smoothing fitting to dynamic color block rendering, effectively solving many problems mentioned in the background art.
[0058] Generate visual alarm images, including: Get the visual alarm image generated in the current frame and the visual alarm image displayed in the previous frame; If the change in obstacle distance between the current frame and the previous frame is less than the preset anti-shake threshold, the visual alarm image displayed in the previous frame will remain unchanged.
[0059] Through the above steps, firstly, by completely abandoning preset texture materials and generating color blocks in real time based on fitted contours, the shape of the alarm color blocks can adaptively change with the actual contour of the obstacle. This fundamentally solves the technical problem of fixed texture shapes being rigid and unable to adapt to irregularly shaped obstacles, achieving a high degree of obstacle shape reproduction. Secondly, a hierarchical color rendering strategy is adopted, dynamically switching between red, yellow, and green warning colors according to different distances of the obstacle from the vehicle. This allows the driver to intuitively and quickly judge the degree of danger of the obstacle through color, improving the safety of parking assistance and the efficiency of human-computer interaction. Thirdly, through anti-shake and anti-flicker constraints, a distance change threshold is set. When the distance fluctuation between adjacent frames is small, the display remains unchanged, effectively suppressing high-frequency jitter caused by sensor noise or minor vehicle vibrations, ensuring the stability of the display and the driver's visual comfort. Fourthly, for multiple non-connected obstacles, independent contours are fitted and rendered separately, generating multiple distinguishable alarm color blocks. This avoids the problem of overlapping and confusing multiple obstacle textures in traditional solutions, allowing the driver to clearly identify the independent shape and position of each obstacle around the vehicle. Fifth, the entire rendering process requires no preset image materials, reducing development costs and material maintenance workload. Moreover, the algorithm is highly versatile and can be adapted to the radar layout and hardware platform of different car models, possessing good portability and mass production value.
[0060] Example 2 Based on the same inventive concept, this application also provides an obstacle visualization alarm system. Figure 2 This is a structural block diagram of an obstacle visualization alarm system provided in an embodiment of this application. Figure 2 As shown, the system includes: The acquisition module is used to acquire the obstacle detection dataset collected by the vehicle's surrounding distance detection device; The blind spot completion module is used to identify blind spots between adjacent detection points in the obstacle detection dataset. Based on the position coordinates and tangent direction of adjacent detection points, it generates at least one completion point within the blind spot to obtain the obstacle point set. The contour generation module is used to generate the outer contour curve of the obstacle based on the obstacle point set and curve fitting algorithm; The rendering module is used to fill and render the area enclosed by the outer contour curve of the obstacle to generate a visual alarm image.
[0061] Example 3 This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the obstacle visualization alarm method as described in Embodiment 1.
[0062] Example 4 This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the obstacle visualization alarm method as described in Embodiment 1.
[0063] Example 5 This application also provides a vehicle that includes an obstacle visualization alarm system as described in Embodiment 2; or, includes an electronic device as described in Embodiment 3; or, stores and / or runs a computer program that implements the obstacle visualization alarm method as described in Embodiment 1.
[0064] Specifically, the vehicle is a motor vehicle equipped with a distributed ultrasonic radar system. Multiple ultrasonic sensors are deployed around the vehicle body (including but not limited to the front bumper, rear bumper, and sides) to detect obstacles around the vehicle in real time. The vehicle's central control display screen or instrument panel display screen is used to display visual alarm images generated by the obstacle visualization alarm system.
[0065] Because the vehicle uses the aforementioned obstacle visualization alarm method or system, it can adaptively restore the true outline of obstacles around the vehicle during parking or low-speed driving, eliminate the safety hazards caused by radar detection blind spots, and provide intuitive alarm prompts to the driver in the form of smooth, stable, and graded color blocks, thereby effectively improving the safety, accuracy, and user experience of parking assistance.
[0066] In the description of this application, it should be noted that the terms "upper," "lower," etc., indicating the orientation or positional relationship are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Unless otherwise expressly specified and limited, the terms "installed," "connected," and "linked" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication between two elements. For those skilled in the art, the specific meaning of the above terms in this application can be understood according to the specific circumstances.
[0067] It should be noted that in this application, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0068] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. An obstacle visualization alerting method, characterized by, Includes the following steps: Obtain the obstacle detection dataset collected by the vehicle's surrounding distance detection device; Identify the blind zone between adjacent detection points in the obstacle detection dataset, and generate at least one completion point in the blind zone based on the position coordinates and tangent direction of the adjacent detection points to obtain the obstacle point set. Based on the obstacle point set and curve fitting algorithm, the outer contour curve of the obstacle is generated; The area enclosed by the outer contour curve of the obstacle is filled and rendered to generate a visual alarm image.
2. The obstacle visualization alarm method as described in claim 1, characterized in that, Identifying blind spots between adjacent detection points in the obstacle detection dataset includes: Traverse the adjacent detection points in the obstacle detection dataset, calculate the straight-line distance between the two points and the radial distance deviation between the two points and the vehicle. If the straight-line distance is greater than the blind zone determination threshold and the radial distance deviation is less than the deviation threshold, then the area between the two points is determined to be the blind zone.
3. The obstacle visualization alarm method as described in claim 1, characterized in that, Before generating at least one completion point within the blind zone, the method further includes: normalizing the position coordinates of the blind zone; Generating at least one completion point within the blind zone includes: generating at least one completion point within the blind zone based on the position coordinates, tangent direction, and normalized local variables of adjacent detection points.
4. The obstacle visualization alarm method as described in claim 3, characterized in that, Based on the position coordinates, tangent direction, and normalized local variables of adjacent detection points, at least one completion point is generated within the blind zone, including: The two detection points constituting the blind zone are respectively designated as the first detection point and the second detection point; Obtain the first tangent direction at the first detection point and the second tangent direction at the second detection point; Based on the position coordinates of the first and second detection points, the first tangent direction and the second tangent direction, and the normalized local variables, the coordinates of at least one completion point in the blind zone are calculated using an interpolation algorithm.
5. The obstacle visualization alarm method as described in claim 4, characterized in that, The interpolation algorithm is a cubic Hermitian interpolation algorithm.
6. The obstacle visualization alarm method as described in claim 4, characterized in that, Obtaining the first tangent direction at the first detection point includes: Obtain the coordinates of the adjacent detection point on the side of the first detection point away from the blind zone, and use the coordinates of the first detection point, the adjacent detection point, and the second detection point to calculate the first tangent direction at the first detection point; Obtaining the second tangential direction at the second detection point includes: Obtain the coordinates of the adjacent detection point on the side of the second detection point away from the blind zone, and use the coordinates of the second detection point, the adjacent detection point, and the first detection point to calculate the second tangent direction at the second detection point.
7. The obstacle visualization alarm method as described in claim 1, characterized in that, The curve fitting algorithm is either a quadratic B-spline fitting algorithm or a cubic B-spline fitting algorithm.
8. The obstacle visualization alarm method as described in claim 1, characterized in that, Based on the obstacle point set and curve fitting algorithm, the outer contour curve of the obstacle is generated, including: Multiple consecutive detection points are extracted sequentially from the obstacle point set, and the weight function of each detection point is calculated. The sum of the weight functions of multiple detection points is 1. Multiple weighting functions are used to weight and calculate the values of multiple consecutive detection points to generate a smooth curve segment. The smooth curve segments are sequentially connected to generate the outer contour curve of the obstacle.
9. The obstacle visualization alarm method as described in claim 1, characterized in that, Generate visual alarm images, including: Get the visual alarm image generated in the current frame and the visual alarm image displayed in the previous frame; If the change in obstacle distance between the current frame and the previous frame is less than the preset anti-shake threshold, the visual alarm image displayed in the previous frame will remain unchanged.
10. An obstacle visualization warning system characterized by, include: The acquisition module is used to acquire the obstacle detection dataset collected by the vehicle's surrounding distance detection device; The blind spot completion module is used to identify blind spots between adjacent detection points in the obstacle detection dataset. Based on the position coordinates and tangent direction of the adjacent detection points, at least one completion point is generated in the blind spot to obtain the obstacle point set. The contour generation module is used to generate the outer contour curve of the obstacle based on the obstacle point set and the curve fitting algorithm. The rendering module is used to fill and render the area enclosed by the outer contour curve of the obstacle to generate a visual alarm image.
