Three-dimensional medical image registration method and apparatus, electronic device, and storage medium

By determining the displacement deviation of the target point and calculating the global displacement, the three-dimensional medical image is registered, which solves the registration errors of complex scenes and image distortion in the existing technology, and improves the registration accuracy and efficiency of image pairs with large initial deviations. , ensuring the clinical significance of the registration results.

WO2024212236A1PCT designated stage expired Publication Date: 2024-10-17SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/088476
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

Existing 3D medical image registration technology is prone to mismatching or registration failure in complex scenes and image distortions. In particular, image pairs with large initial deviations are difficult to register effectively.

Method used

By determining the target point from the moving image that matches the preset reference point on the reference image, the displacement deviation of the target point is obtained, and the global displacement is calculated based on these displacement deviations to register the moving image to ensure that the registered image points conform to anatomical requirements as much as possible.

Benefits of technology

It effectively solves registration errors in complex scenes and image distortion situations, improves the registration accuracy and efficiency of image pairs with large initial deviations, and makes the registration results clinically meaningful.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023088476_17102024_PF_FP_ABST
    Figure CN2023088476_17102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of medical image processing, and in particular, to a three-dimensional medical image registration method and apparatus, an electronic device, and a storage medium. The method comprises: determining, on a moving image, a target point matching a reference point preset on a reference image, wherein one or more reference points are preset, and therefore, one or more target points are provided, and matching between the reference points on the reference image and the target points on the moving image can be achieved; determining a global displacement of the moving image according to displacement deviations of all the target points, so that all the target points in the moving image can be constrained and a spatial relationship between all the target points can be established; and registering the moving image according to the global displacement, so that points in the registered moving image can meet the requirements of an anatomical structure as much as possible.
Need to check novelty before this filing date? Find Prior Art

Description

Three-dimensional medical image registration method, device, electronic device and storage medium Technical Field

[0001] The present application relates to the technical field of medical image processing, and in particular to a three-dimensional medical image registration method, device, electronic device and storage medium. Background Art

[0002] In recent years, many scholars have proposed many three-dimensional image registration methods, which can be generally divided into three categories: classic iterative optimization registration algorithms, image registration paradigms based on convolutional neural networks (CNNs), and Transformer-based registration methods.

[0003] Classic iterative optimization registration algorithms show good results in image registration, but they require defining a new objective function for each pair of images, making the registration process time-consuming and inefficient.

[0004] The image registration paradigm based on convolutional neural networks (CNNs) learns its model parameters on a training dataset to predict the deformation field between unseen image pairs. However, the currently commonly used medical image registration paradigm uses only one model based on a similarity metric to register all images, which can lead to mismatches in complex scenes and distorted images.

[0005] Supervised registration uses a synthetic deformation field as supervision, but a true deformation field is difficult to obtain. To effectively perform deformable registration, it is necessary to infer semantic correspondences between fine-grained structures in the region of interest. However, due to the varying shapes and scales of volumetric images, identifying truly matching anatomical structures is challenging. Unsupervised registration models, on the other hand, only provide correspondence capabilities, not perception, making them difficult to handle misaligned anatomical structures. Existing registration techniques often fail to match image pairs with large initial misalignments.

[0006] Transformer-based registration methods are more suitable for representing spatial relationships in large-deformation registration, and their application in 3D registration has been explored. However, their main application is brain map registration and they are not yet applicable to large-deformation scenarios.

[0007] Summary of the Invention

[0008] The embodiments of the present application provide a three-dimensional medical image registration method to solve the problems in the prior art of misregistration and registration failure in complex scenes, image distortion, and image pairs with large initial deviations.

[0009] Correspondingly, an embodiment of the present application also provides an image registration device, an electronic device, and a storage medium to ensure the implementation and application of the above method.

[0010] In order to solve the above technical problems, the present application discloses a three-dimensional medical image registration method, which includes:

[0011] Determining a target point on the moving image that matches a reference point preset on the reference image, and obtaining a displacement deviation of the target point relative to the reference point; one or more reference points are preset;

[0012] determining a global displacement of the moving image according to the displacement deviations of all the target points;

[0013] The moving images are registered according to the global displacement.

[0014] The present application also discloses a three-dimensional medical image registration device, comprising:

[0015] A feature query module is used to determine a target point on the moving image that matches a reference point preset on the reference image, and obtain a displacement deviation of the target point relative to the reference point; one or more reference points are preset;

[0016] a position resetting module, configured to determine a global displacement of the moving image according to the displacement deviations of all the target points;

[0017] The position resetting module is further used to register the moving image according to the global displacement.

[0018] An embodiment of the present application further discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, one or more methods described in the embodiments of the present application are implemented.

[0019] The embodiments of the present application further disclose a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, one or more methods described in the embodiments of the present application are implemented.

[0020] In an embodiment of the present application, a target point that matches a reference point preset on a reference image is determined from a moving image; wherein, one or more reference points are preset, and therefore, the target point also has one or more, which can achieve matching between the reference point on the reference image and the target point on the moving image; based on the displacement deviations of all the target points, the global displacement of the moving image is determined, all target points in the moving image can be constrained, and a spatial relationship between all target points is established; and the moving image is registered based on the global displacement, so that the points in the registered moving image can meet the requirements of the anatomical structure as much as possible.

[0021] Additional aspects and advantages of the embodiments of the present application will be given in the following description, which will become apparent from the following description or be understood through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0023] FIG1 is a flow chart of a three-dimensional medical image registration method provided in an embodiment of the present application;

[0024] FIG2 is a network framework diagram of a three-dimensional medical image registration method provided in an embodiment of the present application;

[0025] FIG3 is a flowchart of a three-dimensional medical image registration method according to an embodiment of the present application;

[0026] FIG4 is a schematic diagram of a transponder module provided in an embodiment of the present application;

[0027] FIG5 is a schematic structural diagram of a three-dimensional medical image registration device provided in an embodiment of the present application;

[0028] FIG6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] The following describes embodiments of the present application in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and are not to be construed as limiting the present application.

[0030] It will be understood by those skilled in the art that, unless expressly stated otherwise, the singular forms "a", "an", "said" and "the" used herein may also include the plural forms. It should be further understood that the term "comprising" used in the specification of this application refers to the presence of features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, "connected" or "coupled" as used herein may include wireless connections or wireless couplings. The term "and / or" used herein includes all or any units and all combinations of one or more associated listed items.

[0031] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art in the art to which the present invention pertains. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art and, unless specifically defined as herein, will not be interpreted in an idealized or overly formal sense.

[0032] The solution provided in the embodiments of the present application can be executed by any electronic device, such as a terminal device or a server, wherein the server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application does not limit this. With respect to the technical problems existing in the prior art, the three-dimensional medical image registration method, device, electronic device and storage medium provided in this application are intended to solve at least one of the technical problems of the prior art.

[0033] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0034] An embodiment of the present application provides a possible implementation method, as shown in FIG1 , which provides a flowchart of a three-dimensional medical image registration method. The solution can be executed by any electronic device, and optionally, can be executed on a server or terminal device.

[0035] As shown in FIG1 , the method may include the following steps:

[0036] Step 101 : determining a target point on a moving image that matches a preset reference point on a reference image, and obtaining a displacement deviation of the target point relative to the reference point.

[0037] There are one or more preset reference points, and therefore, there may be one or more corresponding target points.

[0038] The reference point can be a global point on the reference image or a point in a local area of ​​interest on the reference image. In this embodiment, for each reference point on the reference image, a corresponding target point is obtained from the moving image, and the displacement deviation of the target point relative to the reference point is obtained, which can be specifically as follows:

[0039] 2 , a reference feature vector corresponding to a pre-obtained reference image, a moving feature vector corresponding to a pre-obtained moving image, and a reference point vector corresponding to a pre-set reference point are input into a query responder. With the aid of the reference feature vector and the moving feature vector, the query responder continuously optimizes the network by calculating the square error loss between the coordinates of the corresponding target point on the moving image and its true coordinates, so that the network outputs the displacement deviation between the coordinates of the target point on the moving image and the coordinates of the reference point on the reference image.

[0040] In this embodiment, the position coordinates of the target point may be calculated based on the position coordinates of the reference point and the displacement deviation of the corresponding target point to determine the target point that matches the reference point.

[0041] Step 102: Determine the global displacement of the moving image according to the displacement deviations of all the target points.

[0042] In Figure 2, the global displacement of the moving image is determined based on the displacement deviation of all the target points, which is achieved by a position resetter. Specifically, the displacement deviation of the target point includes the deviation in the X direction, the deviation in the Y direction, and the deviation in the Z direction. The overall deviation of the moving image in the Z direction can be obtained by the deviation of each target point in the X direction; the overall deviation of the moving image in the Y direction can be obtained by the deviation of each target point in the Y direction; and the overall deviation of the moving image in the Z direction can be obtained by the deviation of each target point in the Z direction. In this embodiment, the overall deviation of all moving images in the X direction, the overall deviation in the Y direction, and the overall deviation in the Z direction are used as the global displacement of the moving image. The global displacement of the moving image obtained by the displacement deviation of all target points can represent the overall displacement direction of the moving image.

[0043] Step 103: register the moving image according to the global displacement.

[0044] Since the overall displacement and transformation of the moving image can be determined by the global displacement, the moving image can be registered to constrain the positional relationship between all points in the moving image and restrict points with unreasonable deformation, so that all points meet the requirements of the anatomical structure as much as possible, making the final registration result clinically meaningful.

[0045] Optionally, as shown in FIG2 , the registration direction may be determined according to the global displacement, and the moving image may be registered by grid sampling to obtain a response image (ie, the registered moving image).

[0046] Among them, the loss value between the moving image and the response image can be calculated through the cross-correlation loss function to optimize the network.

[0047] In this embodiment, if the reference point is a point in a local region of interest on the reference image, the network can be driven to learn more about the features of the region of interest, thereby obtaining a more accurate and fine-grained registration result.

[0048] In an embodiment of the present application, a target point that matches a reference point preset on a reference image is determined from a moving image; wherein, one or more reference points are preset, and therefore, the target point also has one or more, which can achieve matching between the reference point on the reference image and the target point on the moving image; based on the displacement deviations of all the target points, the global displacement of the moving image is determined, all target points in the moving image can be constrained, and a spatial relationship between all target points is established; and the moving image is registered based on the global displacement, so that the points in the registered moving image can meet the requirements of the anatomical structure as much as possible.

[0049] In an optional embodiment, referring to FIG. 3 , before determining, from the moving image, a target point that matches a preset reference point on the reference image and obtaining a displacement deviation of the target point relative to the reference point, the method further includes:

[0050] An encoder is used to extract a feature map of the reference image and a feature map of the moving image.

[0051] Among them, the role of the encoder is to extract features from the input image pair (reference image and moving image). In this embodiment, a convolutional neural network (CNN) can be trained based on the backbone network of the Med3D network as an encoder for extracting features. Optionally, weights are shared between the encoder that extracts the feature map of the reference image and the encoder that extracts the features of the moving image. Sharing weights can reduce the number of parameters of the convolutional neural network, thereby reducing the risk of overfitting and improving the generalization ability of the model. In addition, the same weights can be reused at different time steps or positions, which can reduce the number of weight updates and make the training process more efficient.

[0052] Optionally, a weight-sharing encoder is used to extract the feature map of the reference image and the feature map of the moving image, respectively, as follows:

[0053] Will I r and I s ∈R D×H×W The reference image and the moving image are cropped and resized to D, H, W = 128 respectively, and then the feature map of the reference image and the feature map of the moving image are extracted respectively.

[0054] In an optional embodiment, determining a target point on the moving image that matches a reference point preset on the reference image and obtaining a displacement deviation of the target point relative to the reference point includes:

[0055] According to the feature map of the reference image, the feature map of the moving image, and the reference point, a target point matching the reference point is determined, and the displacement deviation is obtained.

[0056] Specifically, the correlation between and within the reference image and the moving image can be simulated through the feature map of the reference image, the feature map of the moving image, and the reference point, thereby determining the target point corresponding to the reference point.

[0057] In an optional embodiment, determining a target point that matches the reference point based on the feature map of the reference image, the feature map of the moving image, and the reference point, and obtaining the displacement deviation includes:

[0058] Position-encoding the feature map of the reference image, the feature map of the moving image, and the reference point to generate a reference feature vector, a moving feature vector, and a reference point vector, respectively;

[0059] The reference feature vector, the movement feature vector, and the reference point vector are processed by a self-attention mechanism network to obtain a displacement deviation of the target point relative to the reference point.

[0060] Optionally, referring to FIG3 , the feature map of the reference image and the feature map of the moving image are combined into a feature sequence;

[0061] The feature sequence is then input into the linear mapping layer, after which the feature maps in the feature sequence are positionally encoded.

[0062] Specifically, the feature map of the reference image and the feature map of the moving image are merged in the Z-axis direction to obtain a feature sequence, which is as follows: in,

[0063] Optionally, for each feature map (h, w, d), its sine encoding vector and cosine encoding vector can be calculated using the following formula:

[0064] Among them, h represents the height of the feature map, w represents the width of the feature map, d represents the dimension of the feature map, and i represents the i-th feature map.

[0065] Finally, the sine code vector and the cosine code vector can be spliced ​​according to certain rules. For example, they can be spliced ​​as follows:

[0066] After splicing in the above manner, the final feature vector (including the above reference feature vector and moving feature vector) is obtained.

[0067] The reference point is position-encoded as follows:

[0068] The position of each reference point is encoded as a reference point vector i(i∈R M ), where M = 192.

[0069] In this embodiment, the reference point vector has the same size as the reference feature vector and the movement feature vector.

[0070] In this embodiment, referring to FIG3 , the above-mentioned feature vectors (including reference feature vectors and moving feature vectors) and the reference point vector can be input into the query responder shown in FIG3 , wherein the query responder includes a responder module, and the responder module is deployed with a self-attention mechanism network, or the responder module is composed of a self-attention mechanism network. The self-attention mechanism network can simulate the correlation between and within the reference image and the moving image. Among them, the specific algorithm for the self-attention mechanism network to simulate the correlation between and within the reference image and the moving image is as follows:

[0071] Wherein, Q is a reference point vector; K and V are both vectors obtained by mapping the feature map of the reference image and the feature map of the moving image.

[0072] The multi-layer perceptron can calculate and process the characteristic parameters obtained after the transponder module is processed to determine the target point and the displacement deviation of the target point relative to the reference point, and output the displacement deviation of the target point.

[0073] The reference point and the target point both have corresponding position information, such as position coordinates. The displacement deviation of the target point relative to the reference point can be calculated based on the position information of the target point and the position information of the reference point.

[0074] In this embodiment, the position coordinates (x1, y1, z1) of the target point can be obtained using the position coordinates (x, y, z) of the reference point and the displacement deviation of the target point. Specifically, the position coordinates (x, y, z) of the reference point are added to the displacement deviation of the target point to obtain the position coordinates (x1, y1, z1) of the target point, i.e., the response result (x1, y1, z1) shown in Figure 3.

[0075] Alternatively, referring to FIG4 , the transponder module is composed of multiple sets of serially connected encoders and decoders, each of which is composed of a multi-head attention layer, a normalization layer, and a feedforward network layer. The process of simulating the correlation between the reference image and the moving image and the internal correlation in the transponder module can be as follows:

[0076] In the encoder part, the reference point and the reference point vector formed by position encoding the reference point are input into the multi-head attention layer and the normalization layer (each set of multi-head attention layer and normalization layer can be cycled multiple times); then the result is used as the input of the decoder part;

[0077] In the decoder, the feature vector is fed into the multi-head attention layer, passes through the normalization layer, and then passes through the feedforward network layer and normalization layer. It is then fed into the multi-head attention layer and normalization layer, the feedforward network layer and normalization layer, along with the results received from the encoder, and finally outputs the prediction result. Each set of multi-head attention layers and normalization layers can be repeated multiple times, and each set of feedforward layers and normalization layers can be repeated multiple times.

[0078] In an optional embodiment, determining the global displacement of the moving image according to the displacement deviations of all the target points includes:

[0079] The average displacement deviations of the displacement deviations of all the target points in the x, y and z directions are obtained, and the average displacement deviations in the x, y and z directions are used as the global displacement of the moving image.

[0080] The average displacement deviation of the target point in the x, y and z directions can reflect the overall offset direction of the moving image.

[0081] In an optional embodiment, registering the moving image according to the global displacement includes:

[0082] Grid sampling is performed according to the global displacement to obtain a translation-corrected moving image.

[0083] When a moving image is moved or transformed according to a global displacement, it is possible to avoid the problem that some local points in the moving image are determined to be erroneous, thereby leading to erroneous interpretation or decision.

[0084] Based on the same principle as the method provided in the embodiment of the present application, the embodiment of the present application further provides an image registration device, as shown in FIG5 , the device comprising:

[0085] The feature query module 501 is configured to determine a target point on the moving image that matches a preset reference point on the reference image, and obtain a displacement deviation of the target point relative to the reference point.

[0086] There are one or more preset reference points, and therefore, there may be one or more corresponding target points.

[0087] The reference point can be a global point on the reference image or a point in a local area of ​​interest on the reference image. In this embodiment, for each reference point on the reference image, a corresponding target point is obtained from the moving image, and the displacement deviation of the target point relative to the reference point is obtained, which can be specifically as follows:

[0088] 2 , a reference feature vector corresponding to a pre-obtained reference image, a moving feature vector corresponding to a pre-obtained moving image, and a reference point vector corresponding to a pre-set reference point are input into a query responder. With the aid of the reference feature vector and the moving feature vector, the query responder continuously optimizes the network by calculating the square error loss between the coordinates of the corresponding target point on the moving image and its true coordinates, so that the network outputs the displacement deviation between the coordinates of the target point on the moving image and the coordinates of the reference point on the reference image.

[0089] In this embodiment, the position coordinates of the target point may be calculated based on the position coordinates of the reference point and the displacement deviation of the corresponding target point to determine the target point that matches the reference point.

[0090] The position resetting module 502 is configured to determine a global displacement of the moving image according to the displacement deviations of all the target points.

[0091] In Figure 2, the global displacement of the moving image is determined based on the displacement deviation of all the target points, which is achieved by a position resetter. Specifically, the displacement deviation of the target point includes the deviation in the X direction, the deviation in the Y direction, and the deviation in the Z direction. The overall deviation of the moving image in the Z direction can be obtained by the deviation of each target point in the X direction; the overall deviation of the moving image in the Y direction can be obtained by the deviation of each target point in the Y direction; and the overall deviation of the moving image in the Z direction can be obtained by the deviation of each target point in the Z direction. In this embodiment, the overall deviation of all moving images in the X direction, the overall deviation in the Y direction, and the overall deviation in the Z direction are used as the global displacement of the moving image. The global displacement of the moving image obtained by the displacement deviation of all target points can represent the overall displacement direction of the moving image.

[0092] The position resetting module 502 is further configured to register the moving image according to the shift amount.

[0093] Since the overall displacement and transformation of the moving image can be determined by the global displacement, the moving image can be registered to constrain the positional relationship between all points in the moving image and restrict points with unreasonable deformation, so that all points meet the requirements of the anatomical structure as much as possible, making the final registration result clinically meaningful.

[0094] Optionally, as shown in FIG2 , the registration direction may be determined according to the global displacement, and the moving image may be registered by grid sampling to obtain a response image (ie, the registered moving image).

[0095] Among them, the loss value between the moving image and the response image can be calculated through the cross-correlation loss function to optimize the network.

[0096] In this embodiment, if the reference point is a point in a local region of interest on the reference image, the network can be driven to learn more about the features of the region of interest, thereby obtaining a more accurate and fine-grained registration result.

[0097] In an embodiment of the present application, a feature query module determines a target point on a moving image that matches a reference point preset on a reference image; wherein, one or more reference points are preset, and therefore, the target point also has one or more, which can achieve matching between the reference point on the reference image and the target point on the moving image; the position determination module determines the global displacement of the moving image based on the displacement deviation of all the target points, and can constrain all target points in the moving image and establish a spatial relationship between all target points; the position reset module also aligns the moving image based on the global displacement, so that the points in the aligned moving image can meet the requirements of the anatomical structure as much as possible.

[0098] In an optional embodiment of the present application, the device further includes:

[0099] The feature extraction module is used to extract the feature map of the reference image and the feature map of the moving image using an encoder.

[0100] In an optional embodiment of the present application, the feature query module 501 includes:

[0101] The first feature query submodule determines a target point that matches the reference point based on the feature map of the reference image, the feature map of the moving image, and the reference point, and obtains the displacement deviation.

[0102] In an optional embodiment of the present application, the first feature query submodule includes:

[0103] a feature encoding unit, configured to perform position encoding on the feature map of the reference image, the feature map of the moving image, and the reference point, to generate a reference feature vector, a moving feature vector, and a reference point vector, respectively;

[0104] A feature processing unit is used to process the reference feature vector, the movement feature vector and the reference point vector through a self-attention mechanism network to obtain the displacement deviation of the target point relative to the reference point.

[0105] In an optional embodiment of the present application, the reference point vector has the same size as the reference feature vector and the movement feature vector.

[0106] In an optional embodiment of the present application, the position resetting module 502 includes:

[0107] The first position resetting submodule is used to obtain the average displacement deviation of the displacement deviations of all the target points in the x, y and z directions respectively, and use the average displacement deviations in the x, y and z directions respectively as the global displacement of the moving image.

[0108] In an optional embodiment of the present application, the position resetting module 502 further includes:

[0109] The second position resetting submodule is used to perform grid sampling according to the global displacement to obtain a moving image that has been corrected for translation.

[0110] The image registration device provided in the embodiment of the present application can implement each process implemented in the method embodiments of Figures 1 to 5. To avoid repetition, they are not described here.

[0111] The three-dimensional medical image registration device of the embodiment of the present application can execute the three-dimensional medical image registration method provided in the embodiment of the present application. The implementation principles are similar. The actions performed by each module and unit in the three-dimensional medical image registration device in each embodiment of the present application correspond to the steps in the three-dimensional medical image registration method in each embodiment of the present application. For the detailed functional description of each module of the three-dimensional medical image registration device, please refer to the description of the corresponding three-dimensional medical image registration method shown in the previous text, and will not be repeated here.

[0112] Based on the same principle as the method shown in the embodiment of the present application, the embodiment of the present application also provides an electronic device, which may include but is not limited to: a processor and a memory; the memory is used to store a computer program; the processor is used to execute the three-dimensional medical image registration method shown in any optional embodiment of the present application by calling the computer program. Compared with the prior art, the three-dimensional medical image registration method provided by the present application determines a target point on the moving image that matches a preset reference point on the reference image; wherein, the reference point is preset with one or more, and therefore, the target point also has one or more, which can achieve matching between the reference point on the reference image and the target point on the moving image; based on the displacement deviation of all the target points, the global displacement of the moving image is determined, and all target points in the moving image can be constrained to establish a spatial relationship between all target points; the moving image is registered according to the global displacement, so that the points in the registered moving image can meet the requirements of the anatomical structure as much as possible.

[0113] In an optional embodiment, an electronic device is also provided, as shown in FIG6 . The electronic device 600 shown in FIG6 may be a server and includes a processor 601 and a memory 603. The processor 601 and the memory 603 are connected, for example, via a bus 602. Optionally, the electronic device 600 may further include a transceiver 604. It should be noted that in actual applications, the number of transceivers 604 is not limited to one, and the structure of the electronic device 600 does not constitute a limitation on the embodiments of this application.

[0114] The processor 601 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor 601 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0115] Bus 602 may include a path for transmitting information between the aforementioned components. Bus 602 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, for example. Bus 602 may be divided into an address bus, a data bus, a control bus, and so on. For ease of illustration, FIG6 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.

[0116] The memory 603 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0117] The memory 603 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 601. The processor 601 is used to execute the application code stored in the memory 603 to implement the content shown in the above method embodiment.

[0118] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG6 is merely an example and should not limit the functionality and scope of use of the embodiments of the present application.

[0119] The server provided in this application can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to these. The terminal and the server can be directly or indirectly connected through wired or wireless communication, and this application does not limit this.

[0120] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding contents of the aforementioned method embodiment.

[0121] It should be understood that although the steps in the flowcharts of the accompanying drawings are shown in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the flowcharts of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0122] It should be noted that the computer-readable storage medium mentioned above in this application may also be a computer-readable signal medium or a combination of a computer-readable storage medium and a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or device. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0123] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0124] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.

[0125] According to one aspect of the present application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the three-dimensional medical image registration method provided in the various optional implementations described above.

[0126] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0127] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0128] The modules described in the embodiments of the present application may be implemented in software or hardware. In some cases, the name of a module does not limit the module itself. For example, a position resetting module may also be described as a "position resetting module for registering the moving image according to the global displacement."

[0129] The above description is merely a preferred embodiment of the present application and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this application is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but also encompasses other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this application.

Claims

1. A three-dimensional medical image registration method, characterized in that: The method comprises: Determine a target point on the moving image that matches a reference point preset on the reference image, and obtain a displacement deviation of the target point relative to the reference point; one or more reference points are preset; Determining a global displacement of the moving image according to the displacement deviations of all the target points; The moving images are registered according to the global displacement.

2. The three-dimensional medical image registration method according to claim 1, characterized in that: Before determining a target point matching a preset reference point on the reference image from the moving image and obtaining a displacement deviation of the target point relative to the reference point, the method further includes: An encoder is used to extract a feature map of the reference image and a feature map of the moving image.

3. The three-dimensional medical image registration method according to claim 2, characterized in that: The step of determining a target point on the moving image that matches a reference point preset on the reference image, and obtaining a displacement deviation of the target point relative to the reference point, includes: According to the feature map of the reference image, the feature map of the moving image and the reference point, a target point matching the reference point is determined, and the displacement deviation is obtained.

4. The three-dimensional medical image registration method according to claim 3, characterized in that: The step of determining a target point matching the reference point according to the feature map of the reference image, the feature map of the moving image, and the reference point, and acquiring the displacement deviation includes: Position encoding is performed on the feature map of the reference image, the feature map of the moving image, and the reference point to generate a reference feature vector, a moving feature vector, and a reference point vector, respectively; The reference feature vector, the movement feature vector and the reference point vector are processed through a self-attention mechanism network to obtain a displacement deviation of the target point relative to the reference point.

5. The three-dimensional medical image registration method according to claim 4, characterized in that: The reference point vector has the same size as the reference feature vector and the movement feature vector.

6. The three-dimensional medical image registration method according to claim 1, characterized in that: Determining the global displacement of the moving image according to the displacement deviations of all the target points includes: Obtain the average displacement deviation of the displacement deviations of all the target points in the x, y and z directions, and use the average displacement deviations in the x, y and z directions as the global displacement deviation of the moving image. Displacement.

7. The three-dimensional medical image registration method according to any one of claims 1 to 6, characterized in that: The registering the moving image according to the global displacement comprises: Grid sampling is performed according to the global displacement to obtain a translation-corrected moving image.

8. A three-dimensional medical image registration device, characterized in that: The device comprises: A feature query module, used to determine a target point on the moving image that matches a reference point preset on the reference image, and obtain a displacement deviation of the target point relative to the reference point; one or more reference points are preset; A position resetting module, used for determining the global displacement of the moving image according to the displacement deviations of all the target points; The position resetting module is further used to register the moving image according to the global displacement.

9. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Image registration method and device, equipment and storage medium

    CN115115676A

  • Target registration method and device, equipment, storage medium and program product

    CN115187550A

  • Image registration network model and establishment method and equipment thereof, and medium

    CN115359103A

  • Medical image processing

    US20150003696A1