A chest CT image processing method
By dividing the respiratory time zones in chest CT scans and using convolutional neural networks to eliminate artifacts, the problem of inaccurate respiratory artifact elimination in traditional methods is solved, and the quality and diagnostic accuracy of chest CT images are improved.
Patent Information
- Application Number
- CN202510352298.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2045-03-25
AI Technical Summary
Traditional chest CT image processing methods are difficult to capture the differences between different respiratory stages at the fine-grained level, resulting in the inability to accurately eliminate respiratory artifacts, affecting image clarity and diagnostic accuracy.
By obtaining layer-by-layer mobile scanning records and breath monitoring records during chest CT scan, it is divided into Q breathing time zones and inhalation time zones. A convolutional neural network is used to construct a respiratory artifact elimination model, including Q breathing artifact elimination plug-ins, and artifact elimination is performed on the local CT image set and the image is fused and reconstructed.
It significantly improves the precision and accuracy of respiratory artifact elimination, improves the quality and accuracy of chest CT images, and reduces the risk of misdiagnosis.
Smart Images

Figure CN119863541B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing, and in particular to a chest CT image processing method. Background Art
[0002] In traditional chest CT scans, the patient's respiratory cycle causes the lungs to undergo dynamic changes during inhalation and exhalation. This dynamic change usually causes artifacts in the image. These artifacts often appear as blurred or striped shadows in the image, affecting the clarity and detail of the CT image. This is especially true in the detection of small lung nodules or early lesions. The presence of artifacts may lead to misdiagnosis or missed diagnosis.
[0003] Because patients go through different respiratory stages during the scanning process, traditional methods are often unable to specifically address each stage, resulting in the inability to accurately eliminate respiratory artifacts in the image. At the same time, respiratory artifacts will affect the clarity of the image, leading to inaccurate diagnosis of lung diseases and increasing the risk of misdiagnosis. Summary of the Invention
[0004] The present invention provides a chest CT image processing method to solve the technical problem that traditional chest CT image processing methods are difficult to capture the differences between different respiratory stages at a fine-grained level, resulting in the inability to accurately eliminate respiratory artifact interference in the image.
[0005] The technical solution of the present invention to solve the above-mentioned technical problems is as follows: The present invention provides a chest CT image processing method, comprising: obtaining a chest CT image to be processed, as well as a layer-by-layer motion scanning record and a respiratory monitoring record during CT scanning; based on the respiratory monitoring record, dividing the scanning time zone into Q exhalation time zones and Q inhalation time zones, and dividing, clustering and labeling the chest CT image to be processed according to the Q exhalation time zones and Q inhalation time zones to obtain a 2Q local CT image set; constructing a respiratory artifact elimination model based on a convolutional neural network, wherein the respiratory artifact elimination model includes Q exhalation artifact elimination plug-ins and Q inhalation artifact elimination plug-ins; using the Q exhalation artifact elimination plug-ins and the Q inhalation artifact elimination plug-ins, respectively performing respiratory artifact mapping elimination on the 2Q local CT image set to obtain a 2Q standard local CT image set, and after fusion, obtaining a reconstructed chest CT image as an image processing result.
[0006] Preferably, the chest CT image processing method further includes: when the user performs a chest CT scan, synchronously collecting the user's breathing characteristics according to a predetermined timestamp through a chest strap sensor to obtain a breathing feature sequence as a breathing monitoring record; based on the breathing monitoring record, dividing the scanning time zone according to Q exhalation stages and Q inhalation stages to obtain Q exhalation time zones and Q inhalation time zones.
[0007] Preferably, the chest CT image processing method further includes: subdividing the user's breathing cycle into Q exhalation phases and Q inhalation phases according to the chest fluctuation ratio, wherein Q is an integer greater than 2, the chest expansion ratio of each exhalation phase is different, and the chest contraction ratio of each inhalation phase is different.
[0008] Preferably, the chest CT image processing method further includes: performing time domain alignment on the respiratory monitoring records and the layer-by-layer motion scanning records, dividing the chest CT images to be processed according to the Q exhalation time zones and the Q inhalation time zones, and clustering the local CT images of the same exhalation time zone or the same inhalation time zone; performing stage identification on the clustering results according to the Q exhalation stages and the Q inhalation stages to obtain Q exhalation stage local CT image sets and Q inhalation stage local CT image sets, and combining them to obtain 2Q local CT image sets.
[0009] Preferably, the chest CT image processing method also includes: randomly selecting a first respiratory stage from Q respiratory stages, and obtaining a first chest expansion ratio of the first respiratory stage; using the first chest expansion ratio as a feature constraint, retrieving a first training set to perform supervised training on a convolutional neural network, and obtaining a first respiratory artifact elimination plug-in; based on the first respiratory artifact elimination plug-in, respectively analyzing the Q respiratory stages and Q inhalation stages to obtain Q respiratory artifact elimination plug-ins and Q inhalation artifact elimination plug-ins, and combining them to construct a respiratory artifact elimination model.
[0010] Preferably, the chest CT image processing method further includes: using the first chest expansion ratio as a feature constraint, retrieving chest CT scan logs in a historical time zone, collecting sample first local CT images of multiple users, and obtaining sample first standard local CT images of multiple users, to obtain a sample first local CT image set and a sample first standard local CT image set, wherein the standard local CT image is a chest CT image without respiratory interference; using the sample first local CT image set and the sample first standard local CT image set as sample data sets, and dividing them into K equal parts to obtain K training sets, wherein K is an integer greater than 10; using the K training sets to perform supervised training on the convolutional neural network respectively until the model converges, to obtain K first call artifact elimination branches, and integrating to construct the first call artifact elimination plug-in.
[0011] Preferably, the chest CT image processing method also includes: randomly selecting a first local CT image set of the first exhalation stage or the first inhalation stage from the 2Q local CT image set, and matching to obtain a first artifact removal plug-in, wherein the first artifact removal plug-in is a first exhalation artifact removal plug-in or a first inhalation artifact removal plug-in; setting the number P of adaptation branch selections based on the user's weight index, wherein P is less than or equal to K; randomly selecting P artifact removal branches from the K artifact removal branches of the first artifact removal plug-in, performing artifact removal on the first local CT image set, and outputting a first standard local CT image set after mean calculation, and adding it to the 2Q standard local CT image set.
[0012] Preferably, the chest CT image processing method further includes: obtaining the user's body mass index, and calculating the deviation ratio between the user's body mass index and the preset standard body mass index to obtain an individual deviation coefficient; multiplying the sum of 1 and the individual deviation coefficient by a predetermined selection number and rounding the result to obtain P, where the predetermined selection number is 5.
[0013] The beneficial effects of the present invention are as follows: by obtaining a chest CT image to be processed, as well as a layer-by-layer motion scanning record and a respiratory monitoring record during CT scanning; then based on the respiratory monitoring record, the scanning time zone is divided into Q exhalation time zones and Q inhalation time zones, and the chest CT image to be processed is divided, clustered and identified according to the Q exhalation time zones and the Q inhalation time zones to obtain a 2Q local CT image set; then a respiratory artifact elimination model is constructed based on a convolutional neural network, wherein the respiratory artifact elimination model includes Q exhalation artifact elimination plug-ins and Q inhalation artifact elimination plug-ins; finally, the Q exhalation artifact elimination plug-ins and the Q inhalation artifact elimination plug-ins are used to respectively perform respiratory artifact mapping elimination on the 2Q local CT image set to obtain a 2Q standard local CT image set, which is fused to obtain a reconstructed chest CT image as an image processing result. That is to say, by dividing the image into multiple respiratory time zones and using a deep learning model to eliminate artifacts, the fineness and accuracy of respiratory artifact elimination can be significantly improved, thereby effectively improving the quality and accuracy of chest CT images. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 A schematic flow chart of a chest CT image processing method provided by the present invention;
[0015] Figure 2 A schematic diagram of the process of obtaining a 2Q local CT image set in a chest CT image processing method provided by the present invention. DETAILED DESCRIPTION
[0016] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.
[0017] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more of the specified features. In the description of the present invention, "plurality" means two or more, unless otherwise specifically defined.
[0018] In the description of the present invention, the term "for example" is used to mean "used as an example, illustration or illustration". Any embodiment of the present invention described as "for example" is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any person skilled in the art to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed herein.
[0019] Examples, such as Figure 1 As shown, an embodiment of the present invention provides a chest CT image processing method, which specifically includes the following steps:
[0020] S10: Acquire the chest CT image to be processed, as well as the layer-by-layer motion scanning record and respiratory monitoring record during the CT scan.
[0021] Specifically, the chest CT image to be processed is obtained. The chest CT image to be processed refers to the medical image obtained by the chest CT scanner, which includes cross-sectional images of various areas of the patient's chest and has not undergone image optimization processing; on the other hand, the layer-by-layer motion scanning record and respiratory monitoring record during the CT scan are obtained. The layer-by-layer motion scanning record refers to the CT scanner recording the specific scanning position, layer thickness, scanning time and other information of each image slice during the scanning process. These records are helpful for subsequent image reconstruction and analysis, especially when precise image processing is required. The layer-by-layer scanning record can provide the acquisition time point and position of each layer of the image; the respiratory monitoring record is a real-time collection of the patient's respiratory data at various stages of the CT scan process through a special respiratory monitoring device. These data include the amplitude of the user's chest movement during the scan (that is, the degree of chest expansion and contraction). These records can help analyze the patient's breathing pattern and are used to divide CT images into different respiratory stages for targeted processing.
[0022] During the image processing stage, layer-by-layer motion scanning records and respiratory monitoring records are used together with the original CT images. These data can help doctors or image processing systems accurately understand the patient's respiratory status during the scan, providing key support for subsequent artifact removal, image reconstruction and other processing. For example, respiratory monitoring records can identify the time correspondence between each stage of the CT image (inhalation, exhalation) and the specific image data, thereby accurately eliminating artifacts caused by breathing.
[0023] S20: Based on the respiratory monitoring record, the scanning time zone is divided into Q exhalation time zones and Q inhalation time zones, and the chest CT image to be processed is divided, clustered and labeled according to the Q exhalation time zones and Q inhalation time zones to obtain a 2Q local CT image set.
[0024] Furthermore, step S20 of the present invention further includes:
[0025] S21: When the user undergoes a chest CT scan, the chest strap sensor synchronously collects the user's breathing characteristics according to a predetermined time stamp to obtain a breathing feature sequence as a breathing monitoring record.
[0026] Specifically, a chest strap sensor is a device used to monitor a user's chest movement. It's typically equipped with a pressure sensor or accelerometer that can sense and record the expansion and contraction of the user's chest, thereby reflecting their breathing process. The chest strap is typically worn in the thoracic area of the chest and can capture the user's inhalation and exhalation status in real time. The chest strap sensor generates a pressure signal corresponding to the respiratory cycle by detecting the expansion and contraction of the user's chest (i.e., changes in chest volume during inhalation and exhalation). Using the accelerometer, the chest strap can record the amplitude and frequency of chest movement in real time, allowing calculation of characteristics such as the user's respiratory rate and the duration of inhalation and exhalation. During chest CT scans, accurately capturing the user's respiratory status is crucial for improving image quality and subsequent image processing (such as artifact removal). By combining the chest strap sensor with the synchronized acquisition mechanism of the CT scanner, the user's respiratory characteristics can be acquired in real time, providing the necessary respiratory monitoring data for subsequent refined image processing.
[0027] Next, while the user undergoes a chest CT scan, the chest strap sensor synchronously collects the user's breathing characteristics according to predetermined timestamps. During a CT scan, each image slice is typically timestamped (for example, recording the specific time of the scan). To effectively pair the breathing characteristic data with the chest CT image, the chest strap sensor's collection must be synchronized with the CT scan process. By setting a predetermined timestamp, the chest strap sensor records the user's breathing characteristics at each CT image acquisition point. Based on the pressure signals and acceleration data recorded by the chest strap sensor, a breathing characteristic sequence is generated. This sequence includes information about the user's inhalation and exhalation phases, chest movement amplitude, and the start and end times of the breathing cycle at each time point during the CT scan.
[0028] The chest strap sensor synchronously collects the user's respiratory characteristics during the chest CT scan process. Combined with a predetermined timestamp, it can generate a detailed respiratory feature sequence. These sequences serve as respiratory monitoring records and provide accurate respiratory status data for subsequent image processing. With this data, respiratory artifacts in the image can be eliminated at a fine-grained level, ultimately improving the quality of CT images and diagnostic accuracy.
[0029] S22: Based on the respiratory monitoring record, the scanning time zone is divided according to Q exhalation phases and Q inhalation phases to obtain Q exhalation time zones and Q inhalation time zones.
[0030] Furthermore, step S22 of the present invention further includes:
[0031] S221: Subdivide the user's breathing cycle into Q exhalation phases and Q inhalation phases according to the chest fluctuation ratio, where Q is an integer greater than 2, and the chest expansion ratio of each exhalation phase is different, and the chest contraction ratio of each inhalation phase is different.
[0032] Specifically, during the processing of chest CT images, taking into account the impact of breathing on the chest cavity, in order to more accurately eliminate respiratory artifacts and improve image quality, the user's respiratory cycle can be finely divided according to the chest fluctuation ratio. The respiratory cycle refers to the complete cycle from the beginning of one inhalation to the end of the next inhalation, usually including two major stages of inspiration and exhalation. In actual operation, the respiratory cycle is not completely uniform, and its expansion and contraction process has different speeds and intensities in different stages; in order to accurately capture the details of different respiratory stages and ensure the accuracy of subsequent image processing, the respiratory cycle can be divided into multiple smaller stages according to the chest fluctuation ratio. The division of each stage is dynamically allocated according to the patient's chest expansion and contraction amplitude, so that the image of each stage can be processed more accurately.
[0033] Obtain the chest fluctuation ratio. The chest fluctuation ratio refers to the ratio of chest changes during the different stages of chest expansion (inhalation) and contraction (exhalation) during breathing. These ratios are typically expressed as changes in chest expansion and contraction, and can be recorded in real time using a chest strap sensor or other respiratory monitoring equipment. The chest fluctuation ratio can be set as needed, for example, to 20%. To further improve image processing accuracy, the entire respiratory cycle is divided into Q exhalation phases and Q inhalation phases according to the chest fluctuation ratio. Specifically, the inhalation process is subdivided into Q subphases, each with a different chest expansion ratio, and the exhalation process is subdivided into Q subphases, each with a different chest contraction ratio. Q is an integer greater than 2. For example, if the chest fluctuation ratio is 20%, then Q is 5. By subdividing the user's breathing cycle into Q exhalation phases and Q inhalation phases, and processing according to the chest expansion and contraction ratios of each phase, more refined image analysis and artifact elimination can be achieved. This method effectively improves the accuracy and clarity of chest CT images. For example, in certain phases, the patient's breathing may be more rapid or deep, and strong artifacts may appear in the image. Clearly dividing the phases helps to accurately eliminate these artifacts.
[0034] Then, based on the respiratory monitoring record, the scanning time zone is divided according to Q exhalation stages and Q inhalation stages, that is, according to the timestamp and respiratory stage in the respiratory monitoring record, the scanning time zone can be divided into Q exhalation time zones and Q inhalation time zones, and Q exhalation time zones and Q inhalation time zones are obtained, wherein the exhalation time zone represents the different stages of inhalation (exhalation stage) during the breathing process, and each exhalation time zone corresponds to a specific exhalation time period. In each exhalation time zone, the patient's chest expansion ratio is different, so the respiratory artifacts affecting the image quality are also different; the inhalation time zone represents the different stages of exhalation (inhalation stage), and each inhalation time zone corresponds to a specific inhalation time period. The degree of contraction of the patient's chest is different, which affects the artifact performance in the image.
[0035] Based on respiratory monitoring records, the scanning time zone is divided into Q exhalation time zones and Q inhalation time zones. Corresponding image processing tasks can be assigned to each respiratory stage. By refining the respiratory stage division and synchronizing it with the CT image time, the accuracy and effect of respiratory artifact elimination can be improved, ultimately improving the quality of chest CT images.
[0036] Further, if Figure 2 As shown, step S20 of the present invention further includes:
[0037] S23: Align the respiratory monitoring records and the layer-by-layer motion scanning records in the time domain, divide the chest CT images to be processed according to the Q exhalation time zones and the Q inhalation time zones, and cluster the local CT images of the same exhalation time zone or the same inhalation time zone; S24: Identify the clustering results according to the Q exhalation stages and the Q inhalation stages to obtain Q exhalation stage local CT image sets and Q inhalation stage local CT image sets, and combine them to obtain 2Q local CT image sets.
[0038] Specifically, the respiratory monitoring record and the layer-by-layer motion scan record are time-aligned. Time-domain alignment refers to accurately matching the respiratory monitoring record with the layer-by-layer motion scan record in time. Since chest CT scans are performed layer by layer, the acquisition of each layer of image has a timestamp, and the respiratory monitoring record also records the patient's inhalation and exhalation information at each stage. In order to ensure that the two records can accurately correspond to each other on the same timeline, time-domain alignment is required. Through time-domain alignment, each time period of the respiratory monitoring record (such as the inhalation or exhalation stage) will correspond to the acquisition time period of each layer of the CT scan image. The data after time-domain alignment provides accurate time pairing for subsequent steps, so that there is a clear correspondence between each respiratory stage and the scanned image.
[0039] Next, after time domain alignment, the scan records are divided into Q exhalation time zones and Q inhalation time zones. Each time zone corresponds to a different respiratory phase, allowing for subdivision of the CT images. Each exhalation time zone corresponds to an exhalation phase, and CT image changes within these phases vary due to varying degrees of chest expansion. Each inhalation time zone corresponds to an inhalation phase, and CT image changes within these phases vary due to varying degrees of chest contraction. CT images within the same exhalation time zone or within the same inhalation time zone are then clustered. This grouping of image slices with similar features improves the efficiency and accuracy of subsequent processing. For example, within the same exhalation time zone, all images may exhibit similar chest expansion and breathing patterns, so their features will be identified as similar during clustering and can be processed together. Similarly, images within all inhalation time zones can be divided into multiple groups using clustering.
[0040] The clustering results are then stage-labeled according to the Q exhalation phases and Q inhalation phases. This process ensures that each image set can be accurately identified and manipulated in subsequent processing. By labeling each cluster result, the images are ultimately divided into Q exhalation phase local CT image sets and Q inhalation phase local CT image sets. Each image set contains all local CT images within that phase, and these images share similar respiratory patterns and chest expansion / contraction features. Each exhalation phase image set includes images at different depths and intensities during exhalation, and each inhalation phase image set includes images at different depths and intensities during inspiration. Finally, the Q exhalation phase local CT image sets and the Q inhalation phase local CT image sets are combined to generate 2Q local CT image sets. These sets provide precise image data for subsequent respiratory artifact removal and image quality improvement. This step refines the CT images and clearly identifies the image features of each phase, providing high-quality data input for subsequent deep learning models, such as artifact removal models.
[0041] S30: Constructing a respiratory artifact elimination model based on a convolutional neural network, wherein the respiratory artifact elimination model includes Q exhalation artifact elimination plug-ins and Q inhalation artifact elimination plug-ins.
[0042] Furthermore, step S30 of the present invention further includes:
[0043] S31: Randomly select a first exhalation stage from the Q exhalation stages, and obtain a first chest expansion ratio of the first exhalation stage.
[0044] Specifically, any one of the Q breathing stages is randomly selected as the first breathing stage, and a first chest expansion ratio of the first breathing stage is obtained, for example, a chest expansion of 40%.
[0045] S32: Using the first chest expansion ratio as a feature constraint, retrieve and obtain a first training set to perform supervised training on a convolutional neural network to obtain a first breathing artifact removal plug-in.
[0046] Furthermore, step S32 of the present invention further includes:
[0047] S321: Using the first chest expansion ratio as a feature constraint, retrieve chest CT scan logs in a historical time zone, collect sample first local CT images of multiple users, and obtain sample first standard local CT images of multiple users to obtain a sample first local CT image set and a sample first standard local CT image set, wherein the standard local CT image is a chest CT image without respiratory interference; S322: Use the sample first local CT image set and the sample first standard local CT image set as sample data sets, and divide them into K equal parts to obtain K training sets, wherein K is an integer greater than 10; S323: Use the K training sets to perform supervised training on the convolutional neural network respectively until the model converges, obtain K first call artifact elimination branches, and integrate to construct the first call artifact elimination plug-in.
[0048] Specifically, first, the first chest expansion ratio is used as a feature constraint, which means that the system further limits the scope of subsequent retrieval operations based on the data obtained from the patient's respiratory state (such as the expansion ratio of the first exhalation phase). The first chest expansion ratio can be used to determine which historical data or user samples best match the current user's respiratory state; the first chest expansion ratio (such as 40%) is a description of the user's inhalation phase. This ratio represents the degree of chest expansion and can affect the degree of artifacts in the image. Therefore, through this ratio, historical chest CT data similar to the current user's respiratory state can be filtered out.
[0049] Next, based on the first chest expansion ratio, chest CT scan logs within the historical time zone are retrieved. The historical time zone refers to records of previous CT scans. These records contain CT image data of different users at different respiratory stages. This data may come from scan records in different time periods, covering CT scan information of multiple users at similar respiratory expansion ratios. The retrieval goal is to find the historical data most similar to the current expansion ratio. Sample first partial CT images of multiple users are then collected from the retrieved historical data. These images are selected from images matching the first expansion ratio within the historical time zone and are typically partial CT slices during inspiration. Furthermore, standard partial CT images corresponding to these sample first partial CT images are obtained from the historical records. Standard partial CT images refer to images without respiratory interference during the scan process, representing ideal CT images without artifact interference. This results in a sample first partial CT image set and a sample first standard partial CT image set.
[0050] The sample first partial CT image set and the sample first standard partial CT image set obtained in the previous step are then combined to form a complete sample dataset. This dataset contains CT images of multiple users under different respiratory conditions and their corresponding standardized images. This dataset provides a rich set of samples for model training and supports the learning of deep learning models. The sample dataset is further divided into K equal parts, each containing a portion of the sample dataset, where K is an integer greater than 10 (typically 10, 20, etc.).
[0051] Convolutional neural network is a type of deep learning model that is widely used in image processing, video analysis, natural language processing and other fields, especially in computer vision tasks. CNN can automatically learn the spatial hierarchical features of input data, so it has significant advantages in tasks such as image classification, object recognition, and image segmentation; then, K first-call artifact elimination branches are constructed based on the convolutional neural network. The first-call artifact elimination branch includes an input layer, a convolution layer, a pooling layer, a fully connected layer, and an output layer; the input layer is used to receive input data, that is, a local CT image with breathing artifacts (the first local CT image of the sample); the convolution layer is responsible for extracting local features from the input image, such as edges, textures, and more complex shape features in the image; the pooling layer usually follows the convolution layer, and its function is to reduce the size of the feature map, thereby reducing the amount of computation and preventing overfitting; the fully connected layer maps the image features to the final output; the function of the output layer is to output a standard image corresponding to the input image, that is, the local CT image after artifact elimination.
[0052] Then, the K training sets are used to perform supervised training on the K first-breathing artifact removal branches, using the first local CT image of the sample as input and the first standard local CT image of the sample as supervision. The training goal is to restore the standard image from the local CT image with breathing artifacts through convolutional neural network learning. During supervised training, the network calculates the error between the predicted output (the image after artifact removal) and the standard image, and adjusts the network based on the error. The commonly used loss function is the mean squared error (MSE), which optimizes the network weights by minimizing the pixel difference between the input image and the target standard image. First, each CNN model is supervised trained using the training set. Then, the error (loss function) between the output image and the standard image is calculated, and the network parameters are updated through the back-propagation algorithm. The training process continues until the model achieves the best performance on the validation set, converges, and stops training, resulting in K first-breathing artifact removal branches. Finally, the K first-breathing artifact removal branches are integrated and combined to construct the first-breathing artifact removal plug-in.
[0053] S33: Based on the first exhalation artifact elimination plug-in, the Q exhalation phases and the Q inhalation phases are analyzed respectively to obtain Q exhalation artifact elimination plug-ins and Q inhalation artifact elimination plug-ins, which are combined to construct a respiratory artifact elimination model.
[0054] Specifically, based on the same method of constructing the first exhalation artifact elimination plug-in, images of Q exhalation stages and Q inhalation stages are analyzed respectively, that is, by training different exhalation stages, Q exhalation artifact elimination plug-ins are obtained, and each plug-in specifically processes a specific exhalation stage; similarly, for different inhalation stages, Q inhalation artifact elimination plug-ins are obtained, and each plug-in eliminates the artifacts of an inhalation stage; finally, the obtained Q exhalation artifact elimination plug-ins and Q inhalation artifact elimination plug-ins are combined to form a complete respiratory artifact elimination model.
[0055] Through the analysis and combination of Q exhalation artifact elimination plug-ins and Q inhalation artifact elimination plug-ins, the constructed respiratory artifact elimination model can carefully process artifacts in different respiratory stages, significantly improve the quality of chest CT images, and make CT scan images more accurate and reliable.
[0056] S40: Using the Q exhalation artifact elimination plug-ins and the Q inhalation artifact elimination plug-ins, respectively perform respiratory artifact mapping elimination on the 2Q local CT image set to obtain a 2Q standard local CT image set, and after fusion, obtain a reconstructed chest CT image as an image processing result.
[0057] Furthermore, step S40 of the present invention further includes:
[0058] S41: Randomly selecting a first local CT image set of the first exhalation phase or the first inhalation phase from the 2Q local CT image set, and matching to obtain a first artifact removal plug-in, wherein the first artifact removal plug-in is a first exhalation artifact removal plug-in or a first inhalation artifact removal plug-in.
[0059] Specifically, first, any one of the local CT image sets of the first exhalation phase or the first inhalation phase is randomly selected from the 2Q local CT image set and set as the first local CT image set. After the first local CT image set is selected, the corresponding artifact removal plug-in is matched according to the respiratory phase information of the image set. If the selected image set belongs to the first exhalation phase in the respiratory cycle, the first exhalation artifact removal plug-in is used to remove artifacts. This plug-in is specifically targeted at the exhalation phase of respiratory artifacts and helps to remove artifacts caused by chest expansion. If the selected image set belongs to the first inhalation phase of the inhalation phase, the first inhalation artifact removal plug-in is used. This plug-in targets the artifact problem caused by chest contraction and helps to eliminate artifacts generated during inhalation.
[0060] S42: Setting the number P of adaptation branch selections based on the user's weight index, where P is less than or equal to K.
[0061] Furthermore, step S42 of the present invention further includes:
[0062] S421: Obtain the user's body mass index, and calculate the deviation ratio between the user's body mass index and the preset standard body mass index to obtain an individual deviation coefficient; S422: Multiply the sum of 1 and the individual deviation coefficient by a predetermined number of selections and round it up to obtain P, where the predetermined number of selections is 5.
[0063] Specifically, first, obtain the user's body mass index, for example, by measuring the user's weight (kg) and height (m) to calculate the user's body mass index; then calculate the deviation ratio between the user's body mass index and the preset standard body mass index. The standard body mass index is usually a fixed value, which can be set to, for example, 22 (the standard value of normal weight), or set according to actual conditions. The deviation ratio is the ratio of the absolute value of the difference between the user's body mass index and the preset standard body mass index to the standard body mass index. The deviation ratio describes the degree of deviation of the user's body mass index compared to the standard body mass index, and the deviation ratio is set as the individual deviation coefficient.
[0064] Next, the sum of 1 and the individual deviation coefficient is multiplied by the predetermined number of selections (5) and rounded to obtain the number of adaptation branches selected P. For example, assuming that the individual deviation coefficient is 0.2, P is 1.2*5 rounded to 6; the calculated P value will determine the number of adaptation branches selected during the processing. The purpose of this step is to dynamically adjust the number of selected processing branches based on the deviation between the individual's body mass index and the standard body mass index, so as to better adapt to the individual differences of different users. For example, if the individual deviation coefficient is large (i.e., the weight deviates greatly from the standard), more adaptation branches are selected to ensure that the individual differences can be better processed; if the individual deviation coefficient is small (i.e., the weight is close to the standard), fewer adaptation branches are selected to improve processing efficiency.
[0065] By dynamically calculating the number of adaptation branches to be selected based on the deviation between the user's body mass index and the standard value, image processing can be optimized according to individual body shape differences, improving image quality while ensuring processing efficiency.
[0066] S43: Randomly select P artifact removal branches from the K artifact removal branches of the first artifact removal plug-in, perform artifact removal on the first local CT image set, calculate the mean and output a first standard local CT image set, and add it to the 2Q standard local CT image set.
[0067] Specifically, P artifact removal branches are randomly selected from the K artifact removal branches of the first artifact removal plug-in, and artifact removal is performed on the first local CT image set. By randomly selecting P branches, the diversity and robustness of the training process can be increased, and overfitting of a single model can be avoided. After the P branches have processed the first local CT image set respectively, the processed image results are averaged. The average calculation means averaging the P artifact-removed images to obtain a standard output image. This output image represents the collective judgment of all P branches, which can effectively reduce the deviation caused by the error of a single branch, provide a more accurate artifact removal effect, and obtain the first standard local CT image set, which is added to the 2Q standard local CT image set.
[0068] By randomly selecting P branches from K artifact removal branches for artifact removal and fusing the processing results of multiple branches through mean calculation, a more accurate first standard local CT image set is obtained. This process improves the accuracy of artifact removal and ensures image quality.
[0069] Then, the 2Q standard local CT image set is fused, that is, each local CT image is spliced along the scanning layer direction to gradually construct a complete three-dimensional chest CT image. A seamless overall image can be obtained by splicing, that is, the reconstructed chest CT image, and the reconstructed chest CT image is used as the image processing result.
[0070] The chest CT image processing method provided by the embodiment of the present invention has at least the following technical effects:
[0071] By obtaining a chest CT image to be processed, as well as a layer-by-layer motion scanning record and a respiratory monitoring record during CT scanning; then based on the respiratory monitoring record, the scanning time zone is divided into Q exhalation time zones and Q inhalation time zones, and the chest CT image to be processed is divided, clustered and identified according to the Q exhalation time zones and Q inhalation time zones to obtain a 2Q local CT image set; then a respiratory artifact elimination model is constructed based on a convolutional neural network, wherein the respiratory artifact elimination model includes Q exhalation artifact elimination plug-ins and Q inhalation artifact elimination plug-ins; finally, the Q exhalation artifact elimination plug-ins and Q inhalation artifact elimination plug-ins are used to perform respiratory artifact mapping elimination on the 2Q local CT image set respectively, to obtain a 2Q standard local CT image set, and after fusion, a reconstructed chest CT image is obtained as the image processing result. In other words, by dividing the image into multiple respiratory time zones and using a deep learning model to eliminate artifacts, the precision and accuracy of respiratory artifact elimination can be significantly improved, thereby effectively improving the quality and accuracy of chest CT images.
[0072] Although preferred embodiments of the present invention have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts become known.
[0073] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the present invention and its equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A chest CT image processing method, characterized in that: Methods include: Obtain chest CT images to be processed, as well as slice-by-slice motion scanning records and respiratory monitoring records during CT scanning; Based on the respiratory monitoring record, the scanning time zone is divided into Q exhalation time zones and Q inhalation time zones, and the chest CT image to be processed is divided, clustered, and labeled according to the Q exhalation time zones and the Q inhalation time zones to obtain a 2Q local CT image set; A first exhalation phase is randomly selected from Q exhalation phases, and a first chest expansion ratio of the first exhalation phase is obtained; the chest CT scan logs in the historical time zone are retrieved with the first chest expansion ratio as a feature constraint, and the retrieval goal is to find the historical data most similar to the current expansion ratio, and sample first local CT images of multiple users are collected, wherein the sample first local CT images are selected from images matching the first chest expansion ratio in the historical time zone, and sample first standard local CT images of multiple users are obtained to obtain a sample first local CT image set and a sample first standard local CT image set, wherein the standard local CT image is a chest CT image without respiratory interference; the sample first local CT image set and the sample first standard local CT image set are used as sample data sets, and are equally divided into K parts to obtain K training sets, wherein K is an integer greater than 10; the convolutional neural network is supervised and trained respectively using the K training sets until the model converges, thereby obtaining K first exhalation artifact elimination branches, and integrating and constructing a first exhalation artifact elimination plug-in; Based on the first exhalation artifact elimination plug-in, the Q exhalation phases and the Q inhalation phases are analyzed respectively to obtain Q exhalation artifact elimination plug-ins and Q inhalation artifact elimination plug-ins, which are combined to construct a respiratory artifact elimination model; Using the Q exhalation artifact elimination plug-ins and the Q inhalation artifact elimination plug-ins, randomly selecting a first local CT image set of the first exhalation phase or the first inhalation phase from the 2Q local CT image sets, and matching them to obtain a first artifact elimination plug-in, wherein the first artifact elimination plug-in is the first exhalation artifact elimination plug-in or the first inhalation artifact elimination plug-in; Obtaining the user's body mass index, and calculating the deviation ratio between the user's body mass index and a preset standard body mass index to obtain an individual deviation coefficient; The sum of 1 and the individual deviation coefficient is multiplied by the predetermined number of selections and rounded to obtain P, where the predetermined number of selections is 5; and P is less than or equal to K; P artifact removal branches are randomly selected from the K artifact removal branches of the first artifact removal plug-in, and artifact removal is performed on the first local CT image set. After mean calculation, a first standard local CT image set is output, which is added to the 2Q standard local CT image set. After fusion, a reconstructed chest CT image is obtained as the image processing result.
2. A chest CT image processing method according to claim 1, characterized in that: Based on the respiratory monitoring record, the scanning time zone is divided into Q exhalation time zones and Q inhalation time zones, including: When the user undergoes chest CT scanning, the chest strap sensor synchronously collects the user's breathing characteristics according to the predetermined time stamp, and obtains the breathing feature sequence as the breathing monitoring record; Based on the respiratory monitoring record, the scanning time zone is divided according to Q exhalation phases and Q inhalation phases to obtain Q exhalation time zones and Q inhalation time zones.
3. A chest CT image processing method according to claim 2, characterized in that: According to the chest fluctuation ratio, the user's breathing cycle is subdivided into Q exhalation phases and Q inhalation phases, where Q is an integer greater than 2. The chest expansion ratio of each exhalation phase is different, and the chest contraction ratio of each inhalation phase is different.
4. A chest CT image processing method according to claim 2, characterized in that: The chest CT image to be processed is divided, clustered, and labeled according to the Q exhalation time zones and the Q inhalation time zones to obtain a 2Q local CT image set, including: Performing time domain alignment on the respiratory monitoring record and the layer-by-layer motion scanning record, dividing the chest CT image to be processed according to the Q exhalation time zones and the Q inhalation time zones, and clustering local CT images in the same exhalation time zone or the same inhalation time zone; The clustering results are stage-labeled according to Q exhalation phases and Q inhalation phases, and Q exhalation phase local CT image sets and Q inhalation phase local CT image sets are obtained, which are combined to obtain 2Q local CT image sets.
Citation Information
Patent Citations
Systems and methods for calibrating computed tomography breathing amplitudes for image reconstruction
WO2024011262A1