Ship body point cloud data filtering method and equipment

By using the improved Euclidean clustering algorithm based on reflection intensity and the cloth simulation point cloud filtering algorithm in the maritime environment to process the tail waves and waves in the tugboat point cloud data, the problem of clutter interference in the point cloud data in the maritime environment is solved. Improved accuracy and precision of point cloud data.

CN118537571APending Publication Date: 2024-08-23WUHAN UNIV OF SCI & TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410762123.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When the existing technology processes point cloud data in a maritime environment, it is difficult to effectively suppress the interference of water surface clutter and waves on tugboat target cluster recognition, resulting in inaccuracy of point cloud data.

Method used

An improved Euclidean clustering algorithm based on reflection intensity is used to filter the initial point cloud data, and a point cloud filtering algorithm based on cloth simulation is used to filter the surrounding waves of the target point cloud bounding box. The weighted distance and cloth simulation grid are calculated. model to eliminate clutter points and obtain accurate hull point cloud data.

Benefits of technology

It effectively suppresses the interference of wake waves and waves on the clustering results, improves the accuracy and precision of point cloud data, reduces the influence of scattered outlier noise points, and obtains more accurate hull point cloud data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537571A
    Figure CN118537571A
Patent Text Reader

Abstract

The invention provides a ship body point cloud data filtering method and device, and relates to the technical field of target perception, and the method comprises the steps: S1, obtaining an initial point cloud data set of a ship body through a laser radar; s2, performing tail wave filtering on the initial point cloud data set through an improved Euclidean clustering algorithm based on reflection intensity to obtain a target point cloud bounding box; and S3, performing surrounding wave filtering on the target point cloud bounding box through a point cloud filtering algorithm based on cloth simulation to obtain a final point cloud data set of the ship body. The method comprises an improved Euclidean clustering algorithm based on reflection intensity and a point cloud filtering algorithm based on cloth simulation, the improved Euclidean clustering algorithm based on reflection intensity is used for processing a tail wave part in point cloud data, and the point cloud filtering algorithm based on cloth simulation is used for processing a wave part around a ship in the point cloud data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of target perception technology, and in particular to a method and device for filtering hull point cloud data. Background Art

[0002] As an important auxiliary ship at sea, tugboats undertake tasks such as towing, pushing, and escorting. When performing tugboat operations, multi-sensor perception systems are now often used to achieve accurate environmental perception. Point cloud data is the data output of the laser radar. By processing the point cloud data, three-dimensional reconstruction of the tugboat's working target can be achieved to obtain accurate distance information. The marine environment is complex and changeable, and point cloud data is often interfered by natural factors such as waves and wind, resulting in a lot of clutter in the point cloud data.

[0003] Existing point cloud data processing algorithms often save large areas of water surface point clouds in the point cloud data when processing data in the marine environment. However, the water surface point cloud data contains scattered noise points of various shapes, and the waves generated by the tugboat at work will also form larger point cloud clusters, thus affecting the recognition of tugboat target clustering and the accuracy of point cloud data. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a hull point cloud data filtering method and device, which overcomes the limitations of existing traditional point cloud filtering methods when used in water areas and the problem that point cloud data is affected by water surface clutter.

[0005] The present invention provides a method for filtering hull point cloud data, comprising:

[0006] S1: Obtain the initial point cloud data set of the hull through laser radar;

[0007] S2: The initial point cloud data set is filtered by the improved Euclidean clustering algorithm based on reflection intensity to obtain the target point cloud bounding box;

[0008] S3: The surrounding waves of the target point cloud bounding box are filtered by the point cloud filtering algorithm based on cloth simulation to obtain the final point cloud data set of the hull.

[0009] Preferably, step S2 specifically comprises:

[0010] S21: Get point P in space, set distance threshold, and initialize set Q; P is the number of the point;

[0011] S22: Obtain the point cloud index of point P in the initial point cloud data set through the KD-Tree algorithm, and obtain the point cloud intensity of point P through the point cloud index P ;

[0012] S23: By point cloud intensity P Calculate the weighted distance to obtain point P

[0013] S24: If the weighted distance If the distance is less than the threshold, point P is put into set Q, otherwise point P is removed;

[0014] S25: Repeat steps S22-S24 until the number of points in set Q no longer increases; if the final number of points in set Q exceeds 5, the points in set Q are taken as target points; otherwise, set Q is eliminated;

[0015] S26: Repeat steps S21-S25 until all points in the space are traversed, all target points are obtained, and a target point cloud bounding box is constructed by all target points.

[0016] Preferred:

[0017] Weighted distance The calculation formula is:

[0018]

[0019] Where d is the Euclidean distance, and its unit is m.

[0020] Preferably, step S3 specifically comprises:

[0021] S31: Set the mesh model for cloth simulation, and project all points of the target point cloud bounding box and all mesh particles of the mesh model onto the same plane;

[0022] S32: Obtain the mesh particle P′ corresponding to the point P, and calculate the height IHV of the mesh particle P′ before projection. P′ and the projected displacement GHV P′ ;

[0023] S33: If GHV P′ ≤IHV P′ Then place the mesh particle P′ on the IHV P′ At, as the preliminary wave point P1′, go to step S36; otherwise, go to step S34;

[0024] S34: adjusting the displacement HV of the mesh particle P′ affected by the internal force to below the preset threshold value HV′, and proceeding to step S35;

[0025] S35: Calculate the height difference PHV between the obtained point P and the grid particle P′; if PHV≤preset threshold PHV′, take the grid particle P′ as the preliminary wave point P1′ and proceed to step S36; otherwise, take the grid particle P′ as the non-wave point P2′;

[0026] S36: Calculate and obtain the DoN operator of the preliminary wave point P1′; if the DoN operator is less than or equal to the preset threshold value DoN′, the preliminary wave point P1′ is used as the non-wave point P2′; otherwise, the preliminary wave point P1′ is used as the final wave point P3′;

[0027] S37: Repeat steps S32-S36 until all points in the target point cloud bounding box are traversed, all final wave points are eliminated, and the final point cloud data set of the hull is formed by all non-wave points.

[0028] Preferably, step S31 is specifically as follows:

[0029] S311: setting the movement direction of all mesh particles of the mesh model to the vertical direction;

[0030] S312: inverting the target point cloud bounding box, and setting the initial position of the grid model above the highest point of the inverted target point cloud bounding box;

[0031] S313: Move all points of the inverted target point cloud bounding box and all mesh particles in the same direction and project them vertically onto the same plane.

[0032] Preferably, step S34 is specifically as follows:

[0033] S341: Apply internal force to the grid particle P′, and calculate the displacement HV of P′ affected by the internal force;

[0034] S342: If HV≤preset threshold value HV′, proceed to step S35; otherwise, adjust the parameters of the internal force and return to step S341.

[0035] A storage medium, wherein the storage medium stores instructions and data for implementing the hull point cloud data filtering method.

[0036] A hull point cloud data filtering device comprises: a processor and a storage medium; the processor loads and executes instructions and data in the storage medium to implement the hull point cloud data filtering method.

[0037] The present invention has the following beneficial effects:

[0038] The present invention comprises an improved Euclidean clustering algorithm based on reflection intensity and a point cloud filtering algorithm based on cloth simulation, wherein the improved Euclidean clustering algorithm based on reflection intensity is used to process the tail wave part in the point cloud data, and the point cloud filtering algorithm based on cloth simulation is used to process the wave part around the ship in the point cloud data.

[0039] By calculating the weighted distance of the midpoint of the point cloud data to remove the wake waves for the first time, the interference of the ship wake waves on the clustering results can be better suppressed; and the wake waves are further removed by the number of midpoints in the set Q, effectively suppressing the scattered outlier noise points generated by the wake waves in the original lidar data. The cloth simulation point cloud filtering process of the waves around the hull can further reduce the size of the object point cloud bounding box so that its size surrounds the object point cloud with sufficient accuracy. After that, the normal estimation operator is added to filter the preliminary wave points again to obtain accurate non-wave points, thereby improving the accuracy of the final point cloud data of the hull. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 This is a flow chart of a method according to an embodiment of the present invention;

[0041] Figure 2 It is the flow chart of the improved Euclidean clustering algorithm based on reflection intensity;

[0042] Figure 3 It is the flow chart of KD-Tree algorithm;

[0043] Figure 4 This is the flow chart of the point cloud filtering algorithm based on cloth simulation;

[0044] Figure 5 This is a structural diagram of the device according to an embodiment of the present invention;

[0045] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0046] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0047] Reference Figure 1 The present invention provides a method for filtering hull point cloud data, comprising:

[0048] S1: Obtain the initial point cloud data set of the hull through laser radar;

[0049] S2: The initial point cloud data set is filtered by the improved Euclidean clustering algorithm based on reflection intensity to obtain the target point cloud bounding box;

[0050] Specifically, for the initial point cloud data set that has not been processed and transmitted to the workstation by the lidar, the wake has a greater impact on the point cloud clustering, which will make the point cloud bounding box size of the object larger, resulting in a large deviation between the obtained data and the actual data. It is necessary to use an improved Euclidean clustering algorithm based on reflection intensity to deal with the influence of the wake generated by the tugboat's working target.

[0051] Further, the improved Euclidean clustering algorithm based on reflection intensity is referred to Figure 2 As shown, the KD-Tree algorithm is embedded in the algorithm to improve the speed of obtaining the point cloud index. The improved Euclidean clustering method based on the reflection intensity of the point cloud can better suppress the interference of the ship wake on the clustering results. The scattered outlier noise points generated by the wake in the original laser radar data can be effectively suppressed by further screening the point cloud clusters obtained after the intensity weighted clustering, as shown in step S2.

[0052] Step S2 is specifically as follows:

[0053] S21: Get point P in space, set distance threshold, and initialize set Q; P is the number of the point;

[0054] S22: Obtain the point cloud index of point P in the initial point cloud data set through the KD-Tree algorithm, and obtain the point cloud intensity of point P through the point cloud index P ;

[0055] For details, please refer to KD-Tree algorithm Figure 3 As shown in the figure, by constructing the point cloud data into a tree data index structure in the form of a binary tree, the data retrieval efficiency is effectively improved, the time required for the Euclidean clustering process to retrieve the nearest point algorithm is reduced, and the real-time performance of the algorithm is enhanced. The algorithm includes the following steps:

[0056] Step 221: Select the median of all data in the dimension with the largest variance of the test point as the root node of the binary tree, where P(k) is the value of the test point and P(m) is the value of the median;

[0057] Step 222: Set the data points smaller than the median on the dimension to belong to the left subtree of the root node, otherwise, the data points belong to the right subtree;

[0058] Step 223: Update the neighbor point with the current minimum distance D and the current nearest neighbor point q;

[0059] Step 224: gradually retreat to the root node along the search path, and determine whether the distance of the point at this time is lower than the current minimum distance D. If it is lower than D, then include the node in the search range, create an index and continue to update neighboring points. Otherwise, continue to retreat to the root node.

[0060] S23: Obtain the weighted distance dintensityP of point P by calculating the point cloud intensity intensityP;

[0061] Furthermore, the calculation formula of the weighted distance dintensityP is:

[0062]

[0063] Where d is the Euclidean distance, and its unit is m.

[0064] Specifically, the unit of the weighted distance dintensityP is m, and the point cloud intensity intensityP is obtained from the lidar data, and is a dimensionless value between 0 and 255. This parameter varies greatly due to the material of the detected substance, and is used to distinguish the hull from the wake.

[0065] S24: If the weighted distance dintensityP is less than the distance threshold, point P is put into the set Q, otherwise point P is removed;

[0066] S25: Repeat steps S22-S24 until the number of points in set Q no longer increases; if the final number of points in set Q exceeds 5, the points in set Q are taken as target points; otherwise, set Q is eliminated;

[0067] S26: Repeat steps S21-S25 until all points in the space are traversed, all target points are obtained, and a target point cloud bounding box is constructed by all target points.

[0068] S3: The surrounding waves of the target point cloud bounding box are filtered by the point cloud filtering algorithm based on cloth simulation to obtain the final point cloud data set of the hull.

[0069] Further, the point cloud filtering algorithm based on cloth simulation is referenced Figure 4 For the target point cloud bounding box, cloth simulation point cloud filtering is performed on the waves around the target therein, so that the size of the object point cloud bounding box can be further reduced so that its size surrounds the object point cloud with sufficient accuracy. Then, a normal estimation operator is added to once again determine whether the preliminary wave points have an overfitting process for the non-wave points, thereby extracting more refined non-wave points and forming a final point cloud data set of the hull with the preliminary non-wave points, as shown in step S3.

[0070] Step S3 is specifically as follows:

[0071] S31: Set the mesh model for cloth simulation, and project all points of the target point cloud bounding box and all mesh particles of the mesh model onto the same plane;

[0072] Furthermore, step S31 is specifically as follows:

[0073] S311: setting the movement direction of all mesh particles of the mesh model to the vertical direction;

[0074] Specifically, the mesh model of the cloth is initialized, the appropriate mesh resolution is defined, and according to the wave characteristics on the sea surface, the movement direction of each mesh particle is specified to be vertical, and the relationship between the position and force of the mesh particles is defined as follows:

[0075]

[0076] Where X is the position of the grid particle at time t; F ext (X, t) is the external force, i.e. the collision force and gravity on the grid particles; F int (X, t) is the internal force, i.e., the force between grid particles;

[0077] S312: inverting the target point cloud bounding box, and setting the initial position of the grid model above the highest point of the inverted target point cloud bounding box;

[0078] S313: Move all points of the inverted target point cloud bounding box and all mesh particles in the same direction and project them vertically onto the same plane.

[0079] S32: Obtain the mesh particle P′ corresponding to the point P, and calculate the height IHV of the mesh particle P′ before projection. P′ and the projected displacement GHV P′ ;

[0080] Specifically, the displacement GHV of each mesh particle affected by gravity is calculated, where gravity is an external force. The formula for calculating the influence of external force is as follows:

[0081]

[0082] Where M is the weight of the particle, usually set to 1; Δt is a short period of time; G is gravity; and X is displacement.

[0083] S33: If GHV P′ ≤IHV P′ Then place the mesh particle P′ on the IHV P′ At, as the preliminary wave point P1′, go to step S36; otherwise, go to step S34;

[0084] S34: adjusting the displacement HV of the mesh particle P′ affected by the internal force to below the preset threshold value HV′, and proceeding to step S35;

[0085] Further, step S34 is specifically as follows:

[0086] S341: Apply internal force to the mesh particle P′, and calculate the displacement HV of P′ affected by the internal force;

[0087] Specifically, the movement between grid particles affected by internal forces follows Newton's second law, and the relationship is as follows:

[0088]

[0089] in is the displacement vector of the grid particle; b is the judgment value of whether the grid particle moves or not, the value of moving is 1, otherwise the value is 0; and Represent the current position vectors of the grid particle and the adjacent grid particles respectively; is the unit vector of (0, 0, 1);

[0090] S342: If HV≤preset threshold value HV′, proceed to step S35; otherwise, adjust the parameters of the internal force and return to step S341.

[0091] S35: Calculate the height difference PHV between the obtained point P and the grid particle P′; if PHV≤preset threshold PHV′, take the grid particle P′ as the preliminary wave point P1′ and proceed to step S36; otherwise, take the grid particle P′ as the non-wave point P2′;

[0092] S36: Calculate and obtain the DoN operator of the preliminary wave point P1′; if the DoN operator is less than or equal to the preset threshold value DoN′, the preliminary wave point P1′ is used as the non-wave point P2′; otherwise, the preliminary wave point P1′ is used as the final wave point P3′;

[0093] Specifically, a normal estimation calculation is performed on the preliminary wave points, and the normal differential operator (difference of normals, DoN) obtained by the calculation can determine whether the preliminary wave points at this time still contain some non-wave points, so that the non-wave points can be extracted and merged.

[0094] Calculate the normal vectors of different scales r1, r2, normalize them and calculate the DoN operator of different scales:

[0095] Assume that the scaling operator L(S, r) of the point cloud dataset S, where the scaling radius parameter is r, Represents the normal estimate of point S under the support operator r.

[0096] When the radius r1<r2, the DoN operator at different scales The definition is as follows:

[0097]

[0098] Set a suitable threshold and use it to filter the vector domain, i.e., DoN operator, to separate the wave points and non-wave points corresponding to the current scale.

[0099] The threshold here requires further analysis of the point cloud distribution of sea waves and the surrounding of the ship. Waves belong to irregular point cloud clusters, so the point cloud normals on them are estimated to belong to a higher frequency area. The choice of threshold will directly affect its segmentation effect.

[0100] The preliminary wave points and the segmented wave points, the preliminary non-wave points and the segmented non-wave points are combined to form the final wave points and non-wave points, wherein the non-wave points are the required hull point cloud.

[0101] S37: Repeat steps S32-S36 until all points in the target point cloud bounding box are traversed, all final wave points are eliminated, and the final point cloud data set of the hull is formed by all non-wave points.

[0102] See also Figure 5 , Figure 5 4 is a schematic diagram of the working of the hardware device of an embodiment of the present invention, wherein the hardware device specifically comprises: a hull point cloud data filtering device 401, a processor 402 and a storage medium 403.

[0103] A hull point cloud data filtering device 401: The hull point cloud data filtering device 401 implements the hull point cloud data filtering method.

[0104] Processor 402: The processor 402 loads and executes the instructions and data in the storage medium 403 to implement the hull point cloud data filtering method.

[0105] Storage medium 403: The storage medium 403 stores instructions and data; the storage medium 403 is used to implement the hull point cloud data filtering method.

[0106] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0107] The serial numbers of the embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In a unit claim that lists several means, several of these means may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order and these words may be interpreted as identifiers.

[0108] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for filtering hull point cloud data, characterized in that: include: S1: Obtain the initial point cloud data set of the hull through laser radar; S2: The initial point cloud data set is filtered by the improved Euclidean clustering algorithm based on reflection intensity to obtain the target point cloud bounding box; S3: The surrounding waves of the target point cloud bounding box are filtered by the point cloud filtering algorithm based on cloth simulation to obtain the final point cloud data set of the hull.

2. The method for filtering hull point cloud data according to claim 1, characterized in that: Step S2 is specifically as follows: S21: Get point P in space, set distance threshold, and initialize set Q; P is the number of the point; S22: Obtain the point cloud index of point P in the initial point cloud data set through the KD-Tree algorithm, and obtain the point cloud intensity of point P through the point cloud index P ; S23: By point cloud intensity P Calculate the weighted distance to obtain point P S24: If the weighted distance If the distance is less than the threshold, point P is put into set Q, otherwise point P is removed; S25: repeat steps S22-S24 until the number of points in set Q no longer increases; if the final number of points in set Q exceeds 5, take the points in set Q as target points; Otherwise, eliminate the set Q; S26: Repeat steps S21-S25 until all points in the space are traversed, all target points are obtained, and a target point cloud bounding box is constructed by all target points.

3. The method for filtering hull point cloud data according to claim 2, characterized in that: Weighted distance The calculation formula is: Where d is the Euclidean distance, and its unit is m.

4. The method for filtering hull point cloud data according to claim 1, characterized in that: Step S3 is specifically as follows: S31: Set the mesh model for cloth simulation, and project all points of the target point cloud bounding box and all mesh particles of the mesh model onto the same plane; S32: Obtain the mesh particle P′ corresponding to the point P, and calculate the height IHV of the mesh particle P′ before projection. P′ and the projected displacement GHV P′ ; S33: If GHV P′ ≤IHV P′ Then place the mesh particle P′ in IHV P′ At, as the preliminary wave point P1′, enter step S36; Otherwise, proceed to step S34; S34: adjusting the displacement HV of the mesh particle P′ affected by the internal force to below the preset threshold value HV′, and proceeding to step S35; S35: Calculate the height difference PHV between the obtained point P and the grid particle P′; if PHV≤preset threshold PHV′, take the grid particle P′ as the preliminary wave point P1′ and proceed to step S36; otherwise, take the grid particle P′ as the non-wave point P2′; S36: Calculate and obtain the DoN operator of the preliminary wave point P1′; if the DoN operator is less than or equal to the preset threshold value DoN′, the preliminary wave point P1′ is used as the non-wave point P2′; otherwise, the preliminary wave point P1′ is used as the final wave point P3′; S37: Repeat steps S32-S36 until all points in the target point cloud bounding box are traversed, all final wave points are eliminated, and the final point cloud data set of the hull is formed by all non-wave points.

5. The method for filtering hull point cloud data according to claim 1, characterized in that: Step S31 is specifically as follows: S311: setting the movement direction of all mesh particles of the mesh model to the vertical direction; S312: inverting the target point cloud bounding box, and setting the initial position of the grid model above the highest point of the inverted target point cloud bounding box; S313: Move all points of the inverted target point cloud bounding box and all mesh particles in the same direction and project them vertically onto the same plane.

6. The method for filtering hull point cloud data according to claim 1, characterized in that: Step S34 is specifically as follows: S341: Apply internal force to the grid particle P′, and calculate the displacement HV of P′ affected by the internal force; S342: If HV≤preset threshold value HV′, proceed to step S35; otherwise, adjust the parameters of the internal force and return to step S341.

7. A storage medium, characterized in that: The storage medium stores instructions and data for implementing a method for filtering hull point cloud data as described in any one of claims 1 to 6.

8. A hull point cloud data filtering device, characterized in that: include: Processor and storage medium; the processor loads and executes instructions and data in the storage medium to implement a hull point cloud data filtering method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Building contour line automatic extraction method and device, terminal equipment and storage medium

    CN114419085A

  • Point cloud data preprocessing method and device and water surface target laser radar

    CN115877404A

  • Building information extraction method facing ground LiDAR point cloud

    CN116883754A