Tooth reference line generation method and device applied to dental design
By generating crosshair reference lines for tooth models and performing 3D transformations, combined with derived reference lines, the problem of a lack of standards in dental aesthetic design is solved, improving design efficiency and accuracy, and enhancing facial aesthetics.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN UP3D TECH CO LTD
- Filing Date
- 2023-11-21
- Publication Date
- 2026-07-07
AI Technical Summary
The lack of unified standards in dental aesthetic design and the strong subjectivity of designers lead to low design efficiency and accuracy, and multiple schemes affect the overall coordination.
The crosshairs of the generated tooth model are used to obtain three-dimensional coordinates through inverse transformation of two-dimensional coordinates. The three-dimensional crosshairs are then drawn and combined with derived reference lines such as the Leonardo da Vinci golden ratio and the full tooth lateral reference line to provide a unified design standard.
It improves the efficiency and accuracy of dental design, provides a unified aesthetic design standard, enhances facial aesthetics, and simplifies the design process.
Smart Images

Figure CN117556483B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and more specifically, to a method, apparatus, computer-readable medium, and electronic device for generating dental reference lines for dental design. Background Technology
[0002] In modern society, people's demands for quality of life are increasing, and oral aesthetics are receiving more and more attention. When people smile and speak, teeth and lips, located in the center of the face, are most easily noticed. The alignment of teeth and their harmony with the lips greatly affect a person's overall appearance. Clinically, dentists often adjust the shape of teeth and their harmony with the lips based on their subjective feelings. This method increases the design threshold for dentists and reduces design efficiency. Furthermore, in dental CAD design, different designers often have different design schemes. This can result in multiple aesthetic designs for the same patient's teeth, affecting the overall harmony of the teeth.
[0003] There are several problems with current dental aesthetics design: there is no unified standard for oral aesthetics, and different designers have their own plans when designing teeth; there are many dental aesthetics design plans and the design is quite difficult, which raises the industry threshold for dental designers and reduces the efficiency and accuracy of dental design. Summary of the Invention
[0004] Embodiments of this application provide a method, apparatus, computer-readable medium, and electronic device for generating dental reference lines in dental design, thereby at least partially solving the problems of low efficiency and accuracy in dental design.
[0005] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0006] According to one aspect of this application, a method for generating dental reference lines for dental design is provided, comprising:
[0007] Generating the crosshair reference line corresponding to the tooth model includes: adding a rectangle based on the position of the screen area; determining the position of the screen center based on the rectangle, which is used as the center of the crosshair reference line; and obtaining the height and width of the rectangle, which are used as the height and width of the crosshair reference line, respectively.
[0008] In this application, based on the aforementioned scheme, the method further includes: acquiring user-triggered control information, the control information including clicking and dragging; and updating the display mode of the crosshair reference line and the tooth model according to the control information.
[0009] In this application, based on the aforementioned scheme, the method further includes: obtaining user-triggered locking information; and controlling the position of the crosshair reference line to remain fixed based on the locking information.
[0010] In this application, based on the aforementioned scheme, the step of inversely transforming the two-dimensional coordinates corresponding to the target point to obtain the three-dimensional coordinates corresponding to the target point includes: performing an inverse operation on a preset visual matrix to obtain an inverse matrix; and multiplying the inverse matrix on the left by the two-dimensional coordinates to obtain the three-dimensional coordinates corresponding to the target point.
[0011] In this application, based on the aforementioned scheme, the step of drawing two intersecting lines based on the three-dimensional coordinates of the target point to generate a three-dimensional cross reference line located in front of the incisors includes: drawing two perpendicular intersecting lines with left, middle, right and upper, middle, and lower as base points to obtain a three-dimensional cross reference line located in front of the incisors.
[0012] In this application, based on the aforementioned scheme, the method further includes: drawing derivative reference lines according to the three-dimensional cross reference lines; wherein the derivative reference lines include the Da Vinci golden ratio reference line, the tooth reference line, or the full tooth lateral reference line.
[0013] According to one aspect of this application, a dental reference line generation device for dental design is provided, comprising:
[0014] An acquisition unit is used to acquire a tooth model and generate a crosshair reference line corresponding to the tooth model; wherein the crosshair reference line is two-dimensional;
[0015] A coordinate unit is used to obtain the two-dimensional coordinates of the target point on the cross reference line corresponding to the two-dimensional coordinates on the screen.
[0016] The transformation unit is used to perform an inverse transformation on the two-dimensional coordinates corresponding to the target point to obtain the three-dimensional coordinates corresponding to the target point;
[0017] The drawing unit is used to draw two intersecting lines based on the three-dimensional coordinates of the target point, and generate a three-dimensional cross reference line located in front of the incisor.
[0018] In this application, based on the aforementioned scheme, the method further includes: acquiring user-triggered control information, the control information including clicking and dragging; and updating the display mode of the crosshair reference line and the tooth model according to the control information.
[0019] In this application, based on the aforementioned scheme, the method further includes: obtaining user-triggered locking information; and controlling the position of the crosshair reference line to remain fixed based on the locking information.
[0020] In this application, based on the aforementioned scheme, the step of inversely transforming the two-dimensional coordinates corresponding to the target point to obtain the three-dimensional coordinates corresponding to the target point includes: performing an inverse operation on a preset visual matrix to obtain an inverse matrix; and multiplying the inverse matrix on the left by the two-dimensional coordinates to obtain the three-dimensional coordinates corresponding to the target point.
[0021] In this application, based on the aforementioned scheme, the step of drawing two intersecting lines based on the three-dimensional coordinates of the target point to generate a three-dimensional cross reference line located in front of the incisors includes: drawing two perpendicular intersecting lines with left, middle, right and upper, middle, and lower as base points to obtain a three-dimensional cross reference line located in front of the incisors.
[0022] In this application, based on the aforementioned scheme, the method further includes: drawing derivative reference lines according to the three-dimensional cross reference lines; wherein the derivative reference lines include the Da Vinci golden ratio reference line, the tooth reference line, or the full tooth lateral reference line.
[0023] According to one aspect of this application, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method for generating dental reference lines for dental design as described in the above embodiments.
[0024] According to one aspect of this application, an electronic device is provided, comprising: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the method for generating dental reference lines for dental design as described in the above embodiments.
[0025] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the tooth reference line generation method for dental design provided in the various alternative implementations described above.
[0026] In this technical solution, when a dental CAD designer designs tooth morphology, a crosshair reference line corresponding to the tooth model is first generated; the two-dimensional coordinates of the target point on the crosshair reference line corresponding to the target point on the screen are obtained; the two-dimensional coordinates corresponding to the target point are inversely transformed to obtain the three-dimensional coordinates corresponding to the target point; based on the three-dimensional coordinates of the target point, two intersecting lines are drawn to generate a three-dimensional crosshair reference line located in front of the incisors. This technical solution adjusts the shape of the patient's teeth in real time, greatly facilitating the designer's tooth design, improving the overall aesthetics of the face, providing designers with a reference standard for perfect teeth, and improving the efficiency and accuracy of dental design.
[0027] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0028] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0029] Figure 1 The flowchart illustrates a method for generating tooth reference lines for dental design.
[0030] Figure 2 A schematic diagram of a crosshair reference line according to one embodiment of this application is shown.
[0031] Figure 3 A schematic diagram of a three-dimensional crosshair reference line according to an embodiment of this application is shown.
[0032] Figure 4 A schematic diagram of the Leonardo da Vinci golden ratio reference line according to one embodiment of this application is shown.
[0033] Figure 5 A schematic diagram illustrating the aspect ratio of teeth 11 and 21 according to an embodiment of this application is shown.
[0034] Figure 6 A schematic diagram of a tooth reference line pattern according to an embodiment of this application is shown.
[0035] Figure 7 A schematic diagram of a canine tooth lateral reference line according to an embodiment of this application is shown.
[0036] Figure 8 A schematic diagram of a real-time tooth reference line according to an embodiment of this application is shown.
[0037] Figure 9 A schematic diagram of a tooth reference line algorithm according to an embodiment of this application is shown.
[0038] Figure 10 A schematic diagram of a dental reference line generation device applied to dental design according to an embodiment of this application is shown.
[0039] Figure 11The schematic diagram illustrates the structure of a computer system suitable for implementing the electronic devices of the present application. Detailed Implementation
[0040] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. These embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of exemplary embodiments to those skilled in the art. However, exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0041] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0042] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0043] The implementation details of the technical solutions in the embodiments of this application are described in detail below:
[0044] Figure 1 A flowchart illustrating a method for generating tooth reference lines for dental design according to an embodiment of this application is shown. (Refer to...) Figure 1 As shown, the method for generating tooth reference lines for dental design includes at least steps S110 to S140, which are described in detail below:
[0045] In step S110, a tooth model is obtained, and a cross reference line corresponding to the tooth model is generated; wherein, the cross reference line is two-dimensional.
[0046] In one embodiment of this application, a two-dimensional cross-shaped structure is added to the scene of the tooth model using real-time rendering. For example... Figure 2 The diagram shows a crosshair reference line.
[0047] In one embodiment of this application, generating the crosshair reference line corresponding to the tooth model includes:
[0048] Add a rectangle based on the location of the screen area;
[0049] Based on the rectangular frame, determine the position of the screen center as the center of the crosshair reference line;
[0050] Obtain the height and width of the rectangle, and use them as the height and width of the crosshair reference line, respectively.
[0051] like Figure 2 As shown, Figure 2 The gray background represents the scene, which is a three-dimensional space. The black rectangle is a crosshair reference line added to the scene. This reference line is first determined by the position of the screen center, and then the height and width of the scene are used as the height and width of the crosshair reference line, respectively.
[0052] In one embodiment of this application, the method further includes:
[0053] Acquire user-triggered control information, including clicks and drags;
[0054] The display method of the crosshair reference line and the tooth model is updated according to the control information.
[0055] Users can rotate the model in the scene by dragging the right mouse button, drag the position of the crosshair by dragging the left mouse button, stretch the size of the reference line by stretching the dashed frame, and zoom in and out of the model in the scene by scrolling the scroll wheel.
[0056] In addition, the transparency of the crosshair reference lines can be controlled by dragging the slider, and the crosshair reference lines can be hidden when necessary to avoid visual interference with the dental design.
[0057] By clicking the lock button, you can fix the crosshair reference line in the 2D plane. Once locked, the crosshair reference line cannot be dragged or scaled. When rotating the view, the reference line will always be in front of the incisors, ensuring that the crosshair reference line rotates synchronously with the model. This allows dental designers to compare tooth morphology from multiple angles in real time, thus improving the aesthetics of the tooth design.
[0058] In step S120, the two-dimensional coordinates on the screen corresponding to the target point on the cross reference line are obtained.
[0059] In one embodiment of this application, the two-dimensional coordinates of the target point are first obtained, which may include: the center of each of the upper, lower, left and right sides of the cross reference line and the two-dimensional coordinates of the center of the cross reference line on the screen, for a total of 5 points.
[0060] In step S130, the two-dimensional coordinates corresponding to the target point are inversely transformed to obtain the three-dimensional coordinates corresponding to the target point.
[0061] In one embodiment of this application, all five acquired points are back-projected into the three-dimensional scene through viewport transformation.
[0062] In one embodiment of this application, the two-dimensional coordinates corresponding to the target point are inversely transformed to obtain the three-dimensional coordinates corresponding to the target point, including:
[0063] The inverse matrix is obtained by performing an inverse operation on the preset visual matrix;
[0064] Multiplying the inverse matrix by the two-dimensional coordinates on the left yields the three-dimensional coordinates of the target point.
[0065] Specifically, in this embodiment, it is necessary to obtain the coordinates of a point on a two-dimensional screen in three-dimensional space. This is achieved by inverting the preset visual matrix and multiplying it by the two-dimensional coordinates to obtain the three-dimensional coordinates of the target point.
[0066] In step S140, based on the three-dimensional coordinates of the target point, two intersecting lines are drawn to generate a three-dimensional cross reference line located in front of the incisor.
[0067] In one embodiment of this application, two perpendicular intersecting lines are drawn with left, center, right and top, center, and bottom as base points to obtain a three-dimensional cross reference line located in front of the incisors.
[0068] After inverse viewport transformation, five coordinate points are obtained in the 3D scene, corresponding to the five points of the crosshair reference line. Then, two perpendicular intersecting lines are drawn with left, center, right, top, center, and bottom as base points, ultimately resulting in the crosshair reference line located in front of the incisors. Since this line is already part of the 3D scene model, it can rotate, translate, and scale with the scene. Figure 3 The diagram shows a three-dimensional crosshair reference line.
[0069] For mouse events, the following scenarios apply: When the left mouse button is clicked, the screen coordinates are first used to determine if the cursor is within the black cuboid frame. If the left mouse button is determined to be within the black cuboid frame, the click position is recorded. If the mouse button is then released, no event occurs. If the cursor is dragged a certain distance (greater than the Manhattan distance) and then released, it indicates that the user has executed a drag event, and the black cuboid frame will be dragged along with the mouse. When the left mouse button is clicked, the screen coordinates are first used to determine if the cursor is on the black cuboid frame. If the left mouse button is determined to be on the black cuboid frame, the click position is recorded. If the mouse button is then dragged a certain distance and then released (greater than the Manhattan distance), it indicates that the user has executed a scaling reference operation. In this case, the black cuboid frame will scale along with the mouse drag.
[0070] In one embodiment of this application, it further includes:
[0071] Draw derived reference lines based on the three-dimensional cross reference lines;
[0072] The derived reference lines include the Da Vinci Golden Ratio Reference Line, the Tooth Reference Line, or the Full Tooth Lateral Surface Reference Line.
[0073] In the same way, we can draw more complex reference lines, such as the Leonardo da Vinci golden ratio reference line, as shown below. Figure 4 As shown. This reference line mainly consists of one horizontal line and seven vertical lines, with the middle vertical line as the axis of symmetry. Segmentation markings are viewed from the front. Figure 1 , 2 The dimensions of tooth #3 are 1.618:1:0.618, conforming to Darwin's golden ratio. The length-to-width ratio of the two middle incisors (tooth positions 11 and 21) also conforms to Darwin's golden ratio of 1.618:1 (e.g., ...). Figure 5 (See the diagram showing the length-to-width ratio of teeth 11 and 21). The Darwinian golden ratio reference line primarily serves as a standard reference for the distance between the incisors and the teeth on either side, allowing dentists to easily compare and reference the distance when designing incisors, resulting in aesthetically pleasing teeth. Its implementation principle is basically the same as the crosshair reference line, allowing for rotation, translation, and scaling in three-dimensional space; it is powerful and easy to use.
[0074] In addition, this embodiment can also generate tooth-shaped reference lines based on the Darwinian golden ratio reference lines, such as... Figure 6 The diagram shows a schematic of the tooth reference lines. As you can see, the tooth reference lines incorporate a tooth aspect ratio diagram within the spacing of the Darwinian golden ratio reference lines. This not only provides a standard for tooth spacing but also a reference for tooth morphology, facilitating tooth design by dentists, especially when patients have missing teeth. It allows dentists to quickly locate missing teeth, improving the efficiency of tooth design.
[0075] In addition to the reference line for the incisors, this application also includes a reference line for the lateral canines. In human tooth structure, canines are located to the sides of the incisors, behind the lips, unlike the incisors which are centrally located and directly observable. Therefore, designing lateral canines often presents challenges. In dental CAD design, the relationship between the upper and lower jawbones varies, and there is no unified design scheme for lateral canines. Therefore, we provide a set of lateral canine reference lines to offer a standard reference, such as... Figure 7 The diagram shows a reference line for the side view of a canine tooth.
[0076] like Figure 8The diagram shown illustrates real-time dental reference lines. These reference lines can be used at any stage of dental design to monitor the aesthetics of the design in real time, thus improving the efficiency of dental design.
[0077] like Figure 9 As shown, this embodiment implements an algorithm for a tooth reference line.
[0078] In this application's technical solution, when a dental CAD designer designs tooth morphology, a crosshair reference line corresponding to the tooth model is first generated; the two-dimensional coordinates of the target point on the crosshair reference line corresponding to the target point on the screen are obtained; the two-dimensional coordinates corresponding to the target point are inversely transformed to obtain the three-dimensional coordinates corresponding to the target point; based on the three-dimensional coordinates of the target point, two intersecting lines are drawn to generate a three-dimensional crosshair reference line located in front of the incisors. Real-time adjustment of the tooth morphology greatly facilitates the designer's tooth design, improves the overall aesthetics of the human face, provides designers with a reference standard for perfect teeth, and improves the efficiency and accuracy of dental design.
[0079] The following describes an embodiment of the apparatus described in this application, which can be used to execute the method for generating dental reference lines for dental design as described in the above embodiments of this application. It is understood that the apparatus can be a computer program (including program code) running on a computer device, for example, the apparatus is application software; the apparatus can be used to execute the corresponding steps in the method provided in the embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method for generating dental reference lines for dental design described above in this application.
[0080] Figure 10 A block diagram of a dental reference line generation device for dental design according to an embodiment of this application is shown.
[0081] Reference Figure 10 As shown, a dental reference line generation device for dental design according to an embodiment of this application includes:
[0082] The acquisition unit 310 is used to acquire a tooth model and generate a crosshair reference line corresponding to the tooth model; wherein the crosshair reference line is two-dimensional.
[0083] Coordinate unit 320 is used to obtain the two-dimensional coordinates of the target point on the cross reference line corresponding to the two-dimensional coordinates on the screen;
[0084] Transformation unit 330 is used to perform an inverse transformation on the two-dimensional coordinates corresponding to the target point to obtain the three-dimensional coordinates corresponding to the target point;
[0085] The drawing unit 340 is used to draw two intersecting lines based on the three-dimensional coordinates of the target point, and generate a three-dimensional cross reference line located in front of the incisor.
[0086] In this application, based on the aforementioned scheme, the method further includes: acquiring user-triggered control information, the control information including clicking and dragging; and updating the display mode of the crosshair reference line and the tooth model according to the control information.
[0087] In this application, based on the aforementioned scheme, the method further includes: obtaining user-triggered locking information; and controlling the position of the crosshair reference line to remain fixed based on the locking information.
[0088] In this application, based on the aforementioned scheme, the step of inversely transforming the two-dimensional coordinates corresponding to the target point to obtain the three-dimensional coordinates corresponding to the target point includes: performing an inverse operation on a preset visual matrix to obtain an inverse matrix; and multiplying the inverse matrix on the left by the two-dimensional coordinates to obtain the three-dimensional coordinates corresponding to the target point.
[0089] In this application, based on the aforementioned scheme, the step of drawing two intersecting lines based on the three-dimensional coordinates of the target point to generate a three-dimensional cross reference line located in front of the incisors includes: drawing two perpendicular intersecting lines with left, middle, right and upper, middle, and lower as base points to obtain a three-dimensional cross reference line located in front of the incisors.
[0090] In this application, based on the aforementioned scheme, the method further includes: drawing derivative reference lines according to the three-dimensional cross reference lines; wherein the derivative reference lines include the Da Vinci golden ratio reference line, the tooth reference line, or the full tooth lateral reference line.
[0091] In this technical solution, when a dental CAD designer designs tooth morphology, a crosshair reference line corresponding to the tooth model is first generated; the two-dimensional coordinates of the target point on the crosshair reference line corresponding to the target point on the screen are obtained; the two-dimensional coordinates corresponding to the target point are inversely transformed to obtain the three-dimensional coordinates corresponding to the target point; based on the three-dimensional coordinates of the target point, two intersecting lines are drawn to generate a three-dimensional crosshair reference line located in front of the incisors. Real-time adjustment of the patient's tooth morphology greatly facilitates the designer's tooth design, improves the overall aesthetics of the face, provides designers with a reference standard for perfect teeth, and improves the efficiency and accuracy of dental design.
[0092] Figure 11 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown.
[0093] It should be noted that, Figure 11 The computer system 400 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0094] like Figure 11As shown, the computer system 400 includes a Central Processing Unit (CPU) 401, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 402 or programs loaded from Storage Unit 408 into Random Access Memory (RAM) 403, such as performing the methods described in the above embodiments. The RAM 403 also stores various programs and data required for system operation. The CPU 401, ROM 402, and RAM 403 are interconnected via a bus 404. An Input / Output (I / O) interface 405 is also connected to the bus 404.
[0095] The following components are connected to I / O interface 405: an input section 406 including a keyboard, mouse, etc.; an output section 407 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to I / O interface 405 as needed. A removable medium 411, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 410 as needed so that computer programs read from it can be installed into storage section 408 as needed.
[0096] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 409, and / or installed from removable medium 411. When the computer program is executed by central processing unit (CPU) 401, it performs various functions defined in the system of this application.
[0097] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. The transmitted data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0098] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0099] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0100] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various alternative implementations described above.
[0101] In another aspect, this application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the electronic device. The computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods described in the above embodiments.
[0102] It should be noted that although several modules or units for the device used to perform actions are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units. Through the above description of the embodiments, those skilled in the art can readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, mobile hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the method according to the embodiments of this application. Those skilled in the art will readily conceive of other embodiments of this application after considering the specification and practicing the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed in this application. It should be understood that this application is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for generating tooth reference lines for dental design, characterized in that, include: Obtain a tooth model and generate a crosshair reference line corresponding to the tooth model; wherein the crosshair reference line is two-dimensional; Obtain the two-dimensional coordinates on the screen corresponding to the target point on the cross reference line; The two-dimensional coordinates corresponding to the target point are inversely transformed to obtain the three-dimensional coordinates corresponding to the target point; Based on the three-dimensional coordinates of the target point, two intersecting lines are drawn to generate a three-dimensional cross reference line located in front of the incisor.
2. The method according to claim 1, characterized in that, Generating the crosshair reference line corresponding to the tooth model includes: Add a rectangle based on the location of the screen area; Based on the rectangular frame, determine the position of the screen center as the center of the crosshair reference line; Obtain the height and width of the rectangle, and use them as the height and width of the crosshair reference line, respectively.
3. The method according to claim 1, characterized in that, The method further includes: Acquire user-triggered control information, including clicks and drags; The display method of the crosshair reference line and the tooth model is updated according to the control information.
4. The method according to claim 1, characterized in that, The method further includes: Get the user-triggered lock information; Based on the locking information, the position of the crosshair reference line is kept fixed.
5. The method according to claim 1, characterized in that, The inverse transformation of the two-dimensional coordinates corresponding to the target point yields the three-dimensional coordinates corresponding to the target point, including: The inverse matrix is obtained by performing an inverse operation on the preset visual matrix; Multiplying the inverse matrix by the two-dimensional coordinates on the left yields the three-dimensional coordinates of the target point.
6. The method according to claim 1, characterized in that, Based on the three-dimensional coordinates of the target point, two intersecting lines are drawn to generate a three-dimensional crosshair reference line located in front of the incisors, including: Draw two perpendicular intersecting lines with left, center, right and top, center, and bottom as base points to obtain a three-dimensional cross reference line located in front of the incisors.
7. The method according to claim 6, characterized in that, The method further includes: Draw derived reference lines based on the three-dimensional cross reference lines; The derived reference lines include the Da Vinci Golden Ratio Reference Line, the Tooth Reference Line, or the Full Tooth Lateral Surface Reference Line.
8. A dental reference line generation device for dental design, characterized in that, include: An acquisition unit is used to acquire a tooth model and generate a crosshair reference line corresponding to the tooth model; wherein the crosshair reference line is two-dimensional; A coordinate unit is used to obtain the two-dimensional coordinates of the target point on the cross reference line corresponding to the two-dimensional coordinates on the screen. The transformation unit is used to perform an inverse transformation on the two-dimensional coordinates corresponding to the target point to obtain the three-dimensional coordinates corresponding to the target point; The drawing unit is used to draw two intersecting lines based on the three-dimensional coordinates of the target point, and generate a three-dimensional cross reference line located in front of the incisor.
9. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method for generating dental reference lines for dental design as described in any one of claims 1 to 7.
10. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the method for generating dental reference lines for dental design as described in any one of claims 1 to 7.