A method, apparatus, device for automatically locating and calculating acetabular socket size
By automatically locating the acetabular fossa and calculating its size using the Hough circle detection method, the problems of complex operation and inconsistent results in the prior art are solved, achieving efficient and accurate calculation of the acetabular fossa size and simplifying the surgical preparation process.
Patent Information
- Application Number
- CN202210842846.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-18
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2042-07-18
AI Technical Summary
Existing technologies are complex, time-consuming, and labor-intensive in calculating the size of the acetabulum, and the results are inconsistent, making it difficult to guarantee calculation accuracy.
The Hough circle detection method is used to automatically locate the acetabular fossa, and the size of the acetabular fossa is obtained by calculating the center and radius of the circle, which simplifies the operation process.
It improves the efficiency and accuracy of acetabular fossa size calculation, reduces manual intervention, and enhances the convenience of surgical procedures and the consistency of results.
Smart Images

Figure CN115456936B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of medical devices, in particular to a method, device, equipment and storage medium for automatically positioning and calculating the size of acetabular cavity. BACKGROUND
[0002] With the aging of the population in China, more and more middle-aged and elderly people have hip joint wear due to age growth. With the change of people's lifestyle, the probability of hip joint disease is also increasing year by year. Total hip replacement is an effective solution for treating hip joint deformity, disease, wear and even hip fracture. Hip replacement requires the removal of the original bone on the acetabular side and the femoral side, and then the existing artificial prosthesis is implanted to simulate the activity function of the original hip joint. In this process, the measurement of the acetabular cavity is particularly important, which determines the size of the selected prosthesis.
[0003] The human acetabular cavity is usually spherical, and the cross section of the acetabular cavity is circular. Based on this feature, the current method for calculating the size of the acetabular cavity is usually to manually select a number of points in the acetabular cavity, which are often distributed on the surface of a spherical body. By these points, the center and radius of the original sphere can be calculated by simultaneous equations, and the size of the acetabular cavity is obtained. However, this method is complex and time-consuming, as it requires manual selection of points for each operation on different acetabular cavities. In addition, due to individual differences, it is difficult to ensure the consistency of the results and different operations may introduce errors into the calculation results. SUMMARY
[0004] The present application aims to overcome the shortcomings of the prior art described in the background art, and provides a method, device, equipment and storage medium for automatically positioning and calculating the size of the acetabular cavity. The method automatically finds the position of the acetabular cavity by using the Hough circle detection method, and can automatically select points in the acetabular cavity to calculate the size of the acetabular cavity, which is simple and convenient.
[0005] In a first aspect, the present application provides a method for automatically positioning and calculating the size of the acetabular cavity, comprising the following steps:
[0006] Obtaining CT image data;
[0007] Segmenting to obtain a hip bone model and image data, and performing 2D projection under different projection directions;
[0008] Using the Hough circle detection method to detect circles in the 2D projections in different directions to locate the position of the acetabular cavity;
[0009] Calculating the center and radius of the acetabular cavity to obtain the size of the acetabular cavity.
[0010] Further, the method of Hough circle detection is used to detect circles in the 2D projections in different directions, and the position of the acetabular fossa is located, comprising:
[0011] The method of Hough circle detection is used to detect circles in the 2D projections in different directions respectively;
[0012] It is judged whether a circle is detected in different projection directions: if not, the projection direction is changed, and the 2D projection of the hip bone image data is performed again; if a circle is detected, the position of the acetabular fossa in the projection direction is obtained;
[0013] According to the detected circle of the specific target, the center of the circle and the radius of the circle in different projection directions are obtained and R ;
[0014] All circles are traversed, and the largest circle is selected as the finally located acetabular fossa position.
[0015] Further, the calculation of the center and radius of the acetabular fossa is used to obtain the size of the acetabular fossa, comprising:
[0016] According to the obtained circle of the specific target, a point in the circle is randomly selected, and the coordinates of the random point are set as , and a plurality of random points satisfying the condition are found;
[0017] The coordinates of the random point in the 2D plane are converted to the model coordinates by calling an existing interface, and are overlaid on the surface of the 3D acetabular fossa model;
[0018] The center and radius of the acetabular fossa at this time are calculated by solving the equation set, and the size of the acetabular fossa is obtained.
[0019] In a second aspect, the application further provides a device for automatically locating and calculating the size of the acetabular fossa, comprising:
[0020] A data acquisition module is used to acquire CT image data;
[0021] A segmentation module is used to segment the hip bone model and image data, and perform 2D projection in different projection directions;
[0022] A detection module is used to detect circles in the 2D projections in different directions by the method of Hough circle detection, and locate the position of the acetabular fossa;
[0023] A calculation module is used to calculate the center and radius of the acetabular fossa, and obtain the size of the acetabular fossa.
[0024] In a third aspect, the present application further provides an apparatus for automatically locating and calculating the size of the acetabular cavity, comprising a processor and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the method for automatically locating and calculating the size of the acetabular cavity.
[0025] In a fourth aspect, the present application further provides a computer storage medium for automatically locating and calculating the size of the acetabular cavity, the computer storage medium storing computer program instructions, which, when executed by a processor, implement the method for automatically locating and calculating the size of the acetabular cavity.
[0026] The present application provides a method, device, apparatus and storage medium for automatically locating and calculating the size of the acetabular cavity, which automatically detects the location of the acetabular cavity by using the Hough circle detection method, and automatically selects the points in the acetabular cavity to calculate the size of the acetabular cavity. Compared with the manual point selection method of the prior art, the method provided by the present application saves manpower and time, and greatly facilitates the operation of the doctor. BRIEF DESCRIPTION OF DRAWINGS
[0027] The features, advantages, and technical effects of the exemplary embodiments of the present application will be described below with reference to the accompanying drawings.
[0028] Figure 1 is a method flowchart of automatically locating and calculating the size of the acetabular cavity provided by the embodiments of the present application;
[0029] Figure 2 is a schematic diagram of circle detection of 2D projection in a certain projection direction by the embodiments of the present application;
[0030] Figure 3 is a schematic diagram of circle detection of 2D projection in another projection direction by the embodiments of the present application;
[0031] Figure 4 is a schematic diagram of circle detection of 2D projection in another projection direction by the embodiments of the present application;
[0032] Figure 5 is a schematic diagram of the apparatus for automatically locating and calculating the size of the acetabular cavity provided by the embodiments of the present application;
[0033] Figure 6 is a structural schematic diagram of a computing device. DETAILED DESCRIPTION
[0034] The features and exemplary embodiments of the various aspects of the present disclosure will be described in detail below with reference to the drawings. For the purpose of clarity, the description is divided into the following sections. It is to be understood that the specific embodiments described herein are intended to explain the principles of the present disclosure, and are not intended to limit the present disclosure. The present disclosure can be implemented without some of the specific details of the embodiments. The description of the embodiments is merely provided to give a better understanding of the present disclosure.
[0035] It should be noted that the relational terms herein, such as first and second, are used solely to distinguish one from another entity or action, without necessarily requiring or implying any such actual relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by an "includes" statement does not exclude the existence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0036] For a better understanding of the present application, the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0037] Figure 1 is a method flow diagram for automatically positioning and calculating the size of the acetabular cavity provided by the embodiments of the present application.
[0038] As shown in Figure 1 , the present application provides a method for automatically positioning and calculating the size of the acetabular cavity, comprising the following steps:
[0039] S101, acquiring CT image data;
[0040] S102, segmenting to obtain a hip bone model and image data, and performing 2D projection under different projection directions;
[0041] S103, using a Hough circle detection method to detect circles in the 2D projections in different directions to position the location of the acetabular cavity;
[0042] S104, calculating the center and radius of the acetabular cavity to obtain the size of the acetabular cavity.
[0043] Further, the Hough circle detection method used in S103 to detect circles in the 2D projections in different directions to position the location of the acetabular cavity comprises:
[0044] As Figure 2 , 3 , 4, the method of Hough circle detection is used to detect circles in 2D projections in three different projection directions;
[0045] Judge whether the image in the three projection directions detects a circle: if not, change the projection direction and re-project the hip bone image data in 2D; if a circle is detected, the position of the acetabular fossa in the projection direction is obtained;
[0046] According to the detected circle of the specific target, the center of the circle and the radius R of the circle in three projection directions are obtained, respectively;
[0047] Iterate through all circles and select the circle with the largest area. In this embodiment, Figure 4 the circle area in Figure 4 is the largest, so the position of the detected circle in Figure 4 is selected as the final positioned acetabular fossa position.
[0048] Further, the calculation of the center and radius of the acetabular fossa in S104 to obtain the acetabular fossa size includes:
[0049] According to the circle of the specific target obtained in Figure 4 , randomly select a point inside the circle, and set the random point coordinates as , find several random points that satisfy the condition ;
[0050] Convert the coordinates of the random point in the 2D plane to the model coordinates by calling the existing interface, and overlay them on the surface of the 3D acetabular fossa model;
[0051] Solve the equation set to calculate the center and radius of the acetabular fossa at this time to obtain the acetabular fossa size.
[0052] Figure 5 is a schematic diagram of the device for automatically positioning and calculating the size of the acetabular fossa provided by the embodiment of the application, as shown in Figure 5 , the device comprises:
[0053] The data acquisition module 501 is used to acquire CT image data;
[0054] The segmentation module 502 is used to segment the hip bone model and image data, and perform 2D projection in different projection directions;
[0055] The detection module 503 is used to detect circles in the 2D projections in the different directions by using the Hough circle detection method, and position the acetabular fossa;
[0056] The calculation module 504 is used to calculate the center and radius of the acetabular fossa to obtain the size of the acetabular fossa.
[0057] Figure 5 Each module / unit in the illustrated device has the ability to implement Figure 1 The functions of each step in the process and their corresponding technical effects are described in detail here for the sake of brevity.
[0058] like Figure 6 As shown, the present invention also provides a device for automatically locating and calculating the size of the acetabulum, the device comprising: a processor 601 and a memory 602 storing computer program instructions; the processor 601 reads and executes the computer program instructions to implement the above-described method for automatically locating and calculating the size of the acetabulum.
[0059] Specifically, the processor 601 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the present invention.
[0060] Memory 602 may include mass storage for data or instructions. For example, and not limitingly, memory may include hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these.
[0061] In one instance, memory 602 may include removable or non-removable (or fixed) media, or the memory may be non-volatile solid-state memory. The memory may be internal or external to the integrated gateway disaster recovery device.
[0062] In one instance, memory 602 may be read-only memory (ROM). In one instance, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0063] In one instance, memory 602 may include read-only memory (ROM), random access memory (RAM), disk storage media device, optical storage media device, flash memory device, electrical, optical or other physical / tangible memory storage device.
[0064] The processor 601 implements the methods / algorithm / step in the embodiments of the present application by reading and executing computer program instructions stored in the memory 602, so as to achieve the corresponding technical effects. Figure 1 The methods / algorithm / step in the embodiments of the present application and the corresponding technical effects can be achieved, and for brevity, will not be described here.
[0065] In one embodiment, the computing device can also include a communication interface 603 and a bus 604. As shown, the processor 601, the memory 602, the communication interface 603 are connected through the bus 604 and complete the communication between each other. Figure 6 As shown, the processor 601, the memory 602, the communication interface 603 are connected through the bus 604 and complete the communication between each other.
[0066] The communication interface 603 is mainly used to realize the communication between the modules, devices, units and / or devices in the present application.
[0067] The bus 604 includes hardware, software or both to couple the components of the online data traffic billing device to each other. By way of example, and not limitation, the bus can include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association local (VLB) bus, or another suitable bus or combination of two or more of these. Where appropriate, the bus can include one or more buses. Although the present application is described and illustrated with a particular bus, the present disclosure contemplates any suitable bus or interconnect.
[0068] In addition, in combination with the method of automatically positioning and calculating the acetabular cavity size described in the above examples, the present application also provides a computer storage medium to realize. The computer storage medium has computer program instructions stored thereon, and the computer program instructions are executed by the processor 601 to realize the above-mentioned method of automatically positioning and calculating the acetabular cavity size.
[0069] The computer storage medium provided by the embodiment of the present application can adopt any combination of one or more computer readable media. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination thereof. More specific examples (non-exhaustive list) of the computer readable storage medium include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the 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, device or apparatus.
[0070] The present application provides a method, device, equipment and storage medium for automatically positioning and calculating the size of acetabular cavity. The position of the acetabular cavity is automatically detected by using the Hough circle detection method, and the points in the acetabular cavity can be automatically selected, so as to calculate the size of the acetabular cavity. Compared with the manual point selection method of the prior art, the method provided by the present application saves manpower and time, improves the accuracy and consistency of the results, and greatly facilitates the operation of the doctor.
[0071] It should be clear that the present disclosure is not limited to the specific configurations and processes described above and shown in the drawings. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present disclosure is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after understanding the spirit of the present disclosure.
[0072] The functions indicated in the structural block diagram described above can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it can be an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present disclosure are program or code segments for performing the required tasks. The relevant skilled person can write the computer program code for performing the operations of the present application in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" language or similar programming languages. In addition, the program or code segment can be stored in a machine-readable medium or transmitted over a transmission medium or communication link by a data signal carried in a carrier wave. The machine-readable medium can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc.
[0073] The aspects of the present disclosure are described above with reference to flowcharts and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / acts specified in the flowcharts and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special-purpose application processor, or a field programmable logic array. It should also be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can also be implemented by dedicated hardware, or a combination of computer instructions and dedicated hardware.
[0074] The above merely describes a specific implementation of the present disclosure. It can be clearly understood by a person skilled in the art that, for the convenience and brevity of description, the specific working processes of the system, module and unit described above can refer to the corresponding processes in the foregoing method embodiments, which are not described herein again. It should be understood that the protection scope of the present disclosure is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present disclosure, and these modifications or replacements should be covered by the protection scope of the present disclosure.
Claims
1. A method of automatically locating and calculating the size of a hip socket, characterized in that, The method comprises the following steps: S101, acquiring CT image volume data; S102, segmenting to obtain a hip bone model and image data, and performing 2D projection under different projection directions; S103, using a Hough circle detection method to perform circle detection on the 2D projections in different directions, and locating the position of the acetabular fossa; S104, calculating the center and radius of the acetabular fossa to obtain the acetabular fossa size; In S103, the Hough circle detection method is used to perform circle detection on the 2D projections in different directions to locate the position of the acetabular fossa, which comprises: Using the Hough circle detection method to perform circle detection on the 2D projections in different directions respectively; Judging whether a circle is detected under different projection directions: if not, changing the projection direction and performing 2D projection on the hip bone image data again; if a circle is detected, obtaining the position of the acetabular fossa under the projection direction; According to the detected circle of the specific target, the center O(x o , y o ) and the radius R of the circle under different projection directions can be obtained; Traversing all circles and selecting the largest circle as the finally located acetabular fossa position.
2. A method of automatically locating and calculating the size of the acetabular socket according to claim 1, characterized in that, In S104, the center and radius of the acetabular fossa are calculated to obtain the acetabular fossa size, which comprises: According to the specific target circle, randomly select a point in the circle, let the random point coordinates be (x, y), find several random points that satisfy the condition (x-x o ) 2 +(y-y o ) 2 <R 2 Converting the coordinates of random points in the 2D plane into model coordinates (x, y, z) by calling an existing interface, and covering the 3D acetabular fossa model surface; Solving the equation set to calculate the center and radius of the acetabular fossa at this time to obtain the acetabular fossa size.
3. An apparatus for automatically locating and calculating the size of a hip socket, characterized by It comprises: A data acquisition module for acquiring CT image volume data; A segmentation module for segmenting to obtain a hip bone model and image data, and performing 2D projection under different projection directions; A detection module for using a Hough circle detection method to perform circle detection on the 2D projections in different directions to locate the position of the acetabular fossa; The Hough circle detection method is used to perform circle detection on the 2D projections in different directions to locate the position of the acetabular fossa, which comprises: Using the Hough circle detection method to perform circle detection on the 2D projections in different directions respectively; Judging whether a circle is detected under different projection directions: if not, changing the projection direction and performing 2D projection on the hip bone image data again; if a circle is detected, obtaining the position of the acetabular fossa under the projection direction; According to the detected circle of the specific target, the center O(xo, yo) and radius R of the circle under different projection directions can be obtained; Traversing all circles and selecting the largest circle as the finally located acetabular fossa position; A calculation module for calculating the center and radius of the acetabular fossa to obtain the acetabular fossa size.
4. An apparatus for automatically locating and calculating the size of an acetabular fossa, characterized in that: The apparatus comprises a processor and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the method for automatically locating and calculating the size of the acetabular fossa according to any one of claims 1-2.
5. A computer storage medium for automatically locating and calculating the size of an acetabular fossa, characterized in that: The computer storage medium stores computer program instructions, which are executed by a processor to implement the method for automatically locating and calculating the size of the acetabular fossa according to any one of claims 1-2.