An electronic face bow method based on monocular computer vision

By attaching markers to teeth and using computer vision algorithms, jawbone motion data can be directly acquired from video images, solving the problem of the complexity and high cost of traditional electronic facebow technology, and achieving low-cost and efficient reproduction and visualization of jawbone motion trajectories.

CN114512220BActive Publication Date: 2024-10-29ZHEJIANG UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210010043.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-06
Publication Date
2024-10-29
Estimated Expiration
2042-01-06

AI Technical Summary

Technical Problem

Traditional electronic face bow technology is complex to operate and expensive, making it difficult to balance economy and practicality. Existing foreign medical device solutions are also expensive and inconvenient to operate.

Method used

By employing rigid connection markers and computer vision algorithms, jawbone motion data is directly acquired through video images. Combined with 3D digital printing and industrial cameras, this simplifies operation, reduces costs, and improves efficiency.

Benefits of technology

It enables rapid and accurate reproduction of jawbone movement trajectories, reduces equipment costs, simplifies operating procedures, and improves medical efficiency and quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114512220B_ABST
    Figure CN114512220B_ABST
Patent Text Reader

Abstract

The present invention discloses an electronic face bow method based on monocular computer vision. 1) The marker is rigidly connected to the upper and lower teeth; 2) Motion video data acquisition: collect videos of the joint movement of the marker and the upper and lower jaws; 3) Motion trajectory data processing: calculate the collected motion video to obtain the motion trajectory of the marker; 4) Motion trajectory data optimization: optimize the motion trajectory data of the marker to make the calculated trajectory data more accurate and stable; 5) Motion trajectory visualization: apply the motion trajectory data of the marker to a three-dimensional skull mandibular model to reconstruct the motion trajectory of the upper and lower jaws. The present invention can achieve fast and accurate trajectory reproduction, help doctors perform occlusion detection, simplify the original cumbersome debugging work, improve medical efficiency and quality, and take into account economy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of oral medicine, and specifically relates to an electronic face bow technology based on monocular computer vision. When computer-aided design of tooth restoration is performed, computer vision technology is used to dynamically simulate the occlusal movement of upper and lower jaws and joints. Background Art

[0002] The electronic face bow is a technology that uses digital technology to simulate the movement of the human jaw and joints. It has a good effect on the diagnosis of jaw joint diseases and tooth restoration and correction. Traditional face bow technology requires the use of precise mechanical devices, which are complicated to operate, difficult to carry, and have limited information. The existing electronic face bow technology all belongs to foreign medical device companies, most of which use sensor solutions, using optical sensors, motion sensors, etc. to collect jaw movement data, and the equipment is extremely expensive. Therefore, a new technical solution that takes into account both economy and practicality is needed. Summary of the invention

[0003] In order to solve the problems in the background technology, the present invention provides a method for identifying using rigid connection markers and computer vision algorithms, directly collecting jaw movement data from video images, and after optimization processing, reproducing and visualizing the movement on a human skull model, which can achieve fast and accurate trajectory reproduction, help doctors perform bite detection, simplify the original tedious debugging work, improve medical efficiency and quality, and take into account economy.

[0004] The technical solution adopted by the present invention comprises the following steps:

[0005] Step 1) obtaining the upper and lower jaw and tooth models according to the subject's oral CBCT data, fixing multiple markers on the teeth of the model through connecting rods, and printing the jaw model with the markers fixed as a whole through 3D digital printing technology;

[0006] Step 2) The industrial camera is calibrated using the Zhang Dingyou method, multiple markers on the dental model are placed in the center of the industrial camera shooting screen, the jaw joint of the dental model is controlled to perform a biting action, and the industrial camera collects a video of the dental model from the beginning to the end of the biting;

[0007] Step 3) calculating the change trajectory of the upper or lower dentition markers in each frame of the video, taking one of the markers on the upper or lower dentition as the identification marker, integrating the coordinates and posture of the identification marker in each frame of the video to obtain the trajectory of the marker during the occlusion process;

[0008] Step 4) Optimize the coordinates and posture of the identification marker in each frame image to obtain the optimized coordinates and posture

[0009] Step 5) According to the relative position relationship between the identification markers on the upper dentition and the maxilla, the maxillary transformation matrix is ​​obtained, and the motion trajectory of the maxilla is obtained by multiplying the optimized coordinates and posture of the identification markers on the upper dentition with the transformation matrix; according to the relative position relationship between the identification markers on the lower dentition and the mandible, the mandibular transformation matrix is ​​obtained, and the motion trajectory of the mandible is obtained by multiplying the optimized coordinates and posture of the identification markers on the upper dentition with the transformation matrix.

[0010] The marker is a cube with different marker patterns attached to each face, and the marker patterns are generated based on the Aruco module of Opencv; the specifications of each marker are consistent, and the marker patterns on each marker are different.

[0011] The step 3) is specifically as follows:

[0012] 3.1) Convert the image into a grayscale image, perform boundary extraction and filtering on the grayscale image, make polygonal approximation on the extracted boundaries, retain the boundaries that are approximately quadrilateral as candidate logo patterns, and ignore other boundaries;

[0013] 3.2) Encoding and identifying the candidate logo patterns: identifying the candidate logo patterns that belong to the predefined logo patterns as available logo patterns, and discarding the candidate logo patterns that are not identified;

[0014] 3.3) Use the Aruco Marker module of OpenCV to automatically identify the marker pattern on each frame of the image, and record the coordinates of the four corner points on the marker pattern. Solve the point projection based on the corner points identified by all the markers on the upper or lower dentition to obtain the change matrix of the markers on the upper or lower dentition. The change matrix of the markers on the same dentition is the same;

[0015] Each marker pattern has four corner points, and each marker can generally identify 1 to 3 marker patterns.

[0016] Point projection is a typical PnP (Perspective-N-Point) problem, which can be solved using the SolvePnP method provided by OpenCV. All corner points corresponding to all landmarks are taken as the result point set of point projection.

[0017] 3.4) Select one of the markers on the upper or lower dentition as the identification marker, obtain the coordinates and posture of each frame of the identification marker according to the marker change matrix of each frame image obtained in step 3), and integrate the coordinates and posture of all frames of the identification marker to obtain the trajectory of the identification marker during the occlusion process.

[0018] The step 4) is specifically as follows:

[0019] 4.1) For each frame of the marker in the video, the relative motion of the marker in that frame relative to the first frame is recorded as the rotation matrix R and the translation matrix T.

[0020] 4.2) For each marker in each frame of the video, use computer graphics methods to generate a virtual image with the same resolution as the actual image at the camera position, select multiple points on the marker image as sampling points on each marker in the world space, calculate the Manhattan distance or Euclidean distance of the sampling points on the actual image and the virtual image, and sum the Manhattan distance or Euclidean distance to obtain the loss function corresponding to the marker;

[0021] 4.3) Taking the rotation matrix R and the translation matrix T as the independent variables of least squares optimization and the loss function as the objective function of least squares optimization, the steepest descent method, Gauss-Newton method or conjugate gradient method is used to solve the optimized rotation matrix R and translation matrix T of each frame of the marker, and the optimized coordinates and posture of the recognition marker in each frame are obtained according to the optimized rotation matrix R and translation matrix T of each frame of the marker.

[0022] The initial value of the iterative solution is the marker change matrix in step 3).

[0023] The step 5) also includes visualization of the marker trajectory:

[0024] For each frame in the marker trajectory, the marker model and openGL library are used to convert the model space of the marker trajectory to the world space, and then from the world space to the camera space, and the playback frame rate is controlled to be consistent with the acquisition frame rate, thereby completing the visualization of the marker trajectory.

[0025] When converting from model space to world space, multiply the optimized rotation and translation matrices of each frame in step 4) by the coordinates of the first frame of the marker.

[0026] The beneficial effects of the present invention are:

[0027] 1) The electronic face bow method based on computer vision of the present invention can ensure accuracy, and has rapid calculation and short waiting time, and can help dentists obtain jaw movement data.

[0028] 2) Compared with other existing sensor solutions, the present invention is low-cost. Compared with the electronic face bows of Zebris and Kava, which cost hundreds of thousands of yuan, the technical route of the present invention only requires the cost of the camera to be several thousand yuan, which greatly reduces the total price of the solution.

[0029] 3) Compared with other existing technical solutions, the present invention is easy to operate. In the past, both electronic face bows and mechanical face bows required doctors to operate them manually, but the present invention only requires printing the braces for the patient, and the patient can complete the video collection by himself, which is simple and quick. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 The figure is a flow chart of gesture recognition of the method of the present invention.

[0031] Figure 2 Schematic diagram of the marking pattern (only some markings are shown in the figure).

[0032] Figure 3 Schematic diagram of the structure of the marker.

[0033] Figure 4 Schematic diagram of the connection between the landmark and the upper and lower teeth.

[0034] Figure 5 Schematic diagram of video capture.

[0035] In the picture: 1. Marker, 2. Industrial camera, 3. The person being sampled. DETAILED DESCRIPTION

[0036] The present invention will be further described clearly and completely below in conjunction with the accompanying drawings and specific embodiments.

[0037] like Figure 1 , the present invention provides a method for restoring the mandibular motion trajectory using a single camera, comprising the steps of: connecting landmarks, camera acquisition, data calculation, trajectory optimization, and trajectory visualization.

[0038] 1. Before image acquisition, multiple electronic devices are needed to obtain data information of the human head to model the skull. The data information includes but is not limited to oral scan images containing oral information, facial scan images containing facial information, and CBCT image data.

[0039] Specifically, in the first step, when connecting the marker, the marker pattern used is as follows: Figure 2 As shown in the figure, the logo pattern is generated based on the Aruco module in Opencv. Each cube is a marker. The six faces of the marker are all bonded with the logo pattern Marker. The connected markers are as follows Figure 3 shown.

[0040] Each marker has the same specifications, and each face of the marker has a unique marking pattern. The marker is a cube with a size of 10 mm.

[0041] After obtaining the marker with the marking pattern bonded, the cube needs to be rigidly connected to the dentition. One implementation method is to use dental glue to rigidly bond the marker to the teeth through a connecting rod. The upper dentition is connected to two small cubes, and the lower dentition is also connected to two small cubes. This method requires manual measurement of the relative position of the marker and the upper and lower jaws.

[0042] Another implementation method is to construct a marker model in the modeling software, connect the marker to the teeth of the skull model, and use 3D digital printing technology to directly print the marker and the skull model as a whole. In this way, the relative position information of the marker and the upper and lower jaws can be directly obtained. The connected skull and the small marker block are as shown in FIG. Figure 4 shown.

[0043] 2. After the markers are connected, image data needs to be collected.

[0044] Specifically, the camera must be calibrated first to eliminate the impact of lens distortion and prepare for subsequent image recognition.

[0045] Then comes the image acquisition. Because the captured video is dynamic, the frame rate is required to be as high as possible. In the embodiment, a 2K60hz industrial camera is used. When acquiring, the appropriate distance between the subject 3 and the industrial camera 2 is maintained, such as Figure 5 As shown, the four cubes on the teeth need to be placed in the center of the screen to ensure that the marker 1 can be captured, and the acquisition begins. The subject 3 controls the jaw joint to make a bite action, and the video from the start to the end of the bite is collected. There is no requirement for the acquisition time.

[0046] 3. Input the captured video, the relative position of the marker and the jaw, and the skull model into the computer for data calculation. The purpose is to obtain the position information of each marker pattern in each marker through Opencv calculation through each frame of the image, and then integrate and calculate the position and posture of the marker through the information of each marker to obtain the trajectory of each marker:

[0047] Use OpenCV's Aruco Marker module to automatically identify each marker, record the coordinates of the four corner points of the marker, classify each marker according to the cube it belongs to, and integrate all the identified corner points (each marker pattern has four corner points, and each cube can generally identify 1 to 3 marker patterns), and get all the corner points detected by each cube in the current frame. All corner points are used as the result point set of point projection. Point projection is a typical PnP (Perspective-N-Point) problem, which can be solved using the SolvePnP method provided by OpenCV.

[0048] 4. In order to make the calculation results more accurate, it is necessary to optimize the obtained markers (the position and posture of each marker in each frame). The specific method is as follows:

[0049] 1) For the first frame of the video, calculate the position and pose of the landmark through Opencv;

[0050] 2) Describe the relative motion of other frames with respect to the first frame as rotation and translation matrices R and T.

[0051] 3) For each marker that has moved relative to each other in other frames, use computer graphics methods to generate a virtual image with the same resolution as the actual image at each camera position, select multiple points on the marker image in the small square of the actual image as sampling points, calculate the Manhattan distance or Euclidean distance of the sampling points on the actual image and each virtual image, and sum the Manhattan distance or Euclidean distance to obtain the loss function.

[0052] 4) Taking the rotation matrix R and the translation matrix T as the independent variables of least squares optimization, and the loss function as the objective function of least squares optimization, the conjugate gradient method, the steepest descent method, the Gauss-Newton method, the conjugate gradient method and other methods are used to solve the rotation matrix R and the translation matrix T to complete the trajectory optimization of the marker.

[0053] 5. Finally, the trajectory is visualized.

[0054] 1) Visualization of markers: For each frame of the marker trajectory, the model space of the marker trajectory is converted to the world space, and then from the world space to the camera space using the marker model and the openGL library. The playback frame rate is controlled to be consistent with the acquisition frame rate, thereby completing the visualization of the marker trajectory.

[0055] When converting the model space to the world space, the rotation and translation matrices calculated for each frame are multiplied by the coordinates of the marker in the first frame to obtain the marker pose in that frame.

[0056] 2) Visualization of skull movement: The relative position relationship between the marker and the maxillary and mandibles remains unchanged during the movement. The transformation matrix of the small square and the maxillary and mandibles is obtained based on their relative position relationship. The optimized position of the marker is multiplied by the transformation matrix to obtain the position of the maxillary and mandibles, thereby obtaining the movement trajectory of the mandible, completing the visualization process of the entire technical solution.

[0057] The present invention provides an electronic face bow solution based on a monocular computer vision method. By connecting markers on the teeth, the movement trajectory of the upper and lower jaws is captured and visualized, which provides convenience for dentists to use patient data for diagnosis.

Claims

1. An electronic face bow method based on monocular computer vision, It is characterized in that The following steps are involved: Step 1) Obtain the upper and lower jaw and tooth models based on the subject's oral CBCT data, fix multiple landmarks on the teeth of the model through connecting rods, and print the entire jaw model with the landmarks fixed using 3D digital printing technology; Step 2) The industrial camera is calibrated using the Zhang Dingyou method. Multiple landmarks on the dental model are placed in the center of the industrial camera's shooting screen. The jaw joint of the dental model is controlled to perform a bite action. The industrial camera collects a video of the dental model from the beginning to the end of the bite. Step 3) Calculate the change trajectory of the upper or lower dentition markers in each frame of the video, take one of the markers on the upper or lower dentition as the identification marker, and integrate the coordinates and posture of the identification marker in each frame to obtain the trajectory of the marker during the occlusion process; Step 4) The coordinates and posture of the recognition marker in each frame image are optimized to obtain the optimized coordinates and posture; Step 5) Obtain the maxillary transformation matrix according to the relative position relationship between the identification markers on the upper dentition and the maxilla, and multiply the optimized coordinates and posture of the identification markers on the upper dentition with the transformation matrix to obtain the motion trajectory of the maxilla; obtain the mandibular transformation matrix according to the relative position relationship between the identification markers on the lower dentition and the mandible, and multiply the optimized coordinates and posture of the identification markers on the lower dentition with the transformation matrix to obtain the motion trajectory of the mandible; The step 3) is specifically as follows: 3.1) Convert the image into a grayscale image, extract and filter the boundaries on the grayscale image, make polygonal approximation on the extracted boundaries, retain the boundaries that are approximately quadrilateral as candidate logo patterns, and ignore other boundaries; 3.2) Encoding and identifying the candidate logo patterns: identifying the candidate logo patterns belonging to the predefined logo patterns as available logo patterns; 3.3) Use the Aruco Marker module of OpenCV to automatically identify the marker pattern on each frame of the image, and record the coordinates of the four corner points on the marker pattern. Solve the point projection based on the corner points identified by all the markers on the upper or lower dentition to obtain the change matrix of the markers on the upper or lower dentition. The change matrix of the markers on the same dentition is the same; 3.4) Select one of the markers on the upper or lower dentition as the identification marker, obtain the coordinates and posture of each frame of the identification marker according to the marker change matrix of each frame image obtained in step 3), and integrate the coordinates and posture of all frames of the identification marker to obtain the trajectory of the identification marker during the occlusion process.

2. The electronic face bow method based on monocular computer vision according to claim 1, It is characterized in that The marker is a cube with different marker patterns attached to each face, and the marker patterns are generated based on the Aruco module of Opencv; the specifications of each marker are consistent, and the marker patterns on each marker are different.

3. The electronic face bow method based on monocular computer vision according to claim 1, It is characterized in that The step 4) is specifically as follows: 4.1) For each frame of the marker in the video, the relative motion of the marker in that frame relative to the first frame is recorded as the rotation matrix R and the translation matrix T; 4.2) For each landmark in each frame of the video, use computer graphics methods to generate a virtual image with the same resolution as the actual image at the camera position. Select multiple points on the landmark image as sampling points on each landmark in the world space, calculate the Manhattan distance or Euclidean distance of the sampling points on the actual image and the virtual image, and sum the Manhattan distance or Euclidean distance to obtain the loss function corresponding to the landmark; 4.3) Taking the rotation matrix R and the translation matrix T as the independent variables of the least squares optimization and the loss function as the objective function of the least squares optimization, the steepest descent method, the Gauss-Newton method or the conjugate gradient method is used to solve the optimized rotation matrix R and translation matrix T of each frame of the marker, and the optimized coordinates and posture of the recognition marker in each frame are obtained according to the optimized rotation matrix R and translation matrix T of each frame of the marker.

4. The electronic facebow method based on monocular computer vision according to claim 1, It is characterized in that The step 5) also includes visualization of the landmark trajectory: For each frame in the marker track, the model space of the marker track is converted to the world space using the marker model and the openGL library, and then converted from the world space to the camera space, thereby completing the visualization of the marker track.

Citation Information

Patent Citations

  • Mandibular kinesiograph tracking device and control method based on two-eye computer vision

    CN105590326A

  • Temporomandibular joint movement reconstruction method and system thereof

    CN106875432A