Motion detection and motion compensation on the basis of image data
An end-to-end trained machine learning model for motion detection and spatial transformation in X-ray-based imaging eliminates the need for manual preprocessing, enhancing the accuracy and efficiency of motion detection in medical imaging.
Patent Information
- Application Number
- US19/663641
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-22
- Filing Date
- 2026-04-30
- Publication Date
- 2026-11-26
AI Technical Summary
Existing motion-compensated reconstruction techniques in X-ray-based imaging, such as CT or CBCT, require manual preprocessing and alignment of image data, limiting scalability and practical implementation in clinical environments.
A machine learning model (MLM) is trained end-to-end to perform both motion detection and spatial transformation, eliminating the need for manual alignment by learning optimal data representations for motion detection tasks.
The MLM enables automatic alignment and preprocessing, improving the accuracy, consistency, and efficiency of motion detection in medical imaging applications without manual intervention.
Smart Images

Figure US20260378071A1-D00000_ABST
Abstract
Description
[0001] The present patent document claims the benefit of German Patent Application No. 10 2025120 041.6, filed May. 22, 2025, which is hereby incorporated by reference in its entirety.TECHNICAL FIELD
[0002] The present disclosure relates to a computer-implemented training method for training a machine learning model for motion detection on the basis of image data, a computer-implemented method for motion detection on the basis of image data, a computer-implemented method for motion compensation for image data, a data processing system for performing the method, an imaging system with such a data processing system, and a corresponding computer program product.BACKGROUND
[0003] With the aid of X-ray-based imaging methods, in particular computed tomography (CT) or cone-beam computed tomography (CBCT), it is possible to assess brain structures, among other things, during surgical interventions. During the differential diagnosis of strokes, for example, this helps with assigning them to the ischemic or hemorrhagic category. A significant obstacle for a high-quality image assessment, however, is the motion of the patient, which distorts the geometric information used for the reconstruction.
[0004] Motion-compensated reconstruction techniques may reduce motion artifacts by estimating or assuming a model of the patient motion and taking this into consideration during the reconstruction. In order to avoid reconstructions with insufficient quality and / or the repetition of the recording, the reliability or accuracy of the model is crucial.
[0005] The publication A. Preuhs et al., “Appearance learning for image-based motion estimation in tomography,” IEEE Transactions on Medical Imaging, 39 (11), 3667-3678 (2020), describes a deep autofocus method (DAF) for motion-compensated reconstruction, in which a motion model is estimated by optimizing a learned image quality metric (IQM). The learned IQM is based on an artificial neural network, which is trained to predict a reprojection error (RPE) for slice images reconstructed from CBCT data. The RPE is then minimized as part of an iterative reconstruction, in order to compensate for the motion.
[0006] The input into the network described in A. Preuhs et al., however, requires the image data to be aligned manually. For example, head scans are rotated and centered in a particular way, in order to reduce the data variability and to provide that identified artifacts actually result from a motion and not from differences in the patient positioning within the reconstruction. Moreover, fixed slices of the reconstruction are selected, in order to provide a manageable storage requirement. Similar manual preprocessing acts are also required in other approaches, in which machine learning models such as artificial neural networks are used for motion detection or motion compensation.
[0007] These manual preprocessing acts are elaborate and increase the overall complexity of the method. They also represent challenges when applying the method to new data, as each new data set has to be aligned and centered manually, before the algorithm may be applied effectively. This need for manual interventions restricts the scalability and practical implementation of the approach in clinical environments. It is also not provided that the specified alignment is actually optimal for the motion compensation.
[0008] The publication by M. Jaderberg et al., “Spatial transformer networks,” Proceedings of the 28th International Conference on Neural Information Processing Systems, MIT Press, 2015, describes a spatial transformer network, which enables the spatial manipulation of data within a network.SUMMARY AND DESCRIPTION
[0009] The scope of the present disclosure is defined solely by the appended claims and is not affected to any degree by the statements within this summary. The present embodiments may obviate one or more of the drawbacks or limitations in the related art.
[0010] One object of the present disclosure is to overcome the mentioned disadvantages, at least partially, and in particular to avoid the need for the mentioned manual preprocessing acts.
[0011] The disclosure is based on the idea of providing a machine learning model (MLM), which performs both the motion detection and the spatial transformation of the input image data. During the training of the MLM, both tasks are trained together in an end-to-end manner.
[0012] According to a first aspect, a computer-implemented training method is provided for training MLMs for motion detection on the basis of image data, in particular three-dimensional image data. The MLM is therefore trained according to the training method such that it may perform motion detection on the basis of image data. In this context, the MLM is trained, in particular in an end-to-end manner, on the basis of a large number of training data sets, which each contain training image data that represents a contiguous part of a mapped training object, and on the basis of an associated large number of annotation data sets, which characterize a motion of the training object that has taken place during a generation of raw data which forms the basis of the respective training image data. For each training data set of the large number of training data sets, training output data is generated by applying the MLM to training input data, which contains the respective training image data. When applying the MLM to the training input data, a transformation module of the MLM is applied to the training input data, whereby the respective training image data, in particular the represented part of the mapped training object, is spatially transformed. The training output data is generated on the basis of the respective transformed training image data, in particular by the MLM, in particular by applying one or more further modules of the MLM to the transformed training image data. A value of a predefined loss function is calculated as a function of the training output data and the respective annotation data set, in particular as a function of a deviation between the training output data and the respective annotation data set, and the MLM is adapted as a function of the value of the loss function, wherein in particular the transformation module is also adapted as a function of the value of the loss function.
[0013] Unless stated otherwise, all the acts of the computer-implemented training method may be performed by a data processing system that contains at least one data processing device. In particular, the at least one data processing device is configured or adapted to carry out the acts of the computer-implemented training method. For this purpose, the at least one data processing device may store, for example, a computer program containing commands that, when they are executed by the at least one data processing device, cause the at least one data processing device to carry out the computer-implemented training method. The computer-implemented training method may also be implemented entirely or partially as hardware. The expressions “data processing system” and “at least one data processing device” may be used interchangeably here and below. This also applies to corresponding expressions derived therefrom.
[0014] In the event that the at least one data processing device contains two or more data processing devices, certain acts performed by the at least one data processing device may also be understood to mean that different data processing devices perform different acts or different parts of an act. In particular, it is not necessary for each data processing device to carry out the acts. In other words, the performance of the acts may be distributed over the two or more data processing devices.
[0015] The raw data may be raw data generated by one or more detectors or sensors of an imaging device, for example. The generation of the raw data may not be part of the computer-implemented training method. From each embodiment of the computer-implemented training method, however, there follows a corresponding embodiment of a training method for training an MLM that is not purely computer-implemented, in that corresponding acts for generating the raw data by the imaging device are included.
[0016] The raw data may also be simulated raw data, which has been generated by simulation of the imaging device. The generation of the raw data may then be part of the computer-implemented training method, but this is not necessarily the case. The training image data may be generated or may have been generated on the basis of the raw data. The generation of the training image data may be part of the computer-implemented training method, but this is not necessarily the case.
[0017] When the MLM is applied to the respective training input data, the annotation data sets contain output data of the MLM that is anticipated in an ideal case, which is also referred to as ground truth. The annotation data sets may be generated manually and / or automatically or semi-automatically. The generation of the annotation data sets may be part of the computer-implemented training method or the corresponding training method that is not purely computer-implemented, but this is not necessarily the case. The large number of annotation data sets contains, in particular, precisely one annotation data set for each training data set of the large number of training data sets or for the respective training image data of each training data set of the large number of training data sets.
[0018] The annotation data sets may be present in different forms, which means that they characterize the motion of the training object. This depends upon the type of data which the MLM is to be capable of predicting after the training.
[0019] An annotation data set may contain a time series, for example, which specifies the position and / or orientation of the training object at different points in time during the generation of the raw data. The position and / or orientation may be given, for example, by corresponding rotation angles, in particular three rotation angles, and translations, in particular three translations. An annotation data set may also contain a time series of transformation matrices, in particular 4x4 transformation matrices, which describe both rotation and translation for each point in time. An annotation data set may also have a deviation of a motion trajectory from an intended trajectory for each point in time. The motion trajectory, for example, may be a trajectory of a component of the imaging device, for example a radiation source or a detector of the imaging device, in relation to the training object. However, the motion trajectory may also be a trajectory of the training object itself.
[0020] If the training image data involves three-dimensional image data, which has been generated on the basis of a large number of projection images, then an annotation data set may also contain one or more reprojection errors for all projection images of the large number of projection images, or some of them, for example.
[0021] The image data and the respective training image data may be two-dimensional image data and two-dimensional training image data or three-dimensional image data and three-dimensional training image data. In the latter case, the part of the training object represented by the training image data is, in particular, a contiguous volume of the training object.
[0022] Depending on the imaging device used or simulated, the training image data may be magnetic resonance tomography (MRT) image data or X-ray projection images or three-dimensional reconstructed X-ray image data, such as for CT, CBCT, or X-ray tomosynthesis, for example.
[0023] In order to generate the training image data on the basis of the raw data, it is possible for respective known reconstruction techniques to be used, for example. When simulating raw data, the motion of the training object may likewise be simulated and taken into consideration when generating the training image data, as described in the publication by A. Preuhs et al. cited in the introduction, or the raw data may be modified according to the simulated motion. Even with real raw data generated by the imaging device, the motion of the training object may be simulated and taken into consideration when generating the training image data, or the raw data may be modified according to the simulated motion. With real raw data generated by the imaging device, however, the motion may also have taken place in reality, and may have been documented or recorded accordingly. Thus, in each case, the necessary information is available for the motion, in order to provide the annotation data sets.
[0024] Accordingly, for example, the training object may be a real patient or a phantom object or a simulated or modelled patient.
[0025] Spatial transformation may be understood to mean a mathematical operation, which alters the location, orientation, and / or shape of an object in two-dimensional or three-dimensional space. This transformation may include rotations, translations, scalings, or a combination of the operations. In particular, the spatial transformation makes it possible to rearrange or reshape pixels or voxels in the training image data. In particular, the spatial transformation may be used for alignment, normalization, or adaptation of the training image data, in order to compensate for variations in the positioning or orientation of the training object in relation to the imaging device or simulated imaging device, for example.
[0026] In certain examples, a trained MLM may mimic cognitive functions that humans associate with another human mind. In particular, as a result of training based on training data, the MLM may be capable of adapting to new circumstances and detecting and extrapolating patterns. Another term for a trained MLM is “trained function.” A trained MLM may also be referred to as an algorithm trained by machine learning or as a model trained by machine learning or as a function trained by machine learning. An MLM may be implemented as software and / or hardware.
[0027] In certain examples, the parameters of an MLM may be adapted or updated by the training. In this case, in particular, it is possible to use supervised training, semi-supervised training, unsupervised training, reinforcement learning, and / or active learning. Moreover, it is possible for representation learning, also referred to as feature learning, to be used. In particular, the parameters of the MLMs may be adapted iteratively by a plurality of training acts. In particular, during the training, it is possible to minimize a particular loss function, which is also referred to as cost function. When training an artificial neural network (ANN), it is possible for the backpropagation algorithm to be used in particular.
[0028] In the computer-implemented training method, supervised training is used in particular, as follows from the method acts described above. As a loss function, it is possible to use a loss function that is known per se, wherein reference is made to the publication by A. Preuhs et al. cited in the introduction in particular.
[0029] An MLM may include in particular an ANN, a support vector machine, a decision tree and / or a Bayes network, and / or the MLM may be based on k-means clustering, Q-learning, genetic algorithms and / or association rules. In particular, an ANN may be, or may include, a deep neural network, a convolutional neural network (CNN), or a deep convolutional neural network. In addition, an ANN may be an adversarial network, a deep adversarial network and / or a generative adversarial network (GAN).
[0030] The MLM has the transformation module and at least one further module, which is referred to as a detection module, for example. Intermediate data is generated by applying the transformation module to the training input data. By applying at least the detection module to the intermediate data, the training output data is then generated. The transformation module and the detection module are in each case trainable modules of the MLM. For example, the spatial transformation is defined by corresponding transformation parameters. The transformation parameters, however, are not specified in a fixed manner before the training, but rather are adapted by the training, in particular as a function of the value of the loss function. In particular, both the transformation module and the detection module are trained together, i.e., the MLM is in particular trained in an end-to-end manner. This offers the major advantage that, during the training method, the transformation module is trained in an optimal manner for the subsequent motion detection by the detection module. During the training, the MLM learns independently, to a certain extent, how the spatial transformation is to be performed in an ideal case, in order to reproduce the annotation data sets as accurately as possible.
[0031] In particular, the transformation module may be a spatial transformer network, as described in the publication by M. Jaderberg et al. cited in the introduction, or may be based on one.
[0032] The MLM trained by the training method, per the structure of the training, when applied to image data with a structure which however does not necessarily correspond to the content of the training image data, is capable of generating output data which characterizes a motion of the object that has taken place during a generation of raw data which forms the basis of the image data, as carried out by the annotation data sets for the training image data.
[0033] The training method makes it possible to align and preprocess input data automatically by the trained MLM, whereby the need for a manual alignment is dispensed with and the accuracy, consistency and efficiency of the motion detection in medical imaging applications is improved. The spatial transformation enables the network to learn optimal data representations for motion detection tasks.
[0034] According to at least one embodiment, the MLM has an inverse transformation module, which is connected downstream of the detection module, i.e., is applied to an output of the detection module, in order to generate the training output data. The inverse transformation module reverses the spatial transformation applied by the transformation module.
[0035] In particular, the inverse transformation module is not a module that may be trained separately from the transformation module, as it has the inverse effect of the transformation module.
[0036] According to at least one embodiment, the training image data is three-dimensional training image data and represents a contiguous volume of the mapped training object.
[0037] According to at least one embodiment, the method includes the generation of at least one partial volume of the volume by way of the application of the transformation module to the training input data, wherein the at least one partial volume is transformed according to the spatial transformation. The detection module of the MLM is applied to the at least one partial volume, in order to generate the training output data.
[0038] In such embodiments, the transformation module is therefore not only designed for the spatial transformation, but also to generate particular parts, namely the at least one partial volume, which form the basis of the motion detection by way of the detection module. The generation of the at least one partial volume may also be referred to as sampling or downsampling of the volume. The spatial transformer networks mentioned in the introduction are also capable of this.
[0039] The generation and processing of partial volumes enables the MLM to concentrate on particular regions of interest within the larger volume, which improves the computing efficiency and / or reduces the storage requirement, without resulting in a significant reduction of the results of the motion detection. In particular, this is achieved by the shared training of the transformation module with the detection module, as this means that the sampling may also be adapted optimally to the spatial transformation and the operations of the detection module during the training.
[0040] The at least one partial volume may contain at least one layer, also referred to as slice, of the volume, which is perpendicular to a respective slice direction. A slice is delimited along the slice direction by two parallel planes, the spacing of which from one another is the slice thickness of the slice. This approach enables the MLM to analyze the volume, from different perspectives if necessary, and possibly to capture motion artifacts that may be more clearly visible in particular orientations.
[0041] Slice thickness and / or slice direction and / or position of the at least one slice along the slice direction may be trainable parameters of the transformation module and may be adapted accordingly as a function of the value of the loss function. It is also possible that only the slice thickness or only the slice direction or only the position of the slice along the slice direction may be trained, and the remaining parameters are specified in a fixed manner. Intermediate forms are also possible, in which some parameters are specified in a fixed manner and some may be trained.
[0042] According to at least one embodiment, the at least one partial volume contains at least one first slice of the volume, which is perpendicular to a first slice direction, and at least one second slice of the volume, which is perpendicular to a second slice direction that differs from the first slice direction. Optionally, the at least one partial volume contains at least one third slice of the volume, which is perpendicular to a third slice direction that differs from the first slice direction and the second slice direction.
[0043] The analysis of multiple slices in different alignments enables more efficient data processing and reduces the storage requirement compared to the processing of the entire volume. It may also improve the ability of the MLM to be generalized, as it learns to extract relevant information from different perspectives. This may also lead to faster and more precise motion identification in clinical applications.
[0044] Examples of the slice directions are the axial (transversal), sagittal, or coronal direction. The axial direction runs in parallel with the body axis, the sagittal direction from the front (stomach) to the rear (back), and the coronal direction from left to right through the body, or vice versa. Further possible slice directions include inclined or oblique directions.
[0045] For example, the first slice is perpendicular to the second slice direction. For example, the first slice is also perpendicular to the third slice direction. Slices that are perpendicular to one another may deliver complementary information, as motion artifacts in one direction may possibly be seen more clearly in another direction.
[0046] According to at least one embodiment, the transformation module is designed such that the spatial transformation is a rigid transformation.
[0047] The restriction to rigid transformations reduces the number of available degrees of freedom and thus accelerates the calculation and the training. For the purpose of the spatial transformation, non-rigid transformations also only offer few further advantages, as rotations and possibly translations are relevant in the first instance for unifying the input data for motion detection.
[0048] The restriction to rigid transformations may take place, for example, by restricting to SE(3) operations and possibly translations or by restricting to rotations and, if applicable, translations.
[0049] According to a second aspect, a computer-implemented method is provided for motion detection on the basis of image data which represents a contiguous part of a mapped object. The method includes the generation of output data by applying an MLM, in particular a trained MLM, in particular an MLM that is trained by a computer-implemented training method according to the first aspect, to input data that contains the image data. The output data characterizes a motion of the object that has taken place during a generation of raw data which forms the basis of the image data. When the MLM is applied to the input data, a transformation module of the MLM is applied to the input data, whereby the image data is spatially transformed, in particular the represented part of the mapped object, and the output data is generated on the basis of the transformed image data, in particular by the MLM.
[0050] Unless stated otherwise, all the acts of the computer-implemented method may be performed by a data processing system that contains at least one data processing device. In particular, the at least one data processing device is configured or adapted to carry out the acts of the computer-implemented method. For this purpose, the at least one data processing device may store, for example, a computer program containing commands which, when they are executed by the at least one data processing device, cause the at least one data processing device to carry out the computer-implemented method. The computer-implemented method may also be implemented entirely or partially as hardware.
[0051] In the event that the at least one data processing device contains two or more data processing devices, certain acts performed by the at least one data processing device may also be understood to mean that different data processing devices perform different acts or different parts of an act. In particular, it is not necessary for each data processing device to carry out the acts. In other words, the performance of the acts may be distributed over the two or more data processing devices.
[0052] The raw data may be raw data generated by one or more detectors or sensors of an imaging device, for example. The generation of the raw data is then not part of the computer-implemented method. From each embodiment of the computer-implemented method, there follows a corresponding embodiment of a method for motion detection that is not purely computer-implemented, in that corresponding acts for generating the raw data by the imaging device are included.
[0053] The image data may be generated or may have been generated on the basis of the raw data. The generation of the image data may be part of the computer-implemented method, but this is not necessarily the case.
[0054] The image data may be two-dimensional image data or three-dimensional image data. In the latter case, the part of the object represented by the image data is, in particular, a contiguous volume of the object.
[0055] Moreover, the statements relating to the first aspect apply in an analogous manner for the method of the second aspect, where this makes sense.
[0056] The method enables an automatic motion detection in three-dimensional image data without manual preprocessing or alignment, which improves the efficiency of the motion detection without having to accept deficits for the accuracy or consistency.
[0057] According to at least one embodiment, the image data is three-dimensional image data and / or corresponds to a volume which was reconstructed on the basis of a large number of projection images, in particular two-dimensional projection images, which represent the object in each case.
[0058] This enables the motion detection in tomographic imaging modalities, such as CT, CBCT, or tomosynthesis, in which patient motions may significantly influence the image quality during the recording.
[0059] The raw data is given by the large number of projection images, for example, or the large number of projection images is generated on the basis of the raw data.
[0060] According to at least one embodiment, the output data indicates a motion intensity and / or a translation motion direction of the motion and / or a rotation direction of the motion for at least one part of the projection images, in particular for all the projection images of the large number of projection images. Alternatively, the motion intensity and / or the translation motion direction of the motion and / or the rotation direction of the motion are determined on the basis of the output data for at least one part of the projection images, in particular for all projection images of the large number of projection images.
[0061] The motion of the object therefore contains, in particular, a translation motion and / or a rotation motion.
[0062] The motion direction of the translation motion may be given, for example, as a direction vector in a three-dimensional coordinate system. The motion direction may also be indicated in such a manner that, for each of three coordinate axes of a Cartesian coordinate system, it is indicated whether or not a motion, or whether or not a significant motion, has taken place along the corresponding coordinate axis. This may be indicated, for example, in the form of a binary vector.
[0063] In particular, the direction of rotation may likewise be given by a direction vector, which is parallel to a rotation axis of the rotation motion and the alignment of which indicates a direction of the rotation about the rotation axis. Here too, it is possible that the rotation direction is indicated in such a manner that, for each of the three coordinate axes, it is indicated whether there is a rotation about the corresponding coordinate axis as rotation axis, and if so, in which direction.
[0064] In particular, the translation motion direction and / or the rotation direction may be taken into consideration during the motion compensation. In particular, in an optimization that forms the basis of the reconstruction, the solution space may be limited in such a manner that only solutions corresponding to the translation motion direction and / or the rotation direction are taken into account.
[0065] As a result, in particular, it is possible to achieve a more effective motion compensation and / or a faster convergence of the motion compensation, i.e., a motion compensation in fewer iterations.
[0066] According to at least one embodiment, the output data contains a motion trajectory of the motion during the generation of the raw data, or the motion trajectory is generated on the basis of the output data.
[0067] For example, the motion trajectory may be given as a time series of a position and / or orientation of the object in three-dimensional space, for example, as a time series of a six-dimensional vector, for example, which contains three values for each point in time which define the position, and three values which define the orientation, for example, in the form of Euler angles or the like.
[0068] In particular, the motion trajectory may be taken into consideration during the motion compensation. In particular, in an optimization which forms the basis of the reconstruction, the solution space may be limited in such a manner that only solutions corresponding to the motion trajectory are taken into account.
[0069] As a result, in particular, it is possible to achieve a more effective motion compensation and / or a faster convergence of the motion compensation, i.e., a motion compensation in fewer iterations.
[0070] According to at least one embodiment, the output data contains a reprojection error or at least one reprojection error for at least one part of the projection images, in particular for all the projection images of the large number of projection images.
[0071] The reprojection error may be defined, for example, as it is described in the document by A. Preuhs et al. cited in the introduction. The precise calculation of the reprojection error, in addition to the image data itself, would also require reference image data, during the generation of which no motion of the object has taken place, or a precise description of the motion of the object during the generation of the projection images would be required. As, naturally, this is not given in the present configuration, the reprojection error is therefore predicted by the MLM in the given embodiment.
[0072] The reprojection error represents a measure for how intensely the motion of the object influences the image data, in particular compared to a hypothetical scenario in which no such motion would have taken place. In the case of a motion compensation, the reprojection error may also accordingly be considered as a measure for how successfully the motion compensation was realized. In an iterative reconstruction process, the reprojection error may be used as the error to be minimized as part of a corresponding target function of the optimization, for example.
[0073] Alternatively, or in addition to the reprojection error, the output data may contain a metric determined in a voxel-by-voxel manner, for example.
[0074] According to a third aspect, a computer-implemented method is provided for motion compensation for image data which represents a contiguous part of a mapped object. The method includes the performing of the computer-implemented method for motion detection according to the second aspect. The method for motion compensation further includes the correction of the image data on the basis of the output data, in order to compensate for the motion at least partially, or the generation of motion-compensated image data on the basis of the raw data and the output data, wherein the motion is compensated for at least partially in the motion-compensated image data.
[0075] To generate the motion-compensated image data on the basis of the raw data and the output data, reference is made in particular to the method described in the publication by A. Preuhs et al. cited in the introduction. However, other approaches for motion compensation with the output data generated may also be used.
[0076] In particular, the motion-compensated image data may be generated on the basis of the motion intensity and / or the translation motion direction of the motion and / or the rotation direction of the motion and / or the at least one reprojection error and / or the motion trajectory.
[0077] According to a fourth aspect, a data processing system is provided, which is configured to perform the computer-implemented training method and / or the computer-implemented method for motion detection and / or the computer-implemented method for motion compensation.
[0078] In the present disclosure, the expressions “data processing system” and “at least one data processing device” may be used interchangeably. A data processing device may be understood in particular to mean a data processing device that contains a processing circuit. The data processing device may thus, in particular, process data for performing computing operations. This possibly also covers operations to perform indexed accesses to a data structure, for example, a lookup table (LUT), and also a hardware-implemented data processing procedure.
[0079] The data processing device may contain one or more computers, one or more microcontrollers, and / or one or more integrated circuits, for example, one or more application-specific integrated circuits (ASIC), one or more field-programmable gate arrays (FPGA), and / or one or more systems on a chip (SoC). The data processing device may also contain one or more processors, for example one or more microprocessors, one or more central processor units (CPU), one or more graphics processor units (GPU), and / or one or more signal processors, in particular one or more digital signal processors (DSP). The data processing device may also contain a physical or a virtual interconnection of computers or other units of those mentioned.
[0080] In different exemplary embodiments, the data processing device contains one or more hardware and / or software interfaces and / or one or more storage units.
[0081] A storage unit may be embodied as a volatile data store, for example, as a dynamic random access memory (DRAM), or static random access memory (SRAM), or as a non-volatile data store, for example, as a read-only memory (ROM), as a programmable read-only memory (PROM), as an erasable programmable read-only memory (EPROM), as an electrically erasable programmable read-only memory (EEPROM), as a flash memory or flash-EEPROM, as a ferroelectric random access memory (FRAM), as a magnetoresistive random access memory (MRAM), or as a phase-change random access memory (PCRAM).
[0082] According to a fifth aspect, an imaging system is provided, which includes a data processing system according to the fourth aspect and an imaging device, which is configured to generate the raw data, wherein the data processing system in particular is configured to generate the image data on the basis of the raw data.
[0083] According to at least one embodiment, the imaging device is an X-ray-based imaging device, for example a CT device or a CBCT device or a tomosynthesis device or a C-arm X-ray angiography device. The CBCT device or tomosynthesis device may also be embodied as a C-arm device.
[0084] According to a sixth aspect, a computer program is provided, which contains commands which, when they are executed by a data processing system, cause the data processing system to perform the computer-implemented training method and / or the computer-implemented method for motion detection and / or the computer-implemented method for motion compensation.
[0085] The commands may be present as program code, for example. The program code may be provided, for example, as binary code or assembler and / or as source code of a programming language, (e.g., C), and / or as a program script, (e.g., Python).
[0086] According to a seventh aspect, a computer-readable storage medium is specified, in particular a physical and / or non-volatile computer-readable storage medium, which stores a computer program.
[0087] The computer program and the computer-readable storage medium are each computer program products with the commands.
[0088] The solution is described above and below with reference to the claimed systems and with reference to the claimed methods. Features, advantages or alternative embodiments may be assigned to the other claimed subject matter, and vice versa. In other words, the claims and embodiments for the systems may be improved by features that are described or claimed in connection with the respective methods. In this case, the functional features of the method are implemented by physical units of the system.
[0089] Furthermore, the solution is described above and below with reference to methods and systems for motion detection and / or motion compensation and with reference to methods and systems for providing a trained MLM. Features, advantages or alternative embodiments may be assigned to the other claimed subject matter, and vice versa. In other words, claims and embodiments for providing a trained MLM may be improved by features that are described or claimed in connection with the motion detection and / or motion compensation. In particular, the data sets used in the methods and systems may have the same attributes and features as the corresponding data sets used in the methods and systems for providing a trained MLM, and the trained MLMs provided by the respective methods and systems may be used in the methods and systems for motion detection and / or motion compensation.
[0090] Further features and feature combinations of the disclosure follow from the figures and the description thereof, as well as from the claims. In particular, further embodiments do not necessarily have to contain all the features of one of the claims. Further embodiments of the disclosure may have features or feature combinations that are not mentioned in the claims.
[0091] The disclosure is explained in more detail below with reference to specific embodiments and associated schematic drawings. In the figures, elements that are identical or functionally identical may be provided with the same reference characters. The description of elements that are identical or functionally identical is possibly not necessarily repeated when referring to different figures.BRIEF DESCRIPTION OF THE DRAWINGS
[0092] FIG. 1 shows a schematic representation of an embodiment of an imaging system.
[0093] FIG. 2 shows a schematic block diagram of an embodiment of a computer-implemented method for motion detection.
[0094] FIG. 3 shows a schematic block diagram of a transformation module in a further embodiment of a computer-implemented method for motion detection.
[0095] FIG. 4 shows a schematic block diagram of a detection module in a further embodiment of a computer-implemented method for motion detection.
[0096] FIG. 5 shows a schematic block diagram of an embodiment of a computer-implemented training method for training an MLM for motion detection.DETAILED DESCRIPTION
[0097] FIG. 1 shows an embodiment of an imaging system 1. The imaging system 1 includes an imaging device 2 and a data processing system 7.
[0098] In particular, the imaging device 2 is configured to generate raw data, for example, a large number of projection images 8 (see FIG. 2), which represent an object 6 from a large number of different projection directions. The object 6 may be a patient or a body part of the patient.
[0099] By way of example, the imaging device 2 is shown as a C-arm X-ray device with an X-ray source 4 and an X-ray detector 5. The imaging device 2 may thus be embodied, for example, as a CBCT device. The X-ray source 4 is positioned at an end of the C-arm 3 and is configured such that it emits X-rays in the direction of the object 6. The X-ray detector 5, which is located at the opposite end of the C-arm 3, captures the X-rays once they have penetrated the object 6, and generates the projection images 8. However, the following explanations may be transferred to other imaging devices 2 in an analogous manner.
[0100] The data processing system 7 is configured, for example, to generate image data 9, in particular three-dimensional image data, on the basis of the projection images 8, in particular to reconstruct it according to a reconstruction method. The data processing system 7 is further configured to perform a computer-implemented method for motion detection on the basis of image data 9.
[0101] FIG. 2 shows a schematic block diagram of an exemplary embodiment of such a computer-implemented method.
[0102] A trained machine learning model (MLM) 10 is applied to input data, which the three-dimensional image data 9 contains, whereby output data 15 is generated. The output data 15 characterizes a motion of the object 6 that has taken place during the generation of the raw data which forms the basis, in particular the projection images 8. As opposed to conventional approaches, which require a manual alignment of the image data 9, the MLM 10 includes a transformation module 11, which makes this manual alignment unnecessary.
[0103] The transformation module 11 transforms the image data 9 spatially, wherein this spatial transformation in particular may contain rotations and / or translations of the image data 9. The output data 15 is generated on the basis of the transformed image data.
[0104] The transformation module 11 may also generate at least one partial volume 12 of the image data 9, which is transformed according to the spatial transformation, and the output data 15 is then generated on the basis of the at least one partial volume 12. In other words, the image data 9 is transformed spatially and is sampled. The at least one partial volume 12, for example, may contain one or more slices of the original image data 9 in different orientations, in each case.
[0105] After the transformation module 11, for example, a detection module 13 of the MLM 10 processes the output of the transformation module 11, i.e., the transformed image data 9 or the at least one partial volume 12. After the detection module 13, for example, an inverse transformation module 14 is applied. The inverse transformation module 14 reverses the spatial transformation applied by the transformation module 11 and maps the results back into the original image space, resulting in the output data 15.
[0106] The output data 15 may contain different types of information about the identified motion. For example, the output data 15 may indicate, in each case, a motion intensity and / or translational motion direction and / or rotation direction for the projection images 8. Alternatively, or additionally, the output data 15 may contain a reprojection error the projection images 8 and / or a corresponding motion trajectory over the sequence of the projection images 8.
[0107] For motion compensation, the image data 9 may be corrected on the basis of the output data 15, in order to compensate for the identified motion, at least partially. Alternatively, motion-compensated image data may be generated on the basis of the projection images and the output data 15, as described in A. Preuhs et al., for example.
[0108] FIG. 3 shows a block diagram of a transformation module 11 in a further exemplary embodiment of a computer-implemented method for motion detection, which is based on that described in relation to FIG. 2, for example. The transformation module 11 in FIG. 3 is embodied, in particular as a spatial transformation network, as described in M. Jaderberg et al. The transformation module 11 contains a localization network 16 and a grid generator 17, in order to generate the at least one partial volume 12. Within the transformation module 11, the localization network 16 analyzes, in particular, the image data 9, in order to determine suitable spatial transformation parameters. These parameters are then forwarded to the grid generator 17. The grid generator 17 creates a sampling grid on the basis of the ascertained transformation parameters and applies the sampling grid to the image data 9, in order to the at least one partial volume 12. The at least one partial volume 12 represents a transformed and downsampled version of the image data 9.
[0109] The transformation module 11 may be restricted to performing rigid transformations, which are operations of the SE(3) group (specifically Euclidean group in three dimensions), possibly supplemented by translations. This means that the spatial transformation only includes rotations and optionally translations, wherein the shape and size of objects persist within the image data 9. The at least one partial volume 12 contains slices, for example, which are distributed in axial, coronal and sagittal orientation.
[0110] FIG. 4 shows a more detailed architecture of the detection module 13 in a further exemplary embodiment of the computer-implemented method for motion detection. Here, for example, the detection module 13 is constructed as in the publication from A. Preuhs et al. cited in the introduction. In this case, the at least one partial volume 12 has axial slices 12a, sagittal slices 12b and coronal slices 12c. The detection module 13 contains a Siamese triplet network 18 with three residual neural networks (RNN) 18a, 18b, 18c, which in each case obtain the axial slices 12a, the sagittal slices 12b or the coronal slices 12c as input. The features 19 that are extracted by the RNNs 18a, 18b, 18c in each case, also referred to as features or embeddings, are then fed into a regression network 20, which for example outputs a scalable output 21a and three vectorial outputs 21b, 21c, 21c.
[0111] The RNNs 18a, 18b, 18c may be embodied on the basis of ResNet-18, for example, as described in A. Preuhs et al. The regression network may contain, for example, a 1x1 convolutional slice followed by a 1x1 global average pooling slice.
[0112] For example, the output 21a corresponds to a reprojection error that is averaged over all projection images 8. For each projection image 8, the output 21b may contain, for example, a reprojection error for motions taking place in the respective projection plane (“in-plane reprojection error”). For each projection image 8, the output 21c may contain, for example, a reprojection error for motions taking place in a first plane that is perpendicular to the respective projection plane (“out-of-plane reprojection error”). For each projection image 8, the output 21d may contain, for example, a reprojection error for motions taking place in a second plane that is perpendicular to the respective projection plane and the first plane (“out-of-plane reprojection error”).
[0113] For example, the image data 9 and possibly the motion-compensated image data may be generated as part of an iterative reconstruction method. In this context, in particular, a measure for the susceptibility to error, due to motion, of the image data reconstructed in each case is minimized. For example, the reprojection error may be used as such a measure, as described in the publication by A. Preuhs et al. cited in the introduction. Among others, simplex methods or methods based on the Monte-Carlo method, such as CMA-ES (covariance matrix adaptation evolution strategy), may be considered as optimization methods.
[0114] For example, the image data 9 may be reconstructed as a function of the projection images 8, using as a basis a specified initial motion model, for example in the form of a motion trajectory, for the motion of the object. The initial motion model may also correspond to a scenario in which the object does not undergo any motion.
[0115] As a function of the output data 15 and the initial motion model, an adapted motion model is then generated and the motion-compensated image data is reconstructed as a function of the projection images 8, using the adapted motion model as a basis. In the next iteration, the MLM 10 is applied to the motion-compensated image data, in order to generate further output data, etc.
[0116] FIG. 5 shows a schematic block diagram of an exemplary embodiment of a computer-implemented training method for training an MLM 10 for motion detection, in particular an MLM 10 as has been described in relation to FIGS. 2-4.
[0117] The MLM 10 is trained in an end-to-end manner on the basis of a large number of training data sets, which each contain training image data 9’ that represents a contiguous part of a mapped training object, and on the basis of an associated large number of annotation data sets 24, which characterize a motion of the training object that has taken place during a generation of raw data which forms the basis of the respective training image data 9’. The training image data 9’ is generated, for example, by reconstruction on the basis of a large number of corresponding training projection images 8’. The following acts are performed, for example, for all training data sets and / or until a specified convergence criterion is met.
[0118] The transformation module 11 transforms the training image data 9’ spatially, and optionally it performs the sampling, in order to generate at least one partial volume 12’. The detection module 13 is applied to the spatially transformed training image data 9’ or the at least one partial volume 12’. The output of the detection module 13 runs through the inverse transformation module 14, for example, in order to generate training output data 15’. This training output data 15’ is compared with the associated annotation data set 24 by way of evaluation of a loss function 22. The annotation data set 24, for example, characterizes a motion trajectory 23 of a motion of the training object during the generation of the training projection images 8’ or a virtual motion, which is used as a basis during the reconstruction of the training image data 9’.
[0119] The MLM 10 is then adapted on the basis of the value of the loss function 22. This adaptation may include the modification of trainable parameters of the entire MLM 10, in particular of all trainable modules of the machine learning model.
[0120] If the training output data 15’ contains the projection errors, in an analogous manner to in relation to the output data 15 in FIG. 4, then corresponding ground truth projection errors may be calculated on the basis of the motion trajectory 23. The loss function 22 may then be evaluated on the basis of the deviations of the respective projection errors from the respective ground truth projection errors.
[0121] It is to be understood that the elements and features recited in the appended claims may be combined in different ways to produce new claims that likewise fall within the scope of the present disclosure. Thus, whereas the dependent claims appended below depend on only a single independent or dependent claim, it is to be understood that these dependent claims may, alternatively, be made to depend in the alternative from any preceding or following claim, whether independent or dependent, and that such new combinations are to be understood as forming a part of the present specification.
[0122] While the present disclosure has been described above by reference to various embodiments, it may be understood that many changes and modifications may be made to the described embodiments. It is therefore intended that the foregoing description be regarded as illustrative rather than limiting, and that it be understood that all equivalents and / or combinations of embodiments are intended to be included in this description.
Claims
1. A computer-implemented training method for training a machine learning model (MLM) for motion detection based on image data, wherein the MLM is trained based on a plurality of training data sets and an associated plurality of annotation data sets, wherein each training data set of the plurality of training data sets contains training image data that represents a contiguous part of a mapped training object, and wherein the plurality of annotation data sets characterize a motion of the mapped training object that has taken place during a generation of raw data that forms a basis of the respective training image data, wherein the method comprises, for each training data set of the plurality of training data sets:generating training output data by applying the MLM to training input data, wherein the training input data contains the respective training image data;applying a transformation module to the training input data when applying the MLM to the training input data, whereby the respective training image data is spatially transformed and the training output data is generated based on the respective transformed training image data;calculating a value of a specified loss function as a function of the training output data and the respective annotation data set; andadapting the MLM as a function of the value of the specified loss function.
2. The computer-implemented training method of claim 1, wherein the training image data is three-dimensional training image data and represents a contiguous volume of the mapped training object, andwherein, via the applying of the transformation module to the training input data, at least one partial volume of the volume is generated, which is transformed according to the spatial transformation, and a detection module of the MLM is applied to the at least one partial volume, in order to generate the training output data.
3. The computer-implemented training method of claim 2, wherein the at least one partial volume contains at least one slice of the volume that is perpendicular to a respective slice direction.
4. The computer-implemented training method of claim 3, wherein the at least one partial volume contains at least one first slice of the volume that is perpendicular to a first slice direction, andwherein the at least one partial volume contains at least one second slice of the volume that is perpendicular to a second slice direction that differs from the first slice direction.
5. The computer-implemented training method of claim 1, wherein the transformation module is configured in such a manner that the spatial transformation is a rigid transformation.
6. A computer-implemented method for motion detection based on image data that represents a contiguous part of a mapped object, the method comprising:applying a machine learning model (MLM) to input data that contains image data, wherein a transformation module of the MLM is applied to the input data, whereby the image data is spatially transformed to provide transformed image data; andgenerating output data based on the transformed image data, wherein the output data characterizes a motion of the object that has taken place during a generation of raw data that forms a basis of the image data.
7. The computer-implemented method of claim 6, wherein the image data is three-dimensional image data, which corresponds to a volume that has been reconstructed based on a plurality of projection images that represent the object in each case.
8. The computer-implemented method of claim 7, wherein the output data indicates a motion intensity and / or a translation motion direction of the motion and / or a rotation direction of the motion at least for one part of the projection images, orwherein, based on the output data, the motion intensity and / or the translation motion direction of the motion and / or the rotation direction of the motion is determined at least for one part of the plurality of projection images.
9. The computer-implemented method of claim 7, wherein the output data comprises a reprojection error at least for one part of the plurality of projection images.
10. The computer-implemented method of claim 7, wherein the plurality of projection images is a plurality of X-ray projection images.
11. The computer-implemented method of claim 6, wherein the output data comprises a motion trajectory of the motion or the motion trajectory is generated based on the output data.
12. The computer-implemented method of claim 6, further comprising:correcting the image data based on the output data in order to compensate for the motion, at least partially; orgenerating motion-compensated image data, in which the motion is compensated for at least partially, based on the raw data and the output data.
13. An imaging system comprising:a data processing system configured to:apply a machine learning model (MLM) to input data that represents a contiguous part of a mapped object, wherein the input data contains image data, and wherein a transformation module of the MLM is applied to the input data, whereby the image data is spatially transformed to provide transformed image data; andgenerate output data based on the transformed image data, wherein the output data characterizes a motion of the object that has taken place during a generation of raw data that forms a basis of the image data.
14. The imaging system of claim 13, further comprising:an imaging device configured to generate the raw data.
