Image scanning time prediction method, device, equipment and storage medium
By using the scan time prediction model in medical testing to predict the next scan time based on the three-dimensional image sequence of two adjacent scans, the problem of low scan image quality caused by fixed scan timing is solved, and the quality of scan images and prediction accuracy are improved. Spend.
Patent Information
- Application Number
- CN201911192816.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2039-11-28
AI Technical Summary
In medical testing, fixed scanning timing results in low quality scanned images, which cannot meet the doctor's lesion analysis requirements.
By acquiring a three-dimensional image sequence of two adjacent scan times, a scan time prediction model is established to predict the time interval of the next scan and determine the optimal scan time to improve the quality of scan images.
It achieves accurate prediction of the next scanning time during the scanning process, improves the quality of the scanned image, makes full use of the spatial information of the three-dimensional image, and improves the prediction accuracy.
Smart Images

Figure CN110916701B
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical detection, and in particular to an image scanning time prediction method, device, equipment and storage medium. Background Art
[0002] In the field of medical testing, technologies such as CT (Computed Tomography) or MRI (Magnetic Resonance Imaging) are often used to scan target parts of the human body to obtain scanned images of the target parts, so that doctors can accurately analyze the lesions of the target parts based on the scanned images.
[0003] In the related art, it is usually necessary to first inject contrast agent into the human vein, and then scan according to a preset fixed scanning sequence, such as scanning every 10 seconds. As the flow time of the contrast agent in the human body changes, the contrast effect of the contrast agent on the target part will also change. Therefore, the quality of the scanned image obtained by scanning the target part at different scanning times is different.
[0004] However, when scanning is performed according to a fixed scanning sequence, each scanning time may not be a suitable scanning time, which will result in that the image quality of the scanned image obtained may be low and cannot meet the doctor's lesion analysis requirements. Summary of the invention
[0005] The embodiment of the present application provides a method and device for predicting image scanning time, which can be used to solve the problem of low image quality of scanned images existing in the related art. The technical solution is as follows:
[0006] In one aspect, a method for predicting image scanning time is provided, the method comprising:
[0007] Acquire a first image sequence at a first scanning time, and a second image sequence at a second scanning time;
[0008] The first scanning time and the second scanning time are the time between two consecutive scans of the target part, and the first scanning time is earlier than the second scanning time. The first image sequence is obtained by slicing the three-dimensional image scanned at the first scanning time from multiple angles, and the second image sequence is obtained by slicing the three-dimensional image scanned at the second scanning time from multiple angles.
[0009] Using the first image sequence and the second image sequence as inputs of a scan time prediction model, determining a predicted time interval by using the scan time prediction model, wherein the scan time prediction model is used to predict a time interval between any scan and the next scan;
[0010] A third scanning time for scanning the target site next time after the second scanning time is determined according to the second scanning time and the predicted time interval.
[0011] In one aspect, a device for predicting image scanning time is provided, the device comprising:
[0012] A first acquisition module, used for acquiring a first image sequence at the first scanning time and a second image sequence at a second scanning time;
[0013] The first scanning time and the second scanning time are the time between two adjacent scannings, and the first scanning time is earlier than the second scanning time. The first image sequence is obtained by slicing the three-dimensional image scanned at the first scanning time from multiple angles, and the second image sequence is obtained by slicing the three-dimensional image scanned at the second scanning time from multiple angles.
[0014] A prediction module, used for taking the first image sequence and the second image sequence as inputs of a scan time prediction model, and determining a prediction time interval by using the scan time prediction model, wherein the scan time prediction model is used for predicting a time interval between any scan and the next scan;
[0015] The determination module is used to determine a third scanning time for scanning the target part next time after the second scanning time according to the second scanning time and the predicted time interval.
[0016] On the one hand, an electronic device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the instruction, the program, the code set or the instruction set is loaded and executed by the processor to implement the above-mentioned image scanning time prediction method.
[0017] On the one hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, code set or instruction set is stored, and the instruction, the program, the code set or the instruction set is loaded and executed by a processor to implement the above-mentioned image scanning time prediction method.
[0018] In another embodiment, a computer program product is provided. When the computer program product is executed, it is used to implement the above-mentioned image scanning time prediction method.
[0019] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0020] In the embodiment of the present application, the image sequences of the first two scans can be obtained, and based on the image sequences of the first two scans, the scan time prediction model can be used to accurately predict the scan time of the next scan. In this way, the next scan time can be continuously predicted during the scanning process, and the target part can be accurately scanned at the predicted appropriate scan time, so that a higher quality scan image can be obtained, thereby improving the quality of the scan image. Moreover, since the image sequence is a multi-angle slice image obtained by slicing the scanned three-dimensional image from multiple angles, the scan time prediction model can make full use of the spatial information of the three-dimensional image to predict the next scan time, thereby improving the prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 is a flow chart of an image scanning time prediction method provided by an embodiment of the present application;
[0023] Figure 2 is a schematic diagram of a multi-angle slice provided in an embodiment of the present application;
[0024] Figure 3 is a schematic diagram of an enhanced processing provided by an embodiment of the present application;
[0025] Figure 4 It is a schematic diagram of a model result of an intermediate layer of a scan time prediction model provided in an embodiment of the present application;
[0026] Figure 5 is a schematic diagram of a scanning process provided in an embodiment of the present application;
[0027] Figure 6 is a device block diagram of an image scanning time prediction device provided by an embodiment of the present application;
[0028] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0030] Before explaining the embodiments of the present application in detail, the application scenarios of the embodiments of the present application are first described.
[0031] In the related art, in order to improve the image quality of the scanned image, after each scan of the target part, the scanned image can be input into a quality assessment model, and the quality assessment model is used to determine whether the image quality of the scanned image meets the quality requirements. Among them, the scanned image input into the quality assessment model is usually a cross-sectional image of the target part, and the quality assessment model is usually a classification model, which can be pre-trained based on multiple positive sample images that meet the quality requirements and multiple negative sample images that do not meet the quality requirements. However, this method can only perform quality assessment on the scanned image. Even if it is assessed that the scanned image does not meet the quality requirements, it can only serve as a warning to the doctor, and it cannot directly improve the quality of the scanned image during the scanning process, which has certain limitations.
[0032] In an embodiment of the present application, in order to fundamentally improve the quality of the scanned image during the scanning process, an image scanning time prediction method is proposed to predict the optimal scanning time of the image, so as to scan at the optimal scanning time and obtain a higher quality scanned image.
[0033] The image scanning time prediction method provided in the embodiment of the present application is a scanning time prediction method based on deep learning, which is applied to the field of medical detection. For example, in the process of scanning the target part of the human body using technologies such as CT or MRI, the scanning time prediction model provided in the embodiment of the present application can be used to analyze the results of the previous two scans, and predict the optimal scanning time for the next time, so as to scan the target part at the optimal scanning time and obtain a higher quality scanned image. Among them, the target part can be in tissues or organs such as the liver, pulmonary portal vein, and pulmonary nodules.
[0034] For example, in liver CT or MRI image recognition, plain scans can only provide static anatomical structure information, while CT or MRI contrast-enhanced scans can provide functional information on blood flow and tissue metabolism, which is particularly important for the structural description and property discrimination of liver tumors. However, in actual CT and MRI scans, due to individual differences, it is difficult for operators to accurately capture the optimal scanning time of the liver's arterial phase, portal phase, liver parenchymal phase, and delayed phase. The method provided in the embodiment of the present application predicts the optimal scanning time in liver angiography, which is used to guide the precise grasp of the scanning time during liver CT or MRI contrast scanning, and obtain accurate scanning images of the liver's arterial phase, portal phase, liver parenchymal phase, and delayed phase, to assist doctors in making accurate judgments.
[0035] Of course, the image scanning time prediction method provided in the embodiment of the present application can be applied not only to human body scanning, but also to other scanning scenarios, such as scanning scenarios of animals or objects, etc., and the embodiment of the present application is not limited to this.
[0036] Next, the terms involved in the embodiments of the present application are explained.
[0037] Multi-angle slicing: First reconstruct the two-dimensional cross-sectional slices into a three-dimensional image, and then slice the three-dimensional image from multiple angles, so as to effectively obtain more spatial information.
[0038] Multi-channel convolutional neural network: Convolutional neural network is a deep learning model, similar to ordinary neural network, composed of neurons with learnable weights and bias constants, which significantly reduces the complexity of the network through local connection and global sharing. Multi-channel convolutional neural network means that different channels will input different image information, which is very effective for processing three-dimensional images with time series.
[0039] Dense Block: When training a deep / multi-layered convolutional neural network, degradation problems usually occur, that is, the training effect of a deep network is worse than that of a shallow network. Dense Block is a deep neural network model that stacks features from different layers to improve training convergence and reduce parameters. It can effectively reduce gradient vanishing and strengthen feature transfer.
[0040] Next, the implementation environment involved in the application embodiment is introduced.
[0041] The image scanning time prediction method provided in the embodiment of the present application can be applied to an electronic device. For example, the electronic device can be a scanning device, such as a CT machine or an MRI machine. Alternatively, the electronic device is a control device of the scanning device, such as a terminal device connected to the scanning device for controlling the scanning device. For example, the terminal device can be a mobile phone, a tablet computer, or a computer.
[0042] Figure 1 is a flowchart of an image scanning time prediction method provided by an embodiment of the present application, the method is applied to electronic devices, such as Figure 1 As shown, the method comprises the following steps:
[0043] Step 101: Acquire a first image sequence at a first scanning time and a second image sequence at a second scanning time.
[0044] The first scanning time and the second scanning time are the times of scanning the target part twice in a row, and the first scanning time is earlier than the second scanning time. For example, the second scanning time is the time of the current scanning, and the first scanning time is the time of the last scanning.
[0045] The first image sequence is obtained by slicing the three-dimensional image scanned at the first scanning time from multiple angles, and the second image sequence is obtained by slicing the three-dimensional image scanned at the second scanning time from multiple angles. That is, both the first image sequence and the second image sequence are multi-angle slice images.
[0046] As an example, the operation of acquiring a first image sequence at a first scanning time includes: acquiring a plurality of first cross-sectional images obtained by scanning a target part at the first scanning time; performing three-dimensional reconstruction on the plurality of first cross-sectional images to obtain a first three-dimensional image of the target part; and slicing the first three-dimensional image from a plurality of angles, and using the obtained plurality of first slice images as a first image sequence.
[0047] The cross-sectional image refers to a cross-sectional slice image of the target part. As an example, the plurality of first cross-sectional images may be CT images obtained by CT scanning, or may be MRI images obtained by MRI scanning.
[0048] As an example, in the process of performing three-dimensional reconstruction on multiple first cross-sectional images to obtain a first three-dimensional image of the target part, the multiple first cross-sectional images may also be subjected to image interpolation processing to reconstruct a three-dimensional image with the same resolution in all directions.
[0049] As an example, the first three-dimensional image is sliced from multiple angles, that is, the first three-dimensional image is sliced from different orientations to obtain multi-angle slice images. The multiple angles can be pre-set or randomly selected, and the embodiment of the present application does not limit this.
[0050] Please refer to Figure 2 , Figure 2 is a schematic diagram of a multi-angle slice provided in an embodiment of the present application, which can be Figure 2 The multi-angle slicing method shown is used to slice the first three-dimensional image.
[0051] As an example, the operation of acquiring a second image sequence at a second scanning time includes: acquiring a plurality of second cross-sectional images obtained by scanning the target part at the second scanning time; performing three-dimensional reconstruction on the plurality of second cross-sectional images to obtain a second three-dimensional image of the target part; and slicing the second three-dimensional image from multiple angles, and using the obtained plurality of second slice images as a second image sequence.
[0052] Furthermore, after acquiring the image sequence at any scanning time, the image sequence at the scanning time can also be stored, so that the image sequence at the scanning time can be directly acquired from the stored data when needed. For example, when scanning the target image at the current second scanning time, the first image sequence at the first scanning time has been acquired and stored, then after scanning the target image at the second scanning time, the first image sequence at the first scanning time can be directly acquired from the stored data, and multiple second cross-sectional images obtained by scanning the target part at the second scanning time can be acquired, and the multiple second cross-sectional images are three-dimensionally reconstructed to obtain a second three-dimensional image of the target part, and then the second three-dimensional image is sliced from multiple angles, and the multiple second slice images obtained are used as the second image sequence.
[0053] As an example, after scanning the target image at the current second scanning time, the first image sequence at the first scanning time and the second image sequence at the second scanning time can be acquired, so as to predict the scanning time of the next scanning based on the image sequences at the first scanning time and the second scanning time.
[0054] Step 102: Using the first image sequence and the second image sequence as inputs of a scan time prediction model, and determining a prediction time interval through the scan time prediction model.
[0055] The scan time prediction model is used to predict the time interval between any scan and the next scan, and can be obtained through training with training data. The predicted time interval refers to the time interval between the second scan time and the scan time of the next scan.
[0056] As an example, the scanning time prediction model includes an input layer, an intermediate layer and an output layer. The input layer is used to obtain input data into the scanning time prediction model, the intermediate layer is used to perform prediction processing on the input data, and the output layer is used to process the data output by the intermediate layer to obtain output data.
[0057] As an example, the first image sequence and the second image sequence can be used as inputs of the input layer, and the first image sequence and the second image sequence can be repeatedly predicted n times through the intermediate layer to obtain n time intervals, and then the n time intervals can be processed through the output layer to obtain the predicted time intervals.
[0058] Wherein, n is a positive integer, and n may be 1 or an integer greater than 1. That is, the prediction process may be repeated only once or multiple times on the first image sequence and the second image sequence through the intermediate layer.
[0059] Among them, the implementation methods of processing n time intervals through the output layer to obtain the predicted time interval may include the following two methods:
[0060] The first implementation method is: determining the average time interval of n time intervals through the output layer, and using the average time interval as the predicted time interval.
[0061] It should be noted that when n is 1, the time interval obtained by the prediction process can be directly determined as the predicted time interval.
[0062] The second implementation method is to perform weighted averaging of n time intervals through the output layer to obtain the predicted time interval.
[0063] The weight of each time interval may be preset. For example, the weights of n time intervals may be set to decrease in sequence according to the prediction order, or to increase in sequence according to the prediction order, etc. Of course, other methods may also be used, which is not limited in the present embodiment.
[0064] As an example, if the prediction process is repeated 10 times on the first image sequence and the second image sequence through the intermediate layer to obtain 10 time intervals, the prediction time interval can be determined by the following formula:
[0065]
[0066] Where t is the prediction time interval, t i is the i-th time interval, w i is the weight of the i-th time interval.
[0067] It should be noted that, when the weights of the n time intervals are all 1, the average time interval of the n time intervals can be directly determined as the predicted time interval.
[0068] As an example, the intermediate layer includes a feature map extraction part, a multi-channel fusion part and a prediction part. The operation of repeatedly performing prediction processing on the first image sequence and the second image sequence n times through the intermediate layer includes: for any prediction processing of the n prediction processing, determining the first feature map corresponding to the first image sequence and the second feature map corresponding to the second image sequence through the feature map extraction part; splicing the first feature map and the second feature map through the multi-channel fusion part to obtain a third feature map; and performing prediction processing on the third feature map through the prediction part to obtain a time interval.
[0069] As an example, the feature map extraction part may include a first convolutional layer and a second convolutional layer, and the first feature map corresponding to the first image sequence may be determined through the first convolutional layer, and the second feature map corresponding to the second image sequence may be determined through the second convolutional layer.
[0070] As an example, a plurality of first slice images in a first image sequence may be convolved by a first convolution layer to obtain feature maps of the plurality of first slice images, and then a first feature map may be determined based on the feature maps of the plurality of first slice images. A plurality of second slice images in a second image sequence may be convolved by a second convolution layer to obtain feature maps of the plurality of second slice images, and then a second feature map may be determined based on the feature maps of the plurality of second slice images.
[0071] As an example, the feature maps of the plurality of first slice images may be directly determined as the first feature maps, and the feature maps of the plurality of second slice images may be directly determined as the second feature maps.
[0072] As another example, the feature map extraction part may also include a first enhancement layer and a second enhancement layer, and the feature map of at least one first slice image among the plurality of first slice images may be enhanced through the first enhancement layer, and the feature map after the enhancement processing and the feature maps of the plurality of first slice images may be determined as the first feature map. And the feature map of at least one second slice image among the plurality of second slice images may be enhanced through the second enhancement layer, and the feature map after the enhancement processing and the feature maps of the plurality of second slice images may be determined as the second feature map.
[0073] The enhancement process includes at least one of a rotation process and a mirror process. Figure 3 , Figure 3 is a schematic diagram of an enhanced processing provided by an embodiment of the present application, such as Figure 3 As shown, for a feature map of a first slice image among multiple first slice images, the feature map can be rotated and mirrored to obtain a feature map after rotation and a feature map after mirroring.
[0074] As an example, at least one feature map of a first slice image may be selected from the feature maps of multiple first slice images, and then the selected feature map may be enhanced. Also, at least one feature map of a second slice image may be selected from the feature maps of multiple second slice images, and then the selected feature map may be enhanced. The feature map selection strategy may be preset according to actual needs, and for example, a random selection strategy may be used for selection.
[0075] The feature map is enhanced through the enhancement layer, that is, by adopting enhanced input methods and processing strategies, the image is further rotated, mirrored, and other operations are performed to improve the robustness of the model.
[0076] As an example, the prediction part can be a convolutional neural network, such as a convolutional neural network based on Dense Block. Dense Block is a deep neural network that stacks features of different layers to improve training convergence ability and reduce parameters, which can effectively reduce gradient disappearance and strengthen feature transfer.
[0077] Please refer to Figure 4 , Figure 4 is a schematic diagram of the model result of the middle layer of a scan time prediction model provided in an embodiment of the present application, such as Figure 4 As shown, the middle layer of the scanning time prediction model includes a feature map extraction part, a multi-channel fusion part and a prediction part. The feature extraction part includes two convolution layers and two enhancement layers. The convolution layer is used to perform convolution processing on the corresponding image sequence, and the enhancement layer is used to enhance the feature map obtained by the convolution processing. The multi-channel fusion part is used to perform multi-channel fusion on the enhanced images of the two image sequences, that is, to splice the first feature map F1 and the second feature map F2 corresponding to the two image sequences respectively to obtain a new third feature map F. The prediction part is a convolutional neural network, which is used to predict the third feature map F output by the multi-channel fusion part to obtain a time interval.
[0078] Step 103: Determine a third scanning time for scanning the target part next time after the second scanning time according to the second scanning time and the predicted time interval.
[0079] That is, according to the second scanning time and the predicted time interval, a third scanning time which is later than the second scanning time and separated from the second scanning time by the predicted time interval can be determined, and the third scanning time is the predicted scanning time of the next scanning.
[0080] Further, after the third scanning time is determined, the target part can be scanned at the third scanning time. For example, when the current time reaches the third scanning time, the scanning device can be controlled to scan the target part.
[0081] In the embodiment of the present application, the best scanning time for the next period can be predicted based on the image scanning results of the first two periods, and accurate scanning time suggestions can be made for the next period of scanning. For example, the predicted scanning time can be fed back to the CT or MRI scanning equipment as real-time feedback, and the operator can be given a suggestion instruction for the next period of scanning, thereby improving the image accuracy of each period in the liver scan, and further assisting doctors to improve the accuracy of clinical diagnosis.
[0082] The third scanning time may be the optimal scanning time for the next scanning. By scanning the target part at the predicted third scanning time, a scanning image with higher quality may be obtained.
[0083] It should be noted that before determining the predicted time interval through the scan time prediction model, it is necessary to obtain training data and train the scan time prediction model to be trained through the training data to obtain a scan time prediction model that can predict the time interval between any scan and the next scan.
[0084] As an example, the training process of the scanning time prediction model includes: acquiring multiple sample data, each sample data includes an image sequence of a first sample scanning time and a second sample scanning time, and a sample time interval; training the scanning time prediction model to be trained based on the multiple sample data to obtain the scanning time prediction model.
[0085] The image sequence is a multi-angle slice image obtained by slicing the scanned three-dimensional image from multiple angles. The first sample scanning time and the second sample scanning time are the time for two consecutive scans of the target part, and the first sample scanning time is earlier than the second sample scanning time. The sample time interval is the time interval between the second sample scanning time and the third sample scanning time. The third sample scanning time refers to the scanning time for scanning the target part after the second sample scanning time to obtain a scanned image that meets the image quality requirements.
[0086] As an example, the multiple sample data can be screened and predicted by the doctor from the scanned images obtained from the actual scan according to experience during the actual scanning process. Of course, they can also be obtained by other methods, which is not limited to the embodiments of the present application.
[0087] In the embodiment of the present application, the image sequences of the first two scans can be obtained, and based on the image sequences of the first two scans, the scan time prediction model can be used to accurately predict the scan time of the next scan. In this way, the next scan time can be continuously predicted during the scanning process, and the target part can be accurately scanned at the predicted appropriate scan time, so that a higher quality scan image can be obtained, thereby improving the quality of the scan image. Moreover, since the image sequence is a multi-angle slice image obtained by slicing the scanned three-dimensional image from multiple angles, the scan time prediction model can make full use of the spatial information of the three-dimensional image to predict the next scan time, thereby improving the prediction accuracy.
[0088] In addition, by collecting multi-angle slice images of the target part and training based on the multi-angle slice images at the same time, the spatial information of almost the entire three-dimensional image can be used. On the other hand, the multi-angle slice images can effectively enhance the input image and suppress the overfitting phenomenon, further simplifying the design and training difficulty of the model. In addition, by adopting a multi-channel convolutional neural network, image sequences with different scanning times can be processed simultaneously, further increasing the accuracy of the prediction. In addition, by using enhanced input and multiple predictions, the entire three-dimensional image spatial information can be fully utilized for prediction, improving the robustness of the model.
[0089] As an example, during an actual scanning process, after each scan is completed, the image sequence of the current scan and the image sequence of the previous scan are used as inputs of a scan time prediction model, and the optimal scan time for the next scan is determined through the scan time prediction model.
[0090] Figure 5 is a schematic diagram of a scanning process provided by an embodiment of the present application, such as Figure 5 As shown, the scanning process includes the following steps:
[0091] 1. Before contrast agent is injected, the target area is scanned to obtain image sequence 0.
[0092] 2. After the contrast agent is injected, the target area is scanned to obtain image sequence 1.
[0093] 3. Use image sequence 0 and image sequence 1 as inputs of the scan time prediction model, and use the scan time prediction model to predict the time interval between the scan time of the third scan, thereby determining the third scan time.
[0094] 4. Scan the target area at the predicted third scanning time to obtain image sequence 2.
[0095] 5. Use image sequence 1 and image sequence 2 as inputs of the scan time prediction model, and use the scan time prediction model to predict the time interval between the scan time of the fourth scan, thereby determining the fourth scan time.
[0096] 6. Scan the target area at the predicted fourth scanning time to obtain image sequence 3.
[0097] 7. By analogy, the image sequence n-1 and the image sequence n are used as inputs of the scan time prediction model, and the time interval between the scan time of the next scan is predicted by the scan time prediction model, thereby determining the scan time of the next scan.
[0098] Figure 6is a device block diagram of an image scanning time prediction device provided by an embodiment of the present application, such as Figure 6 As shown, the device includes a first acquisition module 601 , a prediction module 602 and a determination module 603 .
[0099] A first acquisition module 601 is used to acquire a first image sequence at a first scanning time and a second image sequence at a second scanning time;
[0100] The first scanning time and the second scanning time are the time between two consecutive scans of the target part, and the first scanning time is earlier than the second scanning time. The first image sequence is obtained by slicing the three-dimensional image scanned at the first scanning time from multiple angles, and the second image sequence is obtained by slicing the three-dimensional image scanned at the second scanning time from multiple angles.
[0101] A prediction module, used for taking the first image sequence and the second image sequence as inputs of a scan time prediction model, and determining a prediction time interval by using the scan time prediction model, wherein the scan time prediction model is used for predicting a time interval between any scan and the next scan;
[0102] A determination module is used to determine a third scanning time for scanning the target part next time after the second scanning time according to the second scanning time and the predicted time interval.
[0103] Optionally, the first acquisition module 601 is used to:
[0104] Acquire a plurality of first cross-sectional images obtained by scanning the target part at the first scanning time; perform three-dimensional reconstruction on the plurality of first cross-sectional images to obtain a first three-dimensional image of the target part; slice the first three-dimensional image from the plurality of angles, and use the obtained plurality of first slice images as the first image sequence;
[0105] Acquire multiple second cross-sectional images obtained by scanning the target part at the second scanning time; perform three-dimensional reconstruction on the multiple second cross-sectional images to obtain a second three-dimensional image of the target part; slice the second three-dimensional image from the multiple angles, and use the obtained multiple second slice images as the second image sequence.
[0106] Optionally, the scan time prediction model includes an input layer, an intermediate layer and an output layer;
[0107] The prediction module 602 is used to:
[0108] Taking the first image sequence and the second image sequence as inputs of the input layer;
[0109] Repeat the prediction process on the first image sequence and the second image sequence n times through the intermediate layer to obtain n time intervals, where n is a positive integer;
[0110] The n time intervals are weighted averaged through the output layer to obtain the predicted time interval.
[0111] Optionally, the intermediate layer includes a feature map extraction part, a multi-channel fusion part and a prediction part;
[0112] The prediction module 602 is used to:
[0113] For any prediction process in the n prediction processes, determining, by the feature map extraction part, a first feature map corresponding to the first image sequence and a second feature map corresponding to the second image sequence;
[0114] The first feature map and the second feature map are concatenated through the multi-channel fusion part to obtain a third feature map;
[0115] The third feature map is predicted by the prediction part to obtain a time interval.
[0116] Optionally, the feature map extraction part includes a first convolutional layer and a second convolutional layer;
[0117] The prediction module 602 is used to:
[0118] Performing convolution processing on a plurality of first slice images in the first image sequence respectively through the first convolution layer to obtain feature maps of the plurality of first slice images, and determining the first feature map according to the feature maps of the plurality of first slice images;
[0119] The second convolution layer performs convolution processing on the plurality of second slice images in the second image sequence respectively to obtain feature maps of the plurality of second slice images, and the second feature map is determined according to the feature maps of the plurality of second slice images.
[0120] Optionally, the feature map extraction part further includes a first enhancement layer and a second enhancement layer;
[0121] The prediction module 602 is used to:
[0122] performing enhancement processing on a feature map of at least one first slice image among the plurality of first slice images through the first enhancement layer, and determining the feature map after the enhancement processing and the feature maps of the plurality of first slice images as the first feature map, wherein the enhancement processing includes at least one of a rotation processing and a mirror processing;
[0123] The determining the second feature map according to the feature maps of the plurality of second slice images comprises:
[0124] The feature map of at least one second slice image among the plurality of second slice images is enhanced through the second enhancement layer, and the feature map after the enhancement processing and the feature maps of the plurality of second slice images are determined as the second feature map.
[0125] Optionally, the device further comprises:
[0126] A second acquisition module is used to acquire a plurality of sample data, each sample data includes an image sequence of a first sample scanning time and a second sample scanning time, and a sample time interval;
[0127] The first sample scanning time and the second sample scanning time are the time between two consecutive scans of the target part, and the first sample scanning time is earlier than the second sample scanning time, the sample time interval is the time interval between the second sample scanning time and the third sample scanning time, and the third sample scanning time refers to the scanning time at which the target part can be scanned after the second sample scanning time to obtain a scanned image that meets the image quality requirement;
[0128] The training module is used to train the scan time prediction model to be trained according to the multiple sample data to obtain the scan time prediction model.
[0129] In the embodiment of the present application, the image sequences of the first two scans can be obtained, and based on the image sequences of the first two scans, the scan time prediction model can be used to accurately predict the scan time of the next scan. In this way, the next scan time can be continuously predicted during the scanning process, and the target part can be accurately scanned at the predicted appropriate scan time, so that a higher quality scan image can be obtained, thereby improving the quality of the scan image. Moreover, since the image sequence is a multi-angle slice image obtained by slicing the scanned three-dimensional image from multiple angles, the scan time prediction model can make full use of the spatial information of the three-dimensional image to predict the next scan time, thereby improving the prediction accuracy.
[0130] It should be noted that: when the image scanning time prediction device provided in the above embodiment predicts the scanning time, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the image scanning time prediction device provided in the above embodiment and the image scanning time prediction method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0131] Figure 7 : is a structural schematic diagram of an electronic device 700 provided in an embodiment of the present application, and the electronic device 700 can be a scanning device, such as a CT machine or an MRI machine. Alternatively, the electronic device 700 is a control device for the scanning device, such as a terminal device connected to the scanning device for controlling the scanning device. For example, the terminal device can be a mobile phone, a tablet computer or a computer. The electronic device 700 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 701 and one or more memories 702, wherein the memory 702 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 701 to implement the image scanning time prediction method provided by the above-mentioned various method embodiments. Of course, the electronic device 700 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the electronic device 700 may also include other components for implementing device functions, which will not be repeated here.
[0132] In an exemplary embodiment, a computer-readable storage medium is further provided, on which instructions are stored, and when the instructions are executed by a processor, the above-mentioned image scanning time prediction method is implemented.
[0133] In an exemplary embodiment, a computer program product is also provided. When the computer program product is executed, it is used to implement the above-mentioned image scanning time prediction method.
[0134] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0135] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0136] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for predicting image scanning time, characterized in that: The method comprises: Acquire a first image sequence at a first scanning time, and a second image sequence at a second scanning time; The first scanning time and the second scanning time are the time between two consecutive scans of the target part, and the first scanning time is earlier than the second scanning time. The first image sequence is obtained by slicing the three-dimensional image scanned at the first scanning time from multiple angles, and the second image sequence is obtained by slicing the three-dimensional image scanned at the second scanning time from multiple angles. Using the first image sequence and the second image sequence as inputs of a scan time prediction model, determining a predicted time interval by using the scan time prediction model, wherein the scan time prediction model is used to predict a time interval between any scan and the next scan; A third scanning time for scanning the target site next time after the second scanning time is determined according to the second scanning time and the predicted time interval.
2. The method according to claim 1, characterized in that The step of acquiring a first image sequence at a first scanning time and a second image sequence at a second scanning time comprises: Acquire a plurality of first cross-sectional images obtained by scanning the target part at the first scanning time; perform three-dimensional reconstruction on the plurality of first cross-sectional images to obtain a first three-dimensional image of the target part; slice the first three-dimensional image from the plurality of angles, and use the obtained plurality of first slice images as the first image sequence; Acquire multiple second cross-sectional images obtained by scanning the target part at the second scanning time; perform three-dimensional reconstruction on the multiple second cross-sectional images to obtain a second three-dimensional image of the target part; slice the second three-dimensional image from the multiple angles, and use the obtained multiple second slice images as the second image sequence.
3. The method according to claim 1, characterized in that The scan time prediction model includes an input layer, an intermediate layer and an output layer; The step of using the first image sequence and the second image sequence as inputs of a scan time prediction model and determining a prediction time interval by using the scan time prediction model comprises: Taking the first image sequence and the second image sequence as inputs of the input layer; Repeat the prediction process on the first image sequence and the second image sequence n times through the intermediate layer to obtain n time intervals, where n is a positive integer; The n time intervals are weighted averaged through the output layer to obtain the predicted time interval.
4. The method according to claim 3, characterized in that The intermediate layer includes a feature map extraction part, a multi-channel fusion part and a prediction part; The repeatedly performing prediction processing on the first image sequence and the second image sequence n times through the intermediate layer comprises: For any prediction process in the n prediction processes, determining, by the feature map extraction part, a first feature map corresponding to the first image sequence and a second feature map corresponding to the second image sequence; The first feature map and the second feature map are concatenated through the multi-channel fusion part to obtain a third feature map; The third feature map is predicted by the prediction part to obtain a time interval.
5. The method according to claim 4, characterized in that The feature map extraction part includes a first convolutional layer and a second convolutional layer; The step of determining, by the feature map extraction part, a first feature map corresponding to the first image sequence and a second feature map corresponding to the second image sequence comprises: Performing convolution processing on a plurality of first slice images in the first image sequence respectively through the first convolution layer to obtain feature maps of the plurality of first slice images, and determining the first feature map according to the feature maps of the plurality of first slice images; The second convolution layer performs convolution processing on the plurality of second slice images in the second image sequence respectively to obtain feature maps of the plurality of second slice images, and the second feature map is determined according to the feature maps of the plurality of second slice images.
6. The method according to claim 5, characterized in that The feature map extraction part also includes a first enhancement layer and a second enhancement layer; The determining the first feature map according to the feature maps of the plurality of first slice images comprises: performing enhancement processing on a feature map of at least one first slice image among the plurality of first slice images through the first enhancement layer, and determining the feature map after the enhancement processing and the feature maps of the plurality of first slice images as the first feature map, wherein the enhancement processing includes at least one of a rotation processing and a mirror processing; The determining the second feature map according to the feature maps of the plurality of second slice images comprises: The feature map of at least one second slice image among the plurality of second slice images is enhanced through the second enhancement layer, and the feature map after the enhancement processing and the feature maps of the plurality of second slice images are determined as the second feature map.
7. The method according to any one of claims 1 to 6, characterized in that: Before determining the predicted time interval by the scanning time prediction model, the method further includes: Acquire a plurality of sample data, each sample data including an image sequence of a first sample scanning time and a second sample scanning time, and a sample time interval; The first sample scanning time and the second sample scanning time are the time between two consecutive scans of the target part, and the first sample scanning time is earlier than the second sample scanning time, the sample time interval is the time interval between the second sample scanning time and the third sample scanning time, and the third sample scanning time refers to the scanning time at which the target part can be scanned after the second sample scanning time to obtain a scanned image that meets the image quality requirement; The scan time prediction model to be trained is trained according to the multiple sample data to obtain the scan time prediction model.
8. A device for determining a scanning time, characterized in that: The device comprises: A first acquisition module, used for acquiring a first image sequence at a first scanning time and a second image sequence at a second scanning time; The first scanning time and the second scanning time are the time between two consecutive scans of the target part, and the first scanning time is earlier than the second scanning time. The first image sequence is obtained by slicing the three-dimensional image scanned at the first scanning time from multiple angles, and the second image sequence is obtained by slicing the three-dimensional image scanned at the second scanning time from multiple angles. A prediction module, used for taking the first image sequence and the second image sequence as inputs of a scan time prediction model, and determining a prediction time interval by using the scan time prediction model, wherein the scan time prediction model is used for predicting a time interval between any scan and the next scan; A determination module is used to determine a third scanning time for scanning the target part next time after the second scanning time according to the second scanning time and the predicted time interval.
9. The device according to claim 8, characterized in that The first acquisition module is used for: Acquire a plurality of first cross-sectional images obtained by scanning the target part at the first scanning time; perform three-dimensional reconstruction on the plurality of first cross-sectional images to obtain a first three-dimensional image of the target part; Slicing the first three-dimensional image from the multiple angles, and obtaining multiple first slice images as the first image sequence; acquiring a plurality of second cross-sectional images obtained by scanning the target part at the second scanning time; Performing three-dimensional reconstruction on the plurality of second cross-sectional images to obtain a second three-dimensional image of the target part; The second three-dimensional image is sliced from the multiple angles, and the obtained multiple second slice images are used as the second image sequence.
10. The device according to claim 8, characterized in that The scan time prediction model includes an input layer, an intermediate layer and an output layer; The prediction module is used to: Taking the first image sequence and the second image sequence as inputs of the input layer; Repeat the prediction process on the first image sequence and the second image sequence n times through the intermediate layer to obtain n time intervals, where n is a positive integer; The n time intervals are weighted averaged through the output layer to obtain the predicted time interval.
11. The device according to claim 10, characterized in that The intermediate layer includes a feature map extraction part, a multi-channel fusion part and a prediction part; The prediction module is used to: For any prediction process in the n prediction processes, determining, by the feature map extraction part, a first feature map corresponding to the first image sequence and a second feature map corresponding to the second image sequence; The first feature map and the second feature map are concatenated through the multi-channel fusion part to obtain a third feature map; The third feature map is predicted by the prediction part to obtain a time interval.
12. The device according to claim 11, characterized in that The feature map extraction part includes a first convolutional layer and a second convolutional layer; The prediction module is used to: Performing convolution processing on a plurality of first slice images in the first image sequence respectively through the first convolution layer to obtain feature maps of the plurality of first slice images, and determining the first feature map according to the feature maps of the plurality of first slice images; The second convolution layer performs convolution processing on the plurality of second slice images in the second image sequence respectively to obtain feature maps of the plurality of second slice images, and the second feature map is determined according to the feature maps of the plurality of second slice images.
13. The device according to claim 12, characterized in that The feature map extraction part also includes a first enhancement layer and a second enhancement layer; The prediction module is used to: performing enhancement processing on a feature map of at least one first slice image among the plurality of first slice images through the first enhancement layer, and determining the feature map after the enhancement processing and the feature maps of the plurality of first slice images as the first feature map, wherein the enhancement processing includes at least one of a rotation processing and a mirror processing; The feature map of at least one second slice image among the plurality of second slice images is enhanced through the second enhancement layer, and the feature map after the enhancement processing and the feature maps of the plurality of second slice images are determined as the second feature map.
14. The device according to any one of claims 8 to 13, characterized in that: The device also includes: A second acquisition module is used to acquire a plurality of sample data, each sample data includes an image sequence of a first sample scanning time and a second sample scanning time, and a sample time interval; The first sample scanning time and the second sample scanning time are the time between two consecutive scans of the target part, and the first sample scanning time is earlier than the second sample scanning time, the sample time interval is the time interval between the second sample scanning time and the third sample scanning time, and the third sample scanning time refers to the scanning time at which the target part can be scanned after the second sample scanning time to obtain a scanned image that meets the image quality requirement; The training module is used to train the scan time prediction model to be trained according to the multiple sample data to obtain the scan time prediction model.
15. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the instruction, the program, the code set or the instruction set is loaded and executed by the processor to implement the method described in any one of claims 1 to 7.
16. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, at least one program, code set or instruction set, and the instruction, the program, the code set or the instruction set is loaded and executed by the processor to implement the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Adjusting acquisition protocols for dynamic medical imaging using dynamic models
CN101686825A
Motion-gated medical imaging
CN108968996A
Method and device and equipment for generating CT image and storage medium
CN109745062A
Medical image imaging method and system
CN110009709A
Medical image quality prediction method and device, equipment and storage medium
CN110458817A
