Image registration method and device, computer equipment and storage medium
In robot-assisted spine surgery, the similarity calculation method of three-dimensional volume data and two-dimensional transmission images is used to optimize the registration parameters between vertebral bodies, solving the problems of low image registration accuracy and efficiency in the existing technology, and achieving Greater accuracy in spine surgery.
Patent Information
- Application Number
- CN202410621081.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-08-30
AI Technical Summary
In robot-assisted spine surgery, the existing 2D-3D image registration method ignores the positional relationship between vertebral bodies, resulting in low image registration accuracy and low efficiency, which affects the accuracy of spine surgery.
By acquiring the three-dimensional volume data and the two-dimensional transmission image of the target object, the initial registration parameter adjustment process of the vertebral body is repeatedly performed, the similarity calculation method is used to determine the registration parameters of each vertebral body, and the parameters of the registered vertebral body are used as Initial parameters to optimize the registration process between vertebral bodies.
It improves the accuracy and efficiency of image registration, reduces registration time, avoids deviations in registration parameters, and improves the accuracy of spine surgery.
Smart Images

Figure CN118570264A
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to an image registration method, device, computer equipment and storage medium. Background Art
[0002] With the development of artificial intelligence technology, the application scenarios of robot-assisted surgery are increasing. In the application scenarios of robot-assisted spinal surgery, the 2D-3D image registration method is widely used in orthopedic surgery (e.g., spinal surgery) because of its low intraoperative radiation dose and the ability to provide rich three-dimensional information of preoperative image data during surgery by image registration of preoperative three-dimensional volume data and two-dimensional image data acquired during surgery.
[0003] Since there are certain degrees of freedom between the spines, when performing 2D-3D image registration of the spine, local rigid registration is usually performed on each vertebra of the spine. For example, a neural network model can be used to detect feature points on the two-dimensional projection image corresponding to the patient's preoperative three-dimensional volume data and the two-dimensional transmission image of the patient during surgery, and the vertebral body can be registered based on the transformation matrix composed of the feature points.
[0004] This local rigid registration method results in the rigid registration process between each vertebra of the spine being performed independently, ignoring the effect of the positional relationship between vertebrae on image registration, which in turn affects the accuracy of image registration. Summary of the invention
[0005] The embodiments of the present application provide an image registration method, apparatus, computer equipment and storage medium to achieve the technical effects of improving image registration accuracy, saving image registration time and improving image registration efficiency.
[0006] In a first aspect, an embodiment of the present application provides an image registration method, comprising:
[0007] Acquire three-dimensional volume data of a target object, wherein the three-dimensional volume data indicates data collected from the target object in a first state; and acquire a two-dimensional transmission image of a target area of the target object, wherein the target area includes a plurality of vertebrae that require image registration; and the two-dimensional transmission image indicates data collected from the target object in a second state;
[0008] Repeat the following steps until the registration parameters of each vertebra in the target area of the target object are determined, wherein the registration parameters of the first vertebra in the target area are determined based on the three-dimensional volume data of the first vertebra and the two-dimensional transmission image: determine the initial registration parameters of the current vertebra, which are the registration parameters of the registered vertebra adjacent to the current vertebra; extract the three-dimensional volume data of the current vertebra from the three-dimensional volume data, and determine the image similarity between the two-dimensional projection image of the three-dimensional volume data of the current vertebra and the two-dimensional transmission image; adjust the initial registration parameters of the current vertebra according to the image similarity to obtain the registration parameters of the current vertebra;
[0009] The registration parameter of each vertebra is used to perform image registration processing on the three-dimensional volume data of each vertebra and each vertebra of the target object in the second state.
[0010] In a possible implementation, the three-dimensional volume data of the current vertebra includes vertebral data and mask data of the current vertebra; the two-dimensional projection image of the three-dimensional volume data of the current vertebra includes a vertebral projection image and a mask projection image of the current vertebra; the two-dimensional projection image of the three-dimensional volume data of the current vertebra is determined based on an imaging posture corresponding to a two-dimensional transmission image; the imaging posture is used to indicate an imaging spatial position and an imaging angle of the two-dimensional transmission image;
[0011] Determining the image similarity between the two-dimensional projection image of the three-dimensional volume data of the current vertebral body and the two-dimensional transmission image comprises:
[0012] Based on the mask projection image included in the two-dimensional projection image of the three-dimensional volume data of the current vertebral body, masking the two-dimensional transmission image to obtain a masked two-dimensional transmission image;
[0013] The similarity between the masked two-dimensional transmission image and the vertebral projection image is calculated according to a preset similarity calculation method to obtain the image similarity.
[0014] In a possible implementation, the number of the two-dimensional transmission images is multiple; different two-dimensional transmission images correspond to different imaging angles; the number of two-dimensional projection images of the three-dimensional volume data of the current vertebra determined based on the imaging posture corresponding to the two-dimensional transmission image is multiple;
[0015] Determining the image similarity between the two-dimensional projection image of the three-dimensional volume data of the current vertebral body and the two-dimensional transmission image comprises:
[0016] Based on the mask projection image determined by each of the two-dimensional transmission images, performing mask processing on each of the two-dimensional transmission images to obtain a plurality of masked two-dimensional transmission images;
[0017] According to a preset similarity calculation method, respectively calculating the similarity between each of the masked two-dimensional transmission images and the corresponding vertebral projection image, to obtain an image sub-similarity between each of the two-dimensional projection images of the three-dimensional volume data and the corresponding two-dimensional transmission image;
[0018] Summing the similarities of the sub-images to obtain a similarity sum result;
[0019] Based on the number of the two-dimensional transmission images, the image similarity is obtained by averaging the similarity summation results.
[0020] In a possible implementation manner, the two-dimensional projection image of the three-dimensional volume data of the current vertebral body is determined based on the imaging posture corresponding to the two-dimensional transmission image, including:
[0021] Based on the imaging posture corresponding to the two-dimensional transmission image, the projection posture of the virtual pinhole imaging camera model is determined; and based on the projection posture of the virtual pinhole imaging camera model, the vertebral body data is projected to obtain an initial vertebral body projection image corresponding to the vertebral body data, and the mask data is projected to obtain an initial mask projection image corresponding to the mask data;
[0022] Based on the current initial registration parameters of the vertebra, the initial vertebra projection image is adjusted to obtain the vertebra projection image, and the initial mask projection image is adjusted to obtain the mask projection image.
[0023] In a possible implementation, the registration parameters of the first vertebra in the target area are determined based on the three-dimensional volume data of the first vertebra and the two-dimensional transmission image, and include:
[0024] Determining initial alignment parameters of the three-dimensional volume data of the first vertebra and the two-dimensional transmission image at a preset position; and determining the initial alignment parameters at the preset position as initial registration parameters of the first vertebra;
[0025] determining an image similarity between a two-dimensional projection image of the three-dimensional volume data of the first vertebral body and the two-dimensional transmission image;
[0026] According to the image similarity between the two-dimensional projection image of the three-dimensional volume data of the first vertebra and the two-dimensional transmission image, the initial registration parameters of the first vertebra are adjusted to obtain the registration parameters of the first vertebra.
[0027] In a possible implementation, determining initial alignment parameters of the three-dimensional volume data of the first vertebra and the two-dimensional transmission image at a preset posture includes:
[0028] Determining an imaging posture of the two-dimensional transmission image at a preset posture;
[0029] Based on the imaging posture of the two-dimensional transmission image at a preset posture, projecting the three-dimensional volume data of the first vertebra to obtain a vertebral projection image of the first vertebra;
[0030] The center point of the three-dimensional volume data of the first vertebra is determined, and the corresponding projection center point in the vertebral projection image is determined, and the projection center point is aligned with the center point of the two-dimensional transmission image to obtain the initial alignment parameters.
[0031] In a possible implementation, after acquiring the three-dimensional volume data of the target object, the method further includes:
[0032] Perform image segmentation processing on the three-dimensional volume data of the target object to obtain three-dimensional volume data corresponding to each vertebra in the target area of the target object; wherein the three-dimensional volume data corresponding to each vertebra includes vertebral data and mask data of each vertebra.
[0033] In a second aspect, an embodiment of the present application provides an image registration device, comprising:
[0034] an acquisition unit, configured to acquire three-dimensional volume data of a target object, wherein the three-dimensional volume data indicates data acquired by the target object in a first state; and acquire a two-dimensional transmission image of a target area of the target object, wherein the target area includes a plurality of vertebrae requiring image registration; and the two-dimensional transmission image indicates data acquired by the target object in a second state;
[0035] A registration unit is used to repeatedly perform the following steps until the registration parameters of each vertebra in the target area of the target object are determined, wherein the registration parameters of the first vertebra in the target area are determined based on the three-dimensional volume data of the first vertebra and the two-dimensional transmission image: determining initial registration parameters of a current vertebra, which are registration parameters of a registered vertebra adjacent to the current vertebra; extracting the three-dimensional volume data of the current vertebra from the three-dimensional volume data, and determining image similarity between a two-dimensional projection image of the three-dimensional volume data of the current vertebra and the two-dimensional transmission image; adjusting the initial registration parameters of the current vertebra according to the image similarity to obtain the registration parameters of the current vertebra;
[0036] The registration parameter of each vertebra is used to perform image registration processing on the three-dimensional volume data of each vertebra and each vertebra of the target object in the second state.
[0037] In a possible implementation, the three-dimensional volume data of the current vertebra includes the vertebra data and mask data of the current vertebra; the two-dimensional projection image of the three-dimensional volume data of the current vertebra includes the vertebra projection image and the mask projection image of the current vertebra; the two-dimensional projection image of the three-dimensional volume data of the current vertebra is determined based on the imaging posture corresponding to the two-dimensional transmission image; the imaging posture is used to indicate the imaging space position and imaging angle of the two-dimensional transmission image; in this case, the registration unit is further used to:
[0038] Based on the mask projection image included in the two-dimensional projection image of the three-dimensional volume data of the current vertebral body, masking the two-dimensional transmission image to obtain a masked two-dimensional transmission image;
[0039] The similarity between the masked two-dimensional transmission image and the vertebral projection image is calculated according to a preset similarity calculation method to obtain the image similarity.
[0040] In a possible implementation, the number of the two-dimensional transmission images is multiple; different two-dimensional transmission images correspond to different imaging angles; the number of two-dimensional projection images of the three-dimensional volume data of the current vertebra determined based on the imaging posture corresponding to the two-dimensional transmission image is multiple; in this case, the registration unit is further used to:
[0041] Based on the mask projection image determined by each of the two-dimensional transmission images, performing mask processing on each of the two-dimensional transmission images to obtain a plurality of masked two-dimensional transmission images;
[0042] According to a preset similarity calculation method, respectively calculating the similarity between each of the masked two-dimensional transmission images and the corresponding vertebral projection image, to obtain an image sub-similarity between each of the two-dimensional projection images of the three-dimensional volume data and the corresponding two-dimensional transmission image;
[0043] Summing the similarities of the sub-images to obtain a similarity sum result;
[0044] Based on the number of the two-dimensional transmission images, the image similarity is obtained by averaging the similarity summation results.
[0045] In a possible implementation, the registration unit is used to:
[0046] Based on the imaging posture corresponding to the two-dimensional transmission image, the projection posture of the virtual pinhole imaging camera model is determined; and based on the projection posture of the virtual pinhole imaging camera model, the vertebral body data is projected to obtain an initial vertebral body projection image corresponding to the vertebral body data, and the mask data is projected to obtain an initial mask projection image corresponding to the mask data;
[0047] Based on the current initial registration parameters of the vertebra, the initial vertebra projection image is adjusted to obtain the vertebra projection image, and the initial mask projection image is adjusted to obtain the mask projection image.
[0048] In a possible implementation, the device further includes:
[0049] An initialization unit, used to determine initial alignment parameters of the three-dimensional volume data of the first vertebra and the two-dimensional transmission image at a preset position; and determine the initial alignment parameters at the preset position as initial registration parameters of the first vertebra;
[0050] determining an image similarity between a two-dimensional projection image of the three-dimensional volume data of the first vertebral body and the two-dimensional transmission image;
[0051] According to the image similarity between the two-dimensional projection image of the three-dimensional volume data of the first vertebra and the two-dimensional transmission image, the initial registration parameters of the first vertebra are adjusted to obtain the registration parameters of the first vertebra.
[0052] In a possible implementation, the initialization unit is used to:
[0053] Determining an imaging posture of the two-dimensional transmission image at a preset posture;
[0054] Based on the imaging posture of the two-dimensional transmission image at a preset posture, projecting the three-dimensional volume data of the first vertebra to obtain a vertebral projection image of the first vertebra;
[0055] The center point of the three-dimensional volume data of the first vertebra is determined, and the corresponding projection center point in the vertebral projection image is determined, and the projection center point is aligned with the center point of the two-dimensional transmission image to obtain the initial alignment parameters.
[0056] In a possible implementation, the registration unit is further configured to:
[0057] After acquiring the three-dimensional volume data of the target object, image segmentation processing is performed on the three-dimensional volume data of the target object to obtain three-dimensional volume data corresponding to each vertebra in the target area of the target object; wherein the three-dimensional volume data corresponding to each vertebra includes vertebral data and mask data of each vertebra.
[0058] In a third aspect, an embodiment of the present application provides a computer device, including: a memory, a processor;
[0059] The memory stores computer-executable instructions;
[0060] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.
[0061] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.
[0062] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.
[0063] The image registration method, apparatus, computer equipment and storage medium provided in the embodiments of the present application can, after acquiring the three-dimensional volume data of the target object in the first state and the two-dimensional transmission image of the target object in the second state, use the registration parameters of the registered vertebra as the initial registration parameters of the current vertebra based on the existence of similar registration parameters between the registered vertebrae adjacent to the current vertebra (vertebrae other than the first vertebra), thereby determining the registration parameters of the current vertebra. This can not only speed up the time required to determine the registration parameters of each vertebra in the target area and improve the registration efficiency, but also avoid the phenomenon of large deviations in the registration parameters, thereby improving the accuracy of image registration. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0065] Figure 1 A schematic diagram of the process of an image registration method provided in this application;
[0066] Figure 2 A schematic diagram of the process of another image registration method provided in this application;
[0067] Figure 3 A schematic diagram of determining a current vertebra provided in an embodiment of the present application;
[0068] Figure 4A schematic diagram of a process for determining the registration parameters of a current vertebra based on a plurality of two-dimensional transmission images provided in an embodiment of the present application;
[0069] Figure 5 A schematic diagram of an implementation flow of an image registration method provided in an embodiment of the present application;
[0070] Figure 6 A schematic diagram of the structure of an image registration device provided in this application;
[0071] Figure 7 A schematic diagram of the structure of another image registration device provided in this application;
[0072] Figure 8 A schematic diagram of the structure of a computer device provided in an embodiment of the present application.
[0073] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0074] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0075] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0076] First, the terms involved in the embodiments of the present application are explained.
[0077] DRR: Digitally Reconstructed Radiograph. DRR technology mainly uses a pinhole imaging camera model to project three-dimensional volume data to generate radiographic images.
[0078] Three-dimensional volume data: refers to three-dimensional imaging data. In the embodiment of the present application, the three-dimensional volume data refers to CT (Computed Tomography) data or MRI (Magnetic Resonance Imaging) data.
[0079] Rigid registration: refers to the process of transforming two data / images through rotation and translation so that the two data / images overlap in space.
[0080] Anteroposterior transmission imaging: refers to a transmission imaging method in which the imaging ray (for example, X-ray) of an imaging device for two-dimensional transmission images enters from the chest and abdomen of the target object and exits from the back, so that the coronal plane of the target object is parallel to the imaging plane.
[0081] In one example, the image registration method provided in the present application can be applied to image registration of a target object in different states. For example, it can be applied to image registration between an image of the target object captured before surgery and an image of the target object captured during surgery.
[0082] At this time, if the image of the target object collected before the operation is a three-dimensional image, and the image collected during the operation is a two-dimensional image, then after the image registration processing, the doctor can refer to the three-dimensional information of the target object during the operation, thereby assisting the doctor to better complete the operation.
[0083] In one example, the above-mentioned surgery can be understood as spinal surgery. In this case, the target object of the spinal surgery can be humans, animals, men, women, young people, the elderly, etc. There is no specific limitation on the target object of the spinal surgery here, and it is based on meeting actual needs.
[0084] In one example, when performing image registration of the spine based on a 2D-3D image registration method, since there are certain degrees of freedom between the spines, local rigid registration is usually performed on each vertebra of the spine to achieve global registration of the spine.
[0085] In one possible implementation, a neural network model can be used to detect feature points of the vertebrae in a two-dimensional projection image corresponding to the three-dimensional volume data of the target object and a two-dimensional transmission image of the target object, and a plane transformation matrix can be constructed based on the detected feature points of the vertebrae, and image registration processing can be performed based on the matrix constructed based on the surface.
[0086] In another possible implementation, the DRR technology can also be used to project the anteroposterior and lateral images of the target object's preoperative three-dimensional volume data, and then roughly align the vertebral bounding boxes of the anteroposterior and lateral projection images with the anteroposterior and lateral two-dimensional transmission images during the operation, and then search for the vertebra with the highest similarity near the rough alignment parameters as the precise alignment result.
[0087] In the above two implementations, the registration of each vertebra is performed independently, resulting in that the relative position relationship between adjacent vertebrae is not considered during the image registration process, which not only causes the image registration to take a long time, affecting the efficiency of the image registration, but also affects the accuracy of the image registration.
[0088] The image registration method provided in the present application aims to use the registration parameters of the vertebra that has been image registered as the initial registration parameters of the vertebra that needs to be image registered, to perform image registration processing on each vertebra, so as to solve the technical problems of low efficiency and poor accuracy of image registration in the prior art.
[0089] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0090] Figure 1 A schematic diagram of the process of an image registration method provided in this application is as follows: Figure 1 As shown, the method includes:
[0091] S101 , acquiring three-dimensional volume data of a target object, and acquiring a two-dimensional transmission image of a target area of the target object.
[0092] The three-dimensional volume data indicates the data collected by the target object in the first state; the target area includes a plurality of vertebrae that need to be image registered; and the two-dimensional transmission image indicates the data collected by the target object in the second state. The first state may indicate the preoperative state, and the second state may indicate the intraoperative state.
[0093] In one example, the image registration method provided in an embodiment of the present application can be applied to a spinal surgery robot, so that the three-dimensional volume data of the target object and the two-dimensional transmission image of the target object can be processed by image registration to match the three-dimensional volume data of the target object with the current state of the target object, thereby enabling the doctor / user to accurately combine the three-dimensional volume data of the target object when performing spinal surgery on the target object, thereby better assisting in completing the spinal surgery.
[0094] In one example, the target object indicates an object that needs spinal surgery. In this case, the target object can be a person, an animal, a male, a female, etc. There is no specific limitation on the category of the target object, which is based on meeting actual needs.
[0095] In one example, the three-dimensional volume data of the target object may be CT data or MRI data, or other types of data capable of collecting three-dimensional information of the target object. The data type corresponding to the three-dimensional volume data is not limited here, and is subject to implementation.
[0096] In one example, the target region may indicate a surgical region of the target object, and in this case, the target region may include multiple vertebrae.
[0097] In one example, the image registration method provided in an embodiment of the present application can be applied to a spinal surgical robot. In this case, the two-dimensional transmission image of the target area of the target object can be: a two-dimensional transmission image formed by transmission of the C-arm of the spinal surgical robot. In this case, transmission images of different imaging spatial positions and imaging angles can be formed by C-arm transmission, thereby obtaining multiple two-dimensional transmission images.
[0098] S102, repeatedly executing the following steps until the registration parameters of each vertebra in the target area of the target object are determined: determining the initial registration parameters of the current vertebra, which are the registration parameters of the registered vertebra adjacent to the current vertebra; extracting the three-dimensional volume data of the current vertebra from the three-dimensional volume data, and determining the image similarity between the two-dimensional projection image and the two-dimensional transmission image of the three-dimensional volume data of the current vertebra; adjusting the initial registration parameters of the current vertebra according to the image similarity to obtain the registration parameters of the current vertebra.
[0099] The registration parameters of the first vertebra in the target area are determined based on the three-dimensional volume data and the two-dimensional transmission image of the first vertebra.
[0100] The registration parameter of each vertebra is used to perform image registration processing on the three-dimensional volume data of each vertebra and each vertebra of the target object in the second state.
[0101] From the above description, it can be seen that after obtaining the three-dimensional volume data of the target object in the first state and the two-dimensional transmission image of the target object in the second state, the embodiment of the present application can use the registration parameters of the registered vertebrae as the initial registration parameters of the current vertebra based on the existence of similar registration parameters between the registered vertebrae adjacent to the current vertebrae (vertebrae other than the first vertebrae), thereby determining the registration parameters of the current vertebra. This can not only speed up the time required to determine the registration parameters of each vertebra in the target area and improve the registration efficiency, but also avoid the phenomenon of large deviations in the registration parameters, thereby improving the accuracy of image registration.
[0102] Figure 2 A schematic diagram of another image registration method provided in this application, such as Figure 2 As shown, the method includes:
[0103] S201: Acquire three-dimensional volume data of a target object.
[0104] The three-dimensional volume data indicates data collected from the target object in the first state.
[0105] In one example, before a target object undergoes surgery, three-dimensional volume data of the target object may be acquired first. For example, the three-dimensional volume data may be CT data or MRI data.
[0106] S202 : Perform image segmentation processing on the three-dimensional volume data of the target object to obtain three-dimensional volume data corresponding to each vertebra in the target area of the target object.
[0107] Wherein, the three-dimensional volume data corresponding to each vertebra includes the vertebral data and mask data of each vertebra. At this time, when the three-dimensional volume data of the target object is subjected to image segmentation processing, one implementation method is to first segment each vertebra in the target area of the target object by manual annotation, and then perform mask processing on each vertebra obtained by segmentation to obtain the three-dimensional volume data corresponding to each vertebra in the target area of the target object. Another implementation method is to input the three-dimensional volume data of the target object into a pre-trained neural network model for processing to obtain the three-dimensional volume data corresponding to each vertebra in the target area of the target object. Wherein, the pre-trained neural network model can be a U-NET network model, or a V-NET model, etc., and the type of the pre-trained neural network model is not limited here, and it is subject to what can be realized.
[0108] In one example, in order to prevent the problem of inaccurate segmentation edges during image segmentation, the edge position can be expanded outward by 1-2 mm to ensure that the three-dimensional volume data obtained after segmentation includes a complete vertebra, thereby facilitating accurate image registration.
[0109] S203: Acquire a two-dimensional transmission image of a target area of the target object.
[0110] The target area includes a plurality of vertebrae that require image registration; and the two-dimensional transmission image indicates data collected from the target object in the second state.
[0111] In an example, this step can refer to the content described in S101 above, and will not be described in detail here.
[0112] In one example, after obtaining the three-dimensional volume data of the target object and the two-dimensional transmission image of the target area of the target object, the first vertebra can be determined from the vertebrae included in the target area. For example, the first vertebra can be determined through human-computer interaction, or the first vertebra in the target area can be determined by generating a random number. Then, based on the three-dimensional volume data and the two-dimensional transmission image of the first vertebra, the registration parameters of the first vertebra in the target area are determined. For details, see the contents described in S204 to S206 below.
[0113] S204, determining initial alignment parameters of the three-dimensional volume data and the two-dimensional transmission image of the first vertebra in a preset position; and determining the initial alignment parameters in the preset position as initial registration parameters of the first vertebra.
[0114] In one example, a preset posture can be used to indicate the imaging posture of the target object in a first state. At this time, it is assumed that the imaging posture of the three-dimensional volume data is: the imaging ray enters from the chest and abdomen of the patient and exits from the back. Then, the two-dimensional transmission image is the image obtained under the anteroposterior transmission imaging mode, that is, the anteroposterior transmission image.
[0115] In this implementation, the initial registration parameters of the first vertebra can be quickly determined by presetting the posture, and then the initial registration parameters are optimized to obtain the registration parameters of the first vertebra, which speeds up the determination of the registration parameters of the first vertebra and improves the efficiency of image registration.
[0116] In one example, when determining the three-dimensional volume data and two-dimensional transmission image of the first vertebra and the initial alignment parameters at a preset posture, the imaging posture of the two-dimensional transmission image at the preset posture can be first determined according to the imaging mode of the two-dimensional transmission image at the preset posture (for example, the anteroposterior transmission imaging mode).
[0117] In one example, the imaging posture corresponding to the two-dimensional transmission image is used to indicate the imaging spatial position and imaging angle of the two-dimensional transmission image, or the imaging posture corresponding to the two-dimensional transmission image is used to indicate the spatial position of the imaging device of the two-dimensional transmission image and the imaging angle formed by the imaging device and the target object. In this case, the imaging posture corresponding to the two-dimensional transmission image may include but is not limited to the following information: the spatial position of the ray emission source included in the imaging device, the spatial position of the two-dimensional imaging plane, and the normal vector of the two-dimensional imaging plane.
[0118] In one example, in the process of performing transmission imaging on a target area of a target object to obtain a two-dimensional transmission image, a registration mark plate can be first placed in the imaging area, and the imaging posture corresponding to the two-dimensional imaging device during each transmission imaging can be calculated by the registration mark plate.
[0119] In one example, the registration mark plate may include at least 7 non-coplanar radiographic spheres, and the spatial positions of all spheres may be recorded. At this time, during two-dimensional transmission imaging, all spheres can be displayed in the two-dimensional transmission image, thereby determining the two-dimensional imaging position corresponding to each sphere. Afterwards, the imaging posture of the imaging device can be determined by the two-dimensional imaging position and spatial position of each sphere. For example, the imaging posture of the imaging device can be determined by the PnP (Perspective-n-Point, n-point perspective) algorithm.
[0120] In one example, the projection image (including the vertebral projection image and the mask projection image) corresponding to the three-dimensional volume data of each vertebra of the target object is determined based on the imaging posture corresponding to the two-dimensional transmission image.
[0121] Therefore, after the two-dimensional transmission image is imaged in the preset posture, the vertebral data included in the three-dimensional volume data of the first vertebra can be projected based on the imaging posture of the two-dimensional transmission image in the preset posture to obtain a vertebral projection image of the first vertebra.
[0122] In a specific implementation, the projection posture of the virtual pinhole imaging camera model can be determined based on the imaging posture corresponding to the two-dimensional transmission image; and based on the projection posture of the virtual pinhole imaging camera model, the vertebral data is projected to obtain an initial vertebral projection image corresponding to the vertebral data; based on the initial alignment parameters of the first vertebra, the initial vertebral projection image is adjusted to obtain a vertebral projection image.
[0123] Next, the center point of the three-dimensional volume data of the first vertebra is determined, and the corresponding projection center point in the vertebral projection image is aligned with the center point of the two-dimensional transmission image to obtain initial alignment parameters.
[0124] In one example, the center point of the three-dimensional volume data of the first vertebra can be understood as the spatial position of the ray emission source of the two-dimensional imaging device during the anteroposterior transmission imaging.
[0125] In one example, the initial alignment parameters may include a rotation angle parameter and a translation distance parameter.
[0126] At this time, it is assumed that the current posture of the target object is a prone posture. At this time, when determining the rotation angle parameter, the positions of the eight vertices of the three-dimensional volume data of the first vertebra in the volume data coordinate system can be obtained first, and then the spatial positions of the eight vertices are calculated under the prone position condition, and the corresponding points are changed in position so that the three-dimensional volume data indicates that the target object is in a prone state under the imaging posture corresponding to the orthostatic transmission imaging, and the rotation angle parameter is obtained. At this time, the rotation angle parameter includes the rotation angles Rx, Ry and Rz corresponding to each coordinate axis in the volume data coordinate system.
[0127] When determining the translation distance parameter, the target point can be first determined in the three-dimensional volume data of the first vertebra. At this time, the target point can be a point with obvious anatomical features (for example, the target point can be an edge point of the vertebra, for example, the target point can be the front edge point, the rear edge point, the upper edge point, the lower edge point, etc. of the vertebra), and the position P1 of the target point in the three-dimensional volume data coordinate system is recorded. Afterwards, the target point can be marked on the anteroposterior transmission image, and the target point can be connected with the spatial point of the ray emission source of the two-dimensional imaging device during the anteroposterior transmission imaging to form a straight line 1. Then, the straight line is projected into the two-dimensional imaging plane of the two-dimensional transmission image (that is, the non-anteroposterior transmission image) at any imaging angle except the imaging angle corresponding to the preset posture. Next, in the non-anteroposterior transmission image, the position of the target point is determined, and the position of the target point in the non-anteroposterior transmission image is connected with the spatial point of the ray emission source of the imaging device corresponding to the non-anteroposterior transmission image to form a straight line 2. Then, the intersection of line 1 and line 2 is calculated to obtain the position P2 of the target point in the two-dimensional transmission coordinate system where the two-dimensional transmission image is located. The position of P1 is transformed so that it coincides with P2 to obtain the translation distance parameter, which at this time includes the translation distances Tx, Ty and Tz corresponding to each coordinate axis in the volume data coordinate system.
[0128] In one example, after the initial alignment parameters corresponding to the first vertebra are determined, the registration parameters corresponding to the first vertebra can be determined according to the steps described in S205 to S206 below.
[0129] S205 : Determine the image similarity between the two-dimensional projection image and the two-dimensional transmission image of the three-dimensional volume data of the first vertebral body.
[0130] S206 , adjusting initial registration parameters of the first vertebra according to the image similarity between the two-dimensional projection image and the two-dimensional transmission image of the three-dimensional volume data of the first vertebra to obtain registration parameters of the first vertebra.
[0131] In one example, after determining the registration parameters of the first vertebra, the vertebrae for which the registration parameters need to be determined can be determined one by one from the target area of the target object until the registration parameters of each vertebra in the target area of the target object are determined. For details, see the step described in S206 below.
[0132] S207, repeatedly executing the following steps until the registration parameters of each vertebra in the target area of the target object are determined: determining the initial registration parameters of the current vertebra, which are the registration parameters of the registered vertebra adjacent to the current vertebra; extracting the three-dimensional volume data of the current vertebra from the three-dimensional volume data, and determining the image similarity between the two-dimensional projection image and the two-dimensional transmission image of the three-dimensional volume data of the current vertebra; adjusting the initial registration parameters of the current vertebra according to the image similarity to obtain the registration parameters of the current vertebra.
[0133] The registration parameter of each vertebra is used to perform image registration processing on the three-dimensional volume data of each vertebra and each vertebra of the target object in the second state.
[0134] In one example, after calculating the image similarity, a nonlinear optimization method can be used to optimize the initial registration parameters so that the image similarity in the mask area is maximized and the registration parameters of the current vertebra (or the first vertebra) are obtained. The nonlinear optimization method can be the Powell method, the covariance matrix adaptive evolution CMA-ES algorithm, etc.
[0135] In one example, Figure 3 A schematic diagram of determining the current vertebra provided in an embodiment of the present application. Figure 3 As shown, it is assumed that the target area of the target object contains 4 vertebrae, and the first vertebrae is vertebrae 3. Then, after determining the registration parameters of the first vertebrae, that is, vertebrae 3, vertebrae 3 is the registered vertebrae. At this time, the vertebrae adjacent to vertebrae 3 can be determined as the current vertebrae. For example, the registration parameters of the vertebrae with a larger number than vertebrae 3 can be determined first, and then the registration parameters of the vertebrae with a smaller number than vertebrae 3 can be determined. At this time, it can be determined Figure 3 The order of determining the registration parameters of the vertebrae shown is: vertebrae 3, vertebrae 4, vertebrae 2, and vertebrae 1.
[0136] In another example, after determining the registration parameters of the first vertebra, that is, vertebra 3, the registration parameters of the vertebra with a smaller number than vertebra 3 can be determined first, and then the registration parameters of the vertebra with a larger number than vertebra 3 can be determined. Figure 3 The order of determining the registration parameters of the vertebrae shown is: vertebrae 3, vertebrae 2, vertebrae 1, and vertebrae 4.
[0137] In another example, after determining the registration parameters of the first vertebra, that is, vertebra 3, the registration parameters of each vertebra adjacent to vertebra 3 may be determined first, and then the registration parameters of the vertebra adjacent to the determined registration parameters may be determined. Figure 3 The order of determining the registration parameters of the vertebrae shown is: vertebrae 3, vertebrae 2, vertebrae 4, vertebrae 1. The order of vertebrae 2 and vertebrae 4 is not limited here.
[0138] In one example, according to the above description, the three-dimensional volume data of the current vertebra includes the vertebral data and mask data of the current vertebra; the two-dimensional projection image of the three-dimensional volume data of the current vertebra includes the vertebral projection image and the mask projection image of the current vertebra. At this time, with respect to the above description: determining the image similarity between the two-dimensional projection image and the two-dimensional transmission image of the three-dimensional volume data of the current vertebra may specifically include the following steps:
[0139] First, based on the mask projection image included in the two-dimensional projection image of the current three-dimensional volume data of the vertebral body, mask processing is performed on the two-dimensional transmission image to obtain a masked two-dimensional transmission image.
[0140] Then, the similarity between the masked two-dimensional transmission image and the vertebral projection image is calculated according to a preset similarity calculation method to obtain image similarity.
[0141] In one example, the two-dimensional projection image of the three-dimensional volume data of the current vertebra is determined based on the imaging posture corresponding to the two-dimensional transmission image. In specific implementation, the projection posture of the virtual pinhole imaging camera model can be determined based on the imaging posture corresponding to the two-dimensional transmission image; and based on the projection posture of the virtual pinhole imaging camera model, the vertebral data is projected to obtain the initial vertebral projection image corresponding to the vertebral data, and the mask data is projected to obtain the initial mask projection image corresponding to the mask data. Then, based on the initial registration parameters of the current vertebra, the initial vertebral projection image is adjusted to obtain the vertebral projection image, and the initial mask projection image is adjusted to obtain the mask projection image.
[0142] In one example, the pre-set similarity calculation method may be a normalized mutual information method, a normalized correlation coefficient method, a normalized gradient correlation coefficient method, etc., or the pre-set similarity calculation method may be a combination of two or more of the above methods. For example, the pre-set similarity calculation method may be a method determined by the weighted sum of the normalized mutual information method and the normalized correlation coefficient method, or a method determined by the weighted sum of the normalized mutual information method, the normalized correlation coefficient method and the normalized gradient correlation coefficient method, etc.
[0143] Alternatively, the preset similarity calculation method may also be a mean square error method, etc. The preset similarity calculation method is not limited here, and is subject to practicability.
[0144] This implementation can achieve calibration between three-dimensional volume data and two-dimensional transmission images by calculating the similarity between the two-dimensional projection image and the two-dimensional transmission image, thereby simplifying the complexity of image calibration, saving resources, and improving performance.
[0145] In one example, the number of two-dimensional transmission images may be multiple; different two-dimensional transmission images correspond to different imaging angles; in this case, the number of two-dimensional projection images of the three-dimensional volume data of the current vertebra determined based on the imaging posture corresponding to the two-dimensional transmission image is multiple. In this case, with respect to the above description: determining the image similarity between the two-dimensional projection image and the two-dimensional transmission image of the three-dimensional volume data of the current vertebra may specifically include the following steps:
[0146] First, based on the mask projection image determined by each two-dimensional transmission image, mask processing is performed on each two-dimensional transmission image to obtain a plurality of masked two-dimensional transmission images.
[0147] Second, according to a preset similarity calculation method, the similarity between each masked two-dimensional transmission image and the corresponding vertebral projection image is calculated respectively to obtain the image sub-similarity between each two-dimensional projection image of the three-dimensional volume data and the corresponding two-dimensional transmission image.
[0148] Third, the similarities of each image sub-image are summed up to obtain a similarity sum result.
[0149] Fourth, based on the number of two-dimensional transmission images, the image similarity is obtained by averaging the similarity sum results.
[0150] This implementation method can combine the two-dimensional transmission images in multiple imaging postures to determine the similarity between the two-dimensional transmission image and the two-dimensional projection image, and then determine the alignment parameters of the vertebra. Image alignment can be performed through multiple two-dimensional transmission images combined with the depth information of the target object, which can further improve the image alignment accuracy.
[0151] For an example, see Figure 4 , Figure 4 A schematic diagram of a process for determining the registration parameters of a current vertebra based on multiple two-dimensional transmission images provided in an embodiment of the present application. Figure 4 As shown, it is assumed that there are two two-dimensional transmission images, namely two-dimensional transmission image 1 and two-dimensional transmission image 2. At this time, after performing image segmentation processing on the three-dimensional volume data of the target object and obtaining the three-dimensional volume data corresponding to each vertebra, the three-dimensional volume data of the current vertebra (or the first vertebra) can be determined, including the vertebra data and the mask data.
[0152] Afterwards, the initial registration parameters of the current vertebra (or the first vertebra) can be determined. The initial registration parameters of the current vertebra are the registration parameters of the registered vertebra adjacent to the current vertebra, and the initial registration parameters of the first vertebra are the initial alignment parameters determined in the above steps.
[0153] Next, the imaging posture 1 corresponding to the two-dimensional transmission image 1 and the imaging posture 2 corresponding to the two-dimensional transmission image 2 can be determined, so that the current vertebra (or the first vertebra) is projected according to the imaging posture 1 to obtain the two-dimensional projection image 1 corresponding to the current vertebra, including the vertebral projection image 1 and the mask projection image 1, and the current vertebra (or the first vertebra) is projected according to the imaging posture 2 to obtain the two-dimensional projection image 2 corresponding to the current vertebra, the vertebral projection image 2 and the mask projection image 2.
[0154] Then, the image similarity between the two 2D projection images and the two 2D transmission images in the projection mask is calculated, and the initial registration parameters are optimized using a nonlinear optimization method to maximize the image similarity in the mask area and obtain the registration parameters of the current vertebra (or the first vertebra).
[0155] Afterwards, it can be determined whether the registration parameters of each vertebra in the target area of the target object are completed. If not completed, the current vertebra is re-determined, and the initial registration parameters of the current vertebra are continued to be determined, which are the registration parameters of the registered vertebra adjacent to the current vertebra; the three-dimensional volume data of the current vertebra is extracted from the three-dimensional volume data, and the image similarity between the two-dimensional projection image and the two-dimensional transmission image of the three-dimensional volume data of the current vertebra is determined; according to the image similarity, the initial registration parameters of the current vertebra are adjusted to obtain the registration parameters of the current vertebra.
[0156] See also Figure 5 , Figure 5Schematic diagram of an implementation process of an image registration method provided in an embodiment of the present application. When implementing the image registration method provided in an embodiment of the present application, the three-dimensional volume data of the target object and m two-dimensional transmission images of the target area of the target object (for example, Figure 5 The two-dimensional transmission image 1, the two-dimensional transmission image 2, ..., the two-dimensional transmission image m) are shown.
[0157] like Figure 5 As shown, after acquiring the three-dimensional volume data of the target object, the three-dimensional volume data of the target object can be firstly subjected to image segmentation processing to obtain the three-dimensional volume data corresponding to each vertebra in the target area of the target object, for example, Figure 5 As shown, three-dimensional volume data of vertebral body 1, vertebral body 2, ..., vertebral body j, ..., vertebral body n can be obtained.
[0158] Afterwards, the registration parameters of each vertebra can be determined based on the two-dimensional projection image, the two-dimensional transmission image, and the imaging posture corresponding to the two-dimensional transmission image of the three-dimensional volume data of each vertebra. Figure 5 In the case of vertebra j shown in the figure, the registration parameters of the vertebrae adjacent to vertebra j can be determined in sequence.
[0159] Figure 6 A schematic diagram of the structure of an image registration device provided in this application is shown in FIG. Figure 6 As shown, the image registration device 600 provided in this embodiment includes:
[0160] The acquisition unit 601 is used to acquire three-dimensional volume data of the target object, wherein the three-dimensional volume data indicates data collected from the target object in a first state; and to acquire a two-dimensional transmission image of a target area of the target object, wherein the target area includes a plurality of vertebrae that require image registration; and the two-dimensional transmission image indicates data collected from the target object in a second state.
[0161] The registration unit 602 is used to repeatedly perform the following steps until the registration parameters of each vertebra in the target area of the target object are determined, wherein the registration parameters of the first vertebra in the target area are determined based on the three-dimensional volume data and the two-dimensional transmission image of the first vertebra: determining the initial registration parameters of the current vertebra, which are the registration parameters of the registered vertebra adjacent to the current vertebra; extracting the three-dimensional volume data of the current vertebra from the three-dimensional volume data, and determining the image similarity between the two-dimensional projection image and the two-dimensional transmission image of the three-dimensional volume data of the current vertebra; adjusting the initial registration parameters of the current vertebra according to the image similarity to obtain the registration parameters of the current vertebra;
[0162] The registration parameter of each vertebra is used to perform image registration processing on the three-dimensional volume data of each vertebra and each vertebra of the target object in the second state.
[0163] Figure 7 A schematic diagram of the structure of another image registration device provided in this application, such as Figure 7 As shown, the image registration device 700 provided in this embodiment includes:
[0164] The acquisition unit 701 is used to acquire three-dimensional volume data of the target object, wherein the three-dimensional volume data indicates data collected from the target object in a first state; and to acquire a two-dimensional transmission image of a target area of the target object, wherein the target area includes a plurality of vertebrae that require image registration; and the two-dimensional transmission image indicates data collected from the target object in a second state.
[0165] The registration unit 702 is used to repeatedly perform the following steps until the registration parameters of each vertebra in the target area of the target object are determined, wherein the registration parameters of the first vertebra in the target area are determined based on the three-dimensional volume data and the two-dimensional transmission image of the first vertebra: determining the initial registration parameters of the current vertebra, which are the registration parameters of the registered vertebra adjacent to the current vertebra; extracting the three-dimensional volume data of the current vertebra from the three-dimensional volume data, and determining the image similarity between the two-dimensional projection image and the two-dimensional transmission image of the three-dimensional volume data of the current vertebra; adjusting the initial registration parameters of the current vertebra according to the image similarity to obtain the registration parameters of the current vertebra;
[0166] The registration parameter of each vertebra is used to perform image registration processing on the three-dimensional volume data of each vertebra and each vertebra of the target object in the second state.
[0167] In a possible implementation, the three-dimensional volume data of the current vertebra includes the vertebra data and mask data of the current vertebra; the two-dimensional projection image of the three-dimensional volume data of the current vertebra includes the vertebra projection image and the mask projection image of the current vertebra; the two-dimensional projection image of the three-dimensional volume data of the current vertebra is determined based on the imaging posture corresponding to the two-dimensional transmission image; the imaging posture is used to indicate the imaging space position and imaging angle of the two-dimensional transmission image; at this time, the registration unit 702 is further used to:
[0168] Based on the mask projection image included in the two-dimensional projection image of the three-dimensional volume data of the current vertebral body, mask processing is performed on the two-dimensional transmission image to obtain a masked two-dimensional transmission image;
[0169] According to a preset similarity calculation method, the similarity between the masked two-dimensional transmission image and the vertebral projection image is calculated to obtain the image similarity.
[0170] In a possible implementation, there are multiple two-dimensional transmission images; different two-dimensional transmission images correspond to different imaging angles; there are multiple two-dimensional projection images of the three-dimensional volume data of the current vertebra determined based on the imaging posture corresponding to the two-dimensional transmission image; in this case, the registration unit 702 is further used to:
[0171] Based on the mask projection image determined by each two-dimensional transmission image, mask processing is performed on each two-dimensional transmission image to obtain a plurality of masked two-dimensional transmission images;
[0172] According to a preset similarity calculation method, the similarity between each masked two-dimensional transmission image and the corresponding vertebral projection image is calculated respectively to obtain the image sub-similarity between each two-dimensional projection image of the three-dimensional volume data and the corresponding two-dimensional transmission image;
[0173] The similarities of each image sub-image are summed up to obtain a similarity sum result;
[0174] Based on the number of two-dimensional transmission images, the image similarity is obtained by averaging the similarity sum results.
[0175] In a possible implementation, the registration unit 702 is configured to:
[0176] Based on the imaging posture corresponding to the two-dimensional transmission image, the projection posture of the virtual pinhole imaging camera model is determined; and based on the projection posture of the virtual pinhole imaging camera model, the vertebral data is projected to obtain an initial vertebral projection image corresponding to the vertebral data, and the mask data is projected to obtain an initial mask projection image corresponding to the mask data;
[0177] Based on the current initial registration parameters of the vertebra, the initial vertebra projection image is adjusted to obtain the vertebra projection image, and the initial mask projection image is adjusted to obtain the mask projection image.
[0178] In a possible implementation, the device further includes:
[0179] Initialization unit 703, used to determine initial alignment parameters of the three-dimensional volume data and the two-dimensional transmission image of the first vertebra at a preset position and posture; and determine the initial alignment parameters at the preset position and posture as initial registration parameters of the first vertebra;
[0180] determining image similarity between a two-dimensional projection image and a two-dimensional transmission image of the three-dimensional volume data of a first vertebral body;
[0181] According to the image similarity between the two-dimensional projection image and the two-dimensional transmission image of the three-dimensional volume data of the first vertebra, the initial registration parameters of the first vertebra are adjusted to obtain the registration parameters of the first vertebra.
[0182] In a possible implementation, the initialization unit 703 is configured to:
[0183] Determine the imaging posture of the two-dimensional transmission image at a preset posture;
[0184] Based on the imaging posture of the two-dimensional transmission image at the preset posture, the three-dimensional volume data of the first vertebra is projected to obtain a vertebral projection image of the first vertebra;
[0185] The center point of the three-dimensional volume data of the first vertebra is determined, and the corresponding projection center point in the vertebral projection image is aligned with the center point of the two-dimensional transmission image to obtain initial alignment parameters.
[0186] In a possible implementation, the registration unit 702 is further configured to:
[0187] After acquiring the three-dimensional volume data of the target object, image segmentation processing is performed on the three-dimensional volume data of the target object to obtain three-dimensional volume data corresponding to each vertebra in the target area of the target object; wherein the three-dimensional volume data corresponding to each vertebra includes vertebral data and mask data of each vertebra.
[0188] The image registration device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be described in detail here.
[0189] Figure 8 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 8 As shown, the computer device 800 provided in this embodiment includes: at least one processor 801 and a memory 802. Optionally, the device 80 further includes a communication component 803. The processor 801, the memory 802 and the communication component 803 are connected via a bus 804.
[0190] In a specific implementation process, at least one processor 801 executes the computer-executable instructions stored in the memory 802, so that at least one processor 801 executes the above method.
[0191] The specific implementation process of the processor 801 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0192] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0193] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.
[0194] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0195] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0196] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.
[0197] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0198] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0199] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as 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 an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0200] 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0201] 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.
[0202] If the function 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, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0203] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0204] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. An image registration method, characterized in that: include: Acquire three-dimensional volume data of a target object, wherein the three-dimensional volume data indicates data collected from the target object in a first state; and acquire a two-dimensional transmission image of a target area of the target object, wherein the target area includes a plurality of vertebrae that require image registration; and the two-dimensional transmission image indicates data collected from the target object in a second state; Repeat the following steps until the registration parameters of each vertebra in the target area of the target object are determined, wherein the registration parameters of the first vertebra in the target area are determined based on the three-dimensional volume data of the first vertebra and the two-dimensional transmission image: determine the initial registration parameters of the current vertebra, which are the registration parameters of the registered vertebra adjacent to the current vertebra; extract the three-dimensional volume data of the current vertebra from the three-dimensional volume data, and determine the image similarity between the two-dimensional projection image of the three-dimensional volume data of the current vertebra and the two-dimensional transmission image; adjust the initial registration parameters of the current vertebra according to the image similarity to obtain the registration parameters of the current vertebra; The registration parameter of each vertebra is used to perform image registration processing on the three-dimensional volume data of each vertebra and each vertebra of the target object in the second state.
2. The method according to claim 1, characterized in that: The three-dimensional volume data of the current vertebra includes the vertebra data and mask data of the current vertebra; the two-dimensional projection image of the three-dimensional volume data of the current vertebra includes the vertebra projection image and mask projection image of the current vertebra; the two-dimensional projection image of the three-dimensional volume data of the current vertebra is determined based on the imaging posture corresponding to the two-dimensional transmission image; the imaging posture is used to indicate the imaging space position and imaging angle of the two-dimensional transmission image; Determining the image similarity between the two-dimensional projection image of the three-dimensional volume data of the current vertebral body and the two-dimensional transmission image comprises: Based on the mask projection image included in the two-dimensional projection image of the three-dimensional volume data of the current vertebral body, masking the two-dimensional transmission image to obtain a masked two-dimensional transmission image; The similarity between the masked two-dimensional transmission image and the vertebral projection image is calculated according to a preset similarity calculation method to obtain the image similarity.
3. The method according to claim 2, characterized in that The number of the two-dimensional transmission images is multiple; different two-dimensional transmission images correspond to different imaging angles; the number of two-dimensional projection images of the three-dimensional volume data of the current vertebra determined based on the imaging posture corresponding to the two-dimensional transmission image is multiple; Determining the image similarity between the two-dimensional projection image of the three-dimensional volume data of the current vertebral body and the two-dimensional transmission image comprises: Based on the mask projection image determined by each of the two-dimensional transmission images, mask processing is performed on each of the two-dimensional transmission images to obtain a plurality of masked two-dimensional transmission images; According to a preset similarity calculation method, respectively calculating the similarity between each of the masked two-dimensional transmission images and the corresponding vertebral projection image, to obtain an image sub-similarity between each of the two-dimensional projection images of the three-dimensional volume data and the corresponding two-dimensional transmission image; Summing the similarities of the sub-images to obtain a similarity sum result; Based on the number of the two-dimensional transmission images, the image similarity is obtained by averaging the similarity summation results.
4. The method according to claim 2 or 3, characterized in that: The two-dimensional projection image of the three-dimensional volume data of the current vertebral body is determined based on the imaging posture corresponding to the two-dimensional transmission image, including: Based on the imaging posture corresponding to the two-dimensional transmission image, the projection posture of the virtual pinhole imaging camera model is determined; and based on the projection posture of the virtual pinhole imaging camera model, the vertebral body data is projected to obtain an initial vertebral body projection image corresponding to the vertebral body data, and the mask data is projected to obtain an initial mask projection image corresponding to the mask data; Based on the current initial registration parameters of the vertebra, the initial vertebra projection image is adjusted to obtain the vertebra projection image, and the initial mask projection image is adjusted to obtain the mask projection image.
5. The method according to claim 1, characterized in that The registration parameters of the first vertebra in the target area are determined based on the three-dimensional volume data of the first vertebra and the two-dimensional transmission image, and include: Determining initial alignment parameters of the three-dimensional volume data of the first vertebra and the two-dimensional transmission image at a preset position; and determining the initial alignment parameters at the preset position as initial registration parameters of the first vertebra; determining an image similarity between a two-dimensional projection image of the three-dimensional volume data of the first vertebral body and the two-dimensional transmission image; According to the image similarity between the two-dimensional projection image of the three-dimensional volume data of the first vertebra and the two-dimensional transmission image, the initial registration parameters of the first vertebra are adjusted to obtain the registration parameters of the first vertebra.
6. The method according to claim 5, characterized in that Determining initial alignment parameters of the three-dimensional volume data of the first vertebra and the two-dimensional transmission image at a preset position and posture includes: Determining an imaging posture of the two-dimensional transmission image at a preset posture; Based on the imaging posture of the two-dimensional transmission image at a preset posture, projecting the three-dimensional volume data of the first vertebra to obtain a vertebral projection image of the first vertebra; The center point of the three-dimensional volume data of the first vertebra is determined, and the corresponding projection center point in the vertebral projection image is determined, and the projection center point is aligned with the center point of the two-dimensional transmission image to obtain the initial alignment parameters.
7. The method according to claim 1, characterized in that After acquiring the three-dimensional volume data of the target object, the method further includes: Perform image segmentation processing on the three-dimensional volume data of the target object to obtain three-dimensional volume data corresponding to each vertebra in the target area of the target object; wherein the three-dimensional volume data corresponding to each vertebra includes vertebral data and mask data of each vertebra.
8. An image registration device, characterized in that: include: an acquisition unit, configured to acquire three-dimensional volume data of a target object, wherein the three-dimensional volume data indicates data acquired by the target object in a first state; and acquire a two-dimensional transmission image of a target area of the target object, wherein the target area includes a plurality of vertebrae requiring image registration; and the two-dimensional transmission image indicates data acquired by the target object in a second state; A registration unit is used to repeatedly perform the following steps until the registration parameters of each vertebra in the target area of the target object are determined, wherein the registration parameters of the first vertebra in the target area are determined based on the three-dimensional volume data of the first vertebra and the two-dimensional transmission image: determining initial registration parameters of a current vertebra, which are registration parameters of a registered vertebra adjacent to the current vertebra; extracting the three-dimensional volume data of the current vertebra from the three-dimensional volume data, and determining image similarity between a two-dimensional projection image of the three-dimensional volume data of the current vertebra and the two-dimensional transmission image; adjusting the initial registration parameters of the current vertebra according to the image similarity to obtain the registration parameters of the current vertebra; The registration parameter of each vertebra is used to perform image registration processing on the three-dimensional volume data of each vertebra and each vertebra of the target object in the second state.
9. A computer device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Cited By
Medical tomographic image correction fusion method, device, system and storage medium
CN119228659B
2D / 3D medical image registration method, system, device and medium
CN119494860A
Image registration method and device, storage medium and electronic equipment
CN119693430A
Method and device for automatically determining registration point of operation object, equipment and medium
CN120894294A
A method, apparatus, equipment, and medium for automatically determining the registration points of an operational object.
CN120894294B
