The invention relates to the technical field of three-dimensional
computer vision and
point cloud processing, and provides a
point cloud rapid labeling method based on a three-dimensional CAD model and RGB values thereof. The method aims at solving the problems that in the
deep learning data set construction process, three-dimensional
point cloud semantic information labeling efficiency is low, the labor cost is high, and the automatic labeling quality is poor. The color information of the three-dimensional point cloud is effectively converted into the semantic
label, so that quick and automatic labeling of different three-dimensional and profile surfaces in the point cloud is realized. The method comprises the steps of establishing a category-RGB value-
label mapping table, carrying out CAD entity modeling and assigning a standard color to an entity surface geometrical shape, setting
entity model gridding parameters and exporting the
entity model gridding parameters as a PLY format, assigning color RGB values of
mesh model patches to vertexes, uniformly sampling expansion points of the
mesh model patches, traversing the points and reading the RGB values, and finally obtaining a model. And adding labels according to the category-RGB value-
label mapping table, and the like. The method can be applied to the fields of three-
dimensional modeling, product quality detection,
industrial design and the like.