CN-121983324-A - Method for generating simulated image after joint operation, electronic equipment and computer program product
Abstract
The embodiment of the application is suitable for the technical field of medical treatment and provides a method for generating a simulated image after joint operation, electronic equipment and a computer program product, wherein the method comprises the steps of acquiring preoperative data aiming at a joint to be operated; the method comprises the steps of determining a correction reference point of an original CT image before operation, correcting the original CT image before operation based on a preset skeleton coordinate system and the correction reference point to obtain a corrected original CT image, correcting the CT image before operation based on the preset skeleton coordinate system and the correction reference point to obtain a corrected skeleton CT image, generating a corrected prosthesis CT image based on the preset skeleton coordinate system, the correction reference point and a virtual skeleton prosthesis, generating a simulated image after joint operation according to the corrected original CT image, the corrected skeleton CT image and the corrected prosthesis CT image, wherein the simulated image after joint operation is an X-ray image, and the embodiment of the application can simulate the X-ray effect of prosthesis implantation and image correction and provide basis for operation planning and selection of proper prosthesis and placement positions.
Inventors
- ZENG JIAHENG
- LIU XIANGDONG
- ZHAO YALAN
Assignees
- 骨圣元化机器人(深圳)有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251223
Claims (10)
- 1. A method for generating a simulated image after a joint surgery, comprising: The method comprises the steps of acquiring preoperative data aiming at a joint to be operated, wherein the preoperative data comprises a preoperative original CT image, a preoperative bone CT image obtained by dividing the preoperative original CT image, a virtual bone prosthesis and a preset bone coordinate system aiming at the joint to be operated; determining a correction reference point of the preoperative original CT image; Correcting the preoperative original CT image based on the preset skeleton coordinate system and the correction reference point to obtain a corrected original CT image; Correcting the preoperative bone CT image based on the preset bone coordinate system and the correction reference point to obtain a corrected bone CT image; generating a corrected prosthesis CT image based on the preset bone coordinate system, the corrected reference point, and the virtual bone prosthesis; and generating a joint postoperative simulated image according to the corrected original CT image, the corrected skeleton CT image and the corrected prosthesis CT image, wherein the joint postoperative simulated image is an X-ray image.
- 2. The method of claim 1, wherein the joint to be operated on includes one end of a first bone and one end of a second bone, wherein the predetermined bone coordinate system includes a first bone coordinate system established for the first bone, wherein the correcting the pre-operative raw CT image based on the predetermined bone coordinate system and the correction reference point includes: determining a first inverse matrix based on the first skeletal coordinate system; And rotating the preoperative original CT image based on the correction reference points and the first inverse matrix to obtain a corrected original CT image aligned to a predetermined world coordinate system.
- 3. The method of claim 2, wherein the pre-operative bone CT image comprises a pre-operative first bone CT image and a pre-operative second bone CT image, wherein the pre-set bone coordinate system further comprises a second bone coordinate system established for the second bone, wherein the correcting the pre-operative bone CT image based on the pre-set bone coordinate system and the correction reference point comprises: rotating the preoperative first bone CT image based on the correction reference point and the first inverse matrix to obtain a corrected first bone CT image aligned to the world coordinate system; Determining a second inverse matrix based on the second skeletal coordinate system and the first inverse matrix; And rotating the preoperative second bone CT image based on the correction reference point and the second inverse matrix to obtain a corrected second bone CT image aligned to the world coordinate system.
- 4. The method of claim 3, wherein the generating a corrected prosthesis CT image based on the preset bone coordinate system, the corrected fiducial point, and the virtual bone prosthesis comprises: rotating the virtual bone prosthesis based on the preset bone coordinate system and the correction reference point to obtain a correction bone prosthesis; and generating a corrected prosthesis CT image corresponding to the corrected bone prosthesis.
- 5. The method of claim 4, wherein the virtual bone prosthesis comprises a first bone prosthesis and a second bone prosthesis, wherein the rotating the virtual bone prosthesis based on the preset bone coordinate system and the correction reference point results in a corrected bone prosthesis, comprising: rotating the first bone prosthesis based on the correction reference point and the first inverse matrix to obtain a corrected first bone prosthesis; Rotating the second bone prosthesis based on the correction reference point and the second inverse matrix to obtain a corrected second bone prosthesis; the corrected prosthetic CT image includes a corrected first prosthetic CT image corresponding to the corrected first prosthetic bone and a corrected second prosthetic CT image corresponding to the corrected second prosthetic bone.
- 6. The method of claim 3, wherein the generating a corrected prosthesis CT image based on the preset bone coordinate system, the corrected fiducial point, and the virtual bone prosthesis comprises: generating a virtual bone prosthesis CT image corresponding to the virtual bone prosthesis; And rotating the virtual bone prosthesis CT image based on the preset bone coordinate system and the correction reference point to obtain a correction prosthesis CT image.
- 7. The method of claim 3, wherein the virtual bone prosthesis CT image comprises a first bone prosthesis CT image and a second bone prosthesis CT image, wherein the rotating the virtual bone prosthesis CT image based on the preset bone coordinate system and the correction reference point to obtain a corrected prosthesis CT image comprises: Rotating the first bone prosthesis CT image based on the correction reference point and the first inverse matrix to obtain a corrected first bone prosthesis CT image; and rotating the second bone prosthesis CT image based on the correction reference point and the second inverse matrix to obtain a corrected second bone prosthesis CT image.
- 8. A method according to claim 3, wherein in the case where the joint to be operated on is a knee joint, the first bone is a tibia and the second bone is a femur; The first bone coordinate system is a tibia coordinate system constructed based on the preoperative original CT image, and the second bone coordinate system is a femur coordinate system constructed based on the preoperative original CT image.
- 9. An electronic device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, which when executed by the processor causes the electronic device to implement the method of any one of claims 1-8.
- 10. A computer program product comprising a computer program which, when run, causes the method of any one of claims 1-8 to be performed.
Description
Method for generating simulated image after joint operation, electronic equipment and computer program product Technical Field The embodiment of the application belongs to the technical field of medical treatment, and particularly relates to a method for generating a simulated image after joint operation, electronic equipment and a computer program product. Background Joint replacement surgery, also known as artificial joint replacement surgery, is a procedure that preserves the normal structure and function of the joint. The core purpose is to resect the articular cartilage and part of subchondral bone, which are severely worn and destroyed by the disease or injury of the patient, and then replace the artificial prosthesis (usually made of metal, high molecular polyethylene, ceramic, etc.) to restore the function of the joint, eliminate pain and improve the quality of life. In the scheme of the prior art, in order to enable medical care and patients to know the postoperative effect of joint replacement surgery, usually, after the surgery, the medical staff needs to know the surgical effect and rehabilitation condition of the patients through shooting X-ray images of the joints for surgery, and in the process, the posture of the patients also needs to be adjusted, so that the display effect of different planning schemes under the X-rays after the surgery cannot be visualized rapidly. There is therefore a need for a post-operative regimen that can rapidly anticipate joint replacement surgery in a patient. Disclosure of Invention In view of the above, the embodiments of the present application provide a method, an electronic device and a computer program product for generating a simulated image after joint surgery, which are used for rapidly simulating the X-ray effect of the implantation and the image correction of a prosthesis, and providing a basis for the operation planning and the selection of a proper prosthesis and placement position. A first aspect of an embodiment of the present application provides a method for generating a simulated image after joint surgery, including: The method comprises the steps of acquiring preoperative data aiming at a joint to be operated, wherein the preoperative data comprises a preoperative original CT image, a preoperative bone CT image obtained by dividing the preoperative original CT image, a virtual bone prosthesis and a preset bone coordinate system aiming at the joint to be operated; determining a correction reference point of the preoperative original CT image; Correcting the preoperative original CT image based on the preset skeleton coordinate system and the correction reference point to obtain a corrected original CT image; Correcting the preoperative bone CT image based on the preset bone coordinate system and the correction reference point to obtain a corrected bone CT image; generating a corrected prosthesis CT image based on the preset bone coordinate system, the corrected reference point, and the virtual bone prosthesis; and generating a joint postoperative simulated image according to the corrected original CT image, the corrected skeleton CT image and the corrected prosthesis CT image, wherein the joint postoperative simulated image is an X-ray image. In some implementations of the first aspect, the joint to be operated on includes one end of a first bone and one end of a second bone, the preset bone coordinate system includes a first bone coordinate system established for the first bone, and the correcting the preoperative original CT image based on the preset bone coordinate system and the correction reference point includes: determining a first inverse matrix based on the first skeletal coordinate system; And rotating the preoperative original CT image based on the correction reference points and the first inverse matrix to obtain a corrected original CT image aligned to a predetermined world coordinate system. In some implementations of the first aspect, the pre-operative bone CT image includes a pre-operative first bone CT image and a pre-operative second bone CT image, the preset bone coordinate system further includes a second bone coordinate system established for the second bone, and the correcting the pre-operative bone CT image based on the preset bone coordinate system and the correction reference point includes: rotating the preoperative first bone CT image based on the correction reference point and the first inverse matrix to obtain a corrected first bone CT image aligned to the world coordinate system; Determining a second inverse matrix based on the second skeletal coordinate system and the first inverse matrix; And rotating the preoperative second bone CT image based on the correction reference point and the second inverse matrix to obtain a corrected second bone CT image aligned to the world coordinate system. In some implementations of the first aspect, the generating a corrected prosthesis CT image based on the preset bone coordinate