Multi-modal three-dimensional image registration method
Through the multimodal three-dimensional image registration method, the rough registration of bone surface point cloud and bounding box combined with gradient descent optimization algorithm is used to solve the problems of low efficiency and low accuracy of three-dimensional image registration in the existing technology, and achieve high efficiency , accurate image registration.
Patent Information
- Application Number
- CN202410923767.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-01
AI Technical Summary
The existing three-dimensional image registration methods are prone to fall into local optimal solutions when determining the initial value, and the large amount of data leads to low registration efficiency and affects accuracy.
The multimodal three-dimensional image registration method is adopted to obtain the bone surface point cloud in the bone area of interest for the first rough registration, combined with the bounding box calculation, reduce the data volume, and use the gradient descent optimization algorithm for precise registration to avoid Local optimal solution.
While ensuring accuracy, it reduces the amount of data, optimizes the registration efficiency, avoids the optimization algorithm from falling into the local optimal solution, and improves the accuracy and efficiency of three-dimensional image registration.
Smart Images

Figure CN118887262A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to a multi-modal three-dimensional image registration method. Background Art
[0002] Surgical navigation robots are gradually becoming popular in clinical surgical applications due to their more accurate, faster, and less invasive features. Doctors usually identify the lesion site based on the 3D images collected before surgery, plan the surgical plan before surgery, and align the 3D images obtained during surgery with the preoperative 3D images during surgery, and then complete the surgery with the help of surgical navigation robots.
[0003] The registration between intraoperative three-dimensional images usually adopts the gradient descent optimization algorithm. This algorithm needs to determine a reasonable initial value when applying it, otherwise it is easy to fall into the local optimal solution and obtain the wrong answer, thus affecting the registration accuracy between preoperative and intraoperative three-dimensional images. However, it is not easy to determine a reasonable initial value, and the collected three-dimensional images contain a large amount of data. The existing method takes a long time, which affects the efficiency of registration. Summary of the invention
[0004] Purpose of the invention: In view of the above-mentioned shortcomings, the present invention proposes a multimodal three-dimensional image registration method, which can reduce the amount of data, optimize the registration efficiency, avoid falling into the local optimal solution, and ensure the registration accuracy while ensuring the registration accuracy.
[0005] Technical solution:
[0006] The present invention provides a multimodal three-dimensional image registration method, comprising:
[0007] S1, obtaining the three-dimensional original images of the two modalities to be registered, extracting the bone surface point clouds of the bone regions of interest respectively, and performing the first registration on them;
[0008] S2, obtaining a bounding box of the bone region of interest in the three-dimensional original image of one modality, and calculating a bounding box of the bone region of interest in the three-dimensional image of another modality in combination with the first registration in S1;
[0009] S3, extracting the target bone images in the bounding boxes of the bone regions of interest corresponding to the two modalities according to S2;
[0010] S4. Perform a second registration of the target bone images corresponding to the two modalities through a gradient descent optimization algorithm, that is, obtain the registration result between the three-dimensional original images of the two modalities.
[0011] Specifically, in S1, the step of extracting the bone surface point cloud of the bone region of interest in the three-dimensional original image is as follows:
[0012] S11, extracting the bone region of interest in the three-dimensional original image using an image segmentation algorithm;
[0013] S12, scanning each slice image in the bone region of interest in the three-dimensional original image obtained in S11, extracting the intersection points of the foreground region and the background region therein, and then obtaining a bone surface point cloud of the bone region of interest in the three-dimensional original image.
[0014] More specifically, in S11, the image segmentation algorithm adopts maximum entropy segmentation, watershed segmentation or AI segmentation.
[0015] Specifically, in S4, the 3D original image of one modality is used as a fixed image, and the 3D original image of the other modality is used as a moving image. After the two are first registered, the second registration is specifically as follows:
[0016] S41, setting an initial transformation relationship between the target bone image corresponding to the fixed image and the target bone image corresponding to the moving image;
[0017] S42, transforming the two target bone images to the same reference according to the initial transformation relationship obtained in S41, and calculating the similarity measure between the two;
[0018] S43, optimizing the current transformation relationship between the two target bone images by a gradient descent optimization algorithm until the set conditions are met, thereby obtaining the final transformation relationship between the two target bone images.
[0019] More specifically, in S41, the initial transformation relationship is set to T=[0,0,0,0,0,0].
[0020] More specifically, in S42, the similarity measure between the two target bone images transformed to the same reference is calculated as follows:
[0021] The interpolator is used to calculate the pixel value of the target bone image corresponding to the moving image after the initial transformation relationship, and the pixel value of the target bone image corresponding to the fixed image is input into the Metric formula to calculate the similarity metric C between the two target bone images, as follows:
[0022]
[0023] Among them, f and m are the vectors composed of voxels in the target bone image corresponding to the fixed image and the moving image, respectively. are the mean values of the pixel values of all voxels respectively; <,> are the inner products, || is the bi-norm of the vector, and the negative sign indicates optimization to the minimum value.
[0024] Furthermore, the gradient descent optimization algorithm is specifically:
[0025] Calculate the derivative of the similarity measure C between the two images with respect to the optimization variable p as follows:
[0026]
[0027] In the formula, The optimization variable p is the current transformation relationship between the two target bone images;
[0028] The calculated derivative Input to the optimizer to update the optimization variable p. The optimizer uses the following formula to update the value of the optimization variable p:
[0029]
[0030] Where p′ is the updated optimization variable, scale is a constant used to balance the change rate of each component of the optimization variable p; l r is the learning rate.
[0031] Furthermore, in S43, the setting condition is: the learning rate is less than a set threshold, or the number of iterations is greater than a set number.
[0032] Furthermore, the first registration adopts an iterative closest point method.
[0033] Specifically, in S2, the step of obtaining a bounding box of a skeletal region of interest in the three-dimensional original image is as follows:
[0034] The maximum and minimum values of the point clouds of the cross-section, sagittal and coronal planes of the bone region of interest in the three-dimensional original image on the corresponding coordinate axes are counted respectively, and the position and size of the bounding box of the bone region of interest in the three-dimensional original image are obtained according to these values.
[0035] Specifically, in S2, the first registration in S1 is combined to calculate the bounding box of the bone region of interest in the three-dimensional image of another modality, specifically:
[0036] According to the registration result of the first registration, the transformation relationship between the bone surface point clouds of the bone area of interest in the three-dimensional original images of the two modalities is obtained, and it is applied to the bounding box of the bone area of interest in the three-dimensional original image of one modality, and the bounding box of the bone area of interest in the three-dimensional original image of the other modality is calculated.
[0037] Beneficial effect: The present invention is based on a three-dimensional image registration algorithm that combines point cloud coarse registration with gradient descent optimization fine registration. While ensuring the registration accuracy, it can reduce the amount of data and optimize the registration efficiency. At the same time, since the coarse registration is performed first, it can avoid the optimization algorithm from falling into a local optimal solution, thereby ensuring the registration accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are merely embodiments of the present invention, and ordinary technicians in this field can obtain other drawings based on these drawings without creative work.
[0039] Figure 1 It is a flow chart of the multimodal three-dimensional image registration method of the present invention, wherein the rounded rectangle represents the sub-algorithm module, the rectangle represents the data, and the line arrow represents the data transmission direction.
[0040] Figure 2 This is an example of point cloud extraction of the leg bone surface from a CT image, where: Figure 2 (a) shows an example of a CT image. Figure 2 (b) shows an example of a leg bone image obtained by CT image segmentation. Figure 2 (c) shows an example of the leg bone contour extracted from the CT image. Figure 2 (d) An example of a point cloud of the leg bone surface extracted from a CT image.
[0041] Figure 3 This is an example of point cloud extraction of bone surface from CBCT images, where: Figure 3 (a) shows an example of a CBCT image. Figure 3 (b) shows an example of a leg bone image obtained by CBCT image segmentation. Figure 3 (c) An example diagram showing the leg bone contour extracted from the CBCT image. Figure 3 (d) An example of a leg bone surface point cloud extracted from a CBCT image.
[0042] Figure 4 This is an example of ICP coarse registration, where the red point cloud represents the point cloud of the leg bone surface in the CT image, and the green point cloud represents the point cloud of the leg bone surface in the CBCT image.
[0043] Figure 5 This is an example of the bounding box calculation of the leg bone in the CBCT image, where: Figure 5 (a) An example diagram showing the bounding box of the leg bone in the cross section of the CBCT image. Figure 5 (b) An example diagram showing the bounding box of the leg bone in the coronal plane of the CBCT image. Figure 5(c) An example diagram showing the bounding box of the leg bone in the sagittal plane of the CBCT image. Figure 5 (d) An example of a bounding box representing the point cloud of the mid-leg bone in a CBCT image.
[0044] Figure 6 These are example images of local images of the femur and tibia extracted from CT images and CBCT images, wherein the upper image is the CT image and CBCT image and the corresponding bounding boxes of the femur and tibia, and the lower image is the extracted local images of the leg bone and tibia.
[0045] Figure 7 It is a flowchart of fine registration through gradient descent optimization algorithm.
[0046] Figure 8 This is an example of the final registration effect, where the black and white background image is the CT image, and the color foreground image is the CBCT image after the transformation relationship obtained through registration. DETAILED DESCRIPTION
[0047] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0048] The process of the multimodal three-dimensional image registration method of the present invention is as follows: Figure 1 As shown, including:
[0049] S1, obtaining the three-dimensional original images of the two modalities to be registered, respectively extracting the bone surface point clouds of the bone regions of interest, and performing the first registration on them;
[0050] In the present invention, multimodality means that the imaging source can be images that conform to the DICOM standard obtained by magnetic resonance imaging (MRI), computed tomography (PET), CT, CBCT, etc., any two of which can be image registered according to the scheme of the present invention.
[0051] In the present invention, after obtaining the three-dimensional original images of two modalities, one of them is used as the fixed image F and the other is used as the moving image M.
[0052] In the present invention, this embodiment takes CT images and CBCT images as examples to extract the bone surface point cloud of the bone region of interest in the three-dimensional original image, as follows:
[0053] S11. Use the image segmentation algorithm to initially segment and extract the foreground area in the three-dimensional original images of the two modalities. Examples of the foreground area and background area after the initial segmentation are as follows: Figure 2 (a) Figure 3As shown in (a), the complete foreground area is extracted by secondary segmentation using the graph cut method, that is, the bone area of interest in the 3D original image is obtained. For example, Figure 2 (b) Figure 3 (b)
[0054] In this embodiment, the image segmentation algorithm may adopt maximum entropy segmentation or watershed segmentation.
[0055] In this embodiment, the collected 3D original image is an image of the leg bone area, the foreground area in the 3D original image specifically corresponds to the femur and tibia area in the leg bone, and the background area corresponds to the soft tissue area in the leg bone. After the initial segmentation and extraction, the outline and partial area of the leg bone are obtained, and after the secondary segmentation and extraction by the graph cutting method, the obtained bone area of interest is the complete leg bone area.
[0056] In other embodiments of the present invention, three-dimensional images of other parts of the human body may also be collected, such as spine segmentation, scapula, hip bone, etc. For different bones, other applicable segmentation algorithms may be selected. For example, the spine area may be segmented by an AI segmentation algorithm to obtain the corresponding bone area of interest.
[0057] S12, scanning each slice image in the bone region of interest in the three-dimensional original image obtained in S11, and extracting the intersection point between the foreground region and the background region, for example Figure 2 (c) Figure 3 As shown in (c), the bone surface point cloud of the target bone area in the three-dimensional original image is obtained, as shown in the example Figure 2 (d) Figure 3 (d) as shown.
[0058] In the present invention, the first registration of the bone surface point cloud of the bone region of interest in the extracted three-dimensional original images of the two modalities can be performed using an iterative closest point method (ICP).
[0059] For example, the registration of the bone surface point cloud of the bone region of interest in the CT image and the CBCT image by ICP is a coarse registration, and the registration result is as follows: Figure 4 As shown, the transformation relationship T0 between the bone surface point clouds of the bone region of interest in the CT image and the CBCT image can be obtained.
[0060] Specifically, after the coordinate system corresponding to the moving image is transformed into the coordinate system corresponding to the fixed image by T0 transformation, the bone regions of interest in the two images, such as the femur and tibia, are roughly aligned. In this embodiment, the bone regions of interest in the CT image and the CBCT image are the leg bone regions, including the femur and tibia regions.
[0061] As an example, after the rough registration in this step, most of the regions between the CT image and the CBCT image can correspond to each other. At this time, T0 is already near the global optimal solution, which effectively avoids falling into the local optimal solution.
[0062] S2, using a bounding box algorithm to generate a bounding box of the bone region of interest in the three-dimensional original image of one modality, and combining the coarse registration result of S1 to calculate the bounding box of the bone region of interest in the three-dimensional image of the other modality;
[0063] Specifically, the maximum and minimum values of the point clouds of the cross section, sagittal plane and coronal plane of the target bone region in one of the three-dimensional original images (generally the fixed image F) on the corresponding coordinate axes are counted respectively, and the position and size of the bounding box of the bone region of interest in the three-dimensional original image can be obtained according to these values. ml Indicates the position of the bounding box of the bone region of interest in the 3D original image.
[0064] For example, refer to Figure 5 In this embodiment, for the bone surface point cloud of the bone region of interest in the CBCT image, a bounding box algorithm is used to generate a bounding box of the bone region of interest. For the three-dimensional original image of the leg bone, the bone region of interest is the femur and tibia, and the bounding boxes of the femur and tibia in the CBCT image can be obtained.
[0065] According to the rough alignment result of S1, the transformation relationship between the bone surface point clouds of the bone area of interest in the three-dimensional original images of the two modalities is obtained, and it is applied to the bounding box of the bone area of interest in the three-dimensional original image of the corresponding modality obtained by S2, and the bounding box of the bone area of interest in the three-dimensional original image of the other modality is calculated. The sizes of the bounding boxes of the bone area of interest in the three-dimensional images of the two modalities are consistent.
[0066] For example, the bone surface point cloud of the leg bone area in the CBCT image obtained in the above steps is used to generate a bounding box of the leg bone area using the bounding box algorithm. The transformation relationship T0 between the bone surface point cloud of the CT image and the CBCT image obtained by the rough registration in S1 is combined to calculate the bounding box of the leg bone area in the CT image. The specific calculation formula is: T fl =T ml *T0,T fl Indicates the position of the bounding box of the leg bone area in the CT image.
[0067] S3. According to the bounding boxes of the bone regions of interest in the three-dimensional original images of the two modalities obtained in S2, respectively extract the target bone images in the bounding boxes of the bone regions of interest.
[0068] Reference Figure 6, the target bone images in the bounding boxes of the leg bone regions of the CT image and the CBCT image are extracted respectively, that is, the target bone images in the bounding boxes of the leg bone regions in the CT image and the CBCT image are extracted respectively, including the femur image and the tibia image.
[0069] S4. Accurately register the target bone images corresponding to the three-dimensional images of the two modalities through a gradient descent optimization algorithm, that is, obtain the registration result between the three-dimensional original images of the two modalities.
[0070] In the present invention, the target bone images corresponding to the three-dimensional images of the two modalities are precisely aligned by a gradient descent optimization algorithm. Figure 7 As shown, the details are as follows:
[0071] S41, corresponding to the fixed image F and the moving image M in S1, the corresponding target bone image is used as the fixed image, and the target bone image corresponding to the three-dimensional original image of another modality is used as the moving image; an initial transformation relationship T1 between the fixed image and the moving image is set;
[0072] Specifically, since S1 has been roughly aligned, the initial transformation relationship T1 is set to T=[0,0,0,0,0,0] (taking a three-dimensional rigid body transformation with 6 degrees of freedom as an example).
[0073] In this embodiment, the fixed image is the femur and tibia image in the CT image, and the moving image is the femur and tibia image in the CBCT image.
[0074] S42, applying the initial transformation relationship T1 to the moving image, and calculating a similarity measure between the fixed image and the transformed moving image;
[0075] The similarity measure between the fixed image and the transformed moving image is calculated as follows:
[0076] Use the interpolator to calculate the pixel value of the moving image after T1 transformation, and input it into the Metric formula together with the pixel value of the fixed image to calculate the similarity measure C between the two images, as follows:
[0077]
[0078] Among them, f and m are the vectors composed of voxels in the fixed image and the moving image respectively. are the mean values of the pixel values of all voxels respectively; <,> are the inner products, || is the bi-norm of the vector, and the negative sign indicates optimization to the minimum value;
[0079] S43, optimizing the current transformation relationship between the fixed image and the moving image by a gradient descent optimization algorithm until the set conditions are met, thereby obtaining a final transformation relationship T2 between the two images, and thereby obtaining a registration result of the two images;
[0080] Specifically, the derivative of the similarity measure C between the two images with respect to the optimization variable p is calculated as follows:
[0081]
[0082] In the formula,
[0083] The optimization variable p in this embodiment is the current transformation relationship between the two images;
[0084] The calculated derivative Input to the optimizer to update the optimization variable p. The optimizer uses the following formula to update the value of the optimization variable p:
[0085]
[0086] Where p′ is the updated optimization variable, scale is a constant used to balance the change rate of each component of the optimization variable p; l r is the learning rate, the initial value is 0.1, and it decreases according to the conditions;
[0087] The setting conditions are as follows: If the learning rate is less than the set threshold, or the number of iterations is greater than the set number, the loop is exited and the final optimized variable is output, which is the registration result of the two images. Figure 8 As shown in Figure 2, the threshold is set to 0.001.
[0088] In the present invention, since the three-dimensional images of the two modalities are roughly registered in advance, the optimization algorithm can be prevented from falling into a local optimal solution, the registration accuracy is improved, and the rough registration reduces the number of subsequent optimization iterations, thereby effectively reducing the time consumption of the optimization algorithm. The present invention then uses the local image of the target bone area of the three-dimensional image for registration, which greatly reduces the amount of data processed by the algorithm and improves the operating efficiency of the multi-modal three-dimensional image registration algorithm of the present invention.
[0089] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present invention (including the claims) is limited to these examples. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present invention as described above, which are not provided in detail for the sake of simplicity.
[0090] The embodiments of the present invention are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the present invention.
Claims
1. A multimodal three-dimensional image registration method, characterized in that: include: S1, obtaining the three-dimensional original images of the two modalities to be registered, extracting the bone surface point clouds of the bone regions of interest respectively, and performing the first registration on them; S2, obtaining a bounding box of the bone region of interest in the three-dimensional original image of one modality, and calculating a bounding box of the bone region of interest in the three-dimensional image of another modality in combination with the first registration in S1; S3, extracting the target bone images in the bounding boxes of the bone regions of interest corresponding to the two modalities according to S2; S4. Perform a second registration of the target bone images corresponding to the two modalities through a gradient descent optimization algorithm, that is, obtain the registration result between the three-dimensional original images of the two modalities.
2. The multimodal three-dimensional image registration method according to claim 1, characterized in that: In S1, the bone surface point cloud of the bone region of interest in the three-dimensional original image is extracted as follows: S11, extracting the bone region of interest in the three-dimensional original image using an image segmentation algorithm; S12, scanning each slice image in the bone region of interest in the three-dimensional original image obtained in S11, extracting the intersection points of the foreground region and the background region therein, and then obtaining a bone surface point cloud of the bone region of interest in the three-dimensional original image.
3. The multimodal three-dimensional image registration method according to claim 2, characterized in that: In S11, the image segmentation algorithm adopts maximum entropy segmentation, watershed segmentation or AI segmentation.
4. The multimodal three-dimensional image registration method according to claim 1, characterized in that: In S4, the 3D original image of one modality is used as the fixed image, and the 3D original image of the other modality is used as the moving image. After the two are first registered, the second registration is specifically as follows: S41, setting an initial transformation relationship between the target bone image corresponding to the fixed image and the target bone image corresponding to the moving image; S42, transforming the two target bone images to the same reference according to the initial transformation relationship obtained in S41, and calculating the similarity measure between the two; S43, optimizing the current transformation relationship between the two target bone images by a gradient descent optimization algorithm until the set conditions are met, thereby obtaining the final transformation relationship between the two target bone images.
5. The multimodal three-dimensional image registration method according to claim 4, characterized in that: In S41, the initial transformation relationship is set to T=[0,0,0,0,0,0].
6. The multimodal three-dimensional image registration method according to claim 4, characterized in that: In S42, the similarity measure between the two target bone images transformed to the same reference is calculated as follows: The interpolator is used to calculate the pixel value of the target bone image corresponding to the moving image after the initial transformation relationship, and the pixel value of the target bone image corresponding to the fixed image is input into the Metric formula to calculate the similarity metric C between the two target bone images, as follows: Among them, f and m are the vectors composed of voxels in the target bone image corresponding to the fixed image and the moving image, respectively. are the mean values of the pixel values of all voxels respectively; <,> are the inner products, || is the bi-norm of the vector, and the negative sign indicates optimization to the minimum value.
7. The multimodal three-dimensional image registration method according to claim 6, characterized in that: The gradient descent optimization algorithm is specifically: Calculate the derivative of the similarity measure C between the two images with respect to the optimization variable p as follows: In the formula, The optimization variable p is the current transformation relationship between the two target bone images; The calculated derivative Input to the optimizer to update the optimization variable p. The optimizer uses the following formula to update the value of the optimization variable p: Where p′ is the updated optimization variable, scale is a constant used to balance the change rate of each component of the optimization variable p; l r is the learning rate.
8. The multimodal three-dimensional image registration method according to claim 7, characterized in that: In 43, the setting condition is: the learning rate is less than the set threshold, or the number of iterations is greater than the set number.
9. The multimodal three-dimensional image registration method according to claim 4, characterized in that: The first registration adopts an iterative closest point method.
10. The multimodal three-dimensional image registration method according to claim 1, characterized in that: In S2, the step of obtaining a bounding box of a skeletal region of interest in the three-dimensional original image is specifically: The maximum and minimum values of the point clouds of the cross-section, sagittal and coronal planes of the bone region of interest in the three-dimensional original image on the corresponding coordinate axes are counted respectively, and the position and size of the bounding box of the bone region of interest in the three-dimensional original image are obtained according to these values.
11. The multimodal three-dimensional image registration method according to claim 1, characterized in that: In S2, the first registration in S1 is combined to calculate the bounding box of the bone region of interest in the three-dimensional image of another modality, specifically: According to the registration result of the first registration, the transformation relationship between the bone surface point clouds of the bone area of interest in the three-dimensional original images of the two modalities is obtained, and it is applied to the bounding box of the bone area of interest in the three-dimensional original image of one modality, and the bounding box of the bone area of interest in the three-dimensional original image of the other modality is calculated.
Citation Information
Patent Citations
Multi-modal medical image registration method and device based on MRF model, platform and medium
CN109741378A
2D-3D image registration algorithm
CN112233155A
Joint image segmentation method based on multi-map label fusion
CN117670901A
Radiotherapy patient positioning method and equipment based on spinal body recognition
CN118072039A
Determination of registration accuracy
WO2017101990A1
Cited By
Vertebral section image registration method and device, computer equipment and storage medium
CN120807598A
