WO2022206036A1 - Soft tissue motion prediction method and apparatus, terminal device, and readable storage medium - Google Patents
Soft tissue motion prediction method and apparatus, terminal device, and readable storage medium Download PDFInfo
- Publication number
- WO2022206036A1 WO2022206036A1 PCT/CN2021/138567 CN2021138567W WO2022206036A1 WO 2022206036 A1 WO2022206036 A1 WO 2022206036A1 CN 2021138567 W CN2021138567 W CN 2021138567W WO 2022206036 A1 WO2022206036 A1 WO 2022206036A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- soft tissue
- term memory
- memory network
- motion prediction
- feature map
- Prior art date
Links
- 210000004872 soft tissue Anatomy 0.000 title claims abstract description 140
- 230000033001 locomotion Effects 0.000 title claims abstract description 136
- 238000000034 method Methods 0.000 title claims abstract description 76
- 230000006403 short-term memory Effects 0.000 claims abstract description 136
- 238000012545 processing Methods 0.000 claims abstract description 17
- 238000004590 computer program Methods 0.000 claims description 23
- 230000007787 long-term memory Effects 0.000 claims description 23
- 230000015654 memory Effects 0.000 claims description 20
- 230000006870 function Effects 0.000 claims description 18
- 230000008569 process Effects 0.000 claims description 14
- 230000005540 biological transmission Effects 0.000 claims description 8
- 230000002123 temporal effect Effects 0.000 abstract description 18
- 230000000694 effects Effects 0.000 abstract description 17
- 238000010586 diagram Methods 0.000 description 10
- 238000002604 ultrasonography Methods 0.000 description 8
- 230000007774 longterm Effects 0.000 description 5
- 238000002560 therapeutic procedure Methods 0.000 description 5
- 238000000605 extraction Methods 0.000 description 4
- 230000004927 fusion Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 210000001519 tissue Anatomy 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 210000000056 organ Anatomy 0.000 description 3
- 238000012549 training Methods 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000013135 deep learning Methods 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- 230000029058 respiratory gaseous exchange Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 206010028980 Neoplasm Diseases 0.000 description 1
- 206010057362 Underdose Diseases 0.000 description 1
- 230000003187 abdominal effect Effects 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 201000011510 cancer Diseases 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000005489 elastic deformation Effects 0.000 description 1
- 238000011423 initialization method Methods 0.000 description 1
- 210000004185 liver Anatomy 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000241 respiratory effect Effects 0.000 description 1
- 210000005163 right hepatic lobe Anatomy 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000006886 spatial memory Effects 0.000 description 1
- 210000000115 thoracic cavity Anatomy 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 239000013598 vector Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0012—Biomedical image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/044—Recurrent networks, e.g. Hopfield networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/20—Analysis of motion
- G06T7/246—Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
Definitions
- the present application belongs to the technical field of image processing, and in particular, relates to a soft tissue motion prediction method, apparatus, terminal device, and computer-readable storage medium.
- Embodiments of the present application provide a soft tissue motion prediction method, apparatus, terminal device, and computer-readable storage medium, which can effectively improve the effect and accuracy of soft tissue motion prediction.
- an embodiment of the present application provides a soft tissue motion prediction method, which may include:
- the original image sequence is used to describe the motion trajectory of the soft tissue in the first time period
- the original image sequence is input into a preset soft tissue motion prediction model for processing, and a predicted image sequence output by the soft tissue motion prediction model is obtained, and the predicted image sequence is used to describe the predicted relationship between the soft tissue and the first soft tissue.
- the motion trajectory of a second time period adjacent to a time period wherein, the soft tissue motion prediction model includes a stacked multi-layer long-term and short-term memory network unit, and the long-term and short-term memory network unit transmits the target spatiotemporal feature across layers according to the time series,
- the long short-term memory network unit includes a self-attention module.
- the above-mentioned soft tissue motion prediction method can obtain the context information of the global space through the self-attention module, and transmit the spatiotemporal features across layers according to the time series, so as to enhance the transmission of spatiotemporal information in different temporal images, so that the soft tissue motion prediction model has more advantages. Strong spatial correlation, short-term modeling ability and long-term modeling ability can greatly improve the prediction effect and accuracy of the soft tissue motion prediction model, thereby improving the effect and accuracy of soft tissue motion prediction.
- the long-short-term memory network unit transmits the target spatiotemporal features across layers according to a time series, which may include:
- the l+1 layer long short-term memory network unit transmits the target spatiotemporal feature map generated at time t-1 to the l layer long short-term memory network unit at time t, 1 ⁇ l ⁇ L, L is the soft tissue motion prediction model contains The total number of layers of long short-term memory network units.
- the self-attention module includes a first self-attention module and a second self-attention module, the first self-attention module is connected in parallel with the second self-attention module, and the first self-attention module is connected in parallel.
- the force module is used to generate candidate spatiotemporal feature maps, and the second self-attention module is used to generate candidate spatial feature maps.
- the first self-attention module can generate the candidate spatiotemporal feature map according to the following formula:
- the second self-attention module can generate the candidate space feature map according to the following formula:
- the long short-term memory network unit can process the candidate spatiotemporal feature map generated by the first self-attention module and the candidate spatial feature map generated by the second self-attention module according to the following formula, and obtain the The target spatiotemporal feature map and target spatial feature map output by the long short-term memory network unit:
- an embodiment of the present application provides a soft tissue motion prediction device, which may include:
- an image sequence acquisition module configured to acquire an original image sequence, the original image sequence being used to describe the motion trajectory of the soft tissue in the first time period;
- the soft tissue motion prediction module is used to input the original image sequence into a preset soft tissue motion prediction model for processing, and obtain a predicted image sequence output by the soft tissue motion prediction model, and the predicted image sequence is used to describe the predicted image sequence.
- the transmission of target spatiotemporal features is performed, and the long short-term memory network unit includes a self-attention module.
- an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program
- a terminal device including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program
- an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements any one of the above-mentioned first aspect Soft tissue motion prediction method.
- an embodiment of the present application provides a computer program product that, when the computer program product runs on a terminal device, enables the terminal device to execute the soft tissue motion prediction method described in any one of the first aspects above.
- FIG. 1 is a schematic flowchart of a soft tissue motion prediction method provided by an embodiment of the present application
- FIG. 2 is a schematic structural diagram of a soft tissue motion prediction model provided in an embodiment of the present application developed according to a time series;
- FIG. 3 is a schematic structural diagram of a long short-term memory network unit provided by an embodiment of the present application.
- FIG. 4 is a schematic structural diagram of a self-attention module provided by an embodiment of the present application.
- FIG. 5 is a schematic structural diagram of a soft tissue motion prediction device provided by an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
- the term “if” may be contextually interpreted as “when” or “once” or “in response to determining” or “in response to detecting “.
- the phrases “if it is determined” or “if the [described condition or event] is detected” may be interpreted, depending on the context, to mean “once it is determined” or “in response to the determination” or “once the [described condition or event] is detected. ]” or “in response to detection of the [described condition or event]”.
- references in this specification to "one embodiment” or “some embodiments” and the like mean that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
- appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically emphasized otherwise.
- the terms “including”, “including”, “having” and their variants mean “including but not limited to” unless specifically emphasized otherwise.
- HIFU therapy has become a common method for the treatment of thoracic and abdominal cancer due to its advantages of non-invasiveness, high efficiency and low cost. Its core technology is to accurately locate the target area under the premise of considering the heterogeneity of human body structure and the nonlinear relationship between high-precision scalpel and soft tissue motion, and realize precise spatiotemporal control of the surgical system.
- Soft tissue motion can negatively impact the therapy.
- Soft tissue is the soft tissue in the target volume.
- the movement of the soft tissue may include elastic deformation caused by needle puncturing of the soft tissue, changes in the displacement of the soft tissue caused by the movement of organs or tissues caused by the patient's breathing, or the movement of the body, and the like. Once the target soft tissue moves, it is often difficult for the treatment system to track the target area in time, resulting in under-dose in the treatment target area or damage to surrounding normal tissues or organs, resulting in unnecessary treatment side effects.
- Model-based matching tracking methods can include real-time tracking methods for non-rigid objects based on active shape models and nonlinear state space tracking methods.
- the model-based matching tracking method can use the prior information of medical image sequences to construct a mathematical prediction network model of medical organs, and enhance the robustness by optimizing the model parameters.
- most of the existing model-based matching and tracking methods regard the target tissue as a rigid whole or a point, and cannot accurately locate the region and boundary of the target tissue, so they cannot accurately predict the motion of soft tissue.
- Deep learning methods are well suited for processing ultrasound image sequences due to their strong nonlinear modeling capabilities and the advantage of exploiting the spatiotemporal information of sequence images.
- many deep learning-based methods have been applied to the motion prediction of soft tissues in dynamic environments.
- a population-based statistical motion model and information from two-dimensional ultrasound sequences to predict respiratory motion in the right hepatic lobe using artificial neural networks (ANNs) by extending the spatial prediction method with temporal predictors location of the liver.
- ANNs artificial neural networks
- this method only uses the clinical data of a limited number of patients to train the model, that is, it only explores the specific motion of specific soft tissues based on limited features, and does not consider the complexity of the motion of different soft tissues, so it is applied to motion prediction of other soft tissues.
- ConvLSTM convolutional long short-term memory
- the stacked ConvLSTM does not add additional modeling functions for stepwise recursive state transitions, and its short-term dynamic modeling ability is poor, and it is difficult to capture the long-term correlation of the input image sequence, resulting in poor prediction effect and low prediction accuracy.
- an embodiment of the present application provides a soft tissue motion prediction method, which can acquire an original image sequence, and the original image sequence is used to describe the motion trajectory of the soft tissue in the first time period; Input to a preset soft tissue motion prediction model for processing, and obtain a predicted image sequence output by the soft tissue motion prediction model, and the predicted image sequence is used to describe the predicted soft tissue in the second adjacent to the first time period.
- the motion trajectory of the time period wherein, the soft tissue motion prediction model includes stacked multi-layer long-term and short-term memory network units, and the long-term and short-term memory network units transmit the target spatiotemporal features across layers according to time series.
- the unit includes a self-attention module.
- the context information of the global space can be obtained through the self-attention module, and the spatiotemporal features can be transmitted across layers according to the time series, so as to enhance the transmission of spatiotemporal information in images at different times, so that the soft tissue motion prediction model has Stronger spatial correlation, short-term modeling ability and long-term modeling ability can greatly improve the prediction effect and accuracy of the soft tissue motion prediction model, thereby improving the effect and accuracy of soft tissue motion prediction, with strong ease of use and practicability .
- FIG. 1 shows a schematic flowchart of a soft tissue motion prediction method provided by an embodiment of the present application.
- the soft tissue motion prediction method may be applied to terminal devices such as mobile phones, tablet computers, notebook computers, and desktop computers, and the embodiment of the present application does not specifically limit the types of terminal devices.
- the soft tissue motion prediction method may include:
- the soft tissue may be the soft tissue in the target area of the HIFU treatment.
- the original sequence of images may be a sequence of ultrasound images.
- the ultrasound image sequence may be acquired by an ultrasound image acquisition device.
- the ultrasonic image acquisition device may be connected in communication with a terminal device, and when the ultrasonic image acquisition device acquires an ultrasonic image sequence including soft tissue, the acquired ultrasonic image sequence may be sent to the terminal device for the terminal device to use. Perform soft tissue motion prediction.
- S102 Input the original image sequence into a preset soft tissue motion prediction model for processing, and obtain a predicted image sequence output by the soft tissue motion prediction model, where the predicted image sequence is used to describe the predicted soft tissue in The motion trajectory of the second time period adjacent to the first time period; wherein, the soft tissue motion prediction model includes stacked multi-layer long-term and short-term memory network units, and the long-term and short-term memory network units perform cross-layer target spatiotemporal features according to time series. transmission, the long short-term memory network unit includes a self-attention module.
- the original image sequence may include multiple original images
- the predicted image sequence may include one or more predicted images
- the predicted image may reflect the soft tissue in subsequent moments. sports situation.
- the number of images included in the original image sequence and the number of images included in the predicted image sequence may be specifically set according to actual conditions, which are not specifically limited in this embodiment of the present application.
- the second time period is immediately following the first time period
- the terminal device can input the original images such as x 1 , x 2 , .
- the predicted images x 2 ', x 3 ', ..., x n+1 ', ..., x n+m ' can be obtained.
- x n+ 1 ', x n+2 ', ..., x n+m ' are the predicted image sequence.
- the prediction process of the soft tissue motion prediction model will be described in detail below with reference to the network structure of the soft tissue motion prediction model.
- FIG. 2 shows a schematic structural diagram of a soft tissue motion prediction model provided by an embodiment of the present application developed in a time series.
- FIG. 4 shows a schematic structural diagram of a self-attention module provided by an embodiment of the present application.
- the soft tissue motion prediction model may include stacked multi-layer long short-term memory (LSTM) units, each layer of long short-term memory network units has the same structure, and the The long short-term memory network unit may include a self-attention module (SA).
- SA self-attention module
- the soft tissue motion prediction model may include a first-layer long-short-term memory network unit 201 , a second-layer long-short-term memory network unit 202 , a third-layer long-short-term memory network unit 203 , and a fourth layer connected in sequence Long Short Term Memory network unit 204 .
- the first layer of long-term and short-term memory network unit 201 is used for processing, such as feature extraction and fusion of the original image x t in the original image sequence, to obtain the first spatial feature output by the first layer of long-term and short-term memory network unit 201 and input the first spatial feature map to the second-layer long short-term memory network unit 202 .
- the second-layer long short-term memory network unit 202 can perform feature extraction, fusion, etc. on the first spatial feature map to obtain a second spatial feature map, and input the second spatial feature map to the third spatial feature map.
- Layer long short-term memory network unit 203 Similarly, the third-layer long short-term memory network unit 203 can perform feature extraction, fusion, etc. on the second spatial feature map to obtain a third spatial feature map, and input the third spatial feature map into the third spatial feature map.
- Four layers of long short term memory network unit 204 .
- the fourth-layer long short-term memory network unit 204 can perform feature extraction, fusion, etc. on the third spatial feature map to obtain a predicted image x t+1 ′ predicted by the soft tissue motion prediction model at time t, that is,
- the predicted image x t+1 ′ is the image corresponding to the time t+1 predicted at the time t.
- the soft tissue motion prediction model is a trained model.
- a schedule sampling method can be used to process the relationship between the predicted image sequence and the training image sequence. Since the soft tissue motion prediction model uses a stacked structure, that is, the predicted image x t+2 ′ predicted at the next time (such as time t+1) needs to be based on the predicted image x predicted at the previous time (such as time t). t+1 ', and when the predicted image at the previous moment (ie, time t) is wrong, the subsequent predicted image will also be wrong, which affects the effect and accuracy of soft tissue motion prediction.
- the similarity between the predicted image x t+1 ′ predicted at time t and the real image x t+ 1 at time t+1 can be evaluated, and based on the similarity degree, set the weight of the predicted image x t+1 ' at time t+1, that is, when the similarity is large, the weight of the real image x t+1 can be reduced, and the weight of the predicted image x t+1 ' can be increased; If the degree is small, the weight of the real image x t+1 can be increased, and the weight of the predicted image x t+1 ′ can be reduced.
- the similarity can be determined in combination with a preset similarity threshold, that is, when the similarity is greater than or equal to the similarity threshold, it can be determined that the similarity is large; and when the similarity is less than the similarity threshold, then It can be determined that the similarity is small.
- the similarity threshold may be specifically set according to the actual situation.
- the long short-term memory network unit may include two types of feature maps: temporal feature maps (also referred to as temporal memory) and spatial feature maps (also known as spatial memory) t is the time, and l is the layer number of the long short-term memory network unit.
- temporal feature maps also referred to as temporal memory
- spatial feature maps also known as spatial memory
- t the time
- l the layer number of the long short-term memory network unit.
- the temporal feature map at time t directly depends on the temporal feature map of its previous moment (ie, moment t-1) It is controlled by the forget gate ft, the input gate it and the output gate gt at time t .
- the spatial feature map at time t Depends on the spatial feature map of LSTM network units in layers l-1
- the spatial feature map at time t depends on the spatial feature map generated by the last layer of long short-term memory network units at the previous time (ie time t-1).
- each layer of long short-term memory network unit The transfer of target spatiotemporal features can be performed across layers according to time series.
- the time series may be the time series corresponding to the original image sequence or the time series corresponding to the predicted image sequence.
- the l+1 layer long short-term memory network unit can transmit the target spatiotemporal feature map generated at time t-1 to the l layer long short-term memory network unit at time t.
- the fourth-layer long short-term memory network unit 204 can use the target spatiotemporal feature map generated at time t-1 It is transmitted to the third-layer long short-term memory network unit 203 at time t.
- the third-layer long short-term memory network unit 203 can use the target spatiotemporal feature map generated at time t-1. It is transmitted to the second-layer long short-term memory network unit 202 at time t.
- the second-layer long short-term memory network unit 202 can use the target spatiotemporal feature map generated at time t-1. It is transmitted to the first-layer long short-term memory network unit 201 at time t.
- the target spatiotemporal feature map transmitted to the fourth-layer long short-term memory network unit 204 may be set to 0.
- the long short-term memory network unit can process the input temporal feature map, spatial feature map and spatio-temporal feature map to obtain the target time feature map and target spatial feature corresponding to the long short-term memory network unit. graph and target spatiotemporal feature map.
- the terminal device can use a random initialization method to initialize the temporal feature map, spatial feature map and spatiotemporal feature map transmitted to each of the long-term and short-term memory network units, and each of the long-term and short-term memory network units can combine the randomly generated temporal feature map , a spatial feature map, and a spatiotemporal feature map to generate a target time feature map, a target spatial feature map, and a target spatiotemporal feature map corresponding to each of the long short-term memory network units at this time.
- the embodiment of the present application can pursue long-term coherence and short-term repetition depth, and can learn complex nonlinear transition functions of nearby frames in a short time, which can significantly improve its short-term dynamic construction. mold ability.
- the temporal feature map updated horizontally, the spatial feature map updated in a zigzag direction, and the spatiotemporal feature map updated across time steps and layers can be deeply The spatiotemporal information of the sequence is extracted, so that the soft tissue motion prediction model has a strong dynamic modeling ability, which can effectively improve the motion prediction effect of the soft tissue motion prediction model.
- the generation of the target temporal feature map, the target spatial feature map, and the target spatiotemporal feature map generated by the long short-term memory network unit will be described in detail below.
- the update equation of the long short-term memory network unit can be:
- W xg , W hg , W xi , W hi , W xf , W hf , W xo , W ho , W co are preset weight matrices
- b g , b i , b f , and b o are preset weight matrices Bias term
- ⁇ is the sigmoid function
- x t is the original image at time t
- x t is the target spatiotemporal feature map transmitted by the l+1 layer long short-term memory network unit at time t-1
- the target temporal feature map generated for the lth layer of long short-term memory network units at time t-1 is the input feature map of the self-attention module (that is, the feature map input to the self-attention module), It can be aggregated from temporal feature maps and spatiotemporal feature maps
- SA is the processing of
- the self-attention module may include a first self-attention module 401 and a second self-attention module 402, the first self-attention module 401 and the second self-attention module 402 are connected in parallel , and the first self-attention module 401 shares Query with the second self-attention module 402, the first self-attention module 401 is used to generate candidate spatiotemporal feature maps, and the second self-attention module 402 Used to generate candidate spatial feature maps.
- the first self-attention module 401 can firstly input the feature map Map to feature space Query, Key, Value:
- C is the corresponding number of channels, is the number of channels corresponding to Q c and K l , and N is The corresponding number of elements, W lq , W lk , and W lv are preset weight matrices of 1 ⁇ 1 convolution.
- T represents matrix transpose
- L t,i is The i-th element in
- L t,j is The jth element in
- L t,i and L t,j are feature vectors of size C ⁇ 1.
- the first self-attention module 401 can generate the candidate spatiotemporal feature map according to the following formula:
- the second self-attention module 402 can map it to Key by 1 ⁇ 1 convolution with W mk and W mv as weight matrices, respectively. and value Then, you can multiply between Query Q c and Key K m , that is, by to calculate The similarity between the i-th element and the j-th element in em;i,j . Then, the softmax function can be used to normalize each similarity to get a m :
- the second self-attention module 402 can generate the candidate space feature map according to the following formula:
- the feature value of the ith element in the intermediate feature map Z m can be calculated by the weighted sum of all N positions in the value V m .
- the long short-term memory network unit may, according to the following formula, analyze the candidate spatiotemporal feature map generated by the first self-attention module and the candidate space generated by the second self-attention module:
- the feature map is processed to obtain the target spatiotemporal feature map and the target spatial feature map output by the long short-term memory network unit:
- each of the long-term and short-term memory network units can transmit the obtained target time feature map, target space-time feature map, and target space feature map to each of the long-term and short-term memory network units at the next moment, so as to perform the next moment’s Image prediction.
- the original image sequence may be obtained, and the original image sequence is used to describe the motion trajectory of the soft tissue in the first time period; the original image sequence is input into the preset soft tissue motion prediction model for processing, and the output of the soft tissue motion prediction model is obtained.
- the predicted image sequence is used to describe the predicted motion trajectory of soft tissue in the second time period adjacent to the first time period; wherein, the soft tissue motion prediction model includes stacked multi-layer long short-term memory network units, long short-term memory
- the network unit transmits the target spatiotemporal features across layers according to the time series, and the long short-term memory network unit includes a self-attention module.
- the context information of the global space can be obtained through the self-attention module, and the spatiotemporal features can be transmitted across layers according to the time series, so as to enhance the transmission of spatiotemporal information in images at different times, so that the soft tissue motion prediction model has
- the stronger spatial correlation, short-term modeling ability and long-term modeling ability can greatly improve the prediction effect and accuracy of the soft tissue motion prediction model, thereby improving the effect and accuracy of soft tissue motion prediction.
- FIG. 5 shows a structural block diagram of the soft tissue motion prediction apparatus provided by the embodiments of the present application. For convenience of description, only the parts related to the embodiments of the present application are shown.
- the soft tissue motion prediction device may include:
- an image sequence acquisition module 501 configured to acquire an original image sequence, the original image sequence being used to describe the motion trajectory of the soft tissue in the first time period;
- the soft tissue motion prediction module 502 is configured to input the original image sequence into a preset soft tissue motion prediction model for processing, and obtain a predicted image sequence output by the soft tissue motion prediction model, and the predicted image sequence is used to describe the predicted image sequence.
- the layer performs the transmission of target spatiotemporal features, and the long short-term memory network unit includes a self-attention module.
- the l+1 layer long short-term memory network unit transmits the target spatiotemporal feature map generated at time t-1 to the l layer long short-term memory network unit at time t, 1 ⁇ l ⁇ L, where L is the total number of layers of long and short-term memory network units included in the soft tissue motion prediction model.
- the self-attention module may include a first self-attention module and a second self-attention module, the first self-attention module is connected in parallel with the second self-attention module, The first self-attention module is used to generate candidate spatiotemporal feature maps, and the second self-attention module is used to generate candidate spatial feature maps.
- the first self-attention module can generate the candidate spatiotemporal feature map according to the following formula:
- the second self-attention module can generate the candidate space feature map according to the following formula:
- the long short-term memory network unit can process the candidate spatiotemporal feature map generated by the first self-attention module and the candidate spatial feature map generated by the second self-attention module according to the following formula: Obtain the target spatiotemporal feature map and target spatial feature map output by the long short-term memory network unit:
- FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
- the terminal device 6 in this embodiment includes: at least one processor 60 (only one is shown in FIG. 6 ), a memory 61 , and a memory 61 stored in the memory 61 and available in the at least one processor 60
- a computer program 62 running on the processor 60 when the processor 60 executes the computer program 62, implements the steps in any of the foregoing embodiments of the soft tissue motion prediction method.
- the terminal device 6 may be a computing device such as a desktop computer, a notebook, and a palmtop computer.
- the terminal device may include, but is not limited to, a processor 60 and a memory 61 .
- FIG. 6 is only an example of the terminal device 6, and does not constitute a limitation on the terminal device 6, and may include more or less components than the one shown, or combine some components, or different components , for example, may also include input and output devices, network access devices, and the like.
- the processor 60 can be a central processing unit (central processing unit, CPU), and the processor 60 can also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application specific integrated circuits (application specific integrated circuit) , ASIC), field programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
- the memory 61 may be an internal storage unit of the terminal device 6 in some embodiments, such as a hard disk or a memory of the terminal device 6 . In other embodiments, the memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk equipped on the terminal device 6, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, flash card (flash card), etc. Further, the memory 61 may also include both an internal storage unit of the terminal device 6 and an external storage device.
- the memory 61 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, such as program codes of the computer program. The memory 61 can also be used to temporarily store data that has been output or will be output.
- Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the foregoing method embodiments can be implemented.
- the embodiments of the present application provide a computer program product, when the computer program product runs on a terminal device, so that the steps in the foregoing method embodiments can be implemented when the terminal device executes.
- the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
- the present application realizes all or part of the processes in the methods of the above embodiments, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium.
- the computer program includes computer program code
- the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like.
- the computer-readable storage medium may include at least: any entity or device capable of carrying the computer program code to the device/terminal device, recording medium, computer memory, read-only memory (ROM, ROM), random access Memory (random access memory, RAM,), electrical carrier signals, telecommunication signals, and software distribution media.
- ROM read-only memory
- RAM random access Memory
- electrical carrier signals telecommunication signals
- software distribution media For example, U disk, mobile hard disk, disk or CD, etc.
- computer-readable storage media may not be electrical carrier signals and telecommunications signals.
- the disclosed apparatus/terminal device and method may be implemented in other manners.
- the apparatus/terminal device embodiments described above are only illustrative.
- the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units. Or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Biophysics (AREA)
- Molecular Biology (AREA)
- Biomedical Technology (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Medical Informatics (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Radiology & Medical Imaging (AREA)
- Quality & Reliability (AREA)
- Image Analysis (AREA)
Abstract
The present application is applicable to the technical field of image processing, and in particular to a soft tissue motion prediction method and apparatus, a terminal device, and a readable storage medium. The soft tissue motion prediction method comprises: obtaining an original image sequence, the original image sequence being used for describing a motion track of a soft tissue in a first time period; and inputting the original image sequence into a preset soft tissue motion prediction model for processing to obtain a predicted image sequence output by the soft tissue motion prediction model, the predicted image sequence being used for describing a predicted motion track of the soft tissue in a second time period adjacent to the first time period, wherein the soft tissue motion prediction model comprises multiple layers of long short-term memory network units that are stacked, the long short-term memory network units transmit target temporal and spatial features across layers according to a time sequence, and each long short-term memory network unit comprises a self-attention module. By means of the soft tissue motion prediction method provided by the present application, the effect and precision of soft tissue motion prediction can be effectively improved.
Description
本申请属于图像处理技术领域,尤其涉及软组织运动预测方法、装置、终端设备及计算机可读存储介质。The present application belongs to the technical field of image processing, and in particular, relates to a soft tissue motion prediction method, apparatus, terminal device, and computer-readable storage medium.
在高强度聚焦超声(high-intensity focused ultrasound,HIFU)影像引导的治疗中,软组织的运动会对治疗产生负面影响。因此,需要提前进行软组织运动预测。现有技术中,可以采用无模型匹配的跟踪方法和基于模型匹配的跟踪方法等传统方法来进行软组织的运动预测,但这些传统方法存在运动预测效果较差和精度较低的问题。In high-intensity focused ultrasound (HIFU) image-guided therapy, soft tissue motion can negatively impact therapy. Therefore, soft tissue motion prediction needs to be performed in advance. In the prior art, traditional methods such as a tracking method without model matching and a tracking method based on model matching can be used to predict the motion of soft tissue, but these traditional methods have problems of poor motion prediction effect and low accuracy.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种软组织运动预测方法、装置、终端设备及计算机可读存储介质,可以有效提高软组织运动预测的效果和精度。Embodiments of the present application provide a soft tissue motion prediction method, apparatus, terminal device, and computer-readable storage medium, which can effectively improve the effect and accuracy of soft tissue motion prediction.
第一方面,本申请实施例提供了一种软组织运动预测方法,可以包括:In a first aspect, an embodiment of the present application provides a soft tissue motion prediction method, which may include:
获取原始图像序列,所述原始图像序列用于描述软组织在第一时间段的运动轨迹;acquiring an original image sequence, the original image sequence is used to describe the motion trajectory of the soft tissue in the first time period;
将所述原始图像序列输入至预设的软组织运动预测模型进行处理,得到所述软组织运动预测模型输出的预测图像序列,所述预测图像序列用于描述预测到的所述软组织在与所述第一时间段相邻的第二时间段的运动轨迹;其中,所述软组织运动预测模型包括堆叠的多层长短期记忆网络单元,所述长短期记忆网络单元根据时间序列跨层进行目标时空特征的传输,所述长短期记忆网络单元包括自注意力模块。The original image sequence is input into a preset soft tissue motion prediction model for processing, and a predicted image sequence output by the soft tissue motion prediction model is obtained, and the predicted image sequence is used to describe the predicted relationship between the soft tissue and the first soft tissue. The motion trajectory of a second time period adjacent to a time period; wherein, the soft tissue motion prediction model includes a stacked multi-layer long-term and short-term memory network unit, and the long-term and short-term memory network unit transmits the target spatiotemporal feature across layers according to the time series, The long short-term memory network unit includes a self-attention module.
上述的软组织运动预测方法,可以通过自注意力模块获取全局空间的上下文信息,并根据时间序列跨层进行时空特征的传输,以增强不同时间图像中时空信息的传递,使得软组织运动预测模型具有更强的空间相关性、短期建模能力和长期建模能力,可以大大提高软组织运动预测模型的预测效果和精度,从而提高软组织运动预测的效果和精度。The above-mentioned soft tissue motion prediction method can obtain the context information of the global space through the self-attention module, and transmit the spatiotemporal features across layers according to the time series, so as to enhance the transmission of spatiotemporal information in different temporal images, so that the soft tissue motion prediction model has more advantages. Strong spatial correlation, short-term modeling ability and long-term modeling ability can greatly improve the prediction effect and accuracy of the soft tissue motion prediction model, thereby improving the effect and accuracy of soft tissue motion prediction.
示例性的,所述长短期记忆网络单元根据时间序列跨层进行目标时空特征的传输,可以包括:Exemplarily, the long-short-term memory network unit transmits the target spatiotemporal features across layers according to a time series, which may include:
第l+1层长短期记忆网络单元将t-1时刻生成的目标时空特征图传输给t时刻的第l层长短期记忆网络单元,1≤l<L,L为所述软组织运动预测模型包含的长短期记忆网络单元的总层数。The l+1 layer long short-term memory network unit transmits the target spatiotemporal feature map generated at time t-1 to the l layer long short-term memory network unit at time t, 1≤l<L, L is the soft tissue motion prediction model contains The total number of layers of long short-term memory network units.
可选的,所述自注意力模块包括第一自注意力模块和第二自注意力模块,所述第一自注意力模块与所述第二自注意力模块并联,所述第一自注意力模块用于生成候选时空特征图,所述第二自注意力模块用于生成候选空间特征图。Optionally, the self-attention module includes a first self-attention module and a second self-attention module, the first self-attention module is connected in parallel with the second self-attention module, and the first self-attention module is connected in parallel. The force module is used to generate candidate spatiotemporal feature maps, and the second self-attention module is used to generate candidate spatial feature maps.
示例性的,所述第一自注意力模块可以根据下述公式生成所述候选时空特征图:Exemplarily, the first self-attention module can generate the candidate spatiotemporal feature map according to the following formula:
其中,
为t时刻的第l层长短期记忆网络单元中的第一自注意力模块生成的候选时空特征图,W
f、W
lv、W
xo、W
ho、W
co为预设的权重矩阵,
为t时刻的第l层长短期记忆网络单元中的第一自注意力模块对应的输入特征图,Z
l为第一自注意力模块基于
生成的中间特征图,Z
l;i为Z
l中的第i个元素,a
l;i,j为
中的第i个元素与第j个元素之间的相似性,
为
中的第j个元素,N为
包含的元素的总个数,σ为sigmoid函数,x
t为t时刻的原始图像,
为t-1时刻的第l+1层长短期记忆网络单元传输的目标时空特征图,
为t时刻的第l层长短期记忆 网络单元生成的目标时间特征图,b
o为预设的偏置项。
in, is the candidate spatiotemporal feature map generated by the first self-attention module in the lth layer long short-term memory network unit at time t, W f , W lv , W xo , Who , and W co are the preset weight matrices, is the input feature map corresponding to the first self-attention module in the l-th layer long short-term memory network unit at time t, Z l is the first self-attention module based on The generated intermediate feature map, Z l; i is the ith element in Z l , a l; i, j are The similarity between the i-th element and the j-th element in , for The jth element in , where N is The total number of elements contained, σ is the sigmoid function, x t is the original image at time t, is the target spatiotemporal feature map transmitted by the l+1 layer long short-term memory network unit at time t-1, is the target time feature map generated by the lth layer long short-term memory network unit at time t, and b o is the preset bias term.
示例性的,所述第二自注意力模块可以根据下述公式生成所述候选空间特征图:Exemplarily, the second self-attention module can generate the candidate space feature map according to the following formula:
其中,
为t时刻的第l层长短期记忆网络单元中的第二自注意力模块生成的候选空间特征图,W
z、W
mv为预设的权重矩阵,
为t时刻的第l-1层长短期记忆网络单元输出的目标空间特征图,Z
m为第二自注意力模块基于
生成的中间特征图,Z
m;i为Z
m中的第i个元素,a
m;i,j为
中的第i个元素与第j个元素之间的相似性,
为
中的第j个元素,R为
包含的元素的总个数。
in, is the candidate spatial feature map generated by the second self-attention module in the lth layer long short-term memory network unit at time t, W z , W mv are preset weight matrices, is the target space feature map output by the l-1th layer long short-term memory network unit at time t, and Z m is the second self-attention module based on The generated intermediate feature map, Z m; i is the ith element in Z m , a m; i, j are The similarity between the i-th element and the j-th element in , for The jth element in , R is The total number of elements contained.
具体地,所述长短期记忆网络单元可以根据下述公式对所述第一自注意力模块生成的候选时空特征图和所述第二自注意力模块生成的候选空间特征图进行处理,得到所述长短期记忆网络单元输出的目标时空特征图和目标空间特征图:Specifically, the long short-term memory network unit can process the candidate spatiotemporal feature map generated by the first self-attention module and the candidate spatial feature map generated by the second self-attention module according to the following formula, and obtain the The target spatiotemporal feature map and target spatial feature map output by the long short-term memory network unit:
其中,
为t时刻的第l层长短期记忆网络单元输出的目标时空特征图,
为t时刻的第l层长短期记忆网络单元输出的目标空间特征图,
为t时刻的第l层长短期记忆网络单元中的第一自注意力模块生成的候选时空特征图,
为t时刻的第l层长短期记忆网络单元中的第二自注意力模块生成的候选空间特征图,e为元素乘积,σ为sigmoid函数,W
ho'和W
mg为预设的权重矩阵,b
o'和b
g'为预设的偏置项。
in, is the target spatiotemporal feature map output by the lth layer long short-term memory network unit at time t, is the target spatial feature map output by the lth layer long short-term memory network unit at time t, is the candidate spatiotemporal feature map generated by the first self-attention module in the l-th layer long short-term memory network unit at time t, is the candidate spatial feature map generated by the second self-attention module in the l-th layer long short-term memory network unit at time t, e is the element product, σ is the sigmoid function, W ho' and W mg are the preset weight matrices, b o' and b g' are preset bias terms.
第二方面,本申请实施例提供了一种软组织运动预测装置,可以包括:In a second aspect, an embodiment of the present application provides a soft tissue motion prediction device, which may include:
图像序列获取模块,用于获取原始图像序列,所述原始图像序列用于描述软组织在第一时间段的运动轨迹;an image sequence acquisition module, configured to acquire an original image sequence, the original image sequence being used to describe the motion trajectory of the soft tissue in the first time period;
软组织运动预测模块,用于将所述原始图像序列输入至预设的软组织运动预测模型进行处理,得到所述软组织运动预测模型输出的预测图像序列,所述预测图像序列用于描述预测到的所述软组织在与所述第一时间段相邻的第二时间段的运动轨迹;其中,所述软组织运动预测模型包括堆叠的多层长短期记忆网络单元,所述长短期记忆网络单元根据时间序列跨层进行目标时空特征的传输,所述长短期记忆网络单元包括自注意力模块。The soft tissue motion prediction module is used to input the original image sequence into a preset soft tissue motion prediction model for processing, and obtain a predicted image sequence output by the soft tissue motion prediction model, and the predicted image sequence is used to describe the predicted image sequence. The motion trajectory of the soft tissue in the second time period adjacent to the first time period; wherein, the soft tissue motion prediction model includes stacked multi-layer long-term and short-term memory network units, and the long-term and short-term memory network units cross layers according to time series The transmission of target spatiotemporal features is performed, and the long short-term memory network unit includes a self-attention module.
第三方面,本申请实施例提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述第一方面中任一项所述的软组织运动预测方法。In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program The soft tissue motion prediction method according to any one of the above first aspects is implemented.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面中任一项所述的软组织运动预测方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements any one of the above-mentioned first aspect Soft tissue motion prediction method.
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面中任一项所述的软组织运动预测方法。In a fifth aspect, an embodiment of the present application provides a computer program product that, when the computer program product runs on a terminal device, enables the terminal device to execute the soft tissue motion prediction method described in any one of the first aspects above.
可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It can be understood that, for the beneficial effects of the second aspect to the fifth aspect, reference may be made to the relevant description in the first aspect, which is not repeated here.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present application. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本申请实施例提供的软组织运动预测方法的流程示意图;1 is a schematic flowchart of a soft tissue motion prediction method provided by an embodiment of the present application;
图2是本申请实施例提供的软组织运动预测模型按照时间序列展开的结构示意图;2 is a schematic structural diagram of a soft tissue motion prediction model provided in an embodiment of the present application developed according to a time series;
图3是本申请实施例提供的长短期记忆网络单元的结构示意图;3 is a schematic structural diagram of a long short-term memory network unit provided by an embodiment of the present application;
图4是本申请实施例提供的自注意力模块的结构示意图;4 is a schematic structural diagram of a self-attention module provided by an embodiment of the present application;
图5是本申请实施例提供的软组织运动预测装置的结构示意图;5 is a schematic structural diagram of a soft tissue motion prediction device provided by an embodiment of the present application;
图6是本申请实施例提供的终端设备的结构示意图。FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are set forth in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It is to be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described feature, integer, step, operation, element and/or component, but does not exclude one or more other The presence or addition of features, integers, steps, operations, elements, components and/or sets thereof.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It will also be understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items.
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in the specification of this application and the appended claims, the term "if" may be contextually interpreted as "when" or "once" or "in response to determining" or "in response to detecting ". Similarly, the phrases "if it is determined" or "if the [described condition or event] is detected" may be interpreted, depending on the context, to mean "once it is determined" or "in response to the determination" or "once the [described condition or event] is detected. ]" or "in response to detection of the [described condition or event]".
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of the specification of the present application and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the description, and should not be construed as indicating or implying relative importance.
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。References in this specification to "one embodiment" or "some embodiments" and the like mean that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically emphasized otherwise. The terms "including", "including", "having" and their variants mean "including but not limited to" unless specifically emphasized otherwise.
HIFU治疗以其无创、高效、价廉等优点,成为治疗胸腹区域癌症的常用方法。其核心技术是在考虑人体结构异质性以及高精度手术刀与软组织运动的非线性关系的前提下,准确定位靶区,实现对手术系统的精准时空控制。在HIFU超声影像引导的治疗过程中,软组织的运动会对治疗产生负面影响。软组织为靶区中的软组织。其中,软组织的运动可以包括由于针穿刺软组织导致的弹性形变、患者呼吸产生的器官或者组织运动或者身体的移动而导致的软组织的位移变化等。一旦目标软组织产生运动,治疗系统往往难以及时跟踪目标区域,造成治疗靶区欠剂量或者使周围正常组织或者器官受损,导致不必要的治疗副反应。HIFU therapy has become a common method for the treatment of thoracic and abdominal cancer due to its advantages of non-invasiveness, high efficiency and low cost. Its core technology is to accurately locate the target area under the premise of considering the heterogeneity of human body structure and the nonlinear relationship between high-precision scalpel and soft tissue motion, and realize precise spatiotemporal control of the surgical system. During HIFU ultrasound image-guided therapy, soft tissue motion can negatively impact the therapy. Soft tissue is the soft tissue in the target volume. The movement of the soft tissue may include elastic deformation caused by needle puncturing of the soft tissue, changes in the displacement of the soft tissue caused by the movement of organs or tissues caused by the patient's breathing, or the movement of the body, and the like. Once the target soft tissue moves, it is often difficult for the treatment system to track the target area in time, resulting in under-dose in the treatment target area or damage to surrounding normal tissues or organs, resulting in unnecessary treatment side effects.
因此,提前预测目标软组织的运动十分必要。现有技术中,可以采用无模型匹配的跟踪方法和基于模型匹配的跟踪方法来进行软组织的运动预测。在无模型跟踪预测方法中,块匹配(block matching)方法的使用最为广泛。块匹配方法使用图像的局部结构信息来估计目标软组织的状态以进行跟踪,其主要思想是通过将查询块与相邻块进行匹配,以从相邻块中找到最接近查询块的多个相邻图像块。但块匹配方法不能很好地解决局部图像结构的不稳定性,也不能充分利用图像的先验信息。基于模型的匹配跟踪方法可以包括基于主动形状模型的非刚性物体实时跟踪方法和非线性状态空间跟踪方法等。基于模型的匹配跟踪方法可以利用医学图像序列的先验信息构建医学器官的数学预测网络模型,通过优化模型参数来增强鲁棒性。但现有基于基于模型的匹配跟踪方法大多是 将靶区组织视为一个刚性的整体或一个点,无法准确定位靶区组织的区域和边界,因此也无法精准预测软组织的运动。Therefore, it is necessary to predict the motion of the target soft tissue in advance. In the prior art, a tracking method without model matching and a tracking method based on model matching can be used to predict the motion of soft tissue. Among the model-free tracking prediction methods, the block matching method is the most widely used. The block matching method uses the local structural information of the image to estimate the state of the target soft tissue for tracking, and its main idea is to find multiple neighbors closest to the query block by matching the query block with the neighboring blocks image block. But the block matching method can not solve the instability of local image structure well, and can not make full use of the prior information of the image. Model-based matching tracking methods can include real-time tracking methods for non-rigid objects based on active shape models and nonlinear state space tracking methods. The model-based matching tracking method can use the prior information of medical image sequences to construct a mathematical prediction network model of medical organs, and enhance the robustness by optimizing the model parameters. However, most of the existing model-based matching and tracking methods regard the target tissue as a rigid whole or a point, and cannot accurately locate the region and boundary of the target tissue, so they cannot accurately predict the motion of soft tissue.
另外,这些传统方法在医学图像序列(如超声图像序列)的跟踪和预测中存在以下缺点:跟踪目标轮廓的急剧变化可能导致轮廓跟踪效果不佳;如果帧间目标位移太大或者传统方法错误地估计了目标的比例和方向,则可能导致跟踪目标丢失。In addition, these traditional methods have the following disadvantages in the tracking and prediction of medical image sequences (such as ultrasound image sequences): sharp changes in the contour of the tracked target may lead to poor contour tracking; if the target displacement between frames is too large or the traditional methods erroneously If the scale and direction of the target are estimated, the tracking target may be lost.
深度学习方法具有强大的非线性建模能力以及可以利用序列图像的时空信息的优势,因此非常适合处理超声图像序列。目前,已有不少基于深度学习的方法应用于动态环境下软组织的运动预测。例如,基于人口的统计运动模型和来自二维超声序列的信息来预测右肝叶的呼吸运动,其使用人工神经网络(artificial neural networks,ANN)通过使用时间预测变量来扩展空间预测的方法来预测肝脏的位置。但该方法仅使用有限数量的患者的临床数据来训练模型,即仅根据有限的特征,探索了特定软组织的特定运动,没有考虑不同软组织的运动的复杂性,因此应用于其他软组织的运动预测时,预测效果和预测精度均较差。例如,用于视频预测的堆叠递归网络,其使用卷积性长短期记忆网络(convolutional long short-term memory,ConvLSTM)作为循环单元,ConvLSTM旨在通过门控结构正确保留和忘记过去的信息,然后将其与当前的空间表示形式融合来预测视频帧。但堆叠式的ConvLSTM并没有为逐步递归状态转换添加额外的建模功能,其短期动态建模能力不佳,并且难以捕获输入图像序列的长期相关性,造成预测效果较差、预测精度较低。例如,使用多尺度的卷积操作提取输入影像的特征,学习输入序列图像之间的密集变形,并使用级联排列的空间变换网络(spatial transformer networks,STN)生成未来的图像序列。但该方法应对呼吸运动变化较大的图像效果不佳,同时对图像序列提取的特征缺少全局依赖性,造成预测效果较差、预测精度较低。Deep learning methods are well suited for processing ultrasound image sequences due to their strong nonlinear modeling capabilities and the advantage of exploiting the spatiotemporal information of sequence images. At present, many deep learning-based methods have been applied to the motion prediction of soft tissues in dynamic environments. For example, a population-based statistical motion model and information from two-dimensional ultrasound sequences to predict respiratory motion in the right hepatic lobe using artificial neural networks (ANNs) by extending the spatial prediction method with temporal predictors location of the liver. However, this method only uses the clinical data of a limited number of patients to train the model, that is, it only explores the specific motion of specific soft tissues based on limited features, and does not consider the complexity of the motion of different soft tissues, so it is applied to motion prediction of other soft tissues. , the prediction effect and prediction accuracy are poor. For example, stacked recurrent networks for video prediction, which use convolutional long short-term memory (ConvLSTM) as recurrent units, ConvLSTM aims to correctly retain and forget past information through a gated structure, and then It is fused with the current spatial representation to predict video frames. However, the stacked ConvLSTM does not add additional modeling functions for stepwise recursive state transitions, and its short-term dynamic modeling ability is poor, and it is difficult to capture the long-term correlation of the input image sequence, resulting in poor prediction effect and low prediction accuracy. For example, we use multi-scale convolution operations to extract features from input images, learn dense deformations between images in the input sequence, and use cascaded spatial transformer networks (STNs) to generate future image sequences. However, this method is not effective for images with large changes in breathing motion, and at the same time, it lacks global dependence on the features extracted from image sequences, resulting in poor prediction effect and low prediction accuracy.
为了解决上述问题,本申请实施例提供了一种软组织运动预测方法,该方法可以获取原始图像序列,所述原始图像序列用于描述软组织在第一时间段的 运动轨迹;将所述原始图像序列输入至预设的软组织运动预测模型进行处理,得到所述软组织运动预测模型输出的预测图像序列,所述预测图像序列用于描述预测到的所述软组织在与所述第一时间段相邻的第二时间段的运动轨迹;其中,所述软组织运动预测模型包括堆叠的多层长短期记忆网络单元,所述长短期记忆网络单元根据时间序列跨层进行目标时空特征的传输,所述长短期记忆网络单元包括自注意力模块。即本申请实施例中,可以通过自注意力模块获取全局空间的上下文信息,并根据时间序列跨层进行时空特征的传输,以增强不同时间的图像中时空信息的传递,使得软组织运动预测模型具有更强的空间相关性、短期建模能力和长期建模能力,可以大大提高软组织运动预测模型的预测效果和精度,从而提高软组织运动预测的效果和精度,具有较强的易用性和实用性。In order to solve the above problem, an embodiment of the present application provides a soft tissue motion prediction method, which can acquire an original image sequence, and the original image sequence is used to describe the motion trajectory of the soft tissue in the first time period; Input to a preset soft tissue motion prediction model for processing, and obtain a predicted image sequence output by the soft tissue motion prediction model, and the predicted image sequence is used to describe the predicted soft tissue in the second adjacent to the first time period. The motion trajectory of the time period; wherein, the soft tissue motion prediction model includes stacked multi-layer long-term and short-term memory network units, and the long-term and short-term memory network units transmit the target spatiotemporal features across layers according to time series. The unit includes a self-attention module. That is, in the embodiment of the present application, the context information of the global space can be obtained through the self-attention module, and the spatiotemporal features can be transmitted across layers according to the time series, so as to enhance the transmission of spatiotemporal information in images at different times, so that the soft tissue motion prediction model has Stronger spatial correlation, short-term modeling ability and long-term modeling ability can greatly improve the prediction effect and accuracy of the soft tissue motion prediction model, thereby improving the effect and accuracy of soft tissue motion prediction, with strong ease of use and practicability .
请参阅图1,图1示出了本申请实施例提供的软组织运动预测方法的示意性流程图。其中,所述软组织运动预测方法可以应用于手机、平板电脑、笔记本电脑、桌上型计算机等终端设备上,本申请实施例对终端设备的类型不作具体限定。如图1所示,所述软组织运动预测方法,可以包括:Referring to FIG. 1 , FIG. 1 shows a schematic flowchart of a soft tissue motion prediction method provided by an embodiment of the present application. The soft tissue motion prediction method may be applied to terminal devices such as mobile phones, tablet computers, notebook computers, and desktop computers, and the embodiment of the present application does not specifically limit the types of terminal devices. As shown in Figure 1, the soft tissue motion prediction method may include:
S101、获取原始图像序列,所述原始图像序列用于描述软组织在第一时间段的运动轨迹;S101. Acquire an original image sequence, where the original image sequence is used to describe the motion trajectory of soft tissue in a first time period;
其中,所述软组织可以为HIFU治疗中,治疗靶区内的软组织。所述原始图像序列可以为超声图像序列。所述超声图像序列可以通过超声图像采集装置获取。所述超声图像采集装置可以与终端设备通信连接,所述超声图像采集装置采集到包含软组织的超声图像序列时,可以将所采集的超声图像序列发送给所述终端设备,以供所述终端设备进行软组织的运动预测。Wherein, the soft tissue may be the soft tissue in the target area of the HIFU treatment. The original sequence of images may be a sequence of ultrasound images. The ultrasound image sequence may be acquired by an ultrasound image acquisition device. The ultrasonic image acquisition device may be connected in communication with a terminal device, and when the ultrasonic image acquisition device acquires an ultrasonic image sequence including soft tissue, the acquired ultrasonic image sequence may be sent to the terminal device for the terminal device to use. Perform soft tissue motion prediction.
S102、将所述原始图像序列输入至预设的软组织运动预测模型进行处理,得到所述软组织运动预测模型输出的预测图像序列,所述预测图像序列用于描述预测到的所述软组织在与所述第一时间段相邻的第二时间段的运动轨迹;其中,所述软组织运动预测模型包括堆叠的多层长短期记忆网络单元,所述长短 期记忆网络单元根据时间序列跨层进行目标时空特征的传输,所述长短期记忆网络单元包括自注意力模块。S102. Input the original image sequence into a preset soft tissue motion prediction model for processing, and obtain a predicted image sequence output by the soft tissue motion prediction model, where the predicted image sequence is used to describe the predicted soft tissue in The motion trajectory of the second time period adjacent to the first time period; wherein, the soft tissue motion prediction model includes stacked multi-layer long-term and short-term memory network units, and the long-term and short-term memory network units perform cross-layer target spatiotemporal features according to time series. transmission, the long short-term memory network unit includes a self-attention module.
本申请实施例中,所述原始图像序列中可以包括多张原始图像,所述预测图像序列中可以包括一张或者多张预测图像,所述预测图像中可以体现所述软组织在后续时刻中的运动情况。其中,所述原始图像序列中包括的图像数量和所述预测图像序列中包括的图像数量可以根据实际情况具体设置,本申请实施例对此不作具体限定。In this embodiment of the present application, the original image sequence may include multiple original images, the predicted image sequence may include one or more predicted images, and the predicted image may reflect the soft tissue in subsequent moments. sports situation. The number of images included in the original image sequence and the number of images included in the predicted image sequence may be specifically set according to actual conditions, which are not specifically limited in this embodiment of the present application.
具体地,在需要根据第一时间段中长度为n的原始图像序列,预测未来第二时间段中长度为m的预测图像序列时,所述第二时间段为紧随所述第一时间段的时间段,所述终端设备可以按照时间顺序将原始图像序列中的x
1、x
2、……、x
n等原始图像分别输入至所述软组织运动预测模型进行处理,所述软组织运动预测模型基于原始图像x
1、x
2、……、x
n可以得到预测图像x
2'、x
3'、……、x
n+1'、……、x
n+m',此时,x
n+1'、x
n+2'、……、x
n+m'即为所述预测图像序列。
Specifically, when it is necessary to predict the predicted image sequence of length m in the second time period in the future according to the original image sequence of length n in the first time period, the second time period is immediately following the first time period The terminal device can input the original images such as x 1 , x 2 , . Based on the original images x 1 , x 2 , ..., x n , the predicted images x 2 ', x 3 ', ..., x n+1 ', ..., x n+m ' can be obtained. At this time, x n+ 1 ', x n+2 ', ..., x n+m ' are the predicted image sequence.
下面将结合所述软组织运动预测模型的网络结构对所述软组织运动预测模型的预测过程进行详细说明。The prediction process of the soft tissue motion prediction model will be described in detail below with reference to the network structure of the soft tissue motion prediction model.
请一并参阅图2至图4,图2示出了本申请实施例提供的软组织运动预测模型按照时间序列展开的结构示意图,图3示出了本申请实施例提供的长短期记忆网络单元的结构示意图,图4示出了本申请实施例提供的自注意力模块的结构示意图。如图2和图3所示,所述软组织运动预测模型可以包括堆叠的多层长短期记忆网络(long short-term memory,LSTM)单元,各层长短期记忆网络单元的结构相同,且所述长短期记忆网络单元可以包括自注意力模块(self-attention,SA)。应理解,本申请实施例对长短期记忆网络单元的总层数不作具体限定。以下将以所述软组织运动预测模型包括四层长短期记忆网络单元为例进行示例性说明。Please refer to FIG. 2 to FIG. 4 together. FIG. 2 shows a schematic structural diagram of a soft tissue motion prediction model provided by an embodiment of the present application developed in a time series. A schematic structural diagram, FIG. 4 shows a schematic structural diagram of a self-attention module provided by an embodiment of the present application. As shown in FIG. 2 and FIG. 3 , the soft tissue motion prediction model may include stacked multi-layer long short-term memory (LSTM) units, each layer of long short-term memory network units has the same structure, and the The long short-term memory network unit may include a self-attention module (SA). It should be understood that the embodiments of the present application do not specifically limit the total number of layers of long short-term memory network units. The following will take an example that the soft tissue motion prediction model includes a four-layer long short-term memory network unit as an example for illustration.
如图2所示,所述软组织运动预测模型可以包括依次连接的第一层长短期记忆网络单元201、第二层长短期记忆网络单元202、第三层长短期记忆网络单 元203和第四层长短期记忆网络单元204。其中,所述第一层长短期记忆网络单元201用于对原始图像序列中的原始图像x
t特征提取、融合等处理,得到所述第一层长短期记忆网络单元201输出的第一空间特征图,并将所述第一空间特征图输入至所述第二层长短期记忆网络单元202。所述第二层长短期记忆网络单元202可以对所述第一空间特征图进行特征提取、融合等处理,得到第二空间特征图,并将所述第二空间特征图输入至所述第三层长短期记忆网络单元203。同样地,所述第三层长短期记忆网络单元203可以对所述第二空间特征图进行特征提取、融合等处理,得到第三空间特征图,并将所述第三空间特征图输入至第四层长短期记忆网络单元204。所述第四层长短期记忆网络单元204可以对所述第三空间特征图进行特征提取、融合等处理,得到所述软组织运动预测模型在t时刻预测得到的预测图像x
t+1',即预测图像x
t+1'为t时刻预测得到的t+1时刻对应的图像。
As shown in FIG. 2 , the soft tissue motion prediction model may include a first-layer long-short-term memory network unit 201 , a second-layer long-short-term memory network unit 202 , a third-layer long-short-term memory network unit 203 , and a fourth layer connected in sequence Long Short Term Memory network unit 204 . Wherein, the first layer of long-term and short-term memory network unit 201 is used for processing, such as feature extraction and fusion of the original image x t in the original image sequence, to obtain the first spatial feature output by the first layer of long-term and short-term memory network unit 201 and input the first spatial feature map to the second-layer long short-term memory network unit 202 . The second-layer long short-term memory network unit 202 can perform feature extraction, fusion, etc. on the first spatial feature map to obtain a second spatial feature map, and input the second spatial feature map to the third spatial feature map. Layer long short-term memory network unit 203 . Similarly, the third-layer long short-term memory network unit 203 can perform feature extraction, fusion, etc. on the second spatial feature map to obtain a third spatial feature map, and input the third spatial feature map into the third spatial feature map. Four layers of long short term memory network unit 204 . The fourth-layer long short-term memory network unit 204 can perform feature extraction, fusion, etc. on the third spatial feature map to obtain a predicted image x t+1 ′ predicted by the soft tissue motion prediction model at time t, that is, The predicted image x t+1 ′ is the image corresponding to the time t+1 predicted at the time t.
本申请实施例中,所述软组织运动预测模型为已训练的模型。其中,在训练过程中,可以使用计划抽样(schedule samping)方法处理预测图像序列与训练图像序列的关系。由于所述软组织运动预测模型使用堆叠式的结构,即下一个时刻(如t+1时刻)预测得到的预测图像x
t+2'需要基于上一时刻(如t时刻)预测得到的预测图像x
t+1',而当上一时刻(即t时刻)的预测图像出错时,后续的预测图像也会跟着出错,影响软组织运动预测的效果和精度。为解决这一问题,在训练时,本申请实施例,可以评估t时刻预测得到的预测图像x
t+1'与t+1时刻的真实图像x
t+1之间的相似度,并根据相似度,设定t+1时刻中预测图像x
t+1'的权重,即当相似度大时,可以降低真实图像x
t+1的权重,提升预测图像x
t+1'的权重;当相似度小时,则可以提升真实图像x
t+1的权重,降低预测图像x
t+1'的权重。在此,可以结合预设的相似度阈值来判定相似度大小,即当相似度大于或者等于所述相似度阈值时,可以确定相似度大;而当相似度小于所述相似度阈值时,则可以确定相似度小。其中,所述相似度阈值可以根据实际情况具体设置。
In the embodiment of the present application, the soft tissue motion prediction model is a trained model. Among them, in the training process, a schedule sampling method can be used to process the relationship between the predicted image sequence and the training image sequence. Since the soft tissue motion prediction model uses a stacked structure, that is, the predicted image x t+2 ′ predicted at the next time (such as time t+1) needs to be based on the predicted image x predicted at the previous time (such as time t). t+1 ', and when the predicted image at the previous moment (ie, time t) is wrong, the subsequent predicted image will also be wrong, which affects the effect and accuracy of soft tissue motion prediction. In order to solve this problem, during training, in this embodiment of the present application, the similarity between the predicted image x t+1 ′ predicted at time t and the real image x t+ 1 at time t+1 can be evaluated, and based on the similarity degree, set the weight of the predicted image x t+1 ' at time t+ 1, that is, when the similarity is large, the weight of the real image x t+1 can be reduced, and the weight of the predicted image x t+1 ' can be increased; If the degree is small, the weight of the real image x t+1 can be increased, and the weight of the predicted image x t+1 ′ can be reduced. Here, the similarity can be determined in combination with a preset similarity threshold, that is, when the similarity is greater than or equal to the similarity threshold, it can be determined that the similarity is large; and when the similarity is less than the similarity threshold, then It can be determined that the similarity is small. The similarity threshold may be specifically set according to the actual situation.
本申请实施例中,所述长短期记忆网络单元可以包含两种特征图:时间特征图(也可以称为时间记忆)
和空间特征图(也可以称为空间记忆)
t为时刻,l为长短期记忆网络单元所在的层数。其中,在第l层长短期记忆网络单元中,t时刻的时间特征图
直接取决于其前一时刻(即t-1时刻)的时间特征图
并由t时刻的遗忘门f
t、输入门i
t和输出门g
t控制。在第l层长短期记忆网络单元中,t时刻的空间特征图
取决于第l-1层长短期记忆网络单元的空间特征图
而对于第一层长短期记忆网络单元,t时刻的空间特征图
则可以决于前一时刻(即t-1时刻)的最后一层长短期记忆网络单元生成的空间特征图
此时可以将输入至第一层长短期记忆网络单元的
确定为
也就是说,当l=1时,输入至第l层长短期记忆网络单元的空间特征图
1≤l<L,L为所述软组织运动预测模型包含的长短期记忆网络单元的总层数,本申请实施例中,L可以为4。
In this embodiment of the present application, the long short-term memory network unit may include two types of feature maps: temporal feature maps (also referred to as temporal memory) and spatial feature maps (also known as spatial memory) t is the time, and l is the layer number of the long short-term memory network unit. Among them, in the lth layer long short-term memory network unit, the temporal feature map at time t directly depends on the temporal feature map of its previous moment (ie, moment t-1) It is controlled by the forget gate ft, the input gate it and the output gate gt at time t . In the lth layer long short-term memory network unit, the spatial feature map at time t Depends on the spatial feature map of LSTM network units in layers l-1 For the first layer of long short-term memory network units, the spatial feature map at time t Then it can depend on the spatial feature map generated by the last layer of long short-term memory network units at the previous time (ie time t-1). At this point, the input to the first layer of long short-term memory network units can be determined as That is to say, when l=1, the input to the spatial feature map of the lth layer long short-term memory network unit 1≤1<L, L is the total number of layers of long short-term memory network units included in the soft tissue motion prediction model, and in the embodiment of the present application, L may be 4.
需要说明的是,为增强不同时间图像中时空信息的传递,使得能够深层次提取原始图像序列的时空信息,以提高所述软组织运动预测模型的运动预测效果,各所述层长短期记忆网络单元可以根据时间序列跨层进行目标时空特征的传输。其中,时间序列可以为原始图像序列对应的时间序列,也可以为预测图像序列对应的时间序列。具体地,第l+1层长短期记忆网络单元可以将t-1时刻生成的目标时空特征图传输给t时刻的第l层长短期记忆网络单元。It should be noted that, in order to enhance the transmission of spatiotemporal information in different time images, so that the spatiotemporal information of the original image sequence can be deeply extracted, so as to improve the motion prediction effect of the soft tissue motion prediction model, each layer of long short-term memory network unit The transfer of target spatiotemporal features can be performed across layers according to time series. The time series may be the time series corresponding to the original image sequence or the time series corresponding to the predicted image sequence. Specifically, the l+1 layer long short-term memory network unit can transmit the target spatiotemporal feature map generated at time t-1 to the l layer long short-term memory network unit at time t.
即如图2所示,所述第四层长短期记忆网络单元204可以将其t-1时刻生成的目标时空特征图
传输给t时刻的所述第三层长短期记忆网络单元203。所述第三层长短期记忆网络单元203可以将其t-1时刻生成的目标时空特征图
传输给t时刻的所述第二层长短期记忆网络单元202。所述第二层长短期记忆网络单元202可以将其t-1时刻生成的目标时空特征图
传输给t时刻的所述第一层长短期记忆网络单元201。可选地,可以将传输给所述第四层长短期记忆网络单元204的目标时空特征图设置为0。
That is, as shown in FIG. 2 , the fourth-layer long short-term memory network unit 204 can use the target spatiotemporal feature map generated at time t-1 It is transmitted to the third-layer long short-term memory network unit 203 at time t. The third-layer long short-term memory network unit 203 can use the target spatiotemporal feature map generated at time t-1. It is transmitted to the second-layer long short-term memory network unit 202 at time t. The second-layer long short-term memory network unit 202 can use the target spatiotemporal feature map generated at time t-1. It is transmitted to the first-layer long short-term memory network unit 201 at time t. Optionally, the target spatiotemporal feature map transmitted to the fourth-layer long short-term memory network unit 204 may be set to 0.
如图2所示,所述长短期记忆网络单元可以对所输入的时间特征图、空间特征图和时空特征图进行处理,得到所述长短期记忆网络单元对应的目标时间特征图、目标空间特征图和目标时空特征图。As shown in FIG. 2 , the long short-term memory network unit can process the input temporal feature map, spatial feature map and spatio-temporal feature map to obtain the target time feature map and target spatial feature corresponding to the long short-term memory network unit. graph and target spatiotemporal feature map.
其中,对于初始时刻,即没有前一时刻的时间特征图、空间特征图和时空特征图输入的时刻,例如,在将所述原始图像序列中的原始图像x
1输入所述软组织运动预测模型时,所述终端设备可以使用随机初始化方式初始化传输至各所述长短期记忆网络单元的时间特征图、空间特征图和时空特征图,各所述长短期记忆网络单元可以结合随机产生的时间特征图、空间特征图和时空特征图,生成此时的各所述长短期记忆网络单元对应的目标时间特征图、目标空间特征图以及目标时空特征图。
Among them, for the initial moment, that is, the moment when the temporal feature map, spatial feature map and spatiotemporal feature map of the previous moment are not input, for example, when the original image x 1 in the original image sequence is input into the soft tissue motion prediction model , the terminal device can use a random initialization method to initialize the temporal feature map, spatial feature map and spatiotemporal feature map transmitted to each of the long-term and short-term memory network units, and each of the long-term and short-term memory network units can combine the randomly generated temporal feature map , a spatial feature map, and a spatiotemporal feature map to generate a target time feature map, a target spatial feature map, and a target spatiotemporal feature map corresponding to each of the long short-term memory network units at this time.
即本申请实施例通过在不同时间步之间添加额外的连接,以追求长期的连贯性和短期重复深度,能够在短时间内学习附近帧的复杂非线性过渡函数,可以显著提高其短期动态建模能力。另外,利用三重存储机制,并通过与门的简单连接,将水平更新的时间特征图、以锯齿形方向更新的空间特征图与跨时间步并跨层更新的时空特征图相结合,能够深层次提取序列的时空信息,使得软组织运动预测模型具有强大的动态建模能力,可以有效提高软组织运动预测模型的运动预测效果。That is, by adding additional connections between different time steps, the embodiment of the present application can pursue long-term coherence and short-term repetition depth, and can learn complex nonlinear transition functions of nearby frames in a short time, which can significantly improve its short-term dynamic construction. mold ability. In addition, using the triple storage mechanism and simple connection of AND gates, the temporal feature map updated horizontally, the spatial feature map updated in a zigzag direction, and the spatiotemporal feature map updated across time steps and layers can be deeply The spatiotemporal information of the sequence is extracted, so that the soft tissue motion prediction model has a strong dynamic modeling ability, which can effectively improve the motion prediction effect of the soft tissue motion prediction model.
下面对所述长短期记忆网络单元生成目标时间特征图、目标空间特征图以及目标时空特征图进行详细说明。The generation of the target temporal feature map, the target spatial feature map, and the target spatiotemporal feature map generated by the long short-term memory network unit will be described in detail below.
如图3所示,所述长短期记忆网络单元的更新方程可以为:As shown in Figure 3, the update equation of the long short-term memory network unit can be:
其中,W
xg、W
hg、W
xi、W
hi、W
xf、W
hf、W
xo、W
ho、W
co为预设的权重矩阵,b
g、b
i、b
f、b
o为预设的偏置项,σ为sigmoid函数,x
t为t时刻的原始图像,
为t-1时刻的第l+1层长短期记忆网络单元传输的目标时空特征图,
为t时刻的第l层长短期记忆网络单元生成的目标时间特征图,
为t-1时刻的第l层长短期记忆网络单元生成的目标时间特征图,
为所述自注意力模块的输入特征图(即输入至所述自注意力模块的特征图),
可以由时间特征图和时空特征图聚合而成,SA为所述自注意力模块的处理,
和
为通过自注意力模块聚合得到的候选空间特征图和候选时空特征图,
为t时刻的第l-1层长短期记忆网络单元输出的目标空间特征图。应理解,当l=1时,
Among them, W xg , W hg , W xi , W hi , W xf , W hf , W xo , W ho , W co are preset weight matrices, and b g , b i , b f , and b o are preset weight matrices Bias term, σ is the sigmoid function, x t is the original image at time t, is the target spatiotemporal feature map transmitted by the l+1 layer long short-term memory network unit at time t-1, is the target temporal feature map generated for the lth layer long short-term memory network unit at time t, The target temporal feature map generated for the lth layer of long short-term memory network units at time t-1, is the input feature map of the self-attention module (that is, the feature map input to the self-attention module), It can be aggregated from temporal feature maps and spatiotemporal feature maps, SA is the processing of the self-attention module, and are the candidate spatial feature maps and candidate spatiotemporal feature maps aggregated by the self-attention module, is the target spatial feature map output by the l-1th layer long short-term memory network unit at time t. It should be understood that when l=1,
下面对所述自注意力模块对
和
进行聚合,得到候选空间特征图和候选时空特征图的过程进行说明。
The following pair of self-attention modules and The process of obtaining candidate spatial feature maps and candidate spatiotemporal feature maps by aggregation will be described.
如图4所示,所述自注意力模块可以包括第一自注意力模块401和第二自注意力模块402,所述第一自注意力模块401与所述第二自注意力模块402并联,且所述第一自注意力模块401与所述第二自注意力模块402共享Query,所述第一自注意力模块401用于生成候选时空特征图,所述第二自注意力模块402用于生成候选空间特征图。As shown in FIG. 4 , the self-attention module may include a first self-attention module 401 and a second self-attention module 402, the first self-attention module 401 and the second self-attention module 402 are connected in parallel , and the first self-attention module 401 shares Query with the second self-attention module 402, the first self-attention module 401 is used to generate candidate spatiotemporal feature maps, and the second self-attention module 402 Used to generate candidate spatial feature maps.
如图4所示,对于输入特征图
所述第一自注意力模块401可以先将输入特征图
映射到特征空间Query、Key、Value:
As shown in Figure 4, for the input feature map The first self-attention module 401 can firstly input the feature map Map to feature space Query, Key, Value:
其中,
C为
对应的通道数,
为Q
c、K
l对应的通道数,N为
对应的元素个数,W
lq、W
lk、W
lv为预设的1×1卷积的权重矩阵。
in, C is the corresponding number of channels, is the number of channels corresponding to Q c and K l , and N is The corresponding number of elements, W lq , W lk , and W lv are preset weight matrices of 1×1 convolution.
然后,通过Q
c和K
l之间相乘
计算
中的每两个元素之间的相似性(即可 以通过
来计算)。也就是说,
中的第i个元素与第j个元素之间的相似性
然后,可以利用softmax函数对各相似性进行归一化操作,得到a
l:
Then, by multiplying between Q c and K l calculate The similarity between every two elements in (i.e. can be obtained by to calculate). That is, similarity between the i-th element and the j-th element in Then, you can use the softmax function to normalize each similarity to get a l :
其中,T表示矩阵转置,L
t,i为
中的第i个元素,L
t,j为
中的第j个元素。L
t,i、L
t,j为大小为C×1的特征向量。
Among them, T represents matrix transpose, L t,i is The i-th element in , L t,j is The jth element in . L t,i and L t,j are feature vectors of size C×1.
如图4所示,所述第一自注意力模块401可以根据下述公式生成所述候选时空特征图:As shown in FIG. 4 , the first self-attention module 401 can generate the candidate spatiotemporal feature map according to the following formula:
其中,
为t时刻的第l层长短期记忆网络单元中的第一自注意力模块生成的候选时空特征图,W
f、W
lv、W
xo、W
ho、W
co为预设的权重矩阵,
为t时刻的第l层长短期记忆网络单元中的第一自注意力模块对应的输入特征图,Z
l为第一自注意力模块基于
生成的中间特征图,Z
l;i为Z
l中的第i个元素,a
l;i,j为
中的第i个元素与第j个元素之间的相似性,
为
中的第j个元素,N为
包含的元素的总个数,σ为sigmoid函数,x
t为t时刻的原始图像,
为t-1时刻的第l+1层长短期记忆网络单元传输的目标时空特征图,
为t时刻的第l层长短期记忆网络单元生成的目标时间特征图,b
o为预设的偏置项。
in, is the candidate spatiotemporal feature map generated by the first self-attention module in the lth layer long short-term memory network unit at time t, W f , W lv , W xo , Who , and W co are the preset weight matrices, is the input feature map corresponding to the first self-attention module in the l-th layer long short-term memory network unit at time t, Z l is the first self-attention module based on The generated intermediate feature map, Z l; i is the ith element in Z l , a l; i, j are The similarity between the i-th element and the j-th element in , for The jth element in , where N is The total number of elements contained, σ is the sigmoid function, x t is the original image at time t, is the target spatiotemporal feature map transmitted by the l+1 layer long short-term memory network unit at time t-1, is the target time feature map generated by the lth layer long short-term memory network unit at time t, and b o is the preset bias term.
如图4所示,对于输入特征图
所述第二自注意力模块402可以分别通过以W
mk和W
mv为权重矩阵的1×1卷积将其映射到Key
和value
然后,可以通过Query Q
c与Key K
m之间相乘,即通过
来计算
中的第i个元素与第j个元素之间的相似性e
m;i,j。然后,可以利用 softmax函数对各相似性进行归一化操作,得到a
m:
As shown in Figure 4, for the input feature map The second self-attention module 402 can map it to Key by 1×1 convolution with W mk and W mv as weight matrices, respectively. and value Then, you can multiply between Query Q c and Key K m , that is, by to calculate The similarity between the i-th element and the j-th element in em;i,j . Then, the softmax function can be used to normalize each similarity to get a m :
具体地,所述第二自注意力模块402可以根据下述公式生成所述候选空间特征图:Specifically, the second self-attention module 402 can generate the candidate space feature map according to the following formula:
其中,
为t时刻的第l层长短期记忆网络单元中的第二自注意力模块生成的候选空间特征图,W
z、W
mv为预设的权重矩阵,
为t时刻的第l-1层长短期记忆网络单元输出的目标空间特征图,Z
m为第二自注意力模块基于
生成的中间特征图,Z
m;i为Z
m中的第i个元素,a
m;i,j为
中的第i个元素与第j个元素之间的相似性,
为
中的第j个元素,R为
包含的元素的总个数。
in, is the candidate spatial feature map generated by the second self-attention module in the lth layer long short-term memory network unit at time t, W z , W mv are preset weight matrices, is the target space feature map output by the l-1th layer long short-term memory network unit at time t, and Z m is the second self-attention module based on The generated intermediate feature map, Z m; i is the ith element in Z m , a m; i, j are The similarity between the i-th element and the j-th element in , for The jth element in , R is The total number of elements contained.
即中间特征图Z
m中第i个元素的特征值可以由value V
m中所有N个位置的加权和计算得出。
That is, the feature value of the ith element in the intermediate feature map Z m can be calculated by the weighted sum of all N positions in the value V m .
示例性的,如图3所示,所述长短期记忆网络单元可以根据下述公式对所述第一自注意力模块生成的候选时空特征图和所述第二自注意力模块生成的候选空间特征图进行处理,得到所述长短期记忆网络单元输出的目标时空特征图和目标空间特征图:Exemplarily, as shown in FIG. 3 , the long short-term memory network unit may, according to the following formula, analyze the candidate spatiotemporal feature map generated by the first self-attention module and the candidate space generated by the second self-attention module: The feature map is processed to obtain the target spatiotemporal feature map and the target spatial feature map output by the long short-term memory network unit:
其中,
为t时刻的第l层长短期记忆网络单元输出的目标时空特征图,
为t时刻的第l层长短期记忆网络单元输出的目标空间特征图,
为t时刻的第l层长短期记忆网络单元中的第一自注意力模块生成的候选时空特征图,
为t 时刻的第l层长短期记忆网络单元中的第二自注意力模块生成的候选空间特征图,e为元素乘积,σ为sigmoid函数,W
ho'和W
mg为预设的权重矩阵,b
o'和b
g'为预设的偏置项。
in, is the target spatiotemporal feature map output by the lth layer long short-term memory network unit at time t, is the target spatial feature map output by the lth layer long short-term memory network unit at time t, is the candidate spatiotemporal feature map generated by the first self-attention module in the l-th layer long short-term memory network unit at time t, is the candidate spatial feature map generated by the second self-attention module in the l-th layer long short-term memory network unit at time t, e is the element product, σ is the sigmoid function, W ho' and W mg are the preset weight matrices, b o' and b g' are preset bias terms.
可以理解的是,最后一层长短期记忆网络单元得到目标时间特征图、目标空间特征图和目标时空特征图后,可以将目标时间特征图、目标空间特征图和目标时空特征图映射回像素空间,以得到所述软组织运动预测模型输出的预测图像。此外,各所述长短期记忆网络单元可以将得到的目标时间特征图、目标时空特征图和目标空间特征图对应传输至下一时刻的各所述长短期记忆网络单元,以进行下一时刻的图像预测。It can be understood that after the last layer of long short-term memory network unit obtains the target temporal feature map, the target spatial feature map and the target spatiotemporal feature map, the target temporal feature map, the target spatial feature map and the target spatiotemporal feature map can be mapped back to the pixel space. , to obtain the predicted image output by the soft tissue motion prediction model. In addition, each of the long-term and short-term memory network units can transmit the obtained target time feature map, target space-time feature map, and target space feature map to each of the long-term and short-term memory network units at the next moment, so as to perform the next moment’s Image prediction.
本申请实施例中,可以获取原始图像序列,原始图像序列用于描述软组织在第一时间段的运动轨迹;将原始图像序列输入至预设的软组织运动预测模型进行处理,得到软组织运动预测模型输出的预测图像序列,预测图像序列用于描述预测到的软组织在与第一时间段相邻的第二时间段的运动轨迹;其中,软组织运动预测模型包括堆叠的多层长短期记忆网络单元,长短期记忆网络单元根据时间序列跨层进行目标时空特征的传输,长短期记忆网络单元包括自注意力模块。即本申请实施例中,可以通过自注意力模块获取全局空间的上下文信息,并根据时间序列跨层进行时空特征的传输,以增强不同时间的图像中时空信息的传递,使得软组织运动预测模型具有更强的空间相关性、短期建模能力和长期建模能力,可以大大提高软组织运动预测模型的预测效果和精度,从而提高软组织运动预测的效果和精度。In the embodiment of the present application, the original image sequence may be obtained, and the original image sequence is used to describe the motion trajectory of the soft tissue in the first time period; the original image sequence is input into the preset soft tissue motion prediction model for processing, and the output of the soft tissue motion prediction model is obtained. The predicted image sequence is used to describe the predicted motion trajectory of soft tissue in the second time period adjacent to the first time period; wherein, the soft tissue motion prediction model includes stacked multi-layer long short-term memory network units, long short-term memory The network unit transmits the target spatiotemporal features across layers according to the time series, and the long short-term memory network unit includes a self-attention module. That is, in the embodiment of the present application, the context information of the global space can be obtained through the self-attention module, and the spatiotemporal features can be transmitted across layers according to the time series, so as to enhance the transmission of spatiotemporal information in images at different times, so that the soft tissue motion prediction model has The stronger spatial correlation, short-term modeling ability and long-term modeling ability can greatly improve the prediction effect and accuracy of the soft tissue motion prediction model, thereby improving the effect and accuracy of soft tissue motion prediction.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
对应于上文实施例所述的软组织运动预测方法,图5示出了本申请实施例提供的软组织运动预测装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the soft tissue motion prediction method described in the above embodiments, FIG. 5 shows a structural block diagram of the soft tissue motion prediction apparatus provided by the embodiments of the present application. For convenience of description, only the parts related to the embodiments of the present application are shown.
参照图5,所述软组织运动预测装置,可以包括:5, the soft tissue motion prediction device may include:
图像序列获取模块501,用于获取原始图像序列,所述原始图像序列用于描述软组织在第一时间段的运动轨迹;an image sequence acquisition module 501, configured to acquire an original image sequence, the original image sequence being used to describe the motion trajectory of the soft tissue in the first time period;
软组织运动预测模块502,用于将所述原始图像序列输入至预设的软组织运动预测模型进行处理,得到所述软组织运动预测模型输出的预测图像序列,所述预测图像序列用于描述预测到的所述软组织在与所述第一时间段相邻的第二时间段的运动轨迹;其中,所述软组织运动预测模型包括堆叠的多层长短期记忆网络单元,所述长短期记忆网络单元根据时间序列跨层进行目标时空特征的传输,所述长短期记忆网络单元包括自注意力模块。The soft tissue motion prediction module 502 is configured to input the original image sequence into a preset soft tissue motion prediction model for processing, and obtain a predicted image sequence output by the soft tissue motion prediction model, and the predicted image sequence is used to describe the predicted image sequence. The motion trajectory of the soft tissue in a second time period adjacent to the first time period; wherein, the soft tissue motion prediction model includes stacked multi-layer long-term and short-term memory network units, and the long-term and short-term memory network units span according to time series. The layer performs the transmission of target spatiotemporal features, and the long short-term memory network unit includes a self-attention module.
可选的,在所述软组织运动预测模型中,第l+1层长短期记忆网络单元将t-1时刻生成的目标时空特征图传输给t时刻的第l层长短期记忆网络单元,1≤l<L,L为所述软组织运动预测模型包含的长短期记忆网络单元的总层数。Optionally, in the soft tissue motion prediction model, the l+1 layer long short-term memory network unit transmits the target spatiotemporal feature map generated at time t-1 to the l layer long short-term memory network unit at time t, 1≤ l<L, where L is the total number of layers of long and short-term memory network units included in the soft tissue motion prediction model.
在一种可能的实现方式中,所述自注意力模块可以包括第一自注意力模块和第二自注意力模块,所述第一自注意力模块与所述第二自注意力模块并联,所述第一自注意力模块用于生成候选时空特征图,所述第二自注意力模块用于生成候选空间特征图。In a possible implementation manner, the self-attention module may include a first self-attention module and a second self-attention module, the first self-attention module is connected in parallel with the second self-attention module, The first self-attention module is used to generate candidate spatiotemporal feature maps, and the second self-attention module is used to generate candidate spatial feature maps.
示例性的,所述第一自注意力模块可以根据下述公式生成所述候选时空特征图:Exemplarily, the first self-attention module can generate the candidate spatiotemporal feature map according to the following formula:
其中,
为t时刻的第l层长短期记忆网络单元中的第一自注意力模块生成的候选时空特征图,W
f、W
lv、W
xo、W
ho、W
co为预设的权重矩阵,
为t时刻的第l层长短期记忆网络单元中的第一自注意力模块对应的输入特征图,Z
l为第一自注意力模块基于
生成的中间特征图,Z
l;i为Z
l中的第i个元素,a
l;i,j为
中的第 i个元素与第j个元素之间的相似性,
为
中的第j个元素,N为
包含的元素的总个数,σ为sigmoid函数,x
t为t时刻的原始图像,
为t-1时刻的第l+1层长短期记忆网络单元传输的目标时空特征图,
为t时刻的第l层长短期记忆网络单元生成的目标时间特征图,b
o为预设的偏置项。
in, is the candidate spatiotemporal feature map generated by the first self-attention module in the lth layer long short-term memory network unit at time t, W f , W lv , W xo , Who , and W co are the preset weight matrices, is the input feature map corresponding to the first self-attention module in the l-th layer long short-term memory network unit at time t, Z l is the first self-attention module based on The generated intermediate feature map, Z l; i is the ith element in Z l , a l; i, j are The similarity between the i-th element and the j-th element in , for The jth element in , where N is The total number of elements contained, σ is the sigmoid function, x t is the original image at time t, is the target spatiotemporal feature map transmitted by the l+1 layer long short-term memory network unit at time t-1, is the target time feature map generated by the lth layer long short-term memory network unit at time t, and b o is the preset bias term.
示例性的,所述第二自注意力模块可以根据下述公式生成所述候选空间特征图:Exemplarily, the second self-attention module can generate the candidate space feature map according to the following formula:
其中,
为t时刻的第l层长短期记忆网络单元中的第二自注意力模块生成的候选空间特征图,W
z、W
mv为预设的权重矩阵,
为t时刻的第l-1层长短期记忆网络单元输出的目标空间特征图,Z
m为第二自注意力模块基于
生成的中间特征图,Z
m;i为Z
m中的第i个元素,a
m;i,j为
中的第i个元素与第j个元素之间的相似性,
为
中的第j个元素,R为
包含的元素的总个数。
in, is the candidate spatial feature map generated by the second self-attention module in the lth layer long short-term memory network unit at time t, W z , W mv are preset weight matrices, is the target space feature map output by the l-1th layer long short-term memory network unit at time t, and Z m is the second self-attention module based on The generated intermediate feature map, Z m; i is the ith element in Z m , a m; i, j are The similarity between the i-th element and the j-th element in , for The jth element in , R is The total number of elements contained.
可以理解的是,所述长短期记忆网络单元可以根据下述公式对所述第一自注意力模块生成的候选时空特征图和所述第二自注意力模块生成的候选空间特征图进行处理,得到所述长短期记忆网络单元输出的目标时空特征图和目标空间特征图:It can be understood that the long short-term memory network unit can process the candidate spatiotemporal feature map generated by the first self-attention module and the candidate spatial feature map generated by the second self-attention module according to the following formula: Obtain the target spatiotemporal feature map and target spatial feature map output by the long short-term memory network unit:
其中,
为t时刻的第l层长短期记忆网络单元输出的目标时空特征图,
为t时刻的第l层长短期记忆网络单元输出的目标空间特征图,
为t时刻的第l层长短期记忆网络单元中的第一自注意力模块生成的候选时空特征图,
为t时刻的第l层长短期记忆网络单元中的第二自注意力模块生成的候选空间特征 图,e为元素乘积,σ为sigmoid函数,W
ho'和W
mg为预设的权重矩阵,b
o'和b
g'为预设的偏置项。
in, is the target spatiotemporal feature map output by the lth layer long short-term memory network unit at time t, is the target spatial feature map output by the lth layer long short-term memory network unit at time t, is the candidate spatiotemporal feature map generated by the first self-attention module in the l-th layer long short-term memory network unit at time t, is the candidate spatial feature map generated by the second self-attention module in the l-th layer long short-term memory network unit at time t, e is the element product, σ is the sigmoid function, W ho' and W mg are the preset weight matrices, b o' and b g' are preset bias terms.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information exchange, execution process and other contents between the above-mentioned devices/units are based on the same concept as the method embodiments of the present application. For specific functions and technical effects, please refer to the method embodiments section. It is not repeated here.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit, and the above-mentioned integrated units may adopt hardware. It can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above-mentioned system, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
图6为本申请一实施例提供的终端设备的结构示意图。如图6所示,该实施例的终端设备6包括:至少一个处理器60(图6中仅示出一个)、存储器61以及存储在所述存储器61中并可在所述至少一个处理器60上运行的计算机程序62,所述处理器60执行所述计算机程序62时实现上述任意各个软组织运动预测方法实施例中的步骤。FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As shown in FIG. 6 , the terminal device 6 in this embodiment includes: at least one processor 60 (only one is shown in FIG. 6 ), a memory 61 , and a memory 61 stored in the memory 61 and available in the at least one processor 60 A computer program 62 running on the processor 60, when the processor 60 executes the computer program 62, implements the steps in any of the foregoing embodiments of the soft tissue motion prediction method.
所述终端设备6可以是桌上型计算机、笔记本、掌上电脑等计算设备。该终端设备可包括,但不仅限于,处理器60、存储器61。本领域技术人员可以理解,图6仅仅是终端设备6的举例,并不构成对终端设备6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。The terminal device 6 may be a computing device such as a desktop computer, a notebook, and a palmtop computer. The terminal device may include, but is not limited to, a processor 60 and a memory 61 . Those skilled in the art can understand that FIG. 6 is only an example of the terminal device 6, and does not constitute a limitation on the terminal device 6, and may include more or less components than the one shown, or combine some components, or different components , for example, may also include input and output devices, network access devices, and the like.
所述处理器60可以是中央处理单元(central processing unit,CPU),该处理 器60还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field-programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 60 can be a central processing unit (central processing unit, CPU), and the processor 60 can also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application specific integrated circuits (application specific integrated circuit) , ASIC), field programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
所述存储器61在一些实施例中可以是所述终端设备6的内部存储单元,例如终端设备6的硬盘或内存。所述存储器61在另一些实施例中也可以是所述终端设备6的外部存储设备,例如所述终端设备6上配备的插接式硬盘,智能存储卡(smart media card,SMC),安全数字(secure digital,SD)卡,闪存卡(flash card)等。进一步地,所述存储器61还可以既包括所述终端设备6的内部存储单元也包括外部存储设备。所述存储器61用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器61还可以用于暂时地存储已经输出或者将要输出的数据。The memory 61 may be an internal storage unit of the terminal device 6 in some embodiments, such as a hard disk or a memory of the terminal device 6 . In other embodiments, the memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk equipped on the terminal device 6, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, flash card (flash card), etc. Further, the memory 61 may also include both an internal storage unit of the terminal device 6 and an external storage device. The memory 61 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, such as program codes of the computer program. The memory 61 can also be used to temporarily store data that has been output or will be output.
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时可实现上述各个方法实施例中的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the foregoing method embodiments can be implemented.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行时可实现上述各个方法实施例中的步骤。The embodiments of the present application provide a computer program product, when the computer program product runs on a terminal device, so that the steps in the foregoing method embodiments can be implemented when the terminal device executes.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读存储介质至少可以包括:能够将计算机程序代码携带到装置/终端设备的任何实体或装置、记录介质、计 算机存储器、只读存储器(read-only memory,ROM,)、随机存取存储器(random access memory,RAM,)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读存储介质不可以是电载波信号和电信信号。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the present application realizes all or part of the processes in the methods of the above embodiments, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When executed by a processor, the steps of each of the above method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like. The computer-readable storage medium may include at least: any entity or device capable of carrying the computer program code to the device/terminal device, recording medium, computer memory, read-only memory (ROM, ROM), random access Memory (random access memory, RAM,), electrical carrier signals, telecommunication signals, and software distribution media. For example, U disk, mobile hard disk, disk or CD, etc. In some jurisdictions, under legislation and patent practice, computer-readable storage media may not be electrical carrier signals and telecommunications signals.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units. Or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申 请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that: it can still be used for the above-mentioned implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be included in the within the scope of protection of this application.
Claims (10)
- 一种软组织运动预测方法,其特征在于,包括:A soft tissue motion prediction method, comprising:获取原始图像序列,所述原始图像序列用于描述软组织在第一时间段的运动轨迹;acquiring an original image sequence, the original image sequence is used to describe the motion trajectory of the soft tissue in the first time period;将所述原始图像序列输入至预设的软组织运动预测模型进行处理,得到所述软组织运动预测模型输出的预测图像序列,所述预测图像序列用于描述预测到的所述软组织在与所述第一时间段相邻的第二时间段的运动轨迹;其中,所述软组织运动预测模型包括堆叠的多层长短期记忆网络单元,所述长短期记忆网络单元根据时间序列跨层进行目标时空特征的传输,所述长短期记忆网络单元包括自注意力模块。The original image sequence is input into a preset soft tissue motion prediction model for processing, and a predicted image sequence output by the soft tissue motion prediction model is obtained, and the predicted image sequence is used to describe the predicted relationship between the soft tissue and the first soft tissue. The motion trajectory of a second time period adjacent to a time period; wherein, the soft tissue motion prediction model includes a stacked multi-layer long-term and short-term memory network unit, and the long-term and short-term memory network unit transmits the target spatiotemporal feature across layers according to the time series, The long short-term memory network unit includes a self-attention module.
- 如权利要求1所述的软组织运动预测方法,其特征在于,所述长短期记忆网络单元根据时间序列跨层进行目标时空特征的传输,包括:The soft tissue motion prediction method according to claim 1, wherein the long short-term memory network unit transmits the target spatiotemporal feature across layers according to a time series, comprising:第l+1层长短期记忆网络单元将t-1时刻生成的目标时空特征图传输给t时刻的第l层长短期记忆网络单元,1≤l<L,L为所述软组织运动预测模型包含的长短期记忆网络单元的总层数。The l+1 layer long short-term memory network unit transmits the target spatiotemporal feature map generated at time t-1 to the l layer long short-term memory network unit at time t, 1≤l<L, L is the soft tissue motion prediction model contains The total number of layers of long short-term memory network units.
- 如权利要求1或2所述的软组织运动预测方法,其特征在于,所述自注意力模块包括第一自注意力模块和第二自注意力模块,所述第一自注意力模块与所述第二自注意力模块并联,所述第一自注意力模块用于生成候选时空特征图,所述第二自注意力模块用于生成候选空间特征图。The soft tissue motion prediction method according to claim 1 or 2, wherein the self-attention module comprises a first self-attention module and a second self-attention module, and the first self-attention module and the The second self-attention modules are connected in parallel, the first self-attention module is used for generating candidate spatiotemporal feature maps, and the second self-attention module is used for generating candidate spatial feature maps.
- 如权利要求3所述的软组织运动预测方法,其特征在于,所述第一自注意力模块根据下述公式生成所述候选时空特征图:The soft tissue motion prediction method according to claim 3, wherein the first self-attention module generates the candidate spatiotemporal feature map according to the following formula:其中, 为t时刻的第l层长短期记忆网络单元中的第一自注意力模块生成 的候选时空特征图,W f、W lv、W xo、W ho、W co为预设的权重矩阵, 为t时刻的第l层长短期记忆网络单元中的第一自注意力模块对应的输入特征图,Z l为第一自注意力模块基于 生成的中间特征图,Z l;i为Z l中的第i个元素,a l;i,j为 中的第i个元素与第j个元素之间的相似性, 为 中的第j个元素,N为 包含的元素的总个数,σ为sigmoid函数,x t为t时刻的原始图像, 为t-1时刻的第l+1层长短期记忆网络单元传输的目标时空特征图, 为t时刻的第l层长短期记忆网络单元生成的目标时间特征图,b o为预设的偏置项。 in, is the candidate spatiotemporal feature map generated by the first self-attention module in the lth layer long short-term memory network unit at time t, W f , W lv , W xo , Who , and W co are the preset weight matrices, is the input feature map corresponding to the first self-attention module in the l-th layer long short-term memory network unit at time t, Z l is the first self-attention module based on The generated intermediate feature map, Z l; i is the ith element in Z l , a l; i, j are The similarity between the i-th element and the j-th element in , for The jth element in , where N is The total number of elements contained, σ is the sigmoid function, x t is the original image at time t, is the target spatiotemporal feature map transmitted by the l+1 layer long short-term memory network unit at time t-1, is the target time feature map generated by the lth layer long short-term memory network unit at time t, and b o is the preset bias term.
- 如权利要求3所述的软组织运动预测方法,其特征在于,所述第二自注意力模块根据下述公式生成所述候选空间特征图:The soft tissue motion prediction method according to claim 3, wherein the second self-attention module generates the candidate space feature map according to the following formula:其中, 为t时刻的第l层长短期记忆网络单元中的第二自注意力模块生成的候选空间特征图,W z、W mv为预设的权重矩阵, 为t时刻的第l-1层长短期记忆网络单元输出的目标空间特征图,Z m为第二自注意力模块基于 生成的中间特征图,Z m;i为Z m中的第i个元素,a m;i,j为 中的第i个元素与第j个元素之间的相似性, 为 中的第j个元素,R为 包含的元素的总个数。 in, is the candidate spatial feature map generated by the second self-attention module in the lth layer long short-term memory network unit at time t, W z , W mv are preset weight matrices, is the target space feature map output by the l-1th layer long short-term memory network unit at time t, and Z m is the second self-attention module based on The generated intermediate feature map, Z m; i is the ith element in Z m , a m; i, j are The similarity between the i-th element and the j-th element in , for The jth element in , R is The total number of elements contained.
- 根据权利要求3所述的软组织运动预测方法,其特征在于,所述长短期记忆网络单元根据下述公式对所述第一自注意力模块生成的候选时空特征图和所述第二自注意力模块生成的候选空间特征图进行处理,得到所述长短期记忆网络单元输出的目标时空特征图和目标空间特征图:The soft tissue motion prediction method according to claim 3, characterized in that, the long short-term memory network unit is based on the following formula on the candidate spatiotemporal feature maps generated by the first self-attention module and the second self-attention The candidate space feature map generated by the module is processed to obtain the target spatiotemporal feature map and target space feature map output by the long short-term memory network unit:其中, 为t时刻的第l层长短期记忆网络单元输出的目标时空特征图, 为t时刻的第l层长短期记忆网络单元输出的目标空间特征图, 为t时刻的第l层长短期记忆网络单元中的第一自注意力模块生成的候选时空特征图, 为t时刻的第l层长短期记忆网络单元中的第二自注意力模块生成的候选空间特征图,e为元素乘积,σ为sigmoid函数,W ho'和W mg为预设的权重矩阵,b o'和b g'为预设的偏置项。 in, is the target spatiotemporal feature map output by the lth layer long short-term memory network unit at time t, is the target spatial feature map output by the lth layer long short-term memory network unit at time t, is the candidate spatiotemporal feature map generated by the first self-attention module in the l-th layer long short-term memory network unit at time t, is the candidate spatial feature map generated by the second self-attention module in the l-th layer long short-term memory network unit at time t, e is the element product, σ is the sigmoid function, W ho' and W mg are the preset weight matrices, b o' and b g' are preset bias terms.
- 一种软组织运动预测装置,其特征在于,包括:A soft tissue motion prediction device, comprising:图像序列获取模块,用于获取原始图像序列,所述原始图像序列用于描述软组织在第一时间段的运动轨迹;an image sequence acquisition module, configured to acquire an original image sequence, the original image sequence being used to describe the motion trajectory of the soft tissue in the first time period;软组织运动预测模块,用于将所述原始图像序列输入至预设的软组织运动预测模型进行处理,得到所述软组织运动预测模型输出的预测图像序列,所述预测图像序列用于描述预测到的所述软组织在与所述第一时间段相邻的第二时间段的运动轨迹;其中,所述软组织运动预测模型包括堆叠的多层长短期记忆网络单元,所述长短期记忆网络单元根据时间序列跨层进行目标时空特征的传输,所述长短期记忆网络单元包括自注意力模块。The soft tissue motion prediction module is used to input the original image sequence into a preset soft tissue motion prediction model for processing, and obtain a predicted image sequence output by the soft tissue motion prediction model, and the predicted image sequence is used to describe the predicted image sequence. The motion trajectory of the soft tissue in the second time period adjacent to the first time period; wherein, the soft tissue motion prediction model includes stacked multi-layer long-term and short-term memory network units, and the long-term and short-term memory network units cross layers according to time series The transmission of target spatiotemporal features is performed, and the long short-term memory network unit includes a self-attention module.
- 如权利要求7所述的软组织运动预测装置,其特征在于,在所述软组织运动预测模型中,第l+1层长短期记忆网络单元将t-1时刻生成的目标时空特征图传输给t时刻的第l层长短期记忆网络单元,1≤l<L,L为所述软组织运动预测模型包含的长短期记忆网络单元的总层数。The soft tissue motion prediction device according to claim 7, wherein in the soft tissue motion prediction model, the l+1th layer long short-term memory network unit transmits the target spatiotemporal feature map generated at time t-1 to time t The l-th layer of long-term and short-term memory network units, 1≤1<L, where L is the total number of layers of long-term and short-term memory network units included in the soft tissue motion prediction model.
- 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至6中任一项所述的软组织运动预测方法。A terminal device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, when the processor executes the computer program, the process according to claim 1 to The soft tissue motion prediction method according to any one of 6.
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的软组织运动预测方法。A computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the soft tissue motion prediction according to any one of claims 1 to 6 is realized method.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110345245.8A CN112967275B (en) | 2021-03-29 | 2021-03-29 | Soft tissue motion prediction method and device, terminal equipment and readable storage medium |
CN202110345245.8 | 2021-03-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022206036A1 true WO2022206036A1 (en) | 2022-10-06 |
Family
ID=76280364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/138567 WO2022206036A1 (en) | 2021-03-29 | 2021-12-15 | Soft tissue motion prediction method and apparatus, terminal device, and readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112967275B (en) |
WO (1) | WO2022206036A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117113077A (en) * | 2023-07-21 | 2023-11-24 | 前海飞算云创数据科技(深圳)有限公司 | Target sequence determining method, device, electronic equipment and storage medium |
CN118664607A (en) * | 2024-08-22 | 2024-09-20 | 江西求是高等研究院 | Method and system for predicting motion trail of upper limb rehabilitation robot |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112967275B (en) * | 2021-03-29 | 2022-05-24 | 中国科学院深圳先进技术研究院 | Soft tissue motion prediction method and device, terminal equipment and readable storage medium |
WO2023206532A1 (en) * | 2022-04-29 | 2023-11-02 | Oppo广东移动通信有限公司 | Prediction method and apparatus, electronic device and computer-readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109862585A (en) * | 2019-01-31 | 2019-06-07 | 湖北工业大学 | A kind of dynamic heterogeneous network flow prediction method based on depth Space-time Neural Network |
CN109919685A (en) * | 2019-03-18 | 2019-06-21 | 苏州大学 | Customer churn prediction method, apparatus, equipment and computer readable storage medium |
WO2019228654A1 (en) * | 2018-06-01 | 2019-12-05 | Toyota Motor Europe | Method for training a prediction system and system for sequence prediction |
CN112070685A (en) * | 2020-08-10 | 2020-12-11 | 武汉大学 | Method for predicting dynamic soft tissue motion of HIFU treatment system |
CN112418409A (en) * | 2020-12-14 | 2021-02-26 | 南京信息工程大学 | Method for predicting time-space sequence of convolution long-short term memory network improved by using attention mechanism |
CN112967275A (en) * | 2021-03-29 | 2021-06-15 | 中国科学院深圳先进技术研究院 | Soft tissue motion prediction method and device, terminal equipment and readable storage medium |
-
2021
- 2021-03-29 CN CN202110345245.8A patent/CN112967275B/en active Active
- 2021-12-15 WO PCT/CN2021/138567 patent/WO2022206036A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019228654A1 (en) * | 2018-06-01 | 2019-12-05 | Toyota Motor Europe | Method for training a prediction system and system for sequence prediction |
CN109862585A (en) * | 2019-01-31 | 2019-06-07 | 湖北工业大学 | A kind of dynamic heterogeneous network flow prediction method based on depth Space-time Neural Network |
CN109919685A (en) * | 2019-03-18 | 2019-06-21 | 苏州大学 | Customer churn prediction method, apparatus, equipment and computer readable storage medium |
CN112070685A (en) * | 2020-08-10 | 2020-12-11 | 武汉大学 | Method for predicting dynamic soft tissue motion of HIFU treatment system |
CN112418409A (en) * | 2020-12-14 | 2021-02-26 | 南京信息工程大学 | Method for predicting time-space sequence of convolution long-short term memory network improved by using attention mechanism |
CN112967275A (en) * | 2021-03-29 | 2021-06-15 | 中国科学院深圳先进技术研究院 | Soft tissue motion prediction method and device, terminal equipment and readable storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117113077A (en) * | 2023-07-21 | 2023-11-24 | 前海飞算云创数据科技(深圳)有限公司 | Target sequence determining method, device, electronic equipment and storage medium |
CN118664607A (en) * | 2024-08-22 | 2024-09-20 | 江西求是高等研究院 | Method and system for predicting motion trail of upper limb rehabilitation robot |
Also Published As
Publication number | Publication date |
---|---|
CN112967275B (en) | 2022-05-24 |
CN112967275A (en) | 2021-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022206036A1 (en) | Soft tissue motion prediction method and apparatus, terminal device, and readable storage medium | |
US12056211B2 (en) | Method and apparatus for determining image to be labeled and model training method and apparatus | |
WO2021179205A1 (en) | Medical image segmentation method, medical image segmentation apparatus and terminal device | |
Kang et al. | Depth-adaptive deep neural network for semantic segmentation | |
Wang et al. | Multimodal medical image segmentation using multi-scale context-aware network | |
CN112767329B (en) | Image processing method and device and electronic equipment | |
WO2018228218A1 (en) | Identification method, computing device, and storage medium | |
WO2022242127A1 (en) | Image feature extraction method and apparatus, and electronic device and storage medium | |
CN110738650B (en) | Infectious disease infection identification method, terminal device and storage medium | |
Yang et al. | Deep RetinaNet for dynamic left ventricle detection in multiview echocardiography classification | |
Li et al. | Atrous residual interconnected encoder to attention decoder framework for vertebrae segmentation via 3D volumetric CT images | |
WO2023109361A1 (en) | Video processing method and system, device, medium and product | |
Zhang et al. | SUNet++: A deep network with channel attention for small-scale object segmentation on 3D medical images | |
Lee et al. | Im2hands: Learning attentive implicit representation of interacting two-hand shapes | |
Liu et al. | A survey on deep learning methods for scene flow estimation | |
Zhang et al. | Deep learning-based real-time 3D human pose estimation | |
Wang et al. | Multistage model for robust face alignment using deep neural networks | |
WO2024041058A1 (en) | Follow-up case data processing method and apparatus, device, and storage medium | |
Li et al. | SAP‐cGAN: Adversarial learning for breast mass segmentation in digital mammogram based on superpixel average pooling | |
Hu et al. | Attention guided policy optimization for 3d medical image registration | |
Tong et al. | A hard segmentation network guided by soft segmentation for tumor segmentation on PET/CT images | |
Sun et al. | Devil in the details: Delving into accurate quality scoring for DensePose | |
Wang et al. | A short survey on deep learning for skeleton-based action recognition | |
Chen et al. | Brain tumor segmentation with label distribution learning and multi-level feature representation | |
CN115151951A (en) | Image similarity determination by analysis of registration |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21934672 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21934672 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21934672 Country of ref document: EP Kind code of ref document: A1 |