Energy spectrum CT imaging method and apparatus, and CT scanning imaging system

By using technologies such as memory cache, multi-process pipeline and parallel computing in energy spectrum CT imaging technology, the problems of large data volume and low image reconstruction efficiency are solved, achieving efficient image reconstruction and improving user experience.

WO2024174984A9PCT designated stage expired Publication Date: 2024-10-31WUHAN UNITED IMAGING LIFE SCIENCE INSTRUMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/077702
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-20
Filing Date
2024-02-20
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

In energy spectrum CT imaging technology, it is difficult to effectively improve the efficiency and quality of reconstructed images with existing technology, especially when the spatial resolution is high and the amount of data is large. How to quickly acquire and process data frames of multiple energy segments to achieve Efficient image reconstruction is a challenge.

Method used

By caching and storing data frames in memory in blocks, and using multi-process pipelines and parallel computing technology to process data frames of multiple energy segments respectively, data can be read in blocks and parallel reconstruction processing can be achieved, combining shared memory and batch reading. Access technology to optimize data access and image reconstruction processes.

Benefits of technology

It improves the data reading speed and image reconstruction efficiency, improves the parallel processing capability of multi-energy segment data, ensures image quality and user experience, and especially greatly shortens the reconstruction time in the step scan mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024077702_31102024_PF_FP_ABST
    Figure CN2024077702_31102024_PF_FP_ABST
Patent Text Reader

Abstract

An energy spectrum CT imaging method and apparatus, and a CT scanning imaging system, which can improve image reconstruction and display efficiency. The method comprises: acquiring a plurality of data frames which are collected by means of a detector (S101); caching the data frames in a memory according to energy segments, and then sequentially storing the data frames in a magnetic disk according to the energy segments (S102); reading, from the memory or the magnetic disk, data frames required for performing reconstruction (S103); and obtaining a reconstructed image by using the read data frames (S104).
Need to check novelty before this filing date? Find Prior Art

Description

Energy spectrum CT imaging method, device and CT scanning imaging system

[0001] This application claims priority to Chinese patent application number 202310138044.X, filed on February 20, 2023, entitled “Method, device and CT scanning imaging system for energy spectrum CT imaging,” the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of X-ray-based medical imaging technology, and in particular to a method, device, and CT scanning imaging system for energy spectrum CT imaging. Background Art

[0003] With the rapid development of CT (Computed Tomography) technology in recent years, spectral CT, with its multi-dimensional and quantitative imaging capabilities, which provide tissue characteristic information not available in traditional CT, has gradually become the future technological development trend in the CT field. Spectral CT, based on photon counting detectors, is currently a new development direction for X-ray imaging technology in the CT field. It offers advantages such as lower radiation dose and lower noise. In particular, photon counting detectors introduce the "energy box" concept, which can simultaneously provide CT data at multiple energy thresholds for multi-energy imaging. CT technology has been widely used in clinical diagnosis, and spectral micro CT (micro CT) based on photon counting detectors has also begun to be used in preclinical research and analysis. Its high spatial resolution requirements, long data acquisition time, and large data volumes have led to the question of how to improve the efficiency and quality of reconstruction.

[0004] Summary of the Invention

[0005] The present application provides a method for spectral CT imaging, comprising:

[0006] Acquire multiple data frames collected by the detector;

[0007] After caching each of the data frame energy segments into the memory, the energy segments are stored in the memory;

[0008] Reading data frames required for image reconstruction from the memory or storage;

[0009] The reconstructed image is obtained by using the read data frame.

[0010] In some embodiments, reading the data frames required for image reconstruction from the memory or storage includes:

[0011] When the data frame required for image reconstruction is in the memory, reading the data frame required for image reconstruction from the memory;

[0012] When the data frame required for image reconstruction is not in the memory, the data frame required for image reconstruction is read from the memory.

[0013] In some embodiments, obtaining a reconstructed image using the read data frame includes:

[0014] Storing the read data frame in a shared memory;

[0015] The data frames stored in the shared memory are read in blocks to read at least one data frame each time, thereby obtaining data frames at multiple angles;

[0016] The data frames at multiple angles are reconstructed to obtain a reconstructed image.

[0017] In some embodiments, the data frames at multiple angles include data frames at a first energy range at multiple angles and data frames at a second energy range at multiple angles. Reconstructing the data frames at multiple angles to obtain a reconstructed image includes:

[0018] Reconstructing the first energy segment data frames at multiple angles through a first pipeline process to obtain a reconstructed image corresponding to the first energy segment;

[0019] The second energy segment data frames at multiple angles are reconstructed through a second pipeline process to obtain a reconstructed image corresponding to the second energy segment; wherein the first pipeline process and the second pipeline process are independent of each other.

[0020] In some embodiments, reconstructing data frames of the first energy segment at multiple angles through a first pipeline process to obtain a reconstructed image corresponding to the first energy segment includes:

[0021] Performing correction processing on the first energy segment data frames at multiple angles through a first pipeline process;

[0022] After the correction process, the first energy segment data frames at multiple angles are reconstructed through the first pipeline process to obtain a reconstructed image corresponding to the first energy segment.

[0023] In some embodiments, before performing correction processing on the first energy segment data frames at multiple angles through the first pipeline process, the method further includes:

[0024] Through the first pipeline process, based on the fusion processing of multiple first energy segment data frames at the same angle, a fused first energy segment data frame at each angle is obtained.

[0025] In some embodiments, the first pipeline process includes multiple threads to perform parallel fusion processing on first energy segment data frames at different angles.

[0026] In some embodiments, the data frames at multiple angles include data frames corresponding to multiple energy segments at multiple angles, and reconstructing the data frames at multiple angles to obtain a reconstructed image includes:

[0027] The data frames corresponding to the multiple energy segments are respectively reconstructed through multiple pipeline processes to obtain reconstructed images corresponding to the respective energy segments.

[0028] In some embodiments, the method further comprises:

[0029] Based on the data frames of the same angle read from the memory or the storage, projection images corresponding to each angle or partial angle are displayed in sequence.

[0030] In some embodiments, based on the data frames of the same angle read from the memory or the storage, sequentially displaying projection images corresponding to each angle or a portion of the angle includes:

[0031] Based on the data frame of the first angle read from the memory or the storage, performing correction processing on the data frame of the first angle, and obtaining and displaying a projection image corresponding to the first angle;

[0032] Based on the data frame of the second angle read from the memory or the storage, the data frame of the second angle is corrected to obtain and display a projection image corresponding to the second angle.

[0033] In some embodiments, after caching each of the data frame energy segments into the memory, storing the energy segments into the memory includes:

[0034] While one batch of data in the plurality of data frames is written into the internal memory, another batch of data in the plurality of data frames is written from the internal memory into the storage.

[0035] In some embodiments, the plurality of data frames include full-energy segment data frames and high-energy segment data frames, and the method further includes:

[0036] The low energy segment data frame is obtained based on the difference between the full energy segment data frame and the high energy segment data frame.

[0037] The present application also provides a device for spectral CT imaging, comprising:

[0038] The data acquisition module is used to obtain multiple data frames collected by the detector;

[0039] A data storage module, configured to cache each of the data frames into a memory and then store the energy segments into the memory;

[0040] A reading module, configured to read data frames required for image reconstruction from the memory or storage;

[0041] The reconstruction module is used to obtain a reconstructed image using the read data frame.

[0042] The present application also provides a CT scanning imaging system, comprising:

[0043] A detector, used for collecting scanned data frames;

[0044] A memory cache unit, configured to cache the data frame into energy segments;

[0045] A storage unit, configured to store the data frames cached in the memory cache unit in energy segments;

[0046] A processor is used to perform image reconstruction processing based on the data frame read from the memory cache unit or the storage unit.

[0047] The present application also provides a computer device, including a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the method for spectral CT imaging according to any of the above embodiments.

[0048] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor is caused to execute the method for spectral CT imaging according to any one of the above embodiments.

[0049] The present application also provides a computer program product having a computer program stored thereon. When the computer program is executed by a processor, the processor is enabled to perform the method for spectral CT imaging according to any one of the above embodiments.

[0050] The details of various embodiments of the present invention will be described in the following drawings and descriptions. According to the description, drawings and claims, those skilled in the art will easily understand other features, problems solved and beneficial effects of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] FIG1 is a schematic flow chart of a method for spectral CT imaging according to one embodiment;

[0052] FIG2 is a schematic diagram of the workflow of data acquisition, storage and reading in one embodiment;

[0053] FIG3 is a schematic diagram of performing averaging processing on multiple data frames in one embodiment;

[0054] FIG4 is a diagram of a multi-process pipeline framework in one embodiment;

[0055] FIG5 is a structural block diagram of a device for spectral CT imaging in one embodiment. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0057] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0058] In one embodiment, as shown in FIG1 , a method for spectral CT imaging is provided, comprising the following steps:

[0059] Step S101: Acquire multiple data frames collected by the detector.

[0060] The X-rays produced by the tube in conventional CT have a continuous energy distribution. Spectral CT imaging uses the different absorption of matter at different X-ray energies to provide more imaging information than conventional CT.

[0061] Spectral CT includes spectral micro CT (micro CT), which can be used in preclinical research and analysis, such as animal experiments. Spectral micro CT requires very high spatial resolution, sometimes as high as micron-level resolution, and often uses a step-scan mode to reconstruct images. Step-scan mode involves rotating the system through a specific angle to collect data once, completing data acquisition at that angle and obtaining one or more data frames. In step-scan mode, data can be collected in one or more rotations, and of course, data can also be collected in fractions of a full rotation. If the rotation step angle is 1°, and data is collected for a full 360° rotation, the data acquisition time is 5 seconds. Collecting a full rotation of data for image reconstruction takes approximately 30 minutes.

[0062] The detectors used in spectral CT can be photon-counting detectors. These detectors employ the "energy bin" concept, simultaneously providing CT data at multiple energy thresholds for multi-energy imaging. Data is collected at different energy bands to generate data frames specific to each energy band.

[0063] Step S102: After caching each data frame into energy segments in the memory, the energy segments are stored in the memory.

[0064] Users can set a minimum energy threshold (generally above the detector background noise level) to ensure that the detector captures photons with energies greater than or equal to this threshold. The peak voltage of the X-ray source determines the maximum photon energy of the X-rays, i.e., the X-ray kVp (kilovolt peak). After the user sets the minimum energy threshold, the detector captures photons with energies greater than or equal to this threshold and less than or equal to the X-ray kVp, resulting in a full-energy data frame.

[0065] In some embodiments, for detectors with only two energy thresholds, the user can also set an intermediate energy threshold, which is greater than the minimum energy threshold and less than the X-ray kVp. For example, if the user sets the minimum energy threshold to 20 keV and the X-ray kVp to 140 keV, the user can set the intermediate energy threshold to 40 keV. After the user sets the intermediate energy threshold, the energy of the photons captured by the detector is greater than or equal to the intermediate energy threshold and less than or equal to the X-ray kVp, and a high-energy segment data frame is obtained accordingly. The high-energy segment data frame ranges from 40 keV to 140 keV. Of course, full-energy segment data frames can also be obtained at the same time, i.e., full-energy segment data frames with an energy range of 20 keV to 140 keV.

[0066] After obtaining the full energy segment data frame and the high energy segment data frame, the high energy segment data frame may be subtracted from the full energy segment data frame, and the subtraction result is the low energy segment data frame.

[0067] It is understandable that the intermediate energy threshold set by the user may be one or more than one, and accordingly, multiple energy segment data frames may be obtained through collection or calculation.

[0068] After obtaining multiple data frames, this step caches the multiple data frames into memory by energy segments. In the memory, data frames corresponding to the same energy segment are cached together. When data is collected quickly and the amount of data accumulated in a short period of time is large, the memory cache can be used to process batches of data in a loop. When the cache size of a batch of data in the memory reaches the preset cache size, the batch of data is sequentially stored in the memory by energy segments. That is, a batch of data is written to the memory cache while the previous batch of data is being written to the memory, and this cycle repeats until the data collection is completed.

[0069] RAM (random access memory) is a crucial component in computers, serving as the bridge between the computer and the central processing unit (CPU). Computer programs run in RAM, so its performance significantly impacts the computer. RAM, also known as internal storage, temporarily stores data used by the CPU for computations and exchanges data with external storage devices such as hard drives. While the computer is running, the CPU transfers data to RAM for computation and, upon completion, transmits the results. RAM performance is crucial for the computer's stable operation.

[0070] Memory can be non-volatile, such as a disk. Disks are one of the most important types of memory in a computer. Most of the software needed for a computer to function is stored on disk. Disks have a larger storage capacity than RAM. Disks are computer storage devices based on hard, rotating platters. They store and retrieve digital data on a flat, magnetic surface.

[0071] Step S103: Reading data frames required for image reconstruction from the memory or storage.

[0072] After multiple data frames are cached and stored in memory according to energy segments, the data frames required for image reconstruction are read from the memory or storage, depending on whether the data frames are in the memory. For example, a 360° rotation of data required for image reconstruction is collected at the same energy segment with a rotation step angle of 1°. Data frames corresponding to the same energy segment at angles {1°, 2°, 3°, ..., 360°} are read.

[0073] According to some embodiments of the present application, during a scan, data frames received from the detector are buffered in memory. Blocks of data are written from the memory for long-term storage, and data is read from the memory for online image reconstruction. If the data frame is not in memory, it is read from the memory.

[0074] If the data frame required for image reconstruction is not in memory or storage, the corresponding pipeline process will automatically terminate due to a data read timeout. Alternatively, if the data cannot be read after the waiting time, the user will be prompted on the interface that the reconstruction has failed. The user can then click the Rebuild button to restart the corresponding pipeline process on the backend.

[0075] Step S104: obtaining a reconstructed image using the read data frame.

[0076] After the data frames are read, a preset reconstruction algorithm may be used to reconstruct the read data frames to obtain a reconstructed image.

[0077] According to some embodiments of the present application, during a scan, data frames received from the detector are buffered in memory. Blocks are written from memory for long-term storage. Simultaneously, data is read from memory for online reconstruction. If a data frame is not already in memory, it is read from memory. The online reconstruction process corresponds to the scanning process, i.e., online reconstruction is performed once per scan.

[0078] After the scan is complete, users can select data frames from different energy ranges or multiple energy ranges for multiple offline reconstructions as needed. Offline reconstruction is independent of the scan. Offline reconstruction requires first reading the data frames stored in memory into internal memory. Subsequent data processing follows the same process as online reconstruction, including correction and reconstruction. Furthermore, no projection images are displayed during offline reconstruction; projection images are displayed in real time during the scan.

[0079] In the above method, data acquisition, storage and reading are modularly decoupled to make the functions of each module as simple as possible and easy to expand and maintain. First, when the detector can generate multiple energy segment data frames in one acquisition, the data frames are parsed according to energy type and stored in different energy segments after reorganization, which is convenient for subsequent viewing and application, and improves the efficiency of image reconstruction. Secondly, when the amount of data in the same time period is large, a batch of data can be cached in the memory first, and then stored in the storage sequentially, thereby greatly improving the speed of data writing to the storage and improving the efficiency of image reconstruction. Then, the data frames required for image reconstruction are read from the memory or storage, and the reconstructed image is output.

[0080] In one embodiment, the data frames required for image reconstruction are read from the memory or storage, including: when the data frames required for image reconstruction are in the memory, the data frames required for image reconstruction are read from the memory; when the data frames required for image reconstruction are not in the memory, the data frames required for image reconstruction are read from the storage.

[0081] From a hardware perspective, shared memory can be part of the above-mentioned memory. The two are memories of the same nature and can both be understood as physical memory memories, but they have different functions. Shared memory allows two unrelated processes to access the same logical memory, which is a common memory space for cross-process processing. Shared memory is a very efficient way to share and transfer data between two running processes. The memory shared between different processes is usually the same physical memory. Processes can connect the same physical memory to their own address space, and all processes can access the addresses in the shared memory. If a process writes data to the shared memory, the changes will immediately affect any other process that can access the same shared memory.

[0082] In some embodiments, if the data required for image reconstruction is in the memory, it is preferentially read from the memory to the shared memory; if it is not in the memory, it is read from the storage to the shared memory to improve the data reading speed.

[0083] In one embodiment, the read data frames are used to obtain a reconstructed image, including: storing the read data frames in a shared memory; reading the data frames in the shared memory in blocks to obtain data frames at multiple angles; and reconstructing the data frames at multiple angles to obtain a reconstructed image.

[0084] The above angle represents a specific rotation angle in step-scan mode. When reading data frames, it is possible to set the reading to at least one data frame at a time, such as M data frames, where M is a natural number greater than or equal to 1. This reading method is referred to as block reading or batch reading. The blocks of data frames can be flexibly configured as needed. For example, all or part of the data frames corresponding to the same angle can be considered as a block, or data frames corresponding to multiple angles can be considered as a block. For another example, some or all data frames corresponding to the same energy range can be considered as a block.

[0085] As described above, during reconstruction, data is collected based on the rotation angle set by the user. Generally, data for a full rotation can be collected, but it can also support scenarios where data is collected for less than or more than a full rotation. The angle / number of rotations to be collected, as well as the step angle, can be set by the user. After the read data frames are stored in shared memory, the data frames stored in shared memory can be read in blocks, obtaining data frames at angles of, for example, {1°, 2°, 3°, ..., 360°}. These data frames are then reconstructed to obtain a reconstructed image.

[0086] In one embodiment, data frames at multiple angles are reconstructed to obtain a reconstructed image, including: reconstructing data frames of a first energy segment at multiple angles through a first pipeline process to obtain a reconstructed image corresponding to the first energy segment; and reconstructing data frames of a second energy segment at multiple angles through a second pipeline process to obtain a reconstructed image corresponding to the second energy segment; wherein the first pipeline process and the second pipeline process are independent of each other.

[0087] In some embodiments, data processing in the pipeline process is performed through multi-threaded parallel processing and pipeline communication, that is, data is divided into multiple threads from the input node to various intermediate computing processing nodes and finally to the output node, and data between threads is communicated through pipeline sharing. The entire data processing process can be regarded as a pipeline.

[0088] The first energy segment can be one of a high energy segment, a full energy segment, and a low energy segment; the second energy segment can be one of a high energy segment, a full energy segment, and a low energy segment; and the first energy segment and the second energy segment are different.

[0089] Take the first energy segment as the full energy segment and the second energy segment as the high energy segment as an example:

[0090] For full-energy data frames at angles {1°, 2°, 3°, ..., 360°}, a pipeline process can be started to reconstruct these data frames and obtain reconstructed images corresponding to the full-energy range. For high-energy data frames at angles {1°, 2°, 3°, ..., 360°}, another pipeline process can be started to reconstruct these data frames and obtain reconstructed images corresponding to the high-energy range, if hardware resources permit. These two pipeline processes are independent of each other.

[0091] In this embodiment, multiple independent pipeline processes are created, which not only allows for parallel reconstruction of data frames of different energy segments, but also prevents them from interfering with each other, thereby ensuring efficient and timely processing of multi-energy segment data.

[0092] In one embodiment, reconstructing data frames of a first energy range at multiple angles through a first pipeline process to obtain a reconstructed image corresponding to the first energy range includes: performing correction processing on the data frames of the first energy range at multiple angles through the first pipeline process; and after the correction processing, reconstructing the data frames of the first energy range at multiple angles through the first pipeline process to obtain a reconstructed image corresponding to the first energy range. In some embodiments, the correction processing includes, for example, air correction, geometric correction, detector bad track correction, and tube focus position correction.

[0093] In this embodiment, the created pipeline process is not only used for reconstruction processing, but also for correction processing. For example: for the first energy segment data frame at the angle of {1°, 2°, 3°, ..., 360°}, a pipeline process can be started to perform correction processing and reconstruction processing on these data frames to obtain a reconstructed image corresponding to the first energy segment.

[0094] In one embodiment, before correcting the first energy segment data frames of multiple angles through the first pipeline process, the method provided in the present application also includes: obtaining the first energy segment data frame of each angle based on the fusion processing of multiple first energy segment data frames of the same angle through the first pipeline process.

[0095] In this embodiment, when a pipeline process is created, the pipeline process can also be used for the above-mentioned fusion processing. For example, after collecting multiple first energy segment data frames at angle a, the created pipeline process is used to perform fusion processing on multiple first energy segment data frames at angle a to obtain the first energy segment data frame at angle a.

[0096] It is understandable that, in some embodiments, the present application may also use multiple pipeline processes to perform image reconstruction as described above on data frames corresponding to multiple energy segments to obtain reconstructed images corresponding to each energy segment.

[0097] Furthermore, the multiple threads included in the pipeline process corresponding to the first energy segment can be used to perform fusion processing on the first energy segment data frames of different angles respectively. One thread can also process data frames of one angle or multiple angles. Through one thread, the first energy segment data frames of a specific angle are fused so that the fusion processing for different angles is parallel. For example, after collecting multiple first energy segment data frames of angles a and b, the two threads included in the pipeline process corresponding to the first energy segment, such as the first thread and the second thread, are used to perform fusion processing on the multiple first energy segment data frames under angles a and b respectively, and obtain the first energy segment data frames under angles a and b, so that the fusion processing for angle a and the fusion processing for angle b can be parallel. After collecting multiple first energy segment data frames of angles c and d, the first thread and the second thread can also be used to continue to perform fusion processing on the multiple first energy segment data frames under angles c and d respectively.

[0098] After obtaining the first energy segment data frame at the angles of {1°, 2°, 3°, ..., 360°}, the pipeline process is used to perform correction and reconstruction processing on the first energy segment data frame at the angles of {1°, 2°, 3°, ..., 360°} to obtain a reconstructed image corresponding to the first energy segment.

[0099] In one embodiment, the second energy segment data frames at multiple angles are reconstructed through a second pipeline process to obtain a reconstructed image corresponding to the second energy segment, including: correcting the second energy segment data frames at multiple angles through a second pipeline process; after the correction processing, reconstructing the second energy segment data frames at multiple angles through a second pipeline process to obtain a reconstructed image corresponding to the second energy segment.

[0100] In this embodiment, the created pipeline process is not only used for reconstruction processing, but also for correction processing. For example: for the second energy segment data frames at the angles of {1°, 2°, 3°, ..., 360°}, a pipeline process can be started to perform correction processing and reconstruction processing on these data frames to obtain a reconstructed image corresponding to the second energy segment.

[0101] In one embodiment, before correcting the second energy segment data frames at multiple angles through the second pipeline process, the method provided in the present application also includes: obtaining the second energy segment data frame for each angle based on the fusion processing of multiple second energy segment data frames at the same angle through the second pipeline process.

[0102] When a pipeline process is created, the pipeline process can also be used for the above-mentioned fusion processing. For example, after collecting multiple second energy segment data frames at angle a, the created pipeline process is used to perform fusion processing on the multiple second energy segment data frames at angle a to obtain the second energy segment data frames at angle a.

[0103] Furthermore, the multiple threads included in the pipeline process corresponding to the second energy segment can be used to perform fusion processing on the second energy segment data frames of different angles respectively. One thread can also process data frames of one angle or multiple angles. Through one thread, the second energy segment data frames of a specific angle are fused so that the fusion processing for different angles is parallel. For example, after collecting multiple second energy segment data frames of angles a and b, the two threads included in the pipeline process corresponding to the second energy segment, such as the third thread and the fourth thread, are used to perform fusion processing on the multiple second energy segment data frames under angles a and b respectively to obtain the second energy segment data frames under angles a and b, so that the fusion processing for angle a and the fusion processing for angle b can be parallel. After collecting multiple second energy segment data frames of angles c and d, the third thread and the fourth thread can also be used to continue to perform fusion processing on the multiple second energy segment data frames under angles c and d respectively.

[0104] After obtaining the second energy segment data frames at the angles of {1°, 2°, 3°, ..., 360°}, the pipeline process is used to perform correction and reconstruction processing on the second energy segment data frames at the angles of {1°, 2°, 3°, ..., 360°} to obtain the reconstructed image corresponding to the second energy segment.

[0105] If the host hardware resources permit, multiple independent pipeline processes can be used, with one pipeline process corresponding to one energy segment, so that the reconstruction processing of data frames of different energy segments can be carried out in parallel without interfering with each other, ensuring the efficiency and timeliness of multi-energy segment data frame processing.

[0106] In some embodiments, a multi-frame acquisition mode can be used. This means that when the microscope is rotated to a specific angle, multiple data frames are acquired at that specific angle. This multi-frame acquisition mode ensures data correction and image reconstruction quality, even with relatively few photons collected per data frame, while maintaining low tube dose for spectral Micro CT.

[0107] After collecting multiple data frames at the specific angle, the multiple first energy segment data frames at the specific angle can be fused to obtain the first energy segment data frame at the specific angle, or the multiple second energy segment data frames at the specific angle can be fused to obtain the second energy segment data frame at the specific angle.

[0108] In addition, it should be noted that in the multi-frame acquisition mode, that is, when the detector is triggered to collect multiple data frames at the same angle at one time, these data frames can be quickly processed into a normal data frame, and then the subsequent correction and reconstruction process can be carried out. This will not affect the subsequent process. In some embodiments, a data processing node for multi-frame processing can be designed. Multi-frame processing is a fusion processing performed on multiple data frames at the same angle. If only a single data frame at a certain angle is collected, multi-frame processing can be omitted. The fusion processing method is, for example: accumulating multiple data frames of the angle and taking the average value, or filtering a part of the data of each data frame according to certain rules, and weighting and splicing the filtered data. Through multi-frame processing, the efficiency of data processing can be guaranteed and the amount of photon data information can be increased, thereby improving image quality.

[0109] In one embodiment, the method provided by the present application also includes: based on the data frames of the same angle read from the memory or storage, sequentially displaying the projection images corresponding to each angle or partial angle. The projection image is an image of the original data after correction without image reconstruction. The reconstructed image generally requires the accumulation of data after scanning the set angle and then being obtained through the reconstruction algorithm. Since the reconstruction of the image has to wait for the scanning of the set angle to be completed, the image output process is relatively time-consuming. For example, in the step scanning mode, 360° data is collected, the rotation step angle is 1°, and it takes 5 seconds to collect data at each step angle. It takes about 30 minutes to complete the set angle scan. It takes at least 30 minutes to obtain the reconstructed image. During this process, the software user interface cannot display the reconstructed image. By outputting the projection images corresponding to each angle, the projection image of the scanned object at the collected angle can be directly presented in the user interface, which has high real-time performance and improves the user experience.

[0110] Correction is the processing of data frames from a single angle, while reconstruction is the processing of data frames from multiple angles. After saving the correction processing results of the data frames from each angle, the front-end interface is notified to load the projection image of this angle for display, so as to achieve the effect of fast image output; and so on, after collecting the data frames from one angle, the front-end interface is notified to dynamically update and display the projection image corresponding to the angle, which can greatly improve the user interaction experience and avoid the user having to wait for the data frames from multiple angles to be collected and reconstructed before seeing the collected image effect; at the same time, the data frames of this process can be accumulated to the reconstruction processing node, and after the data frames from multiple angles are processed, the reconstructed image is obtained and saved, and can be directly updated to the front-end interface for display, or the user can view the processing through the image viewing software.

[0111] In one embodiment, based on the data frame of the same angle read from the memory or storage, the projection images of each angle or partial angle are displayed in sequence, including: based on the data frame of the first angle read from the memory or storage, the data frame of the first angle is corrected to obtain and display the projection image of the first angle; based on the data frame of the second angle read from the memory or storage, the data frame of the second angle is corrected to obtain and display the projection image of the second angle.

[0112] In this case, the data frame for the first angle is collected before the data frame for the second angle. In this embodiment, the projection images for each angle can be displayed sequentially according to the order of collection. For example, if 360° of data is collected and the rotation step angle is 1°, the projection images for angles of 1°, 2°, 3°, ..., 360° can be displayed sequentially. Of course, in some embodiments, the projection images for each angle may not be displayed. Instead, the projection images for some angles can be displayed sequentially using an internal algorithm or custom settings. For example, the projection images for angles of 1°, 5°, and 10° can be displayed sequentially.

[0113] When rotating to a first angle, a data frame of the first angle is collected, and the image is rotated to a second angle to collect a data frame of the second angle; wherein, after collecting the data frame of the first angle, the data frame of the first angle is corrected to obtain and display the projection image of the first angle; and when rotating to a second angle and collecting the data frame of the second angle, the data frame of the second angle is processed to obtain and display the projection image of the second angle.

[0114] To better understand the above method, an embodiment is described in detail below. This embodiment provides a method for spectral CT step-by-step multi-frame scanning and image generation. It uses technologies such as multi-frame processing, sequential storage, shared memory, block storage, and batch reading to improve data access efficiency. In addition, it utilizes the characteristic that a single scan of the spectral spectrum generates data for multiple energy segments, and adopts multi-process pipelines and parallel computing technologies to improve the quality and efficiency of reconstruction and image generation.

[0115] When multiple data frames are collected from a specific angle, a specific algorithm is used to fuse these frames. This fusion process is called multi-frame processing. Fusion methods include accumulating and averaging the data frames from the same angle, or filtering a portion of each frame based on a specific rule and then weighting and concatenating the filtered data.

[0116] When writing to memory, data is typically written in a specific order, known as the storage order. When storing data frames, different frames can be stored in different blocks, a storage method known as block storage. When reading data frames, M frames can be read at a time, a method known as batch reading or block reading.

[0117] Step-scan mode is commonly used in Micro CT. This mode collects data once per rotation angle, resulting in a relatively lengthy scanning process. Conventional spectral Micro CT, based on photon counting detectors, while offering numerous advantages such as multi-energy imaging and precise quantitative analysis, suffers from increased uncertainty due to increased data volume and parameters affecting image quality, which in turn impacts image quality and efficiency.

[0118] In an embodiment of the present application, the data access of the energy spectrum CT step multi-frame scanning and imaging method supports the reading and writing of multi-energy segment data, and can perform efficient calculation and processing on different energy segment data in parallel at the same time. Some energy segment data can be obtained through calculations on other energy segment data. For example, the low energy segment data frame is equal to the full energy segment data frame minus the high energy segment data frame.

[0119] In an embodiment of the present application, data access also supports the acquisition mode of multi-frame scanning of the detector. Collecting multi-frame data can increase the amount of photon data information, which can improve the image quality. In an embodiment of the present application, a multi-frame data processing method is provided, which is based on the fusion processing of multiple data frames of the same energy segment at the same angle, and parallel processing of multiple angles and energy segments to obtain data frames for each energy segment at each angle, without affecting the normal correction and reconstruction process of subsequent data.

[0120] In addition, in the embodiments of the present application, data access also supports a write-while-read mode, so that a data frame of an angle can be quickly acquired in near real time, and then the data frame of this angle is corrected to obtain a projection image of the angle, and the projection image of the angle is first presented on the interface. When the rotation continues, as the angle changes, the interface also displays projection images of different angles, allowing the user to feel the scanning and acquisition process, thereby improving the user experience. At the same time, in this process, the collected data frames are accumulated and multi-energy segment image reconstruction is performed. After the reconstruction is completed, the front-end interface can be notified to update and display the reconstructed image.

[0121] According to various embodiments of the present application, the spectral CT imaging method has the following characteristics:

[0122] The modular decoupling design of data acquisition, storage and reading is adopted, so that each module has a single function and is easy to expand and maintain. As shown in Example Figure 2, in the embodiment of the present application, the photon counting detector can generate multiple energy segment data at one time. First, the data is parsed according to the energy type and then reorganized and stored in different energy segment data frames, including high energy segment data frames and full energy segment data frames, which are convenient for later viewing and application; secondly, a batch of data is first cached in memory and then stored in memory (such as hard disk) in sequence, which can greatly improve the speed of data writing to memory and ensure that the data is complete and not lost; then, the data is read in batches through shared memory and block. If the read data is in memory, it is read from memory to shared memory first. If it is not in memory, it is read from memory to shared memory. The above method in this embodiment can greatly improve the data reading speed and solve the problem of large amount of data in the same time period.

[0123] The matrix parallel computing framework design supports maximum parallel processing of multi-frame data and supports parallel computing of data from multiple energy segments, such as multi-frame data fusion processing. See Figure 3 for details. Image data is generally represented and processed in matrix form, and parallel computing can be performed on the data of each point in the matrix.

[0124] In an embodiment of the present application, when in positioning scanning mode, the radiation dose at different positions of different scanning objects can be calculated based on the photon information of each point in the collected data by intelligent analysis, and then it can be determined whether the number of scanning frames set by the user is appropriate. If it is not appropriate, it will automatically determine whether to use a single-frame acquisition mode or a multi-frame acquisition mode that can increase the number of photons based on the number of scanning frames set by the user in the subsequent tomography. When the single-frame acquisition mode is automatically determined to be used, each time the camera rotates to a specific angle, a data frame of the specific angle is collected. When the multi-frame acquisition mode is automatically determined to be used, each time the camera rotates to a specific angle, N data frames of the specific angle are collected according to the number of frames N required by the user, where the number of frames N can be determined by an intelligent analysis algorithm.

[0125] In this way, users do not need to worry about when to start the multi-frame acquisition mode, nor do they need to try to set a specific number of frames. That is, during the entire scanning process, users do not need to worry about the impact of the scanning frame number parameter on image quality.

[0126] The above-mentioned scouting image scanning refers to a scanning method in which the X-ray tube and the detector are stationary, and the subject moves at a constant speed in the scanning hole along with the examination bed, and the tube is exposed at the same time to obtain a planar image.

[0127] The multi-process pipeline framework design supports real-time dynamic plotting and maximizes parallel processing of data from multiple energy segments. As shown in Figure 4, data is stored uniformly by energy segment type, such as the high-energy segment data frame in Figure 4. At this point, an independent pipeline process performs correction processing for each angle to form a projection image. During the projection image generation process, the appropriate window width and window level values ​​are automatically calculated based on the data collected from each angle, allowing the projection image for each angle to be displayed with adaptive window width and window level, greatly improving the user experience.

[0128] Among them, the window width is the grayscale range displayed by the CT image, and the window position is the center position of the window width. If these two values ​​are set unreasonably, the display effect of normal tissues or diseased structure details of different densities will be poor. Generally, common tissues in CT reconstructed images have a fixed window width and window position value range. Sometimes users need to manually adjust the window width and window position values ​​to achieve the optimal viewing effect. In the embodiment of the present application, the system automatically calculates the appropriate window width and window position according to the grayscale distribution of the image, which can replace the process of manually adjusting the window width and window position and improve the user experience.

[0129] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0130] In one embodiment, as shown in FIG5 , a device for spectral CT imaging is provided, comprising:

[0131] The data acquisition module 501 is used to acquire multiple data frames collected by the detector;

[0132] A data storage module 502 is configured to cache each of the data frames into a memory and store the energy segments into the memory;

[0133] A reading module 503 is configured to read data frames required for image reconstruction from the memory or storage;

[0134] The reconstruction module 504 is configured to obtain a reconstructed image using the read data frame.

[0135] In one embodiment, the reading module 503 is further configured to read the data frames required for image reconstruction from the memory when the data frames required for image reconstruction are in the memory; and to read the data frames required for image reconstruction from the memory when the data frames required for image reconstruction are not in the memory.

[0136] In one embodiment, the reconstruction module 504 is further configured to store the read data frames into a shared memory; read the data frames stored in the shared memory in blocks to obtain data frames at multiple angles; and reconstruct the data frames at multiple angles to obtain a reconstructed image.

[0137] In one embodiment, the reconstruction module 504 is further used to reconstruct the first energy segment data frames at multiple angles through a first pipeline process to obtain a reconstructed image corresponding to the first energy segment; and to reconstruct the second energy segment data frames at multiple angles through a second pipeline process to obtain a reconstructed image corresponding to the second energy segment; wherein the first pipeline process and the second pipeline process are independent of each other.

[0138] In one embodiment, the reconstruction module 504 is also used to perform correction processing on the first energy segment data frames at multiple angles through a first pipeline process; after the correction processing, the first energy segment data frames at multiple angles are reconstructed through the first pipeline process to obtain a reconstructed image corresponding to the first energy segment.

[0139] In one embodiment, the device further includes a fusion module for obtaining a first energy segment data frame for each angle based on a fusion process of multiple first energy segment data frames at the same angle through a first pipeline process.

[0140] In one embodiment, the fusion processes for different angles are performed in parallel.

[0141] In one embodiment, the device further includes a projection image processing module for sequentially displaying projection images corresponding to various angles or partial angles based on data frames of the same angle read from the memory or the storage.

[0142] In one embodiment, the projection image processing module is also used to correct the data frame of the first angle based on the data frame of the first angle read from the memory or the storage, and obtain and display the projection image of the first angle; based on the data frame of the second angle read from the memory or the storage, correct the data frame of the second angle, and obtain and display the projection image of the second angle.

[0143] The specific definitions of the spectral CT imaging apparatus can be found in the definitions of the spectral CT imaging method above and will not be repeated here. Each module in the aforementioned spectral CT imaging apparatus may be implemented in whole or in part via software, hardware, or a combination thereof. Each of these modules may be embedded in or independent of a processor within a computer device in hardware form, or stored in a computer device memory in software form, allowing the processor to invoke and execute the corresponding operations of each module.

[0144] In one embodiment, a CT scanning imaging system is provided, which includes a detector, a memory cache unit, a storage unit, and a processor. In some embodiments, the CT scanning imaging system also includes a tube for generating X-rays. In some embodiments, the CT scanning imaging system can be a simple CT device, or a multimodal scanning imaging system in which a CT device is combined with other imaging devices, such as a PET device (the full name of PET in English is positron emission tomography, and the Chinese name is positron emission computed tomography). In some embodiments, the CT scanning imaging system is a Micro CT (micro CT) scanning imaging system. The Micro CT scanning imaging system can be used for preclinical scientific research analysis.

[0145] The detector may be a photon counting detector that can sense X-rays; the detector is used to collect scanned data frames.

[0146] The memory cache unit is used to cache data frames into energy segments.

[0147] The storage unit is used to store the data frames that have been cached in the memory cache unit in energy segments.

[0148] The processor is used to perform image reconstruction processing based on the data frame read from the memory cache unit or the storage unit.

[0149] The memory cache unit can be a physical memory storage device, such as RAM. RAM is a crucial component in a computer, serving as a bridge for communication with the processor. Computer programs run in RAM, so RAM performance significantly impacts the computer. RAM, also known as internal storage, temporarily stores CPU computational data and data exchanged with external storage devices such as hard drives. When a computer is running, the CPU transfers data to RAM for computation. Once the computation is complete, the CPU transmits the result. The performance of RAM significantly impacts the computer's stability.

[0150] From a hardware perspective, one part of the memory cache unit mentioned above can be shared memory. Shared memory and the memory cache unit mentioned above are memories of the same nature and can both be understood as physical memory memories, but they have different functions. Shared memory allows two unrelated processes to access the same logical memory, which is a common memory space for cross-process processing. Shared memory is a very efficient way to share and transfer data between two running processes. The memory shared between different processes is usually the same physical memory segment. Processes can connect the same physical memory segment to their own address space, and all processes can access the addresses in the shared memory. If a process writes data to the shared memory, the changes will immediately affect any other process that can access the same shared memory segment.

[0151] The storage unit can be a disk, which is one of the most important memory devices in a computer. Most of the software required for the computer to function properly is stored on the disk. Disk storage has a larger capacity, unlike RAM. A disk is a computer storage device based on a hard, rotating platter. It stores and retrieves digital data on a flat, magnetic surface. In some embodiments, the disk storage unit includes a hard disk, which is a type of magnetic disk, such as a mechanical hard drive. Furthermore, the storage unit may also include, for example, a solid-state drive.

[0152] Furthermore, when the data frame required for image reconstruction is in the memory cache unit, the processor reads the data frame required for image reconstruction from the memory cache unit; when the data frame required for image reconstruction is not in the memory cache unit, the processor reads the data frame required for image reconstruction from the storage unit.

[0153] Furthermore, the processor uses the read data frames to obtain a reconstructed image, which specifically includes the following steps: the processor stores the read data frames into a shared memory; reads the data frames in the shared memory in blocks to obtain data frames at multiple angles; and reconstructs the data frames at multiple angles to obtain a reconstructed image.

[0154] Furthermore, when the processor reconstructs the data frames at multiple angles to obtain a reconstructed image, the following steps are specifically included: through a first pipeline process, the first energy segment data frames at multiple angles are reconstructed to obtain a reconstructed image corresponding to the first energy segment; through a second pipeline process, the second energy segment data frames at multiple angles are reconstructed to obtain a reconstructed image corresponding to the second energy segment; wherein the first pipeline process and the second pipeline process are independent of each other.

[0155] Furthermore, when the processor reconstructs the first energy segment data frames at multiple angles through the first pipeline process to obtain a reconstructed image corresponding to the first energy segment, the following steps are specifically included: correcting the first energy segment data frames at multiple angles through the first pipeline process; after the correction processing, reconstructing the first energy segment data frames at multiple angles through the first pipeline process to obtain a reconstructed image corresponding to the first energy segment.

[0156] Furthermore, before the processor performs correction processing on the first energy segment data frames of multiple angles through the first pipeline process, it also performs the following steps: through the first pipeline process, based on the fusion processing of multiple first energy segment data frames of the same angle, the first energy segment data frame of each angle is obtained.

[0157] Furthermore, the fusion processing for different angles is performed in parallel.

[0158] Furthermore, the above-mentioned CT scanning imaging system also includes a display unit, which is used to display the reconstructed image or projection image. The display unit can specifically be a display.

[0159] The processor can sequentially display the projection images corresponding to each angle or partial angle on the display unit according to the data frame of the same angle read from the memory cache unit or the storage unit.

[0160] Furthermore, the processor can correct the data frame of the first angle based on the data frame of the first angle read from the memory cache unit or the storage unit to obtain the projection image corresponding to the first angle, and display the projection image corresponding to the first angle on the display unit; and correct the data frame of the second angle based on the data frame of the second angle read from the memory cache unit or the storage unit to obtain the projection image corresponding to the second angle, and display the projection image corresponding to the second angle on the display unit.

[0161] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the method for spectral CT imaging according to any of the above embodiments.

[0162] In one embodiment, a computer program product is provided, on which a computer program is stored. The computer program is executed by a processor so that the processor performs the method for spectral CT imaging according to any one of the above embodiments.

[0163] In one embodiment, a computer device is provided, including a processor and a memory. The memory stores a computer program, which, when executed by the processor, causes the processor to perform the method for spectral CT imaging according to any of the above embodiments.

[0164] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program. The above-mentioned computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods.

[0165] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0166] The above embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. A method for spectral CT imaging, include: Acquire multiple data frames collected by the detector; After caching each of the data frame energy segments into the memory, the energy segments are stored in the memory; Reading data frames required for image reconstruction from the memory or the storage; The reconstructed image is obtained by using the read data frame.

2. The method according to claim 1, in, Reading a data frame required for image reconstruction from the memory or the storage includes: When the data frame required for image reconstruction is in the memory, the data frame required for image reconstruction is read from the memory; When the data frame required for image reconstruction is not in the memory, the data frame required for image reconstruction is read from the memory.

3. The method according to claim 1 or 2, in, The reconstructed image is obtained by using the read data frame, comprising: Storing the read data frame into a shared memory; The data frames stored in the shared memory are read in blocks to read at least one data frame each time, thereby obtaining data frames at multiple angles; The data frames at multiple angles are reconstructed to obtain a reconstructed image.

4. The method according to claim 3, in, The data frames at multiple angles include data frames at multiple angles of a first energy segment and data frames at multiple angles of a second energy segment. The data frames at multiple angles are reconstructed to obtain a reconstructed image, including: Reconstructing the first energy segment data frames at multiple angles through a first pipeline process to obtain a reconstructed image corresponding to the first energy segment; Through the second pipeline process, the second energy segment data frames at multiple angles are reconstructed to obtain a reconstructed image corresponding to the second energy segment; wherein the first pipeline process and the second pipeline process are independent of each other.

5. The method according to claim 4, in, Through the first pipeline process, the first energy segment data frames at multiple angles are reconstructed to obtain a reconstructed image corresponding to the first energy segment, including: Correction processing is performed on first energy segment data frames at multiple angles through a first pipeline process; After the correction process, the first pipeline process is used to reconstruct the first energy segment data frames at multiple angles to obtain a reconstructed image corresponding to the first energy segment.

6. The method according to claim 5, in, Before performing correction processing on the first energy segment data frames at multiple angles through the first pipeline process, the method further includes: Through the first pipeline process, based on the fusion processing of multiple first energy segment data frames at the same angle, the fused first energy segment data frame at each angle is obtained.

7. The method according to any one of claims 4 to 6, in, The first pipeline process includes multiple threads for performing parallel fusion processing on first energy segment data frames at different angles respectively.

8. The method according to claim 3, in, The data frames at multiple angles include data frames at multiple angles corresponding to multiple energy segments, and the data frames at multiple angles are reconstructed to obtain a reconstructed image, including: The data frames corresponding to the multiple energy segments are respectively reconstructed through multiple pipeline processes to obtain reconstructed images corresponding to each energy segment.

9. The method according to any one of claims 1 to 8, in, The method further comprises: Based on the data frames of the same angle read from the memory or the storage, projection images corresponding to each angle or partial angle are displayed in sequence.

10. The method according to claim 9, in, Based on the data frames of the same angle read from the memory or the storage, the projection images corresponding to each angle or a part of the angle are displayed in sequence, including: Based on the data frame of the first angle read from the memory or the storage, correct the data frame of the first angle to obtain and display a projection image corresponding to the first angle; Based on the data frame of the second angle read from the memory or the storage, the data frame of the second angle is corrected to obtain and display a projection image corresponding to the second angle.

11. The method according to any one of claims 1 to 10, wherein after caching each of the data frame energy segments into a memory, the energy segments are stored in the memory, include: While a batch of data in the plurality of data frames is written into the memory, another batch of data in the plurality of data frames is written from the memory into the storage.

12. The method according to any one of claims 1 to 11, wherein the plurality of data frames include full energy segment data frames and high energy segment data frames, and the method further comprises: include: The low energy segment data frame is obtained based on the difference between the full energy segment data frame and the high energy segment data frame.

13. A device for spectral CT imaging, include: A data acquisition module is used to acquire multiple data frames collected by the detector; A data storage module, used for caching each of the data frame energy segments into the memory and storing the energy segments into the memory; A reading module, used for reading data frames required for image reconstruction from the memory or the storage; The reconstruction module is used to obtain a reconstructed image using the read data frame.

14. A CT scanning imaging system, include: A detector, used for collecting scanned data frames; A memory cache unit, used for caching the data frame into energy segments; A storage unit, used for storing the data frames cached in the memory cache unit in energy segments; The processor is used to perform image reconstruction processing according to the data frame read from the memory cache unit or the storage unit.

15. A computer device comprising a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the method for spectral CT imaging according to any one of claims 1 to 12. 16 . A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor is enabled to execute the method for spectral CT imaging according to claim 1 . 17 . A computer program product having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor is enabled to execute the method for spectral CT imaging according to claim 1 .