Point cloud rendering and segmentation enhancement method based on 3D point cloud density adaptive view cone model

The adaptive density frustum model enhances point cloud rendering and segmentation, solving the problem of the traditional frustum model being unable to capture point cloud density, and achieving correct rendering and efficient processing of point cloud occlusion relationships.

CN118710798APending Publication Date: 2024-09-27NANJING AGRICULTURAL UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410620318.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The frustum model used in traditional point cloud rendering cannot effectively capture the point cloud density, resulting in occlusion relationship rendering errors and a visual 'penetration' effect.

Method used

An adaptive frustum model based on 3D point cloud density is used to enhance point cloud rendering and segmentation by calculating the changes in critical depth and pixel projection range of the adaptive density frustum model to ensure correct rendering of point cloud occlusion relationships.

Benefits of technology

It achieves accurate capture and rendering of sparse point cloud representative points, avoids occlusion relationship errors, and improves the efficiency and accuracy of point cloud rendering and segmentation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710798A
    Figure CN118710798A
Patent Text Reader

Abstract

The invention discloses a point cloud rendering and segmentation enhancement method based on a 3D point cloud density adaptive view cone model. The method comprises the following steps: S1, calculating the critical depth of the adaptive density view cone model; s2, calculating a change value of a pixel projection range; s3, enhancing point cloud rendering by using a self-adaptive density view cone model; and S4, enhancing point cloud segmentation by using an adaptive density view cone model. According to the method, the occlusion relation can be solved only by expanding the projection of the upper-layer data points to the pixel cluster instead of a single pixel in a traditional rasterization method; the adaptive density view cone model is good at processing the space structure and shielding relation of the point cloud, and is very efficient in the aspects of point cloud rendering and view generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a point cloud rendering and segmentation enhancement method based on a 3D point cloud density adaptive cone model, and belongs to the field of computer vision and image processing. Background Art

[0002] Point cloud rendering is a technique that converts point cloud data (a collection of a large number of discrete 3D points) into a 2D image. In this process, each point usually contains information about its position and possible color or intensity attributes. Point cloud rendering technology uses view transformation, projection and shading algorithms to map these 3D points onto a 2D viewing plane. This involves lighting calculations, point size adjustment, and the selection of viewpoints and perspectives to produce realistic 2D images.

[0003] Point cloud segmentation is the process of dividing point cloud data into multiple subsets or groups, each of which contains points representing independent entities or parts of objects. This is a key step in 3D spatial data processing and is often used to extract meaningful structures and objects from complex environments.

[0004] The 3D frustum model is a geometric model used in computer graphics to describe and process the visible part of the camera's field of view. The frustum consists of a vertex (observation point) and a far section (usually a rectangle or circle), and the vertex and the section edge are connected to form the side of the frustum. This model is used to determine which objects are within the camera's line of sight, thereby achieving visual culling and rendering optimization.

[0005] Point cloud rasterization is a special rasterization process that converts point cloud data - usually a set of points that define the position of the surface of an object in three-dimensional space - into a two-dimensional image. Unlike the traditional polygon rasterization process, point cloud rasterization mainly processes points scattered in three-dimensional space rather than vertices connected into complex geometric shapes. This process involves the following key steps:

[0006] Projection: Projecting 3D points onto a 2D viewing plane based on a preset viewing angle and viewpoint. This usually involves a matrix transformation that converts points from the world coordinate system to the camera coordinate system, and then projects them to the screen coordinate system.

[0007] Point size and shape processing: During the rasterization process, the size and shape of each point in the 2D image needs to be determined. This may depend on the distance of the point from the camera (distant points are smaller), or be adjusted based on properties in the point cloud data (such as reflection intensity).

[0008] Depth buffer: In order to correctly handle coverage relationships, point cloud rasterization usually uses depth buffer technology. After each point is converted to screen coordinates, it is compared with the existing value in the depth buffer to determine whether the point should be displayed in front or covered by other points.

[0009] The current point cloud rendering uses a traditional frustum model, which causes the frustum to be unable to capture the representative points on the surface due to the point cloud density, resulting in the occlusion relationship being unable to be rendered and causing a "penetration" effect visually. Summary of the Invention

[0010] The purpose of the present invention is to provide a method for enhancing point cloud rendering and segmentation based on a 3D point cloud density adaptive frustum model, which supports capturing representative points of sparse point clouds and can achieve correct rendering of the point cloud occlusion relationship.

[0011] To achieve the above purpose, the technical solution adopted by the present invention is: a method for enhancing point cloud rendering and segmentation based on a 3D point cloud density adaptive frustum model, which includes the following steps:

[0012] Step S1, calculate the critical depth of the adaptive density frustum model;

[0013] Step S2, calculate the change value of the pixel projection range;

[0014] Step S3, use the adaptive density frustum model to enhance point cloud rendering;

[0015] Step S4, use the adaptive density frustum model to enhance point cloud segmentation.

[0016] Further, in the step S1, the calculation process of the critical depth of the adaptive density frustum model is as follows:

[0017] Assume that the sampling of the surface in the point cloud is random and the data points are evenly distributed. In the frustum model, its plane is parallel to the near plane and is at a Z distance from the camera, and the frustum is divided into two layers; assume that the side length of the cross-section is a and the focal length is f; without loss of generality, let each pixel in the image plane represent a square with a side length of s; from the imaging principle, we have:

[0018]

[0019] According to the above formula, when s and f are constants, the cross-section length a increases with its depth Z. In the point cloud with a point spacing of l, let:

[0020]

[0021] When the plane depth Z satisfies Z < Z0, That is, the side length of the frustum cross-section is less than times the point spacing; this results in the missing of representative points, the inability to perceive the existence of the surface, and further leads to incorrect occlusion judgment; when Z ≤ Z0, This part of the frustum can accurately reflect the occlusion relationship; by introducing the factor β to adjust Z0 to take into account the global density and local changes of the point cloud density, the above formula can be restated as:

[0022]

[0023] Z0 is the critical depth of the adaptive density frustum model.

[0024] Furthermore, in step S2, the calculation process of the change value of the pixel projection range is:

[0025] The frustum is divided into two layers through the plane at the critical depth Z0 of the frustum model, the upper layer close to the camera is represented as F1, and the other layer is represented as F2;

[0026] Expand F1 into a supplementary area F'1. According to the imaging principle, the projection range of the pixel will expand as Z decreases. If the distance between view Z and view plane Z0 is ΔZ, then in the generated view, the projection range affected by Z will increase by a length Δd, and we can get:

[0027]

[0028] Since the cross-sectional length a is fixed, it follows that:

[0029]

[0030] Therefore, Δd is calculated as follows:

[0031]

[0032] Substituting in, we get:

[0033]

[0034] Here, β, l, f, and s are all constants; ΔZ can be inferred by simply calculating the distance from each data point to the camera.

[0035] Furthermore, in the adaptive density frustum model, for any 3D point (X, Y, Z) in the camera coordinate system, it is projected to a point (u, v) in the pixel coordinate system; let (c x ,c y ) is the main point, (x min ,y min ,x max ,y max ) is the projection range in the generated image; the projection calculation method is as follows:

[0036]

[0037]

[0038] in

[0039] Furthermore, F1 is expanded into a supplementary region F'1 by expanding the top surface to the same size as the bottom surface, that is, in F'1, the side length of the cross section a remains unchanged to ensure that the cross section continuously covers the point spacing.

[0040] Furthermore, in step S3, an adaptive frustum model is used to enhance point cloud rendering, and a standard perspective projection is adopted when generating a view.

[0041] Furthermore, the transformation uses the intrinsic parameters of the camera: focal length f and principal point (c x ,c y )) and external parameters: rotation matrix R and translation vector t;

[0042] First, P in the world coordinate system w (x w ,y w ,z w ) is mapped to P in the camera coordinate system c (x c ,y c ,z c ), and then projected onto the image plane to determine the pixel coordinates (u i ,v i );

[0043] According to the transformation between the world coordinate system and the camera coordinate system, the following results are obtained:

[0044] P c =R·P w +t

[0045] Converted to pixel coordinate system, we can get:

[0046]

[0047] The above formula determines the correspondence between each 3D point and the pixel in the generated view.

[0048] Furthermore, the corresponding points of the pixel are distributed in the adaptive density cone. If the point with the smallest depth is within the supplementary range, the supplementary range will affect the cone rendering and ultimately determine the projection range on the pixel. If the point with the smallest depth is not within the supplementary range, the supplementary range will not affect the cone rendering.

[0049] Furthermore, in step S4, the application of the adaptive density cone in the three-dimensional point cloud segmentation based on view generation includes viewpoint selection, view generation, two-dimensional image segmentation mask generation, two-dimensional segmentation and three-dimensional data point fusion.

[0050] Furthermore, the 3D point cloud segmentation based on view generation starts from viewpoint selection, and its formula is:

[0051] I,E=SelectViewpoints(P)

[0052] Among them, P represents the point cloud, I represents the intrinsic parameters of the camera, including focal length, principal point and tilt coefficient, and E represents the extrinsic parameters, including rotation matrix and translation vector;

[0053] Then, an image is generated for each view, ensuring that the generated image can represent the spatial structure and occlusion relationship with high fidelity:

[0054] I rgb ,L=GenerateImages(I,E,P)

[0055] Among them, I rgb is an RGB image generated using point cloud rendering, and L is the mapping between 3D points and pixels;

[0056] The automatically generated images are then subjected to 2D image segmentation with or without user prompts:

[0057] I mask =GenerateMask(Irgb,p)

[0058] Where p is the user prompt, I mask is the segmentation mask;

[0059] Finally, the 2D segmentation outputs are fused and mapped to a 3D point cloud as shown below:

[0060] P mask =Fusion(I mask ,L,P)

[0061] The segmentation results from different viewpoints are fused through the mapping L between 3D points and pixels, and the labels of points whose segmentation labels are missing are derived from their nearest neighbors.

[0062] Compared with the prior art, the present invention has the following beneficial effects:

[0063] The present invention proposes a two-layer adaptive density cone model, which can adjust the neighborhood of the upper layer of the cone according to the density of the point cloud. It is proved that the occlusion relationship can be solved by simply expanding the projection of the upper layer data points to pixel clusters instead of single pixels in the traditional rasterization method. The adaptive density cone model is good at processing the spatial structure and occlusion relationship of point clouds, and is very efficient in point cloud rendering and view generation. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 This is the working principle of the adaptive density cone model. Among them, (a) the structure of the traditional cone model and the adaptive density cone model, F1 and F2 constitute the adaptive density cone model. In F1, in order to ensure the accurate capture of the surface representative points, the adaptive density cone model adds a supplementary area F'1 to capture the points in the surrounding area. F'1 increases the side length s of the projected area on the image plane by Δd. F2 is not affected by F'1. The boundary Z0 of F1 and F2 is determined by the point cloud density. (b) The projection process from a 3D point to a pixel involves the transformation of four coordinate systems. Point P w (x w ,y w ,z w ) is located in the world coordinate system. Using the rotation matrix R and the translation vector t, P w P is converted to the camera coordinate system c (x c ,y c ,z c ). According to the pinhole imaging principle, P c will be transformed into P(x,y) in the image coordinate system. Finally, considering the camera principal point (c x ,c y ), P(x,y) is converted to P'(u,v) in the pixel coordinate system.

[0065] Figure 2 This is the rendering strategy diagram of the adaptive density frustum model. The corresponding points of the pixel are distributed in the adaptive density frustum model. (a) If the point with the minimum depth is in the supplementary region, then the supplementary region will affect the frustum rendering and ultimately determine the representation on the pixel. (b)(c) If the minimum depth point is not in the supplementary region, then the supplementary region will not affect the frustum rendering.

[0066] Figure 3 It is a multi-view 3D segmentation process using an adaptive density cone model. (a) Input point cloud scene or object; (b) Viewpoint selection; (c) View generation; (d) Generate segmentation mask of 2D image; (e) Fusion of 2D segmentation result and 3D data points.

[0067] Figure 4The first column is the rendering result of the traditional cone, the second column is the rendering method based on deep learning: Pointersect, and the third column is the rendering result of our adaptive density cone model. (a) In the high-angle view, the decorations on the top of the tree have multiple holes, which poses a challenge to deep learning-based methods because these methods often incorrectly fill the holes in whole or in part. In contrast, our method can accurately render these holes. (b)(c) We show that the edges generated by our method are more continuous and complete in the eye-level view.

[0068] Figure 5 It is a visualization of the semantic segmentation results on the S3DlS dataset. DETAILED DESCRIPTION

[0069] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0070] A point cloud rendering and segmentation enhancement method based on a 3D point cloud density adaptive frustum model comprises the following steps:

[0071] Step S1: Calculate the critical depth of the adaptive density cone model;

[0072] Step S2: Calculate the change value of the pixel projection range;

[0073] Step S3: using an adaptive frustum model to enhance point cloud rendering;

[0074] Step S4: Enhance point cloud segmentation using an adaptive frustum model.

[0075] In step S1 of this embodiment, the critical depth of the adaptive density frustum model is calculated:

[0076] Assume that the sampling of the surface in the point cloud is random and the data points are uniformly distributed. Here we prove that the traditional frustum model can be divided into two layers with different occlusion patterns by the plane. The upper layer cannot pass the traditional occlusion test due to the sparse point cloud and needs to be improved, but the lower layer is not affected.

[0077] like Figure 1 As shown, in the cone model, its plane is parallel to the near plane and is at distance Z from the camera, dividing the cone into two layers. Assume that the side length of the cross section is a and the focal length is f. Without loss of generality, let each pixel in the image plane represent a square with a side length of s. From the imaging principle, we have:

[0078]

[0079] According to the above formula, when s and f are constants, the cross-sectional length a increases with its depth Z. In a point cloud with a point spacing of l, let:

[0080]

[0081] When the planar depth Z satisfies Z < Z0, that is, the side length of the cross-section of the viewing cone is less than times the point spacing. This results in the absence of representative points, making it impossible to perceive the existence of the surface, and further leading to incorrect occlusion judgments. When Z ≤ Z0, this part of the truncated cone can accurately reflect the occlusion relationship. In practice, Z0 can be slightly adjusted by introducing a factor β to balance the global density and local variations of the point cloud density. Equation (2) can be reformulated as:

[0082]

[0083] Z0 is the critical depth of the adaptive density viewing cone model.

[0084] In step S2 of this embodiment, calculate the change value of the pixel projection range:

[0085] Through the plane at Z0, we divide the viewing cone into two layers. We denote the upper layer close to the camera as F1 and the other layer as F2. As mentioned above, the occlusion relationship only fails in the viewing cone F1 and needs to be improved.

[0086] We expand F1 into a supplementary region F'1 by expanding the top surface to the same size as the bottom surface. That is, in F'1, the side length of the cross-section a remains unchanged to ensure that the cross-section continuously covers the point spacing. Of course, this expansion has a great impact on the generated view. According to the imaging principle, the projection range of pixels will expand as Z decreases. If the distance between the view Z and the view plane Z0 is ΔZ, then in the generated view, the projection range affected by Z will increase by a length Δd, and we can obtain:

[0087]

[0088] Since the cross-section length a is fixed, it can be concluded that:

[0089]

[0090] Therefore, the calculation method of Δd is as follows:

[0091]

[0092] Substituting, we get:

[0093]

[0094] In equation (7), β, l, f, and s are all constants. We only need to calculate the distance from each data point to the camera to infer ΔZ.

[0095] In summary, in the adaptive density frustum model, for any 3D point (X, Y, Z) in the camera coordinate system, it is projected to a point (u, v) in the pixel coordinate system. Let (c x ,c y ) is the main point, (x min ,y min ,x max ,y max ) is the projection range in the generated image. The projection is calculated as follows:

[0096]

[0097]

[0098] in

[0099] In step S3 of this embodiment, the adaptive frustum model is used to enhance the point cloud rendering, and a standard perspective projection is used when generating the view. Figure 2 As shown in b, these transformations use the intrinsic parameters of the camera (focal length f and principal point (c x ,c y )) and extrinsic parameters (rotation matrix R and translation vector t). First, transform P in the world coordinate system w (x w ,y w ,z w ) is mapped to P in the camera coordinate system c (x c ,y c ,z c ), and then projected onto the image plane to determine the pixel coordinates (u i ,v i ). According to the transformation between the world coordinate system and the camera coordinate system, the following results can be obtained:

[0100] P c =R·P w +t

[0101] Converted to pixel coordinate system, we can get

[0102]

[0103] The above formula can determine the correspondence between each 3D point and the pixel in the generated view. Figure 2As shown, the corresponding points of the pixel are distributed in the adaptive density frustum. If the point with the smallest depth is within the supplementary range, the supplementary range will affect the frustum rendering and ultimately determine the projection range on the pixel. If the point with the smallest depth is not within the supplementary range, the supplementary range will not affect the frustum rendering.

[0104] In step S4 of this embodiment, the adaptive cone model is used to enhance the point cloud segmentation. The application of the adaptive density cone in the three-dimensional point cloud segmentation based on view generation includes viewpoint selection, view generation, two-dimensional image segmentation mask generation, two-dimensional segmentation and three-dimensional data point fusion ( Figure 3 ). Some stages can be customized according to the requirements of different tasks.

[0105] The segmentation of 3D point cloud based on view generation usually starts with viewpoint selection, and its formula is:

[0106] I,E=SelectViewpoints(P)

[0107] Where P represents the point cloud, I represents the intrinsic parameters of the camera, such as focal length, principal point and tilt coefficient, and E represents the extrinsic parameters, including rotation matrix and translation vector. This can be achieved automatically through different sampling strategies or manually selected through interactive tools. One or more views can be used, and different perspectives and virtual cameras can be set.

[0108] We then generate images for each view. The key to the final point cloud segmentation performance is to ensure that the generated images can represent the spatial structure and occlusion relationships with high fidelity. We have:

[0109] I rgb ,L=GenerateImages(I,E,P)

[0110] Among them, I rgb is an RGB image generated using point cloud rendering, and L is the mapping between 3D points and pixels.

[0111] Then, 2D image segmentation is performed on the automatically generated images with or without user prompts. We have:

[0112] I mask =GenerateMask(I rgb ,p)

[0113] Where p is the user prompt, I mask is the segmentation mask. In our practice, SAM (SegmentAnything Model) is adopted because of its excellent object segmentation ability in 2D image segmentation. The LabelMe tool can be used for manual labeling tasks.

[0114] Finally, we fuse the 2D segmentation outputs and map them to a 3D point cloud as follows:

[0115] P mask =Fusion(I mask ,L,P)

[0116] The segmentation results from different viewpoints are fused through the mapping L between 3D points and pixels, and the labels of points whose segmentation labels are missing are derived from their nearest neighbors.

[0117] In summary, in this embodiment, the specific implementation process of the point cloud rendering and segmentation enhancement method is as follows:

[0118] 1. Rendering

[0119] Input the point cloud and the viewpoint to be rendered.

[0120] Outputs a rendered 2D image.

[0121] 2. Segmentation

[0122] Input image rendered with adaptive density frustum and the correspondence between 3D points and 2D pixels.

[0123] Input 2D mask image.

[0124] Output 3D point cloud with segmentation markers.

[0125] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the above embodiments do not limit the protection scope of the present invention in any form, and all technical solutions obtained by equivalent replacement and the like fall within the protection scope of the present invention.

[0126] The parts not involved in the present invention are the same as the prior art or can be implemented by using the prior art.

Claims

1. A point cloud rendering and segmentation enhancement method based on 3D point cloud density adaptive cone model, Features The following steps are involved: Step S1, calculating the critical depth of the adaptive density cone model; Step S2, calculating the change value of the pixel projection range; Step S3, using an adaptive density frustum model to enhance point cloud rendering; Step S4: Use an adaptive density frustum model to enhance point cloud segmentation.

2. According to claim 1, a point cloud rendering and segmentation enhancement method based on a 3D point cloud density adaptive cone model, It is characterized in that In step S1, the critical depth calculation process of the adaptive density cone model is: Assume that the sampling of the surface in the point cloud is random and the data points are evenly distributed. In the cone model, its plane is parallel to the near plane and is at the Z distance from the camera, and the cone is divided into two layers; assume that the side length of the cross section is a and the focal length is f; without loss of generality, let each pixel in the image plane represent a square with a side length of s; from the imaging principle, we have: According to the above formula, when s and f are constants, the cross-sectional length a increases with its depth Z. In the point cloud with a point spacing of l, let: When the plane depth Z satisfies Z <Z 0 hour, That is, the side length of the cross section of the viewing cone is less than the point spacing. times; this leads to the lack of representative points, the inability to perceive the existence of the surface, and thus leads to incorrect occlusion judgment; when Z≤Z 0 hour, This part of the frustum can accurately reflect the occlusion relationship; by introducing the factor β to adjust Z 0 Taking into account the global density and local changes of point cloud density, the above formula can be restated as: Z 0 is the critical depth of the adaptive density frustum model.

3. According to claim 2, a point cloud rendering and segmentation enhancement method based on a 3D point cloud density adaptive frustum model, It is characterized in that In step S2, the calculation process of the change value of the pixel projection range is: Through the frustum model critical depth Z 0 The plane at , divides the viewing cone into two layers, and the upper layer close to the camera is represented as F 1 , and denote the other layer as F 2 ; F 1 Expanded to a supplementary area F' 1 According to the imaging principle, the projection range of the pixel will expand as Z decreases. If the view Z is closer to the view plane Z 0 The distance is ΔZ, then in the generated view, the projection range affected by Z will increase by a length Δd, and we can get: Since the cross-sectional length a is fixed, it follows that: Therefore, Δd is calculated as follows: Substituting in, we get: Here, β, l, f, and s are all constants; ΔZ can be inferred by simply calculating the distance from each data point to the camera.

4. According to claim 3, a point cloud rendering and segmentation enhancement method based on a 3D point cloud density adaptive frustum model, It is characterized in that In the adaptive density frustum model, for any 3D point (X, Y, Z) in the camera coordinate system, it is projected to a point (u, v) in the pixel coordinate system; let (c x ,c y ) is the main point, (x min ,y min ,x max ,y max ) is the projection range in the generated image; the projection calculation method is as follows: in 5. According to claim 3, a point cloud rendering and segmentation enhancement method based on a 3D point cloud density adaptive frustum model, It is characterized in that F 1 Expanded to a supplementary area F' 1 , by enlarging the top surface to the same size as the bottom surface, that is, at F' 1 In the example, the side length of cross section a remains unchanged to ensure that the cross section covers the point spacing continuously.

6. The point cloud rendering and segmentation enhancement method based on a 3D point cloud density adaptive frustum model according to claim 1, It is characterized in that In step S3, an adaptive frustum model is used to enhance point cloud rendering, and a standard perspective projection is used when generating a view.

7. The point cloud rendering and segmentation enhancement method based on a 3D point cloud density adaptive frustum model according to claim 6, It is characterized in that The transformation uses the intrinsic parameters of the camera: focal length f and principal point (c x ,c y ) and extrinsic parameters: rotation matrix R and translation vector t; First, P in the world coordinate system w (x w ,y w ,z w ) is mapped to P in the camera coordinate system c (x c ,y c ,z c ), and then projected onto the image plane to determine the pixel coordinates (u i ,v i ); According to the transformation between the world coordinate system and the camera coordinate system, the following results are obtained: P c =R·P w +t Converted to pixel coordinate system, we can get: The above formula determines the correspondence between each 3D point and the pixel in the generated view.

8. The point cloud rendering and segmentation enhancement method based on a 3D point cloud density adaptive frustum model according to claim 7, It is characterized in that The corresponding points of the pixel are distributed in the adaptive density frustum. If the point with the smallest depth is within the supplementary range, the supplementary range will affect the frustum rendering and ultimately determine the projection range on the pixel. If the point with the smallest depth is not within the supplementary range, the supplementary range will not affect the frustum rendering.

9. The point cloud rendering and segmentation enhancement method based on a 3D point cloud density adaptive frustum model according to claim 1, It is characterized in that In step S4, the application of the adaptive density cone in the three-dimensional point cloud segmentation based on view generation includes viewpoint selection, view generation, two-dimensional image segmentation mask generation, two-dimensional segmentation and three-dimensional data point fusion.

10. A point cloud rendering and segmentation enhancement method based on a 3D point cloud density adaptive frustum model according to claim 1 or 9, It is characterized in that The 3D point cloud segmentation based on view generation starts with viewpoint selection, and its formula is: I,E=SelectViewpoints(P) Among them, P represents the point cloud, I represents the intrinsic parameters of the camera, including focal length, principal point and tilt coefficient, and E represents the extrinsic parameters, including rotation matrix and translation vector; Then, an image is generated for each view, ensuring that the generated image can represent the spatial structure and occlusion relationship with high fidelity: I rgb ,L=GenerateImages(I,E,P) Among them, I rgb is an RGB image generated using point cloud rendering, and L is the mapping between 3D points and pixels; The automatically generated images are then subjected to 2D image segmentation with or without user prompts: I mask =GenerateMask(Irgb,p) Where p is the user prompt, I mask is the segmentation mask; Finally, the 2D segmentation outputs are fused and mapped to a 3D point cloud as shown below: P mask =Fusion(I mask ,L,P) The segmentation results from different viewpoints are fused through the mapping L between 3D points and pixels, and the labels of points whose segmentation labels are missing are derived from their nearest neighbors.