Tool determination method, device, computer readable storage medium and processor
By acquiring three-dimensional image data of the target area and using a machine learning recognition model to determine simplified morphology and tool parameters, the problem of being unable to effectively locate and match appropriate tools in the existing technology is solved, and more accurate and faster tool matching is achieved.
Patent Information
- Application Number
- CN202110832062.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-22
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-07-22
AI Technical Summary
Existing technology cannot effectively locate the target area and match it with appropriate tools, making precise operation and repair difficult.
By obtaining three-dimensional image data of the target area, the recognition model obtained by machine learning is used to determine its simplified form and tool parameters, thereby selecting the appropriate tool.
It achieves more accurate target area positioning and rapid matching of corresponding tools, solving the problem of being unable to effectively locate and match appropriate tools.
Smart Images

Figure CN113470003B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent tools, and in particular to a method and device for determining a tool, a computer-readable storage medium, and a processor. Background Art
[0002] In different fields, for example, in the medical field, the identification of the necrotic area is a key process in the treatment of femoral head necrosis. Most of the time, it relies on the surgeon's preoperative image analysis and repeated intraoperative X-ray fluoroscopy for repeated positioning. This process will be accompanied by repeated punctures and radiation damage, and there is no effective way to accurately express the morphology of the femoral head necrotic area, let alone choose the right tools to treat it. For another example, in the industrial production process, for larger workpieces, manual quality inspection is generally used to detect defects such as holes. For example, when there are many defects such as holes or they are difficult for the human eye to detect, it is impossible to detect them one by one and choose the right tools to repair them. However, similar problems also exist in other fields such as mold maintenance, so more accurate positioning and intelligent operation tools have become a more urgent need.
[0003] With respect to the problem that the above-mentioned related technologies cannot effectively locate the target area and match the appropriate tool for the target area, no effective solution has been proposed so far. Summary of the invention
[0004] The embodiments of the present invention provide a method, device, computer-readable storage medium and processor for determining a tool, so as to at least solve the technical problem in the related art that a target area cannot be effectively located and a suitable tool cannot be matched for the target area.
[0005] According to one aspect of an embodiment of the present invention, a method for determining a tool is provided, comprising: acquiring three-dimensional image data of a target area; determining a simplified form of the target area corresponding to the three-dimensional image data and tool parameters corresponding to the simplified form based on a recognition model obtained by machine learning; and determining a tool to be used according to the simplified form and the tool parameters corresponding to the simplified form.
[0006] Optionally, obtaining three-dimensional image data of the target area includes: scanning the target area using a scanning device to obtain two-dimensional multi-layer image data of the target area; performing three-dimensional reconstruction based on the two-dimensional multi-layer image data to obtain a three-dimensional digital model of the target area; and obtaining the three-dimensional image data of the target area based on the three-dimensional digital model.
[0007] Optionally, based on the recognition model obtained by machine learning, the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form are determined, including: inputting the three-dimensional image data into the recognition model, generating the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form, wherein the recognition model is obtained by machine learning training using multiple sets of data, and each set of the multiple sets of data includes: different types of three-dimensional image data, the simplified form of the target area corresponding to the three-dimensional image data, and the tool parameters corresponding to the simplified form.
[0008] Optionally, after determining the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form, the method further includes: adjusting the tool parameters to re-determine the tool to be used.
[0009] According to another aspect of an embodiment of the present invention, a tool determination device is also provided, including: an acquisition module for acquiring three-dimensional image data of a target area; a first determination module for determining a simplified form of the target area corresponding to the three-dimensional image data and tool parameters corresponding to the simplified form based on a recognition model obtained by machine learning; and a second determination module for determining a tool to be used based on the simplified form and the tool parameters corresponding to the simplified form.
[0010] Optionally, the acquisition module includes: a scanning unit, used to scan the target area using a scanning device to obtain two-dimensional multi-layer image data of the target area; a reconstruction unit, used to perform three-dimensional reconstruction based on the two-dimensional multi-layer image data to obtain a three-dimensional digital model of the target area; and an obtaining unit, used to obtain the three-dimensional image data of the target area based on the three-dimensional digital model.
[0011] Optionally, the first determination module includes: a generation unit, used to input the three-dimensional image data into the recognition model, generate a simplified form of the target area corresponding to the three-dimensional image data and tool parameters corresponding to the simplified form, wherein the recognition model is obtained through machine learning training using multiple sets of data, and each set of the multiple sets of data includes: different types of three-dimensional image data, a simplified form of the target area corresponding to the three-dimensional image data, and tool parameters corresponding to the simplified form.
[0012] Optionally, the device further comprises: an adjustment module for adjusting the tool parameters and re-determining the tool to be used after determining the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form.
[0013] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned tool determination methods.
[0014] According to another aspect of an embodiment of the present invention, a processor is provided, wherein the processor is used to run a program, wherein the program executes any one of the above-mentioned tool determination methods when running.
[0015] In an embodiment of the present invention, three-dimensional image data of a target area is acquired; based on a recognition model obtained by machine learning, a simplified form of the target area corresponding to the three-dimensional image data and tool parameters corresponding to the simplified form are determined; according to the simplified form and the tool parameters corresponding to the simplified form, a tool to be used is determined, and the three-dimensional image data of the target area is identified by the recognition model to obtain a simplified form of the target area and tool parameters corresponding to the simplified form, thereby achieving the purpose of matching a tool for the target area after locating it, thereby achieving a technical effect of more accurately locating the target area and quickly matching the corresponding tool, thereby solving the technical problem in the related art that the target area cannot be effectively located and a suitable tool cannot be matched for the target area. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0017] Figure 1 is a flow chart of a method for determining a tool according to an embodiment of the present invention;
[0018] Figure 2 is a schematic diagram of a tool determination device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0021] Example 1
[0022] According to an embodiment of the present invention, an embodiment of a method for determining a tool is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0023] Figure 1 is a flow chart of a method for determining a tool according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0024] Step S102, acquiring three-dimensional image data of the target area;
[0025] Step S104, determining a simplified form of the target area corresponding to the three-dimensional image data and tool parameters corresponding to the simplified form based on the recognition model obtained by machine learning;
[0026] Step S106, determining the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form.
[0027] The simplified forms are also called basic voxels, where the simplified forms include but are not limited to squares, rectangles, regular triangles, inverted triangles, rhombuses, spheres, convex arcs, straight lines, concave crescents, irregular curves, and combinations of multiple shapes. The tools to be used may vary depending on the application scenario, for example, in the medical field they may be medical instrument tools, in the industrial production field they may be related repair tools, etc., which will not be described one by one here.
[0028] Through the above steps, it is possible to obtain three-dimensional image data of the target area; determine the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form based on the recognition model obtained by machine learning; determine the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form, recognize the three-dimensional image data of the target area through the recognition model, obtain the simplified form of the target area and the tool parameters corresponding to the simplified form, and achieve the purpose of matching the tool for the target area after locating it, thereby achieving the technical effect of more accurately locating the target area and quickly matching the corresponding tool, thereby solving the technical problem in the related technology that the target area cannot be effectively located and the appropriate tool cannot be matched for the target area.
[0029] Optionally, obtaining three-dimensional image data of the target area includes: scanning the target area using a scanning device to obtain two-dimensional multi-layer image data of the target area; performing three-dimensional reconstruction based on the two-dimensional multi-layer image data to obtain a three-dimensional digital model of the target area; and obtaining three-dimensional image data of the target area based on the three-dimensional digital model.
[0030] The above-mentioned scanning equipment includes but is not limited to CT scanning equipment, MRI nuclear magnetic scanning equipment, etc.
[0031] In an optional embodiment, a scanning device is used to scan the geometric structure and appearance data of the target area to obtain two-dimensional multi-layer image data, and the data is reconstructed in three dimensions to generate a three-dimensional digital model, which includes the three-dimensional image data of the target area. The above-mentioned geometric structure includes but is not limited to the shape of the object or environment, and the above-mentioned appearance data includes but is not limited to color, surface albedo, etc. Through the above-mentioned embodiment, the three-dimensional image data of the target area can be obtained from multiple angles and in all directions.
[0032] Optionally, the scanning device in the above embodiment adopts a composite three-dimensional non-contact measurement technology that combines structured light technology, phase measurement technology, and computer vision technology. The scanning device can measure a surface at the same time. During measurement, a grating projection device projects several specifically coded structured lights onto the object to be measured. Two cameras at a certain angle synchronously capture corresponding images, and then decode and calculate the phase of the image. The matching technology and triangle measurement principle are used to solve the three-dimensional coordinates of the pixel points in the common field of view of the two cameras.
[0033] It should be noted that the above-mentioned scanning device at least includes a laser emitter, a receiver, a time counter, a motor-controlled rotatable filter, a control circuit board, a microcomputer, a CCD machine and a software program, etc.
[0034] In addition, the above-mentioned scanning device can also be a contact 3D scanner or a non-contact 3D scanner, wherein the contact 3D scanner includes but is not limited to a coordinate measuring machine, a milling measuring machine, etc., and the non-contact 3D scanner includes but is not limited to a laser scanner, a photographic scanner, a CT tomography scanner, etc.
[0035] It should be noted that the above-mentioned embodiments of the present invention can be applied to the measurement of red-hot forging dimensions, evaluation of explosive damage effects, workpiece hole detection, automobile interior trims, and selection of rotating blades, etc.
[0036] Optionally, based on the recognition model obtained by machine learning, the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form are determined, including: inputting the three-dimensional image data into the recognition model, generating the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form, wherein the recognition model is obtained by machine learning training using multiple sets of data, and each set of data in the multiple sets of data includes: different types of three-dimensional image data, the simplified form of the target area corresponding to the three-dimensional image data, and the tool parameters corresponding to the simplified form.
[0037] In an optional implementation, before determining the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form based on the recognition model obtained by machine learning, it also includes: constructing a recognition model for the target area; using multiple sets of data to obtain a final recognition model through machine learning training, at this time, each set of data in the multiple sets of data includes different types of three-dimensional image data, the simplified form of the target area corresponding to the three-dimensional image data, and the tool parameters corresponding to the simplified form. The above implementation can provide a more accurate and more applicable recognition model.
[0038] In an optional implementation, after acquiring the three-dimensional image data of the target area, the three-dimensional image data can be input into a recognition model, and the recognition model processes the three-dimensional image data to generate a simplified form of the target area and tool parameters corresponding to the simplified form. It should be noted that the simplified form of the target area can be one or more forms, and the tool parameters corresponding to different simplified forms will also vary with their forms.
[0039] Through the above implementation, the three-dimensional image data can be processed based on the recognition model obtained by machine learning, the target area can be divided into one or more simplified forms, and the tool parameters corresponding to each simplified form can be accurately obtained.
[0040] Optionally, after determining the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form, the method further includes: adjusting the tool parameters and re-determining the tool to be used.
[0041] In order to meet the actual application requirements, after determining the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form, the tool parameters can be further adjusted to obtain the tool to be used after adjusting the tool parameters. The above implementation makes it more flexible to select the tool to be used and can cope with complex and changing application scenario requirements.
[0042] In order to better understand the process of the determination method of the above-mentioned tool, the process of the determination method of the above-mentioned tool is described below in combination with an optional embodiment, but it is not used to limit the technical solution of the embodiment of the present invention.
[0043] The following describes in detail the optional implementation modes of the present invention in combination with different application scenarios.
[0044] Application scenario 1:
[0045] In an optional embodiment, the following implementation steps may be specifically adopted:
[0046] Step 1-1: Connect the navigation system to the 3D scanning system, where the navigation device can accurately match the patient's preoperative or intraoperative image data with the patient's anatomical structure on the operating table, track the surgical instruments and update the position of the surgical instruments in real time on the patient's image in the form of a virtual probe, so that the doctor can see the position of the surgical instruments relative to the patient's anatomical structure at a glance, making surgical operations faster, more precise and safer.
[0047] Step 1-2: Obtain the image of the patient's proximal femur through a 3D scanning system, wherein the 3D scanner used by the 3D scanning system uses optical measurement technology, computer technology, image processing technology, digital signal processing technology, etc. to perform non-contact automatic measurement of the three-dimensional human body surface contour. In addition, the human body (half-body) scanning system fully utilizes the advantages of fast optical three-dimensional scanning and the harmlessness of white light to the human body, and performs multi-angle and multi-directional instant scanning of the human body or half-body within 3 to 5 seconds, and then automatically splices it through computer software to obtain accurate and complete human body point cloud data, thereby presenting a three-dimensional bone structure.
[0048] Step 1-3: Use AI algorithm to perform 3D reconstruction, obtain the 3D reconstruction results of the femoral head necrosis area, and the center of the femoral head necrosis area, and import them into the navigation system. It should be noted that the image data obtained by 3D scanning is analyzed by machine learning (ML) or artificial intelligence to obtain the morphology of the proximal femur and the morphology of the femoral head necrosis area.
[0049] Step 1-4: Divide the morphology of the femoral head necrosis area into one or more simplified shapes in the navigation system.
[0050] Step 1-5: After analysis by AI, the AI algorithm will output the following results: a simplified morphology of the femoral head necrosis area and the rotating blade parameters corresponding to the simplified morphology; wherein the rotating blade parameters include but are not limited to blade length, angle, arc radius, etc.
[0051] Step 1-6: Select the appropriate rotating blade based on the results output by AI.
[0052] It should be noted that the rotating blade is provided with at least two blades and an inner core sliding in the sleeve, and the inner core drives the at least two blades to extend and retract.
[0053] Application scenario 2:
[0054] In another optional embodiment, the following implementation steps may be specifically adopted:
[0055] Step 2-1: Place the target workpiece at the detection position, and then use a three-dimensional scanner to scan a predetermined area of the workpiece (equivalent to the above-mentioned target area) to obtain three-dimensional image data of the workpiece.
[0056] Step 2-2: Reconstruct the workpiece in three dimensions based on the three-dimensional image data of the workpiece, and determine defect areas such as holes in the workpiece.
[0057] Step 2-3: Based on the AI algorithm using big data, the defective areas such as holes in the workpiece are divided into several different simplified forms, and the repair parameters corresponding to each simplified form are obtained. The repair parameters here include but are not limited to the workpiece material, hole size, etc.
[0058] Step 2-4: Based on the processing results of the AI algorithm of big data, select appropriate repair tools for repairing defective areas such as holes in the workpiece. It should be noted that the above-mentioned repair tools include but are not limited to filling materials, grinding tools, and measuring rulers.
[0059] It can be seen from the implementation methods of the above-mentioned different application scenarios that the three-dimensional image data of the target area can be identified through the recognition model, and the simplified form of the target area and the tool parameters corresponding to the simplified form can be obtained, thereby achieving the purpose of matching the tool for the target area after locating it, thereby achieving the technical effect of more accurately locating the target area and quickly matching the corresponding tool, thereby solving the technical problem in the related technology that the target area cannot be effectively located and the appropriate tool cannot be matched for the target area.
[0060] It should be noted that the above implementation methods described in this application can be applied to a variety of different applications and are not limited to the above embodiments, which will not be described one by one here.
[0061] Example 2
[0062] According to another aspect of the embodiment of the present invention, a device for determining a tool is also provided. Figure 2 is a schematic diagram of a determination device of a tool according to an embodiment of the present invention, such as Figure 2 As shown, the determination device of the tool includes: an acquisition module 22, a first determination module 24 and a second determination module 26. The determination device of the tool is described in detail below.
[0063] An acquisition module 22 is used to acquire three-dimensional image data of a target area; a first determination module 24 is connected to the acquisition module 22 and is used to determine a simplified form of the target area corresponding to the three-dimensional image data and tool parameters corresponding to the simplified form based on a recognition model obtained by machine learning; a second determination module 26 is connected to the first determination module 24 and is used to determine a tool to be used based on the simplified form and the tool parameters corresponding to the simplified form.
[0064] It should be noted that the above-mentioned modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above-mentioned modules can be located in the same processor; and / or the above-mentioned modules are located in different processors in any combination.
[0065] In the above embodiment, the tool determination device can identify the three-dimensional image data of the target area through the recognition model, obtain the simplified form of the target area and the tool parameters corresponding to the simplified form, thereby achieving the purpose of matching the tool for the target area after locating it, thereby achieving the technical effect of more accurately locating the target area and quickly matching the corresponding tool, thereby solving the technical problem in the related technology that the target area cannot be effectively located and the appropriate tool cannot be matched to the target area.
[0066] It should be noted here that the above-mentioned acquisition module 22, first determination module 24 and second determination module 26 correspond to steps S102 to S106 in Example 1, and the examples and application scenarios implemented by the above-mentioned modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned Example 1.
[0067] Optionally, the acquisition module 22 includes: a scanning unit, which is used to scan the target area using a scanning device to obtain two-dimensional multi-layer image data of the target area; a reconstruction unit, which is used to perform three-dimensional reconstruction based on the two-dimensional multi-layer image data to obtain a three-dimensional digital model of the target area; and an acquisition unit, which is used to obtain three-dimensional image data of the target area based on the three-dimensional digital model.
[0068] Optionally, the first determination module 24 includes: a generation unit, used to input the three-dimensional image data into a recognition model, generate a simplified form of the target area corresponding to the three-dimensional image data, and tool parameters corresponding to the simplified form, wherein the recognition model is obtained through machine learning training using multiple sets of data, and each set of data in the multiple sets of data includes: different types of three-dimensional image data, a simplified form of the target area corresponding to the three-dimensional image data, and tool parameters corresponding to the simplified form.
[0069] Optionally, the above-mentioned device also includes: an adjustment module, which is used to adjust the tool parameters and re-determine the tool to be used after determining the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form.
[0070] Example 3
[0071] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, which includes a stored program, wherein when the program is running, a method for determining a tool for controlling a device where the computer-readable storage medium is located to execute any one of the above.
[0072] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, and / or located in any one of the mobile terminals in a mobile terminal group, and the computer-readable storage medium includes a stored program.
[0073] Optionally, when the program is running, the device where the computer-readable storage medium is located is controlled to perform the following functions: obtain three-dimensional image data of the target area; determine the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form based on the recognition model obtained by machine learning; determine the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form.
[0074] Optionally, obtaining three-dimensional image data of the target area includes: scanning the target area using a scanning device to obtain two-dimensional multi-layer image data of the target area; performing three-dimensional reconstruction based on the two-dimensional multi-layer image data to obtain a three-dimensional digital model of the target area; and obtaining three-dimensional image data of the target area based on the three-dimensional digital model.
[0075] Optionally, based on the recognition model obtained by machine learning, the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form are determined, including: inputting the three-dimensional image data into the recognition model, generating the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form, wherein the recognition model is obtained by machine learning training using multiple sets of data, and each set of data in the multiple sets of data includes: different types of three-dimensional image data, the simplified form of the target area corresponding to the three-dimensional image data, and the tool parameters corresponding to the simplified form.
[0076] Optionally, after determining the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form, the method further includes: adjusting the tool parameters and re-determining the tool to be used.
[0077] Example 4
[0078] According to another aspect of an embodiment of the present invention, a processor is provided. The processor is used to run a program, wherein the program executes any one of the above-mentioned tool determination methods when the program is running.
[0079] An embodiment of the present invention provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: acquiring three-dimensional image data of a target area; determining a simplified form of the target area corresponding to the three-dimensional image data and tool parameters corresponding to the simplified form based on a recognition model obtained by machine learning; and determining a tool to be used based on the simplified form and the tool parameters corresponding to the simplified form.
[0080] Optionally, obtaining three-dimensional image data of the target area includes: scanning the target area using a scanning device to obtain two-dimensional multi-layer image data of the target area; performing three-dimensional reconstruction based on the two-dimensional multi-layer image data to obtain a three-dimensional digital model of the target area; and obtaining three-dimensional image data of the target area based on the three-dimensional digital model.
[0081] Optionally, based on the recognition model obtained by machine learning, the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form are determined, including: inputting the three-dimensional image data into the recognition model, generating the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form, wherein the recognition model is obtained by machine learning training using multiple sets of data, and each set of data in the multiple sets of data includes: different types of three-dimensional image data, the simplified form of the target area corresponding to the three-dimensional image data, and the tool parameters corresponding to the simplified form.
[0082] Optionally, after determining the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form, the method further includes: adjusting the tool parameters and re-determining the tool to be used.
[0083] The present invention also provides a computer program product which, when executed on a data processing device, is suitable for executing a program that initializes the following method steps: acquiring three-dimensional image data of a target area; determining a simplified form of the target area corresponding to the three-dimensional image data and tool parameters corresponding to the simplified form based on a recognition model obtained by machine learning; and determining a tool to be used based on the simplified form and the tool parameters corresponding to the simplified form.
[0084] Optionally, obtaining three-dimensional image data of the target area includes: scanning the target area using a scanning device to obtain two-dimensional multi-layer image data of the target area; performing three-dimensional reconstruction based on the two-dimensional multi-layer image data to obtain a three-dimensional digital model of the target area; and obtaining three-dimensional image data of the target area based on the three-dimensional digital model.
[0085] Optionally, based on the recognition model obtained by machine learning, the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form are determined, including: inputting the three-dimensional image data into the recognition model, generating the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form, wherein the recognition model is obtained by machine learning training using multiple sets of data, and each set of data in the multiple sets of data includes: different types of three-dimensional image data, the simplified form of the target area corresponding to the three-dimensional image data, and the tool parameters corresponding to the simplified form.
[0086] Optionally, after determining the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form, the method further includes: adjusting the tool parameters and re-determining the tool to be used.
[0087] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0088] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0089] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0090] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0091] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0092] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0093] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for determining a tool, characterized in that: include: Acquire three-dimensional image data of the target area; Determine, based on the recognition model obtained by machine learning, a simplified form of the target area corresponding to the three-dimensional image data and tool parameters corresponding to the simplified form; Determining a tool to be used according to the simplified form and tool parameters corresponding to the simplified form; Based on the recognition model obtained by machine learning, the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form are determined, including: inputting the three-dimensional image data into the recognition model, generating the simplified form of the target area corresponding to the three-dimensional image data and the tool parameters corresponding to the simplified form, wherein the recognition model is obtained by machine learning training using multiple sets of data, and each set of the multiple sets of data includes: different types of three-dimensional image data, the simplified form of the target area corresponding to the three-dimensional image data, and the tool parameters corresponding to the simplified form; the simplified form is a basic voxel, wherein the simplified form includes a square, a rectangle, an equilateral triangle, an inverted triangle, a rhombus, a sphere, a convex arc, a concave crescent, an irregular curve or a combination thereof.
2. The method according to claim 1, characterized in that Obtain three-dimensional image data of the target area, including: Scanning the target area using a scanning device to obtain two-dimensional multi-layer image data of the target area; Performing three-dimensional reconstruction based on the two-dimensional multi-layer image data to obtain a three-dimensional digital model of the target area; The three-dimensional image data of the target area is obtained according to the three-dimensional digital model.
3. The method according to claim 1 or 2, characterized in that: After determining the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form, the method further includes: The tool parameters are adjusted to redefine the tool to be used.
4. A tool determination device, characterized in that: include: An acquisition module, used for acquiring three-dimensional image data of a target area; A first determination module, configured to determine a simplified form of the target area corresponding to the three-dimensional image data and a tool parameter corresponding to the simplified form based on a recognition model obtained by machine learning; A second determination module is used to determine the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form; The first determination module includes: a generation unit, which is used to input the three-dimensional image data into the recognition model, generate a simplified form of the target area corresponding to the three-dimensional image data and a tool parameter corresponding to the simplified form, wherein the recognition model is obtained by machine learning training using multiple sets of data, and each set of data in the multiple sets of data includes: different types of three-dimensional image data, a simplified form of the target area corresponding to the three-dimensional image data, and a tool parameter corresponding to the simplified form; the simplified form is a basic voxel, wherein the simplified form includes a square, a rectangle, an equilateral triangle, an inverted triangle, a rhombus, a sphere, a convex arc, a concave crescent, an irregular curve or a combination thereof.
5. The device according to claim 4, characterized in that The acquisition module comprises: A scanning unit, used to scan the target area using a scanning device to obtain two-dimensional multi-layer image data of the target area; A reconstruction unit, used for performing three-dimensional reconstruction based on the two-dimensional multi-layer image data to obtain a three-dimensional digital model of the target area; The obtaining unit is used to obtain the three-dimensional image data of the target area according to the three-dimensional digital model.
6. The device according to claim 4 or 5, characterized in that The device further includes: an adjustment module for adjusting the tool parameters and re-determining the tool to be used after determining the tool to be used according to the simplified form and the tool parameters corresponding to the simplified form.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for determining the tool according to any one of claims 1 to 3.
8. A processor, characterized in that: The processor is used to run a program, wherein the program executes the tool determination method described in any one of claims 1 to 3 when running.
Citation Information
Patent Citations
Method and device for determining treatment mode of acetabular bone defect
CN109124836A
