Coordinate system calibration method, device, electronic equipment and storage medium

By using the point cloud information of the target and reference imaging equipment for coordinate system calibration in a multi-modal medical imaging system, the problems of complex coordinate system calibration and low accuracy in the existing technology are solved, and efficient and accurate coordinate system calibration is achieved. , avoiding the risk of radiation exposure.

CN114332171BActive Publication Date: 2024-09-10UNITED IMAGING RES INST OF INNOVATIVE MEDICAL EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111648061.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2024-09-10
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

In the existing technology, the coordinate system calibration process is complex, the risk of radiation exposure is high, and the accuracy is low. It is difficult to obtain the phantom spatial position of the PET imaging device efficiently and accurately, resulting in inaccurate coordinate system calibration.

Method used

By using the target imaging device, reference imaging device and shooting device in the multi-modal medical imaging system, the first phantom point cloud of the phantom under the reference imaging device is determined, the bed motion information and the coordinate system transformation relationship are obtained, and the transformation is generated The phantom point cloud, combined with the second phantom point cloud in the device coordinate system, is registered using the centroid algorithm and the iterative closest point algorithm to obtain the calibration relationship between the target coordinate system and the device coordinate system.

Benefits of technology

There is no need to inject radioactive sources into the phantom, which improves the efficiency and success rate of coordinate system calibration, avoids the risk of radiation exposure, and improves the accuracy of coordinate system calibration, especially in the combination of PET imaging equipment and CT imaging equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114332171B
    Figure CN114332171B
Patent Text Reader

Abstract

The present invention provides a coordinate system calibration method, device, electronic device and storage medium, which are applied to a multimodal medical imaging system, wherein the multimodal medical imaging system includes a target imaging device, a reference imaging device and a shooting device, and the coordinate system calibration method is used to calibrate the target coordinate system where the target imaging device is located and the device coordinate system where the shooting device is located, and the method includes: determining a first phantom point cloud of the phantom in the reference coordinate system where the reference imaging device is located; obtaining the bed motion information of the phantom and the conversion relationship between the target coordinate system and the reference coordinate system; determining the conversion phantom point cloud of the phantom in the target coordinate system based on the conversion relationship, the bed motion information and the first phantom point cloud; obtaining a second phantom point cloud of the phantom in the device coordinate system; and determining the calibration relationship between the target coordinate system and the device coordinate system according to the conversion phantom point cloud and the second phantom point cloud. The present invention improves the efficiency and accuracy of the coordinate system calibration method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical imaging technology, and in particular to a coordinate system calibration method, device, electronic equipment and storage medium. Background Art

[0002] Single-modality medical imaging equipment, such as positron emission computed tomography (PET) imaging equipment, computerized tomography (CT) imaging equipment, and magnetic resonance (MR) imaging equipment, etc., have their own advantages in auxiliary diagnosis of different diseases and lesions. Patients often need to complete multiple examinations with different imaging equipment in different departments to obtain more comprehensive examination results. Therefore, multimodality medical imaging systems formed by the combination of the above-mentioned single-modality medical imaging equipment, such as PET-CT imaging systems, PET-MR imaging systems, SPECT-CT imaging systems, SPECT-MR imaging systems, etc., are gradually widely used. Compared with single-modality medical imaging equipment, multimodality medical imaging systems can obtain multiple modality images through one imaging, which is more conducive to disease diagnosis.

[0003] For multimodal medical imaging equipment, coordinate system calibration is one of the most important steps. Taking the PET-CT medical imaging system equipped with a motion monitoring camera device as an example, the conversion relationship between the camera coordinate system and the PET physical coordinate system needs to be calibrated each time the camera is installed or moved. Since the PET images obtained by the PET imaging device have low resolution, it is impossible to directly obtain the model point cloud through image processing like processing CT images. Therefore, in the prior art, the camera coordinate system and the PET physical coordinate system are calibrated by injecting a radiation source into a specially designed structure to obtain a high-contrast PET image of the highlighted part, find the spatial position of the special structure, and then simulate and generate the corresponding model point cloud based on the relative position relationship between the special structure and the model surface in the model design. By aligning the model point clouds of two different coordinate systems, the calibration relationship between the two coordinate systems can be obtained.

[0004] The existing technology has the following problems: since the process of perfusing the phantom with a radioactive source is complicated and the perfusion success rate is low, reperfusion may easily increase the risk of radiation exposure. In addition, the resolution of the scanned image of the phantom obtained by the PET imaging device is low, making it difficult to obtain the spatial position of the special machined structure with high precision, which in turn leads to inaccurate coordinate system calibration. Summary of the invention

[0005] In view of this, it is necessary to provide a coordinate system calibration method, device, electronic device and storage medium to solve the technical problems existing in the prior art, such as complex coordinate system calibration process, high radiation exposure risk and low coordinate system calibration accuracy.

[0006] On the one hand, the present invention provides a coordinate system calibration method, which is applied to a multimodal medical imaging system, wherein the multimodal medical imaging system includes a target imaging device, a reference imaging device, and a shooting device. The coordinate system calibration method is used to calibrate a target coordinate system where the target imaging device is located and a device coordinate system where the shooting device is located. The coordinate system calibration method includes:

[0007] Determine a first phantom point cloud of the phantom in a reference coordinate system where the reference imaging device is located;

[0008] Acquire bed motion information of the phantom moving from an imaging center of the reference imaging device to an imaging center of the target imaging device and a conversion relationship between the target coordinate system and the reference coordinate system;

[0009] Determine a transformed phantom point cloud of the phantom in the target coordinate system based on the conversion relationship, the bed motion information, and the first phantom point cloud;

[0010] Acquire a second phantom point cloud of the phantom in the device coordinate system;

[0011] A calibration relationship between the target coordinate system and the device coordinate system is determined according to the conversion phantom point cloud and the second phantom point cloud.

[0012] In some possible implementations, determining a first phantom point cloud of the phantom in a reference coordinate system of the reference imaging device includes:

[0013] Based on the reference imaging device, obtaining a first image of the phantom;

[0014] Preprocessing the first image to obtain a set of voxels representing a surface of a phantom;

[0015] Acquire image tag information of the first image;

[0016] Based on the voxel set and the image label information, the first phantom point cloud is obtained.

[0017] In some possible implementations, obtaining the first phantom point cloud based on the voxels and the image label information includes:

[0018] Obtaining a mapping relationship between an image coordinate system where the first image is located and the reference coordinate system based on the image tag information;

[0019] Based on the mapping relationship and the voxels, the first phantom point cloud is obtained.

[0020] In some possible implementations, determining the transformed phantom point cloud of the phantom in the target coordinate system based on the transformation relationship, the bed motion information, and the first phantom point cloud includes:

[0021] Based on the bed motion information, moving the first phantom point cloud from an imaging center of the reference imaging device to an imaging center of the target imaging device;

[0022] The transformed phantom point cloud is obtained based on the moved first phantom point cloud and the transformation relationship between the target coordinate system and the reference coordinate system.

[0023] In some possible implementations, obtaining a second phantom point cloud of the phantom in the device coordinate system includes:

[0024] Acquire a depth image of the phantom at the imaging center position of the target imaging device captured by the shooting device;

[0025] Acquire imaging parameters of the shooting device, and obtain the second phantom point cloud according to the depth image and the imaging parameters.

[0026] In some possible implementations, determining a calibration relationship between the target coordinate system and the device coordinate system according to the conversion phantom point cloud and the second phantom point cloud includes:

[0027] Determining a coarse registration transformation relationship between the conversion phantom point cloud and the second phantom point cloud based on a centroid algorithm;

[0028] Determining a precise registration conversion relationship between the roughly registered conversion phantom point cloud and the second phantom point cloud based on an iterative closest point algorithm;

[0029] A calibration relationship between the target coordinate system and the device coordinate system is determined based on the coarse registration transformation relationship and the fine registration transformation relationship.

[0030] In some possible implementations, the determining the coarse registration conversion relationship between the conversion phantom point cloud and the second phantom point cloud based on a centroid algorithm includes:

[0031] Acquire a first centroid of the converted phantom point cloud and a second centroid of the second phantom point cloud, and determine a centroid displacement between the first centroid and the second centroid;

[0032] Determining a rotation angle between the conversion phantom point cloud and the second phantom point cloud based on an installation angle of the photographing device;

[0033] A coarse registration transformation relationship between the conversion phantom point cloud and the second phantom point cloud is obtained based on the centroid displacement and the rotation angle.

[0034] In some possible implementations, the determining the precise registration conversion relationship between the roughly registered conversion phantom point cloud and the second phantom point cloud based on an iterative closest point algorithm includes:

[0035] Step 1: Find corresponding points of the second phantom point cloud after rough registration in the transformed phantom point cloud to obtain a point cloud matching point set;

[0036] Step 2: Calculate the rigid body transformation parameters that minimize the average distance between matching points in the point cloud matching point set according to the point cloud matching point set;

[0037] Step 3: updating the second phantom point cloud based on the rigid body transformation parameters to obtain an updated phantom point cloud;

[0038] Step 4: find the corresponding points of the updated model point cloud in the converted model point cloud to obtain the updated point cloud matching point set. If the average distance of the updated point cloud matching point set is less than the threshold distance, the rigid body transformation parameter is the precise registration transformation relationship. If the average distance of the updated point cloud matching point set is greater than or equal to the threshold distance, the rigid body transformation parameters in this iteration process are recorded, and the updated model point cloud is used as the second model point cloud. Repeat steps 1 to 4. Finally, the dot product result of the rigid body transformation parameters recorded in all iterations is the precise registration transformation relationship.

[0039] In some possible implementations, before registering the converted phantom point cloud and the second phantom point cloud, the method further includes:

[0040] Downsampling is performed on the conversion phantom point cloud and / or the second phantom point cloud.

[0041] On the other hand, the present invention further provides a coordinate system calibration device, which is applied to a multimodal medical imaging system, wherein the multimodal medical imaging system includes a target imaging device, a reference imaging device, and a shooting device, wherein the coordinate system calibration device is used to calibrate a target coordinate system where the target imaging device is located and a device coordinate system where the shooting device is located, and the coordinate system calibration device includes:

[0042] A first phantom point cloud acquisition unit, used to determine a first phantom point cloud of the phantom in a reference coordinate system where the reference imaging device is located;

[0043] a bed motion information and conversion relationship determination unit, used to obtain bed motion information of the phantom moving from the imaging center of the reference imaging device to the imaging center of the target imaging device and a conversion relationship between the target coordinate system and the reference coordinate system;

[0044] a conversion phantom point cloud acquisition unit, configured to determine a conversion phantom point cloud of the phantom in the target coordinate system based on the conversion relationship, the bed motion information and the first phantom point cloud;

[0045] A second phantom point cloud acquisition unit, used for acquiring a second phantom point cloud of the phantom in the device coordinate system;

[0046] A calibration unit is used to determine a calibration relationship between the target coordinate system and the device coordinate system according to the conversion phantom point cloud and the second phantom point cloud.

[0047] On the other hand, the present invention also provides an electronic device, including a memory and a processor, wherein:

[0048] The memory is used to store programs;

[0049] The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the coordinate system calibration method described in any of the above implementations.

[0050] On the other hand, the present invention further provides a computer-readable storage medium for storing a computer-readable program or instruction, which, when executed by a processor, can implement the steps in the coordinate system calibration method described in any of the above implementations.

[0051] The beneficial effect of adopting the above embodiment is: the coordinate system calibration method provided by the present invention first determines the converted phantom point cloud of the phantom in the target coordinate system according to the bed movement information and the first phantom point cloud of the phantom in the reference coordinate system of the reference imaging device and the conversion relationship between the target coordinate system and the reference coordinate system; then obtains the second phantom point cloud of the phantom in the device coordinate system, and finally aligns the converted phantom point cloud and the second phantom point cloud to obtain the calibration relationship between the target coordinate system and the device coordinate system. There is no need to inject a radioactive source into the phantom to obtain the phantom point cloud of the phantom in the target coordinate system, which eliminates the process of injecting a radioactive source into the phantom and improves the efficiency and success rate of the coordinate system calibration method.

[0052] Furthermore, when the target imaging device is a PET imaging device and the reference imaging device is a CT imaging device, the technical problem of low coordinate system calibration accuracy caused by low imaging resolution of the PET imaging device can be avoided, thereby improving the accuracy of coordinate system calibration. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0054] Figure 1 A schematic diagram of a flow chart of an embodiment of a coordinate system calibration method provided by the present invention;

[0055] Figure 2 For the present invention Figure 1 A schematic flow chart of an embodiment of S101;

[0056] Figure 3 For the present invention Figure 2 A schematic flow chart of an embodiment of S204;

[0057] Figure 4 For the present invention Figure 1 A schematic flow chart of an embodiment of S103;

[0058] Figure 5 For the present invention Figure 1 A schematic flow chart of an embodiment of S104;

[0059] Figure 6 For the present invention Figure 1 A schematic flow chart of an embodiment of S105;

[0060] Figure 7 For the present invention Figure 6 A schematic flow chart of an embodiment of S601;

[0061] Figure 8 For the present invention Figure 6 A schematic diagram of an embodiment of S602;

[0062] Fig. 9 A schematic structural diagram of an embodiment of a coordinate system calibration device provided by the present invention;

[0063] Fig.10 A schematic structural diagram of an embodiment of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0064] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0065] In the description of the embodiments of the present invention, unless otherwise specified, "multiple" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" may mean: A exists alone, A and B exist at the same time, and B exists alone.

[0066] The descriptions of "first", "second", etc. involved in the embodiments of the present invention are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the technical features defined as "first" or "second" may explicitly or implicitly include at least one of the features.

[0067] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0068] The present invention provides a coordinate system calibration method, device, electronic device and storage medium, which are respectively described below.

[0069] The coordinate system calibration method in the embodiment of the present invention is applied to a multimodal medical imaging system, which includes a target imaging device, a reference imaging device, and a shooting device.

[0070] In some embodiments of the present invention, the multimodal medical imaging system may be any one of a PET-CT imaging system, a PET-MR imaging system, a SPECT-CT imaging system, a SPECT-MR imaging system, etc. In a specific embodiment, the multimodal medical imaging system is a PET-CT imaging system, the target imaging device is a PET imaging device, and the reference imaging device is a CT imaging device.

[0071] The coordinate system calibration method in the embodiment of the present invention is used to calibrate the target coordinate system where the target imaging device is located and the device coordinate system where the shooting device is located. Figure 1 A schematic diagram of an embodiment of the coordinate system calibration method provided by the present invention is shown in FIG. Figure 1As shown, the coordinate system calibration method includes:

[0072] S101, determining a first phantom point cloud of the phantom in a reference coordinate system where a reference imaging device is located;

[0073] S102, obtaining bed motion information of the phantom moving from the imaging center of the reference imaging device to the imaging center of the target imaging device and the conversion relationship between the target coordinate system and the reference coordinate system;

[0074] S103, determining a transformed phantom point cloud of the phantom in a target coordinate system based on the transformation relationship, the bed motion information, and the first phantom point cloud;

[0075] S104, obtaining a second phantom point cloud of the phantom in the device coordinate system;

[0076] S105 . Determine a calibration relationship between the target coordinate system and the device coordinate system according to the conversion phantom point cloud and the second phantom point cloud.

[0077] The phantom in the embodiment of the present invention is an object with a certain spatial structure, which has different development states on different medical imaging devices. Therefore, the phantom can calibrate the image coordinate system of the corresponding medical imaging device through its own different development images.

[0078] The point cloud in the embodiment of the present invention is a collection of spatial three-dimensional coordinates of points on the product appearance surface obtained by a measuring instrument.

[0079] Compared with the prior art, the coordinate system calibration method provided by the embodiment of the present invention first determines the converted phantom point cloud of the phantom in the target coordinate system according to the bed movement information and the first phantom point cloud of the phantom in the reference coordinate system of the reference imaging device and the conversion relationship between the target coordinate system and the reference coordinate system; then obtains the second phantom point cloud of the phantom in the device coordinate system, and finally aligns the converted phantom point cloud and the second phantom point cloud to obtain the calibration relationship between the target coordinate system and the device coordinate system. There is no need to inject a radioactive source into the phantom to obtain the phantom point cloud of the phantom in the target coordinate system, which eliminates the process of injecting a radioactive source into the phantom and improves the efficiency and success rate of the coordinate system calibration method.

[0080] Furthermore, when the target imaging device is a PET imaging device and the reference imaging device is a CT imaging device, compared with the PET imaging device with low imaging resolution, the first model point cloud is obtained by the CT imaging device with higher imaging resolution, and the calibration relationship between the target coordinate system and the device coordinate system is obtained based on the first model point cloud, thereby improving the accuracy of the coordinate system calibration.

[0081] It should be understood that the material of the phantom can be adjusted and set according to the different multimodal medical imaging systems. For example, when the reference imaging device in the multimodal medical imaging system is a CT imaging device, the material of the phantom can be a material that can be imaged in the CT imaging device, and the specific materials are not described here one by one.

[0082] It should be noted that: since the phantom is a three-dimensional object and the first phantom point cloud is a three-dimensional point cloud, the shooting device in the embodiment of the present invention is a shooting device that can obtain depth information.

[0083] In a specific embodiment of the present invention, the photographing device may be a camera.

[0084] It should also be noted that the conversion relationship between the target coordinate system and the reference coordinate system can be performed during the initial installation of the multimodal medical imaging system or during regular inspections. The specific method for obtaining the conversion relationship can be the existing method of obtaining the image through preprocessing, registration, and other operations after synchronous imaging with a special phantom, which will not be described in detail here.

[0085] In some embodiments of the present invention, Figure 2 As shown, step S101 includes:

[0086] S201, obtaining a first image of a phantom based on a reference imaging device;

[0087] S202, preprocessing the first image to obtain a voxel set representing the surface of the phantom;

[0088] S203, obtaining image tag information of the first image;

[0089] S204 : Obtain a first phantom point cloud based on the voxel set and the image label information.

[0090] In some embodiments of the present invention, step S202 may specifically be:

[0091] The first image is preprocessed by image filtering, binarization, contour extraction, etc. to obtain a plurality of voxels.

[0092] The specific processing process of image filtering, binarization, and contour extraction may be the image filtering, binarization, and contour extraction process in the prior art, which will not be described in detail here.

[0093] It should be noted that: since the embodiment of the present invention calibrates the target coordinate system and the device coordinate system, and the second phantom point cloud captured by the shooting device in the device coordinate system is the surface contour of the phantom. Therefore, in order to reduce the number of point clouds of the first phantom point cloud, thereby further improving the efficiency of coordinate system calibration, in some embodiments of the present invention, the voxels are voxels on the surface of the phantom. That is, there is no need to obtain the internal voxels of the phantom except the surface.

[0094] By setting the voxels to be only the voxels on the surface of the phantom, the acquisition speed of the first phantom point cloud can be increased, thereby further improving the efficiency of the coordinate system calibration.

[0095] In some embodiments of the present invention, the image tag information includes three fields in the image data of the first image in DICOM format, the three fields being a patient position field, an image position field, and an image orientation field.

[0096] Among them, the field number of the patient position field is (0018, 5100), the field number of the image position field is (0020, 0032), and the field number of the image direction field is (0020, 0037).

[0097] Specifically, the patient position field indicates the mapping relationship between the patient coordinate system and the reference coordinate system; the image position field indicates the spatial coordinates of the first pixel in the upper left corner of one of the single-layer images in the first image in the patient coordinate system where the first image is located; the image direction field indicates the angle between the coordinate axes corresponding to the image coordinate system and the patient coordinate system. That is, the mapping relationship between the image coordinate system and the reference coordinate system can be obtained through the image label information of the first image.

[0098] Therefore, in some embodiments of the present invention, Figure 3 As shown, step S204 includes:

[0099] S301, obtaining a mapping relationship between an image coordinate system where a first image is located and a reference coordinate system based on image tag information;

[0100] S302 : Obtain a first phantom point cloud based on the mapping relationship and the voxels.

[0101] The embodiment of the present invention can obtain the first phantom point cloud based on image label information and voxels, and the acquisition method is simple and reliable.

[0102] In some embodiments of the present invention, Figure 4 As shown, step S103 includes:

[0103] S401, based on the bed movement information, moving the first phantom point cloud from the imaging center of the reference imaging device to the imaging center of the target imaging device;

[0104] S402 : obtaining a transformed phantom point cloud based on the moved first phantom point cloud and the transformation relationship between the target coordinate system and the reference coordinate system.

[0105] In order to complete the coordinate system calibration between the target coordinate system and the device coordinate system, it is necessary to align the first model point cloud and the second model point cloud located in two different coordinate systems when the model is in the same physical space position. In a certain embodiment, when the target imaging device is PET and the reference imaging device is CT, since the shooting device is installed on the end of the PET device rack away from the CT device, the rack occlusion will cause the shooting device to be unable to shoot the model located at the imaging center of the reference imaging device, and thus unable to generate a valid second model point cloud corresponding to this physical space position. Therefore, in the embodiment, the coordinate system calibration relationship cannot be obtained by performing the registration step on the first model point cloud and the second model point cloud located in different coordinate systems at the physical space position of the reference imaging center, and the first model point cloud needs to be moved from the reference imaging center to the target imaging center.

[0106] In some embodiments of the present invention, Figure 5 As shown, step S104 includes:

[0107] S501, obtaining a depth image of the phantom at the imaging center position of the target imaging device captured by a shooting device;

[0108] S502: Acquire imaging parameters of a shooting device, and obtain a second phantom point cloud according to the depth image and the imaging parameters.

[0109] In some embodiments of the present invention, step S502 specifically includes: obtaining depth information of each pixel point of the depth image, calculating the three-dimensional coordinates of each point in the device coordinate system based on the imaging parameters, and segmenting the pixel points to segment the pixel points representing the model to obtain a second model point cloud.

[0110] In some embodiments of the present invention, Figure 6 As shown, step S105 includes:

[0111] S601, determining a coarse registration conversion relationship between a conversion phantom point cloud and a second phantom point cloud based on a centroid algorithm;

[0112] S602, determining a precise registration conversion relationship between the roughly registered conversion phantom point cloud and the second phantom point cloud based on an iterative closest point (ICP) algorithm;

[0113] S603: Determine a calibration relationship between the target coordinate system and the device coordinate system based on the coarse registration transformation relationship and the fine registration transformation relationship.

[0114] The embodiment of the present invention can ensure the reliability of the obtained calibration relationship by first determining the coarse registration conversion relationship between the conversion phantom point cloud and the second phantom point cloud, and then determining the fine registration conversion relationship between the coarsely registered conversion phantom point cloud and the second phantom point cloud.

[0115] In a specific embodiment of the present invention, the calibration relationship between the target coordinate system and the device coordinate system is a dot product value of a coarse registration transformation relationship and a fine registration transformation relationship.

[0116] In some embodiments of the present invention, Figure 7 As shown, step S601 includes:

[0117] S701, obtaining a first centroid of a converted phantom point cloud and a second centroid of a second phantom point cloud, and determining a centroid displacement between the first centroid and the second centroid;

[0118] S702, determining a rotation angle between the conversion phantom point cloud and the second phantom point cloud based on an installation angle of the photographing device;

[0119] S703: Obtain a coarse registration transformation relationship between the conversion phantom point cloud and the second phantom point cloud based on the centroid displacement and the rotation angle.

[0120] The first centroid in step S701 refers to the average value of the coordinates of all points in the transformed phantom point cloud, and the specific calculation formula is as follows:

[0121]

[0122] Where P c is the three-dimensional coordinate of the first centroid; n is the total number of points in the transformed motif point cloud; x i is the x-axis coordinate of the ith point; y i is the y-axis coordinate of the i-th point; z i is the z-axis coordinate of the ith point.

[0123] The second centroid refers to the average value of the coordinates of all points in the second model point cloud. The specific calculation method is the same as the first centroid, which will not be repeated here.

[0124] In the embodiment of the present invention, the first centroid and the second centroid are roughly overlapped through steps S701 to S703, which can improve the efficiency of subsequent precise registration of the converted phantom point cloud and the second phantom point cloud.

[0125] The coarse registration transformation relationship in step S703 includes a translation transformation for translating the second center of mass to the first center of mass based on the displacement of the center of mass and a rotation transformation for rotating the second center of mass based on the rotation angle.

[0126] In some embodiments of the present invention, Figure 8 As shown, step S602 includes:

[0127] S801, finding corresponding points of the second phantom point cloud after rough registration in the transformed phantom point cloud to obtain a point cloud matching point set;

[0128] S802, calculating, according to the point cloud matching point set, a rigid body transformation parameter that minimizes the average distance between matching points of the point cloud matching point set;

[0129] S803, updating the second phantom point cloud based on the rigid body transformation parameters to obtain an updated phantom point cloud;

[0130] S804, find the corresponding points of the updated model point cloud in the transformed model point cloud, and obtain the updated point cloud matching point set. If the average distance of the updated point cloud matching point set is less than the threshold distance, the rigid body transformation parameters are the precise registration transformation relationship; if the average distance of the updated point cloud matching point set is greater than or equal to the threshold distance, record the rigid body transformation parameters in this iteration process, use the updated model point cloud as the second model point cloud, and repeat steps S801 and S804. Finally, the dot product result of the rigid body transformation parameters recorded in all iterations is the precise registration transformation relationship.

[0131] It should be noted that, in order to further improve the efficiency and accuracy of fine registration of the conversion phantom point cloud and the second phantom point cloud after rough registration, in some embodiments of the present invention, after step S801, the following may also be included:

[0132] The corresponding points whose distance between the second model point cloud and the corresponding points in the point cloud matching point set is greater than the threshold distance are removed.

[0133] By removing corresponding points whose distance is greater than the threshold distance, erroneous corresponding points that affect the registration can be removed, the amount of precise registration calculation can be simplified, and the efficiency and accuracy of precise registration of the conversion phantom point cloud and the second phantom point cloud can be improved.

[0134] Furthermore, since the resolution of the shooting device is different from the resolution of the first image, resulting in different point cloud densities of the conversion phantom point cloud and the second phantom point cloud, in order to avoid the influence of different point cloud densities on the subsequent registration process of the conversion phantom point cloud and the second phantom point cloud, thereby affecting the registration accuracy, in some embodiments of the present invention, before step S105, the following is further included:

[0135] Downsampling is performed on the conversion phantom point cloud and / or the second phantom point cloud.

[0136] The embodiment of the present invention can reduce the density difference between the transformed phantom point cloud and the second phantom point cloud by downsampling the transformed phantom point cloud and / or the second phantom point cloud, thereby improving the registration accuracy and further improving the calibration accuracy of the coordinate system calibration.

[0137] It should be understood that: the downsampling processing of the conversion motif point cloud and / or the second motif point cloud can be based on the density of the conversion motif point cloud, and the second motif point cloud can be downsampled to the same density as the conversion motif point cloud. The downsampling processing of the conversion motif point cloud and / or the second motif point cloud can also be based on the density of the second motif point cloud, and the conversion motif point cloud can be downsampled to the same density as the second motif point cloud.

[0138] It should also be understood that: when the point cloud density of the conversion motif point cloud and the second motif point cloud are both high, downsampling the conversion motif point cloud and / or the second motif point cloud can also be downsampling the conversion motif point cloud and the second motif point cloud, both of which are processed into point clouds of preset density.

[0139] Among them, the downsampling processing can be any one of the downsampling methods such as voxel grid downsampling (VGD), farthest point sampling (FPS), normal space sampling (NSS), deep learning downsampling, etc.

[0140] In order to better implement the coordinate system calibration method in the embodiment of the present invention, based on the coordinate system calibration method, correspondingly, Fig. 9 As shown, an embodiment of the present invention further provides a coordinate system calibration device, which is applied to a multimodal medical imaging system. The multimodal medical imaging system includes a target imaging device, a reference imaging device, and a shooting device. The coordinate system calibration device is used to calibrate a target coordinate system where the target imaging device is located and a device coordinate system where the shooting device is located. The coordinate system calibration device 900 includes:

[0141] A first phantom point cloud acquisition unit 901 is used to determine a first phantom point cloud of the phantom in a reference coordinate system where a reference imaging device is located;

[0142] The bed motion information and conversion relationship determination unit 902 is used to obtain the bed motion information of the phantom moving from the imaging center of the reference imaging device to the imaging center of the target imaging device and the conversion relationship between the target coordinate system and the reference coordinate system;

[0143] A conversion phantom point cloud acquisition unit 903 is used to determine a conversion phantom point cloud of the phantom in a target coordinate system based on the conversion relationship, the bed motion information and the first phantom point cloud;

[0144] A second phantom point cloud acquisition unit 904 is used to acquire a second phantom point cloud of the phantom in the device coordinate system;

[0145] The calibration unit 905 is used to determine the calibration relationship between the target coordinate system and the device coordinate system according to the conversion phantom point cloud and the second phantom point cloud.

[0146] The coordinate system calibration device 900 provided in the above embodiment can implement the technical solution described in the above coordinate system calibration method embodiment. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above coordinate system calibration method embodiment, which will not be repeated here.

[0147] like Fig.10 As shown, the present invention also provides an electronic device 1000. The electronic device 1000 includes a processor 1001, a memory 1002 and a display 1003. Fig.10 Only some components of the electronic device 1000 are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0148] In some embodiments, the processor 1001 may be a central processing unit (CPU), a microprocessor or other data processing chip, and is used to run program codes or process data stored in the memory 1002, such as the coordinate system calibration method of the present invention.

[0149] In some embodiments, the processor 1001 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, the processor 1001 may be local or remote. In some embodiments, the processor 1001 may be implemented in a cloud platform. In one embodiment, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-cloud, etc., or any combination thereof.

[0150] In some embodiments, the memory 1002 may be an internal storage unit of the electronic device 1000, such as a hard disk or memory of the electronic device 1000. In other embodiments, the memory 1002 may also be an external storage device of the electronic device 1000, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1000.

[0151] Furthermore, the memory 1002 may include both an internal storage unit of the electronic device 1000 and an external storage device. The memory 1002 is used to store application software installed in the electronic device 1000 and various data.

[0152] In some embodiments, the display 1003 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 1003 is used to display information on the electronic device 1000 and to display a visual user interface. The components 1001-1003 of the electronic device 1000 communicate with each other via a system bus.

[0153] In one embodiment, when the processor 1001 executes the coordinate system calibration program in the memory 1002, the following steps may be implemented:

[0154] Determine a first phantom point cloud of the phantom in a reference coordinate system where a reference imaging device is located;

[0155] Acquire bed motion information of the phantom moving from an imaging center of a reference imaging device to an imaging center of a target imaging device and a conversion relationship between a target coordinate system and a reference coordinate system;

[0156] Determine a transformed phantom point cloud of the phantom in a target coordinate system based on the transformation relationship, the bed motion information, and the first phantom point cloud;

[0157] Obtain the second phantom point cloud of the phantom in the device coordinate system;

[0158] The calibration relationship between the target coordinate system and the device coordinate system is determined based on the transformed phantom point cloud and the second phantom point cloud.

[0159] It should be understood that: when the processor 1001 executes the coordinate system calibration program in the memory 1002, in addition to the above functions, other functions can also be implemented. For details, please refer to the description of the corresponding method embodiment above.

[0160] Furthermore, the embodiment of the present invention does not specifically limit the type of the electronic device 1000 mentioned, and the electronic device 1000 may be a portable electronic device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, etc. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with IOS, Android, Microsoft or other operating systems. The above-mentioned portable electronic devices may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, the electronic device 1000 may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0161] Accordingly, an embodiment of the present application also provides a computer-readable storage medium, which is used to store computer-readable programs or instructions. When the program or instructions are executed by a processor, the steps or functions in the coordinate system calibration method provided in the above-mentioned method embodiments can be implemented.

[0162] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the computer program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0163] The coordinate system calibration method, device, electronic device and storage medium provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A coordinate system calibration method, It is characterized in that Applied to a multimodal medical imaging system, the multimodal medical imaging system includes a target imaging device, a reference imaging device and a shooting device, the coordinate system calibration method is used to calibrate a target coordinate system where the target imaging device is located and a device coordinate system where the shooting device is located, and the coordinate system calibration method includes: Determine a first phantom point cloud of the phantom in a reference coordinate system where the reference imaging device is located; Acquire bed motion information of the phantom moving from an imaging center of the reference imaging device to an imaging center of the target imaging device and a conversion relationship between the target coordinate system and the reference coordinate system; Determine a transformed phantom point cloud of the phantom in the target coordinate system based on the conversion relationship, the bed motion information, and the first phantom point cloud; Acquire a second phantom point cloud of the phantom in the device coordinate system; A calibration relationship between the target coordinate system and the device coordinate system is determined according to the conversion phantom point cloud and the second phantom point cloud.

2. The coordinate system calibration method according to claim 1, It is characterized in that The determining a first phantom point cloud of the phantom in a reference coordinate system of the reference imaging device includes: Based on the reference imaging device, obtaining a first image of the phantom; Preprocessing the first image to obtain a set of voxels representing a surface of a phantom; Acquire image tag information of the first image; Based on the voxel set and the image label information, the first phantom point cloud is obtained.

3. The coordinate system calibration method according to claim 2, It is characterized in that The step of obtaining the first phantom point cloud based on the voxel and the image label information includes: Obtaining a mapping relationship between an image coordinate system where the first image is located and the reference coordinate system based on the image tag information; Based on the mapping relationship and the voxels, the first phantom point cloud is obtained.

4. The coordinate system calibration method according to claim 1, It is characterized in that The step of determining the transformed phantom point cloud of the phantom in the target coordinate system based on the transformation relationship, the bed motion information, and the first phantom point cloud includes: Based on the bed motion information, moving the first phantom point cloud from an imaging center of the reference imaging device to an imaging center of the target imaging device; The transformed phantom point cloud is obtained based on the moved first phantom point cloud and the transformation relationship between the target coordinate system and the reference coordinate system.

5. The coordinate system calibration method according to claim 1, It is characterized in that The step of obtaining a second phantom point cloud of the phantom in the device coordinate system includes: Acquire a depth image of the phantom at the imaging center position of the target imaging device captured by the shooting device; Acquire imaging parameters of the shooting device, and obtain the second phantom point cloud according to the depth image and the imaging parameters.

6. The coordinate system calibration method according to claim 1, It is characterized in that The step of determining a calibration relationship between the target coordinate system and the device coordinate system according to the conversion phantom point cloud and the second phantom point cloud includes: Determining a coarse registration transformation relationship between the conversion phantom point cloud and the second phantom point cloud based on a centroid algorithm; Determining a precise registration conversion relationship between the roughly registered conversion phantom point cloud and the second phantom point cloud based on an iterative closest point algorithm; A calibration relationship between the target coordinate system and the device coordinate system is determined based on the coarse registration transformation relationship and the fine registration transformation relationship.

7. The coordinate system calibration method according to claim 6, It is characterized in that The method of determining a coarse registration conversion relationship between the conversion phantom point cloud and the second phantom point cloud based on a centroid algorithm includes: Acquire a first centroid of the converted phantom point cloud and a second centroid of the second phantom point cloud, and determine a centroid displacement between the first centroid and the second centroid; Determining a rotation angle between the conversion phantom point cloud and the second phantom point cloud based on an installation angle of the photographing device; A coarse registration transformation relationship between the conversion phantom point cloud and the second phantom point cloud is obtained based on the centroid displacement and the rotation angle.

8. The coordinate system calibration method according to claim 6, It is characterized in that The method of determining the precise registration conversion relationship between the roughly registered conversion phantom point cloud and the second phantom point cloud based on an iterative closest point algorithm comprises: Step 1: Find corresponding points of the second phantom point cloud after rough registration in the transformed phantom point cloud to obtain a point cloud matching point set; Step 2: Calculate the rigid body transformation parameters that minimize the average distance between matching points in the point cloud matching point set according to the point cloud matching point set; Step 3: updating the second phantom point cloud based on the rigid body transformation parameters to obtain an updated phantom point cloud; Step 4: find the corresponding points of the updated model point cloud in the converted model point cloud to obtain the updated point cloud matching point set. If the average distance of the updated point cloud matching point set is less than the threshold distance, the rigid body transformation parameter is the precise registration transformation relationship. If the average distance of the updated point cloud matching point set is greater than or equal to the threshold distance, the rigid body transformation parameters in this iteration process are recorded, and the updated model point cloud is used as the second model point cloud. Repeat steps 1 to 4. Finally, the dot product result of the rigid body transformation parameters recorded in all iterations is the precise registration transformation relationship.

9. The coordinate system calibration method according to claim 1, It is characterized in that Before registering the conversion phantom point cloud and the second phantom point cloud, the method further includes: Downsampling is performed on the conversion phantom point cloud and / or the second phantom point cloud.

10. A coordinate system calibration device, It is characterized in that Applied to a multimodal medical imaging system, the multimodal medical imaging system includes a target imaging device, a reference imaging device and a shooting device, the coordinate system calibration device is used to calibrate a target coordinate system where the target imaging device is located and a device coordinate system where the shooting device is located, and the coordinate system calibration device includes: A first phantom point cloud acquisition unit, used to determine a first phantom point cloud of the phantom in a reference coordinate system where the reference imaging device is located; a bed motion information and conversion relationship determination unit, used to obtain bed motion information of the phantom moving from the imaging center of the reference imaging device to the imaging center of the target imaging device and a conversion relationship between the target coordinate system and the reference coordinate system; a conversion phantom point cloud acquisition unit, configured to determine a conversion phantom point cloud of the phantom in the target coordinate system based on the conversion relationship, the bed motion information and the first phantom point cloud; A second phantom point cloud acquisition unit, used for acquiring a second phantom point cloud of the phantom in the device coordinate system; A calibration unit is used to determine a calibration relationship between the target coordinate system and the device coordinate system according to the conversion phantom point cloud and the second phantom point cloud.

11. An electronic device, It is characterized in that comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the coordinate system calibration method described in any one of claims 1 to 9 above.

12. A computer-readable storage medium, It is characterized in that Used to store computer-readable programs or instructions, which, when executed by a processor, can implement the steps of the coordinate system calibration method described in any one of claims 1 to 9.