Tooth segmentation and recognition method for denture restoration
By performing principal component analysis and feature extraction of point cloud data of the oral environment, combined with regional growth algorithms, the problem of inaccurate tooth segmentation in the existing technology is solved, precise tooth segmentation is achieved, and the quality of denture design and manufacturing is improved.
Patent Information
- Application Number
- CN202410994565.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-07-24
AI Technical Summary
Existing dental segmentation methods are difficult to achieve high-precision dental segmentation, which affects the quality of denture design and manufacturing.
By obtaining point cloud data of the oral environment, conducting principal component analysis, a new three-dimensional coordinate system is constructed, the characteristic intensity of the tooth area is extracted, and the area growth algorithm combined with boundary point cloud data is used to accurately segment the tooth area.
Accurate teeth segmentation and improve the quality of denture design and manufacturing.
Smart Images

Figure CN118552734B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of point cloud data processing, and in particular to a tooth segmentation and recognition method for denture restoration. Background Art
[0002] In the research and development of digital denture modeling technology, tooth segmentation and recognition is the basis for personalized denture customization. The shape, size and arrangement of each person's teeth are different. Therefore, it is necessary to accurately segment and identify each patient's teeth in order to customize the most suitable denture for the patient. However, due to the complex shape of teeth and large individual differences, existing segmentation methods, such as region growing method, often find it difficult to achieve high-precision segmentation, resulting in inaccurate segmentation results, which affects subsequent denture design and manufacturing.
[0003] Therefore, how to accurately segment the teeth of each patient in order to design dentures that better suit the patient has become an urgent problem to be solved. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a tooth segmentation and recognition method for denture restoration to solve the problem of how to accurately segment the teeth of each patient so as to design a denture that better suits the patient.
[0005] An embodiment of the present invention provides a tooth segmentation and recognition method for denture restoration, the method comprising the following steps:
[0006] Acquire point cloud data of the oral environment, and acquire a tooth region in the oral environment according to the distribution of neighborhood point cloud data of each point cloud data in the oral environment;
[0007] Performing principal component analysis on the point cloud data of the tooth region to construct a new three-dimensional coordinate system of the tooth region, acquiring the characteristic intensity of each point cloud data in the tooth region according to the vertical axis of the new three-dimensional coordinate system, extracting the region pairs of a single tooth according to the characteristic intensity of all the point cloud data in the tooth region, and obtaining a plurality of region pairs in the tooth region, wherein the region pairs refer to the inner region and the outer region of a single tooth;
[0008] According to the area center point between each two adjacent area pairs in the multiple area pairs, the boundary point cloud data between each two adjacent teeth in the tooth area is obtained, and all the boundary point cloud data in the tooth area are used as the point cloud data on the edge of the area during the region growing process. Regional growth is performed on the point cloud data in the tooth area, and the corresponding area for each tooth is obtained to complete the tooth segmentation.
[0009] Preferably, the step of acquiring the tooth region in the oral environment according to the distribution of neighborhood point cloud data of each point cloud data in the oral environment comprises:
[0010] Using the kd-tree algorithm, respectively obtain the adjacent points of each point cloud data in the oral environment, and for any point cloud data in the oral environment, obtain the distance between the point cloud data and each of its adjacent points to obtain a distance mean, normalize the distance mean to obtain a corresponding normalized value, and use the difference between a constant 1 and the normalized value as the density value of the point cloud data;
[0011] A mixed Gaussian model is fitted according to the density value of each point cloud data in the oral environment to obtain the mean parameter of each Gaussian model in the mixed Gaussian model, and the area composed of the point cloud data corresponding to the Gaussian model with the maximum mean parameter is used as the tooth area in the oral environment.
[0012] Preferably, performing principal component analysis on the point cloud data of the tooth region to construct a new three-dimensional coordinate system of the tooth region includes:
[0013] According to the horizontal coordinate, the vertical coordinate and the ordinate of each point cloud data in the tooth area, principal component analysis is performed on the horizontal axis direction, the vertical axis direction and the vertical axis direction respectively, and three eigenvalues and an eigenvector corresponding to each eigenvalue are obtained accordingly;
[0014] The eigenvector corresponding to the smallest eigenvalue among the three eigenvalues is used as the vertical axis of the new three-dimensional coordinate system, the eigenvector corresponding to the largest eigenvalue among the remaining two eigenvalues is used as the longitudinal axis of the new three-dimensional coordinate system, and the eigenvector corresponding to the last eigenvalue is used as the horizontal axis of the new three-dimensional coordinate system.
[0015] Preferably, acquiring the characteristic intensity of each point cloud data in the tooth region according to the vertical axis of the new three-dimensional coordinate system includes:
[0016] Respectively obtain the normal vector of each point cloud data in the oral environment, obtain the cosine value between the normal vector of the point cloud data and the normal vector of each adjacent point for any point cloud data in the tooth area, obtain the first cosine value mean, obtain the cosine value between the normal vector of the point cloud data and each adjacent point and the vertical axis of the new three-dimensional coordinate system, and obtain the second cosine value mean;
[0017] A difference between a constant 1 and the second cosine value mean is obtained, and a product of the difference and the first cosine value mean is used as a feature intensity of the point cloud data.
[0018] Preferably, extracting a region pair of a single tooth according to the feature intensity of all point cloud data in the tooth region to obtain a plurality of region pairs in the tooth region comprises:
[0019] Taking the point cloud data corresponding to the maximum characteristic intensity in the tooth region as a seed point, performing region growth according to the normal vector angle between the seed point and any neighboring point, to obtain a first local region;
[0020] Obtaining the center point of the first local area, obtaining a neighborhood set in the reverse direction of the normal vector corresponding to the center point of the area, each adjacent point of the point cloud data constitutes a neighborhood of the corresponding point cloud data, and for any neighborhood in the neighborhood set, respectively obtaining the cosine value between the normal vector of each point cloud data in the neighborhood and the reverse direction of the normal vector corresponding to the center point of the area, to obtain a third cosine value mean;
[0021] According to the third cosine value mean corresponding to each neighborhood in the neighborhood set, a neighborhood corresponding to the largest third cosine value mean is selected as a target neighborhood, point cloud data corresponding to the target neighborhood is used as a new seed point, and regional growth is performed according to the normal vector angle between the new seed point and any neighboring point to obtain a second local area;
[0022] The first local area and the second local area form a region pair in the tooth area, and based on all the point cloud data in the region pair, a stop mark value for judging the extraction of the region pair is obtained. If the stop mark value does not meet the stopping requirement, the step of obtaining the region pair is repeated according to the feature intensity of the point cloud data in the tooth area except for all the point cloud data in the region pair, until the stop mark value meets the stopping requirement, thereby obtaining multiple region pairs in the tooth area.
[0023] Preferably, the step of obtaining a stop sign value for determining extraction of the region pair based on all point cloud data in the region pair includes:
[0024] Obtaining the horizontal axis projection length and the vertical axis projection length of the tooth region in the new three-dimensional coordinate system, obtaining the maximum region in each of the region pairs, and respectively obtaining the local horizontal axis projection length and the local vertical axis projection length of each of the maximum regions in the new three-dimensional coordinate system;
[0025] Obtain a first ratio of the accumulated value of all local horizontal axis projection lengths to the horizontal axis projection length, obtain a second ratio of the accumulated value of all local vertical axis projection lengths to the vertical axis projection length, and calculate a mean of the ratios based on the first ratio and the second ratio as a stop mark value for determining whether to extract the area pair.
[0026] Preferably, the step of acquiring the boundary point cloud data between every two adjacent teeth in the tooth region according to the region center point between every two adjacent region pairs in the plurality of region pairs comprises:
[0027] According to the coordinates of the regional center points of the two regions in each of the regional pairs, the coordinate mean is calculated as the overall center point coordinate of the corresponding regional pair, and the horizontal coordinates in the overall center point coordinates of each of the regional pairs are sorted from small to large to obtain a sorted regional pair sequence;
[0028] For any two adjacent area pairs in the sorted area pair sequence, obtaining the connection paths of the corresponding adjacent teeth on the inner side and the outer side respectively according to the area center points of all areas included in the two adjacent area pairs;
[0029] For any connection path, if the horizontal coordinates of each point cloud data on the connection path are continuous, then according to the change of the normal vectors of all the point cloud data on the connection path, a boundary point cloud data under the connection path is obtained;
[0030] Based on the adjacent point cloud data of the boundary point cloud data, a continued search for boundary point cloud data is performed in the two adjacent area pairs to obtain all boundary point cloud data under the connection path, and based on all boundary point cloud data under the connection path of the corresponding adjacent teeth on the inner and outer sides respectively, the boundary point cloud data between the two adjacent area pairs in the tooth area is obtained.
[0031] Preferably, the step of obtaining the connection paths of the corresponding adjacent teeth on the inner side and the outer side respectively according to the area center points of all areas included in the two adjacent area pairs comprises:
[0032] Select any one of the two adjacent area pairs as a target area pair, obtain area center points of two areas included in the target area pair as target center points, take area center points of two areas included in the other area pair of the two adjacent area pairs as first center points and second center points, take a target center point on the same side as the first center point as the first target center point, and take a target center point on the same side as the second center point as the second target center point;
[0033] Constructing a first plane between the first target center point, the second target center point and the first center point, and using a sequence of all point cloud data located in the first plane and between the first target center point and the first center point as a connection path on the inner side or the outer side of the corresponding adjacent teeth;
[0034] Construct a second plane between the first target center point, the second target center point and the second center point, and use a sequence consisting of all point cloud data in the second plane and between the second target center point and the second center point as a connection path for corresponding adjacent teeth on the outside or inside.
[0035] Preferably, the step of acquiring a boundary point cloud data under the connection path according to the change of the normal vectors of all the point cloud data on the connection path comprises:
[0036] Taking the normal vector of the point cloud data corresponding to the target endpoint on the connection path as the reference normal vector, the target endpoint belongs to the area center point of the target area pair, and for any point cloud data on the connection path, obtaining the target component of the normal vector of the point cloud data in a direction perpendicular to the reference normal vector, and using the target component as the direction feature vector of the point cloud data;
[0037] If the dot product result between the directional feature vector of the point cloud data and the directional feature vector of the point cloud data adjacent to it on the connection path is less than 0, the point cloud data is determined to be boundary point cloud data.
[0038] Preferably, the step of continuing to search for boundary point cloud data in the two adjacent area pairs according to the adjacent point cloud data of the boundary point cloud data to obtain all boundary point cloud data under the connection path includes:
[0039] Acquire N consecutive point cloud data adjacent to the boundary point cloud data on the connection path as reference point cloud data, and acquire a range between a maximum horizontal coordinate and a minimum horizontal coordinate according to the horizontal coordinates of all reference point cloud data as a lateral distribution range of the tooth area;
[0040] Within the lateral distribution range of the tooth area, obtaining a row of point cloud data adjacent to each of the reference point cloud data to form a reference point cloud data sequence, performing dynamic time warping on all point cloud data on the connection path and the reference point cloud data sequence, and also marking the point cloud data in the reference point cloud data sequence corresponding to the boundary point cloud data as boundary point cloud data;
[0041] According to the method for acquiring the marked boundary point cloud data, all boundary point cloud data between the two areas corresponding to the connection path are acquired in sequence.
[0042] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0043] The present invention obtains point cloud data of an oral environment, and obtains a tooth region in the oral environment according to the distribution of neighborhood point cloud data of each point cloud data in the oral environment; performs principal component analysis on the point cloud data of the tooth region, constructs a new three-dimensional coordinate system for the tooth region, obtains the characteristic intensity of each point cloud data in the tooth region according to the vertical axis of the new three-dimensional coordinate system, extracts region pairs of a single tooth according to the characteristic intensity of all point cloud data in the tooth region, and obtains a plurality of region pairs in the tooth region, wherein the region pairs refer to the inner region and the outer region of a single tooth; obtains boundary point cloud data between every two adjacent teeth in the tooth region according to the region center point between every two adjacent region pairs in the plurality of region pairs, uses all the boundary point cloud data in the tooth region as the point cloud data on the region edge during region growth, performs region growth on the point cloud data in the tooth region, obtains the region corresponding to each tooth, and completes tooth segmentation. Among them, the tooth area is extracted through the point cloud data in the oral environment. Since the texture of the side area of the tooth is relatively simple and can characterize the relative position of a single tooth, the side area of a single tooth is extracted from the tooth area to determine the tooth boundary line (boundary point cloud data) between adjacent teeth. Then, the point cloud data in the tooth area is regionally grown according to the boundary point cloud data to obtain the area corresponding to the single tooth, thereby achieving accurate segmentation of the teeth and improving the quality of subsequent denture design and manufacturing. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0045] Figure 1 is a method flow chart of a tooth segmentation and recognition method for denture restoration provided by the first embodiment of the present invention;
[0046] Figure 2 is a schematic diagram of a neighborhood set provided by an embodiment of the present invention;
[0047] Figure 3 A schematic diagram of point cloud data distribution with boundary point cloud data on a connection path provided by an embodiment of the present invention;
[0048] Figure 4 A schematic diagram of point cloud data distribution on a connection path where there is no boundary point cloud data provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0050] It should be noted that the terms "first", "second", etc. in the specification of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure.
[0051] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.
[0052] See also Figure 1 , is a method flow chart of a tooth segmentation and recognition method for denture restoration provided by Embodiment 1 of the present invention, such as Figure 1 As shown, the method may include:
[0053] Step S101, obtaining point cloud data of the oral environment, and obtaining the tooth area in the oral environment according to the distribution of neighborhood point cloud data of each point cloud data in the oral environment.
[0054] Generally, there is a large difference in density between the tooth area and the soft tissue area in the point cloud, and the density of the tooth area is higher than that of the soft tissue area. Therefore, in the embodiment of the present invention, structured light or laser scanning is first used to scan the oral environment to obtain point cloud data of the oral environment, and then the tooth area in the oral environment is obtained based on the distribution of neighborhood point cloud data of each point cloud data in the oral environment, so as to achieve preliminary extraction of the tooth area for segmentation and identification of individual teeth in the tooth area.
[0055] Preferably, obtaining the tooth region in the oral environment according to the distribution of neighborhood point cloud data of each point cloud data in the oral environment comprises:
[0056] Using the kd-tree algorithm, respectively obtain the adjacent points of each point cloud data in the oral environment, and for any point cloud data in the oral environment, obtain the distance between the point cloud data and each of its adjacent points to obtain a distance mean, normalize the distance mean to obtain a corresponding normalized value, and use the difference between a constant 1 and the normalized value as the density value of the point cloud data;
[0057] A mixed Gaussian model is fitted according to the density value of each point cloud data in the oral environment to obtain the mean parameter of each Gaussian model in the mixed Gaussian model, and the area composed of the point cloud data corresponding to the Gaussian model with the maximum mean parameter is used as the tooth area in the oral environment.
[0058] In one embodiment, the kd-tree algorithm is used to obtain 25 adjacent points of each point cloud data in the oral environment, and the 25 adjacent points of each point cloud data form a neighborhood of the corresponding point cloud data. At this time, each point cloud data in the oral environment has a neighborhood, and at the same time, the normal vector of the corresponding point cloud data can be obtained according to each point cloud data and its 25 adjacent points to obtain the normal vector of each point cloud data. The kd-tree algorithm and the acquisition of the normal vector belong to the prior art and will not be repeated here. Taking the i-th point cloud data in the oral environment as an example, the distance between the i-th point cloud data and each adjacent point in its neighborhood is obtained to obtain the distance mean, and the maximum and minimum normalization method is used to normalize the distance mean of the i-th point cloud data to obtain the corresponding normalized result. The difference between the constant 1 and the normalized result is used as the density value of the i-th point cloud data. The smaller the distance mean, the denser the point cloud data around the i-th point cloud data, and the higher the corresponding density value. Conversely, the density value of the i-th point cloud data is considered to be lower. Similarly, the density value of each point cloud data in the oral environment can be obtained.
[0059] After obtaining the density value of each point cloud data in the oral environment, the mixed Gaussian model is used to extract the tooth area in the oral environment. The specific extraction process is: the number of Gaussian models in the mixed Gaussian model is set to 2, and the EM algorithm is used to fit the mixed Gaussian model to the density values of all point cloud data in the oral environment, and the mean parameter of each Gaussian model in the mixed Gaussian model is obtained accordingly, and then the area constituted by the point cloud data corresponding to the Gaussian model with the maximum mean parameter is used as the tooth area in the oral environment, wherein the mixed Gaussian model belongs to the prior art and will not be repeated here.
[0060] Step S102, perform principal component analysis on the point cloud data of the tooth area, construct a new three-dimensional coordinate system of the tooth area, obtain the characteristic intensity of each point cloud data in the tooth area according to the vertical axis of the new three-dimensional coordinate system, extract the region pairs of a single tooth according to the characteristic intensity of all point cloud data in the tooth area, and obtain multiple region pairs in the tooth area, where the region pairs refer to the inner region and the outer region of a single tooth.
[0061] In the prior art, a region growing algorithm is usually used to segment and identify a single tooth in a tooth region. The process of the region growing algorithm is as follows: the point with the smallest curvature is used as the seed point, and the neighboring points are judged whether they can be merged into the current region according to the predefined growth criteria (such as the normal angle difference and the curvature threshold). Through continuous iteration, the neighboring points that meet the conditions are added to the current region until no new points can be added. At this time, the growth of a region is completed. However, due to the complexity of the oral environment, such as the difference in the arrangement of teeth of each person, and the similar structure between adjacent teeth, it is difficult for the traditional region growing algorithm to accurately segment a single tooth, and the segmentation effect is poor. Therefore, in the embodiment of the present invention, considering that the arrangement of teeth of each person is relatively complex, the texture of the side area of the teeth is relatively simple and can characterize the relative position of a single tooth, the side area of the teeth can be extracted to determine the boundary line between adjacent teeth in the tooth region to segment a single tooth. The specific process is as follows.
[0062] Before extracting the side areas of the teeth in the tooth area, affected by the scanning direction, the vertical coordinates of the point cloud data of the oral environment actually obtained may not represent the true height direction of the teeth, that is, the direction of the boundary line between adjacent teeth. Therefore, in order to ensure the subsequent accurate extraction of the boundary line between adjacent teeth, according to the distribution characteristics of the teeth, that is, the distribution range of the point cloud data in the height direction of the teeth is the smallest, principal component analysis is performed on the point cloud data of the tooth area, and a new three-dimensional coordinate system of the tooth area is constructed to correct the spatial position of the point cloud data in the tooth area.
[0063] Preferably, principal component analysis is performed on the point cloud data of the tooth area to construct a new three-dimensional coordinate system of the tooth area, including:
[0064] According to the horizontal coordinate, the vertical coordinate and the ordinate of each point cloud data in the tooth area, principal component analysis is performed on the horizontal axis direction, the vertical axis direction and the vertical axis direction respectively, and three eigenvalues and an eigenvector corresponding to each eigenvalue are obtained accordingly;
[0065] The eigenvector corresponding to the smallest eigenvalue among the three eigenvalues is used as the vertical axis of the new three-dimensional coordinate system, the eigenvector corresponding to the largest eigenvalue among the remaining two eigenvalues is used as the longitudinal axis of the new three-dimensional coordinate system, and the eigenvector corresponding to the last eigenvalue is used as the horizontal axis of the new three-dimensional coordinate system.
[0066] In one embodiment, the PCA algorithm is used to perform principal component analysis in three directions (horizontal axis direction, longitudinal axis direction and vertical axis direction) according to the horizontal coordinates, vertical coordinates and vertical coordinates of all point cloud data in the tooth area, thereby obtaining eigenvalues in the three directions and eigenvectors corresponding to the eigenvalues, wherein the PCA algorithm belongs to the prior art and will not be described in detail here. Since the distribution range of the point cloud data in the vertical axis direction is the smallest, the eigenvector corresponding to the smallest eigenvalue among the three eigenvalues is used as the vertical axis of the new three-dimensional coordinate system. At the same time, considering that the transverse width of the upper and lower jaws (across the oral cavity) is usually relatively small, while the length from the front teeth to the back teeth (longitudinal length) is longer, this is because the teeth need to be arranged in an arc to meet the needs of the chewing function. Therefore, the eigenvector corresponding to the largest eigenvalue of the remaining two eigenvalues is used as the vertical axis of the new three-dimensional coordinate system, and the eigenvector corresponding to the last eigenvalue is used as the horizontal axis of the new three-dimensional coordinate system. At this point, a new three-dimensional coordinate system for the tooth area is constructed.
[0067] After the spatial position correction of the point cloud data of the tooth area is performed, the characteristic intensity of each point cloud data in the tooth area can be obtained based on the vertical axis of the new three-dimensional coordinate system, wherein the specific method for obtaining the characteristic intensity is:
[0068] Respectively obtain the normal vector of each point cloud data in the oral environment, obtain the cosine value between the normal vector of the point cloud data and the normal vector of each adjacent point for any point cloud data in the tooth area, obtain the first cosine value mean, obtain the cosine value between the normal vector of the point cloud data and each adjacent point and the vertical axis of the new three-dimensional coordinate system, and obtain the second cosine value mean;
[0069] A difference between a constant 1 and the second cosine value mean is obtained, and a product of the difference and the first cosine value mean is used as a feature intensity of the point cloud data.
[0070] In one embodiment, the normal vector of each point cloud data in the oral environment can be obtained according to step S101, and then for the i-th point cloud data in the tooth area, the cosine value of the normal vector between the i-th point cloud data and each of its adjacent points is first calculated, and the first cosine value mean is obtained accordingly. Then, calculate the cosine value between the i-th point cloud data and all its adjacent points and the vertical axis of the new three-dimensional coordinate system, and get the corresponding second cosine value mean , where the first cosine value mean is used to characterize the smoothness of the surrounding area of the i-th point cloud data, and the second cosine value mean is used to characterize the position characteristics of the i-th point cloud data, that is, whether it is on the side of the tooth. Therefore, let the characteristic intensity of the i-th point cloud data be set to .
[0071] After determining the characteristic intensity of each point cloud data in the tooth area, the region pair of a single tooth can be extracted according to the characteristic intensity of all point cloud data in the tooth area to obtain multiple region pairs in the tooth area, where the region pair refers to the inner region and the outer region of a single tooth. The region pair extraction method is:
[0072] Taking the point cloud data corresponding to the maximum characteristic intensity in the tooth region as a seed point, performing region growth according to the normal vector angle between the seed point and any neighboring point, to obtain a first local region;
[0073] Obtaining the center point of the first local area, obtaining a neighborhood set in the reverse direction of the normal vector corresponding to the center point of the area, each adjacent point of the point cloud data constitutes a neighborhood of the corresponding point cloud data, and for any neighborhood in the neighborhood set, respectively obtaining the cosine value between the normal vector of each point cloud data in the neighborhood and the reverse direction of the normal vector corresponding to the center point of the area, to obtain a third cosine value mean;
[0074] According to the third cosine value mean corresponding to each neighborhood in the neighborhood set, a neighborhood corresponding to the largest third cosine value mean is selected as a target neighborhood, point cloud data corresponding to the target neighborhood is used as a new seed point, and regional growth is performed according to the normal vector angle between the new seed point and any neighboring point to obtain a second local area;
[0075] The first local area and the second local area form a region pair in the tooth area, and based on all the point cloud data in the region pair, a stop mark value for judging the extraction of the region pair is obtained. If the stop mark value does not meet the stopping requirement, the step of obtaining the region pair is repeated according to the feature intensity of the point cloud data in the tooth area except for all the point cloud data in the region pair, until the stop mark value meets the stopping requirement, thereby obtaining multiple region pairs in the tooth area.
[0076] In one embodiment, the feature intensities of all point cloud data in the tooth area are first sorted from large to small, and the point cloud data corresponding to the maximum feature intensity is used as the seed point. The normal vector angle threshold is set to 5 degrees. When the angle between the normal vector of a neighboring point of the seed point and the normal vector of the seed point is less than the normal vector angle threshold, it is considered that the neighboring point and the seed point belong to the same area, and the neighboring point is included in the current area where the seed point is located, and the neighboring point is used as a new seed point. The above method is repeated. When no new point cloud data can be included in the current area, the current area is considered to be extracted, thereby obtaining a relatively flat first local area A1 on the side of a single tooth.
[0077] Then, the average values of the three coordinate dimensions are calculated for all point cloud data in the first local area A1, and the corresponding average coordinate values of the three coordinate dimensions are obtained. In order to avoid that the average coordinate values of the three coordinate dimensions have no corresponding point cloud data in the first local area A1, the point cloud data closest to the average coordinate values of the three coordinate dimensions is used as the area center point of the first local area A1. Afterwards, the neighborhood set in the reverse direction of the normal vector corresponding to the area center point of the first local area A1 is obtained in the tooth area. The neighborhood set refers to the neighborhood of a certain point cloud data passed by the reverse direction of the normal vector corresponding to the area center point of the first local area A1. The neighborhoods of multiple point cloud data that have passed through are grouped into a neighborhood set, and the reverse direction is the same as the intersection between each neighborhood. Figure 2 As shown, it is a schematic diagram of a neighborhood set. Figure 2 Each circular area in is a neighborhood corresponding to a point cloud data, and the black dot is the projection point in the reverse direction of the normal vector corresponding to the center point of the first local area A1, that is, the projection point of the intersection between the reverse direction and each neighborhood. These neighborhoods constitute a neighborhood set.
[0078] Secondly, for any neighborhood in the neighborhood set, the cosine value between the normal vector of each point cloud data in the neighborhood and the inverse direction of the normal vector corresponding to the regional center point of the first local area A1 is calculated to obtain the third cosine value mean. Similarly, the third cosine value mean corresponding to each neighborhood in the neighborhood set can be obtained, and then the neighborhood corresponding to the largest third cosine value mean is selected as the target neighborhood. Since each neighborhood corresponds to a point cloud data, the point cloud data corresponding to the target neighborhood is used as a new seed point to characterize that the target neighborhood and the first local area A1 are respectively the inner and outer sides of the same tooth. Based on the new seed point, the second local area A2 is obtained according to the regional growth process of the first local area A1. At this time, the second local area A2 and the first local area A1 form a region pair, corresponding to the outer area (close to the front of the mouth) and the inner area (close to the back of the mouth) of a single tooth.
[0079] Finally, based on the acquired region pairs and the point cloud data contained in the acquired region pairs, a stop mark value for judging the extraction of region pairs is obtained. If the stop mark value is greater than or equal to the preset stop threshold value of 0.9, it indicates that the region pairs of different teeth have been extracted and the extraction of local regions is stopped. On the contrary, if the stop mark value is less than the preset stop threshold value of 0.9, the extraction of region pairs is continued. The method for continuing to extract region pairs is as follows: the feature intensities of the point cloud data in the tooth region except for all the point cloud data in the acquired region pairs are sorted from large to small, and region pairs are continued to be acquired according to the acquisition method of the first local region A1 and the second local region A2 mentioned above until the stop mark value is greater than or equal to the preset stop threshold value of 0.9. At this time, the acquisition of region pairs is completed, thereby obtaining multiple region pairs in the tooth region and the region center point of each local region in each region pair.
[0080] Wherein, obtaining a stop sign value for determining the extraction of the region pair according to all point cloud data in the region pair includes:
[0081] Obtaining the horizontal axis projection length and the vertical axis projection length of the tooth region in the new three-dimensional coordinate system, obtaining the maximum region in each of the region pairs, and respectively obtaining the local horizontal axis projection length and the local vertical axis projection length of each of the maximum regions in the new three-dimensional coordinate system;
[0082] Obtain a first ratio of the accumulated value of all local horizontal axis projection lengths to the horizontal axis projection length, obtain a second ratio of the accumulated value of all local vertical axis projection lengths to the vertical axis projection length, and calculate a mean of the ratios based on the first ratio and the second ratio as a stop mark value for determining whether to extract the area pair.
[0083] In one embodiment, the tooth region is projected in the new three-dimensional coordinate system to obtain a horizontal axis projection length W of the tooth region on the horizontal axis and a vertical axis projection length L on the vertical axis. For any region pair, according to the region areas of the two local regions included in the region pair, the region corresponding to the largest region area is obtained as the target region, and the target region is projected in the new three-dimensional coordinate system to obtain a local horizontal axis projection length of the target region on the horizontal axis. and the length of the local longitudinal projection on the longitudinal axis , and then the local horizontal axis projection length corresponding to the largest area (target area) in each area pair can be obtained and the local longitudinal projection length , according to the local horizontal projection length corresponding to the largest area (target area) in each area pair and the local longitudinal projection length , and the horizontal axis projection length W of the tooth area on the horizontal axis and the vertical axis projection length L on the vertical axis, obtain the stop mark value F, then the calculation expression of the stop mark value is:
[0084]
[0085] Where F represents the stop flag value, n represents the number of extracted region pairs, represents the local horizontal projection length corresponding to the largest area in the k-th area pair, represents the local longitudinal projection length corresponding to the largest area in the kth area pair, W represents the horizontal projection length of the tooth area on the horizontal axis, and L represents the vertical projection length of the tooth area on the vertical axis.
[0086] It should be noted that by obtaining the projection length of a single tooth on the horizontal and vertical axes, the cumulative value is used to analyze the overall proportion of the projection length in the entire tooth area. The larger the proportion, the closer the area pair corresponding to the single tooth is to complete extraction. When the stop mark value meets the stop requirements, the extraction of the area pair can be stopped.
[0087] Heretofore, all region pairs in the tooth region and the region center point of each partial region in each region pair have been mentioned.
[0088] Step S103, based on the area center points between each two adjacent area pairs in the multiple area pairs, obtain the boundary point cloud data between each two adjacent teeth in the tooth area, use all the boundary point cloud data in the tooth area as the point cloud data on the edge of the area during the region growing process, perform region growing on the point cloud data in the tooth area, obtain the area corresponding to each tooth, and complete the tooth segmentation.
[0089] Step S102 extracts all the region pairs in the tooth area, that is, the extraction of the tooth side area is completed. However, considering that when extracting region pairs for a single tooth, the normal vector angle is set to be small, and it is easy for a single tooth to have multiple region pairs. Therefore, when obtaining the boundary line between adjacent teeth in the tooth area, it is necessary to obtain the boundary point cloud data between each two adjacent teeth in the tooth area according to the region center point between each two adjacent region pairs in the multiple region pairs extracted from the tooth area, that is, the point cloud data on the boundary, to ensure the recognition accuracy of the boundary line between adjacent teeth. The method for obtaining the boundary point cloud data is:
[0090] (1) According to the coordinates of the center points of the two regions in each region pair, the coordinate mean is calculated as the coordinate of the overall center point of the corresponding region pair, and the horizontal coordinates in the overall center point coordinates of each region pair are sorted from small to large to obtain a sorted region pair sequence.
[0091] Specifically, for any region pair, there is a region center point for each of the two local regions contained in the region pair. According to the two region center points, the average coordinate values in the three coordinate dimensions are obtained respectively and used as the overall center point coordinates of the region pair. Similarly, the overall center point coordinates of each region pair are obtained, and all region pairs are sorted in ascending order of the horizontal coordinates in the overall center point coordinates to obtain a sorted region pair sequence.
[0092] (2) For any two adjacent area pairs in the sorted area pair sequence, the connection paths of the corresponding adjacent teeth on the inner side and the outer side are obtained according to the area center points of all areas included in the two adjacent area pairs.
[0093] Wherein, according to the area center points of all areas included in the two adjacent area pairs, obtaining the connection paths of the corresponding adjacent teeth on the inner side and the outer side respectively includes:
[0094] Select any one of the two adjacent area pairs as a target area pair, obtain area center points of two areas included in the target area pair as target center points, take area center points of two areas included in the other area pair of the two adjacent area pairs as first center points and second center points, take a target center point on the same side as the first center point as the first target center point, and take a target center point on the same side as the second center point as the second target center point;
[0095] Constructing a first plane between the first target center point, the second target center point and the first center point, and using a sequence of all point cloud data located in the first plane and between the first target center point and the first center point as a connection path on the inner side or the outer side of the corresponding adjacent teeth;
[0096] Construct a second plane between the first target center point, the second target center point and the second center point, and use a sequence consisting of all point cloud data in the second plane and between the second target center point and the second center point as a connection path for corresponding adjacent teeth on the outside or inside.
[0097] In one embodiment, taking the t-th region pair in the sorted region pair sequence as an example, the adjacent region pair of the t-th region pair is obtained as the t-1-th region pair, and the region center points of the two regions in the t-th region pair are set as C1 and C2, and the region center points of the two regions in the t-1-th region pair are set as D1 and D2. Since three points determine a plane, when the region center point C1 and the region center point D1 belong to the same side, the region center point C1, the region center point C2 and the region center point D1 form a plane, which is recorded as the first plane. All point cloud data in the first plane and between the region center point C1 and the region center point D1 form a sequence as a connection path on the same side (outside or inside) of adjacent teeth. At this time, the two endpoints of the connection path are the region center point C1 and the region center point D2. Since the region center point C 2 and the regional center point D1 do not belong to the same side, and no path will be formed between the two (the inside of the point cloud is empty, and there is point cloud data on the tooth surface). Therefore, the regional center points C1, C2 and D2 can form a plane, which is recorded as the second plane. When the regional center points C1 and D1 belong to the same side, the corresponding regional center points C2 and D2 belong to the same side, and then all the point cloud data in the second plane and between the regional center points C2 and D2 can be formed into a sequence as the connection path of the same side (outside or inside) of the adjacent teeth. At this time, the two endpoints of the connection path are the regional center points C2 and D2. At this point, the connection path on the inside and the connection path on the outside of the adjacent teeth corresponding to the t-th regional pair and the t-1-th regional pair can be obtained.
[0098] (3) For any connection path, if the horizontal coordinates of each point cloud data on the connection path are continuous, a boundary point cloud data under the connection path is obtained according to the change of the normal vectors of all the point cloud data on the connection path.
[0099] Wherein, according to the change of the normal vectors of all the point cloud data on the connection path, obtaining a boundary point cloud data under the connection path includes:
[0100] Taking the normal vector of the point cloud data corresponding to the target endpoint on the connection path as the reference normal vector, the target endpoint belongs to the area center point of the target area pair, and for any point cloud data on the connection path, obtaining the target component of the normal vector of the point cloud data in a direction perpendicular to the reference normal vector, and using the target component as the direction feature vector of the point cloud data;
[0101] If the dot product result between the directional feature vector of the point cloud data and the directional feature vector of the point cloud data adjacent to it on the connection path is less than 0, the point cloud data is determined to be boundary point cloud data.
[0102] In one embodiment, for any connection path between the two connection paths in which the adjacent area pair of the t-th area pair is the t-1th area pair, it is determined whether there is a boundary between the t-th area pair and the t-1th area pair based on the changes in the coordinates of each point cloud data in the connection path and the normal vector. Specifically, it is first determined whether the horizontal coordinates of each point cloud data in the connection path are continuous. If they are not continuous, it means that there is a large distance between the two teeth corresponding to the t-th area pair and the t-1th area pair, and there is no boundary line. On the contrary, if the horizontal coordinates of each point cloud data on the connection path are continuous, a boundary point cloud data under the connection path is obtained based on the changes in the normal vectors of all the point cloud data on the connection path.
[0103] Assuming that the endpoints of the connection path are the area center point C1 and the area center point D1, the normal vector of the point cloud data corresponding to the area center point C1 is used as the reference normal vector , according to the angle between the normal vector of each point cloud data on the connection path and the reference normal vector, the directional feature vector of each point cloud data on the connection path is obtained respectively, then the calculation expression of the directional feature vector of the j-th point cloud data on the connection path is:
[0104]
[0105] in, Represents the directional feature vector of the j-th point cloud data, Represents the normal vector of the j-th point cloud data, Represents the angle between the normal vector of the j-th point cloud data and the reference normal vector, Represents the normal vector of the jth point cloud data Perpendicular to the reference normal vector The component in the direction of .
[0106] Similarly, the directional feature vector of each point cloud data on the connection path can be obtained, and then the directional feature vector of any point cloud data on the connection path is multiplied with the directional feature vector of the previous point cloud data in turn. If the result of the dot product is less than 0, it means that the directional feature in the connection path has changed, and the point cloud data is considered to be boundary point cloud data. Otherwise, it is considered that the two regions belong to the same tooth, and there is no boundary point cloud data in the connection path. For example: if the dot product result between the directional feature vector of the j-th point cloud data and the directional feature vector of the j-1-th point cloud data is less than 0, then the j-th point cloud data is determined to be the boundary point cloud data.
[0107] Example: See Figure 3 , which is a schematic diagram of point cloud data distribution with boundary point cloud data on a connection path. Figure 3 In the figure, C1 and D1 are two endpoints on the connection path, the black arrow is the normal vector of each point cloud data on the connection path, and the gray arrow is the directional feature vector of each point cloud data on the connection path. Figure 3 It can be seen that the directional features of the point cloud data on the connection path exist in two directions, indicating that the directional features of the point cloud data on the connection path have changed, that is, there is a boundary point cloud data corresponding to two area pairs belonging to two adjacent teeth; similarly, referring to Figure 4 , which is a point cloud data distribution diagram where there is no boundary point cloud data on the connection path. Figure 4 In the figure, C1 and D1 are two endpoints on the connection path, the black arrow is the normal vector of each point cloud data on the connection path, and the gray arrow is the directional feature vector of each point cloud data on the connection path. Figure 4 It can be seen that the directional feature vectors of the point cloud data on the connection path are in the same direction, indicating that the directional features of the point cloud data on the connection path have not changed, that is, there is no boundary point cloud data, and the corresponding two area pairs belong to the same tooth.
[0108] It should be noted that if no boundary point cloud data can be detected under the connection path, the boundary point cloud data of the next two adjacent area pairs are analyzed.
[0109] (4) A further search for boundary point cloud data is performed in the two adjacent area pairs based on adjacent point cloud data of the boundary point cloud data to obtain all boundary point cloud data under the connection path, and boundary point cloud data between the two adjacent area pairs in the tooth area is obtained based on all boundary point cloud data under the connection path on the inner and outer sides of the corresponding adjacent teeth.
[0110] Wherein, the boundary point cloud data is continuously searched in the two adjacent area pairs according to the adjacent point cloud data of the boundary point cloud data to obtain all the boundary point cloud data under the connection path, including:
[0111] Acquire N consecutive point cloud data adjacent to the boundary point cloud data on the connection path as reference point cloud data, and acquire a range between a maximum horizontal coordinate and a minimum horizontal coordinate according to the horizontal coordinates of all reference point cloud data as a lateral distribution range of the tooth area;
[0112] Within the lateral distribution range of the tooth area, obtaining a row of point cloud data adjacent to each of the reference point cloud data to form a reference point cloud data sequence, performing dynamic time warping on all point cloud data on the connection path and the reference point cloud data sequence, and also marking the point cloud data in the reference point cloud data sequence corresponding to the boundary point cloud data as boundary point cloud data;
[0113] According to the method for acquiring the marked boundary point cloud data, all boundary point cloud data between the two areas corresponding to the connection path are acquired in sequence.
[0114] In one embodiment, after the boundary point cloud data is detected, N consecutive point cloud data adjacent to the boundary point cloud data on the left and right are obtained on the connection path as reference point cloud data. In the embodiment of the present invention, N is set to 20. According to the horizontal coordinates of these reference point cloud data, the horizontal distribution range of the tooth area composed of the maximum horizontal coordinate and the minimum horizontal coordinate is obtained. Then, within the horizontal distribution range, a row of point cloud data adjacent to these reference point cloud data is obtained to form a reference point cloud data sequence. The DTW algorithm is used to perform dynamic time warping on all point cloud data and the reference point cloud data sequence on the connection path, so as to obtain point cloud data corresponding to the boundary point cloud data in the reference point cloud data sequence, and mark it as boundary point cloud data. Then, the point cloud data corresponding to the boundary point cloud data in the reference point cloud data sequence is obtained in the next row or the previous row, and marked as boundary point cloud data. That is, according to the method for obtaining the marked boundary point cloud data, all boundary point cloud data between the two areas corresponding to the connection path are obtained in sequence.
[0115] Similarly, for another connecting path between the t-th region pair and the t-1-th region pair, all boundary point cloud data between the two regions corresponding to the other connecting path are obtained according to the method for obtaining all boundary point cloud data under the above-mentioned connecting path. At this time, the boundary point cloud data between the two inner regions between the t-th region pair and the t-1-th region pair and the boundary point cloud data between the two outer regions are obtained. At this point, all boundary point cloud data between the two adjacent teeth corresponding to the t-th region pair and the t-1-th region pair in the tooth area are completed.
[0116] According to the method of obtaining all boundary point cloud data between two adjacent teeth corresponding to the t-th region pair and the t-1-th region pair in the tooth area, two adjacent region pairs are analyzed in turn to obtain the boundary point cloud data between every two adjacent teeth in the tooth area, that is, all boundary point cloud data in the tooth area.
[0117] Furthermore, all the boundary point cloud data in the tooth area are used as the point cloud data on the edge of the area in the region growing process, and the point cloud data in the tooth area is region grown to obtain the area corresponding to each tooth, and the tooth segmentation is completed, wherein the region growing process is:
[0118] Take the point cloud data in any area contained in each area pair in the tooth area as the seed point, reset the normal vector angle threshold to 15 degrees, search for the neighborhood points of each seed point, calculate the angle between the normal vector of the neighborhood point and the normal vector of the seed point, and add the neighborhood points with an angle less than the normal vector angle threshold to the area. If the neighborhood point is not boundary point cloud data, delete the seed point and continue to grow the neighborhood point as a new seed point; conversely, if the neighborhood point is boundary point cloud data, only include the neighborhood point in the area without using it as a seed point, and repeat the above growth process until the seed points in the area are cleared. At this time, the growth of one area is completed; repeat the above steps for each area of each area pair in the tooth area until all point cloud data are traversed, and the final areas are the teeth in the oral environment. At this point, the segmentation of all single teeth in the oral environment is completed.
[0119] In summary, the embodiment of the present invention obtains point cloud data of an oral environment, and obtains a tooth region in the oral environment according to the distribution of neighborhood point cloud data of each point cloud data in the oral environment; performs principal component analysis on the point cloud data of the tooth region, constructs a new three-dimensional coordinate system for the tooth region, obtains the feature intensity of each point cloud data in the tooth region according to the vertical axis of the new three-dimensional coordinate system, extracts region pairs of a single tooth according to the feature intensity of all point cloud data in the tooth region, and obtains a plurality of region pairs in the tooth region, wherein the region pairs refer to the inner region and the outer region of a single tooth; obtains boundary point cloud data between each two adjacent teeth in the tooth region according to the region center point between each two adjacent region pairs in the plurality of region pairs, uses all the boundary point cloud data in the tooth region as the point cloud data on the region edge during region growth, performs region growth on the point cloud data in the tooth region, obtains the region corresponding to each tooth, and completes tooth segmentation. Among them, the tooth area is extracted through the point cloud data in the oral environment. Since the texture of the side area of the tooth is relatively simple and can characterize the relative position of a single tooth, the side area of a single tooth is extracted from the tooth area to determine the tooth boundary line (boundary point cloud data) between adjacent teeth. Then, the point cloud data in the tooth area is regionally grown according to the boundary point cloud data to obtain the area corresponding to the single tooth, thereby achieving accurate segmentation of the teeth and improving the quality of subsequent denture design and manufacturing.
[0120] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A tooth segmentation and recognition method for denture restoration, characterized in that: The method comprises: Acquire point cloud data of the oral environment, and acquire a tooth region in the oral environment according to the distribution of neighborhood point cloud data of each point cloud data in the oral environment; Performing principal component analysis on the point cloud data of the tooth region to construct a new three-dimensional coordinate system of the tooth region, acquiring the characteristic intensity of each point cloud data in the tooth region according to the vertical axis of the new three-dimensional coordinate system, extracting the region pairs of a single tooth according to the characteristic intensity of all the point cloud data in the tooth region, and obtaining a plurality of region pairs in the tooth region, wherein the region pairs refer to the inner region and the outer region of a single tooth; According to the region center point between each two adjacent region pairs in the multiple region pairs, the boundary point cloud data between each two adjacent teeth in the tooth region are obtained, all the boundary point cloud data in the tooth region are used as the point cloud data on the region edge in the region growing process, and the point cloud data in the tooth region are subjected to region growing to obtain the region corresponding to each tooth, thereby completing the tooth segmentation; The step of acquiring the tooth region in the oral environment according to the distribution of the neighborhood point cloud data of each point cloud data in the oral environment comprises: Using the kd-tree algorithm, respectively obtain the adjacent points of each point cloud data in the oral environment, and for any point cloud data in the oral environment, obtain the distance between the point cloud data and each of its adjacent points to obtain a distance mean, normalize the distance mean to obtain a corresponding normalized value, and use the difference between a constant 1 and the normalized value as the density value of the point cloud data; Fitting a mixed Gaussian model according to the density value of each point cloud data in the oral environment to obtain the mean parameter of each Gaussian model in the mixed Gaussian model, and taking the area consisting of the point cloud data corresponding to the Gaussian model with the maximum mean parameter as the tooth area in the oral environment; The step of obtaining the characteristic intensity of each point cloud data in the tooth region according to the vertical axis of the new three-dimensional coordinate system comprises: Respectively obtain the normal vector of each point cloud data in the oral environment, obtain the cosine value between the normal vector of the point cloud data and the normal vector of each adjacent point for any point cloud data in the tooth area, obtain the first cosine value mean, obtain the cosine value between the normal vector of the point cloud data and each adjacent point and the vertical axis of the new three-dimensional coordinate system, and obtain the second cosine value mean; Obtaining a difference between a constant 1 and the second cosine value mean, and taking a product of the difference and the first cosine value mean as a feature intensity of the point cloud data; The step of acquiring the boundary point cloud data between every two adjacent teeth in the tooth region according to the region center point between every two adjacent region pairs in the plurality of region pairs comprises: According to the coordinates of the regional center points of the two regions in each of the regional pairs, the coordinate mean is calculated as the overall center point coordinate of the corresponding regional pair, and the horizontal coordinates in the overall center point coordinates of each of the regional pairs are sorted from small to large to obtain a sorted regional pair sequence; For any two adjacent area pairs in the sorted area pair sequence, obtaining the connection paths of the corresponding adjacent teeth on the inner side and the outer side respectively according to the area center points of all areas included in the two adjacent area pairs; For any connection path, if the horizontal coordinates of each point cloud data on the connection path are continuous, then according to the change of the normal vectors of all the point cloud data on the connection path, a boundary point cloud data under the connection path is obtained; Based on the adjacent point cloud data of the boundary point cloud data, a continued search for boundary point cloud data is performed in the two adjacent area pairs to obtain all boundary point cloud data under the connection path, and based on all boundary point cloud data under the connection path of the corresponding adjacent teeth on the inner and outer sides respectively, the boundary point cloud data between the two adjacent area pairs in the tooth area is obtained.
2. A tooth segmentation and recognition method for denture restoration according to claim 1, characterized in that: The performing principal component analysis on the point cloud data of the tooth region to construct a new three-dimensional coordinate system of the tooth region includes: According to the horizontal coordinate, the vertical coordinate and the ordinate of each point cloud data in the tooth area, principal component analysis is performed on the horizontal axis direction, the vertical axis direction and the vertical axis direction respectively, and three eigenvalues and an eigenvector corresponding to each eigenvalue are obtained accordingly; The eigenvector corresponding to the smallest eigenvalue among the three eigenvalues is used as the vertical axis of the new three-dimensional coordinate system, the eigenvector corresponding to the largest eigenvalue among the remaining two eigenvalues is used as the longitudinal axis of the new three-dimensional coordinate system, and the eigenvector corresponding to the last eigenvalue is used as the horizontal axis of the new three-dimensional coordinate system.
3. A tooth segmentation and recognition method for denture restoration according to claim 1, characterized in that: The extracting of a region pair of a single tooth according to the feature intensity of all point cloud data in the tooth region to obtain a plurality of region pairs in the tooth region comprises: Taking the point cloud data corresponding to the maximum characteristic intensity in the tooth region as a seed point, performing region growth according to the normal vector angle between the seed point and any neighboring point, to obtain a first local region; Obtaining the center point of the first local area, obtaining a neighborhood set in the reverse direction of the normal vector corresponding to the center point of the area, each adjacent point of the point cloud data constitutes a neighborhood of the corresponding point cloud data, and for any neighborhood in the neighborhood set, respectively obtaining the cosine value between the normal vector of each point cloud data in the neighborhood and the reverse direction of the normal vector corresponding to the center point of the area, to obtain a third cosine value mean; According to the third cosine value mean corresponding to each neighborhood in the neighborhood set, a neighborhood corresponding to the largest third cosine value mean is selected as a target neighborhood, point cloud data corresponding to the target neighborhood is used as a new seed point, and regional growth is performed according to the normal vector angle between the new seed point and any neighboring point to obtain a second local area; The first local area and the second local area form a region pair in the tooth area, and based on all the point cloud data in the region pair, a stop mark value for judging the extraction of the region pair is obtained. If the stop mark value does not meet the stopping requirement, the step of obtaining the region pair is repeated according to the feature intensity of the point cloud data in the tooth area except for all the point cloud data in the region pair, until the stop mark value meets the stopping requirement, thereby obtaining multiple region pairs in the tooth area.
4. A tooth segmentation and recognition method for denture restoration according to claim 3, characterized in that: The step of obtaining a stop sign value for determining the extraction of the region pair according to all point cloud data in the region pair includes: Obtaining the horizontal axis projection length and the vertical axis projection length of the tooth region in the new three-dimensional coordinate system, obtaining the maximum region in each of the region pairs, and respectively obtaining the local horizontal axis projection length and the local vertical axis projection length of each of the maximum regions in the new three-dimensional coordinate system; Obtain a first ratio of the accumulated value of all local horizontal axis projection lengths to the horizontal axis projection length, obtain a second ratio of the accumulated value of all local vertical axis projection lengths to the vertical axis projection length, and calculate a mean of the ratios based on the first ratio and the second ratio as a stop mark value for determining whether to extract the area pair.
5. The tooth segmentation and recognition method for denture restoration according to claim 1, characterized in that: The step of obtaining the connection paths on the inner side and the outer side of the corresponding adjacent teeth respectively according to the area center points of all areas included in the two adjacent area pairs includes: Select any one of the two adjacent area pairs as a target area pair, obtain area center points of two areas included in the target area pair as target center points, take area center points of two areas included in the other area pair of the two adjacent area pairs as first center points and second center points, take a target center point on the same side as the first center point as the first target center point, and take a target center point on the same side as the second center point as the second target center point; Constructing a first plane between the first target center point, the second target center point and the first center point, and using a sequence of all point cloud data located in the first plane and between the first target center point and the first center point as a connection path on the inner side or the outer side of the corresponding adjacent teeth; Construct a second plane between the first target center point, the second target center point and the second center point, and use a sequence consisting of all point cloud data in the second plane and between the second target center point and the second center point as a connection path for corresponding adjacent teeth on the outside or inside.
6. A tooth segmentation and recognition method for denture restoration according to claim 5, characterized in that: The step of acquiring a boundary point cloud data under the connection path according to the change of the normal vectors of all the point cloud data on the connection path comprises: Taking the normal vector of the point cloud data corresponding to the target endpoint on the connection path as the reference normal vector, the target endpoint belongs to the area center point of the target area pair, and for any point cloud data on the connection path, obtaining the target component of the normal vector of the point cloud data in a direction perpendicular to the reference normal vector, and using the target component as the direction feature vector of the point cloud data; If the dot product result between the directional feature vector of the point cloud data and the directional feature vector of the point cloud data adjacent to it on the connection path is less than 0, the point cloud data is determined to be boundary point cloud data.
7. A tooth segmentation and recognition method for denture restoration according to claim 1, characterized in that: The step of continuing to search for boundary point cloud data in the two adjacent area pairs according to the adjacent point cloud data of the boundary point cloud data to obtain all boundary point cloud data under the connection path includes: Acquire N consecutive point cloud data adjacent to the boundary point cloud data on the connection path as reference point cloud data, and acquire a range between a maximum horizontal coordinate and a minimum horizontal coordinate according to the horizontal coordinates of all reference point cloud data as a lateral distribution range of the tooth area; Within the lateral distribution range of the tooth area, obtaining a row of point cloud data adjacent to each of the reference point cloud data to form a reference point cloud data sequence, performing dynamic time warping on all point cloud data on the connection path and the reference point cloud data sequence, and also marking the point cloud data in the reference point cloud data sequence corresponding to the boundary point cloud data as boundary point cloud data; According to the method for acquiring the marked boundary point cloud data, all boundary point cloud data between the two areas corresponding to the connection path are acquired in sequence.
