Virtual single-energy projection image generation method for dual-energy CBCT (cone beam computed tomography) and medium

Through logarithmic transformation normalization processing and adversarial training of cyclic generation adversarial network models, the problem of low clarity in the generation of dual-energy CBCT virtual single-energy projection images is solved, and high-quality image reconstruction is achieved.

CN119006632APending Publication Date: 2024-11-22FUSSEN IMAGING CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411098122.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The problem of low clarity in virtual single-energy projection images in dual-energy CBCT imaging.

Method used

Logarithmic transformation normalization to process high-energy and low-energy projection data, build data sets and use loop generation adversarial network models to generate virtual projection data, and conduct adversarial training through generator and discriminator models to optimize the adversarial loss and consistency of image data sexual loss, generating high-quality virtual projection data.

Benefits of technology

By compensating undersampled data, the reconstruction image quality is optimized, the contrast and clarity of the image are improved, and the details are more visible.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119006632A_ABST
    Figure CN119006632A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of medical imaging, and discloses a virtual single-energy projection image generation method for dual-energy CBCT and a medium, and the method comprises the steps: obtaining an original projection image, and obtaining a forward projection image through forward projection processing; cutting the forward projection drawing to obtain an X-domain image and a Y-domain image; inputting an X domain image and a Y domain image of the forward projection drawing into a CyclGAN model to obtain a generator model representing mapping from the X domain to the Y domain; inputting the original projection image into the trained generator model to obtain a generated compensation part image; and splicing and fusing the original projection image and the compensation projection generated by the model, and using the obtained spliced and fused projection image for reconstruction to obtain a high-quality image. According to the invention, the definition of the virtual single-energy projection image during generation can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical imaging technology, and in particular to a method and medium for generating a virtual single-energy projection image for dual-energy CBCT. Background Art

[0002] Dual-energy CBCT is an imaging modality that can expand the performance of single-energy CBCT. It uses two or more X-ray beams. The additional information of X-rays of different energies can help better distinguish two different materials with similar single-energy X-ray attenuation rates. In conventional CBCT acquisition, the X-ray source and X-ray detector rotate together on a common bracket around the object to be imaged, so that the X-rays emitted by the X-ray source pass through the imaging object and are detected by the X-ray detector, resulting in X-ray attenuation.

[0003] The existing projection image generation technology is that the detector records the attenuated X-ray signal at each observation angle during the rotation process, and uses a fast kVp (kilovolt peak) switching X-ray source in the dual-energy CBCT imaging scan, and then uses a known reconstruction method to generate an image of the object. In practical applications, conventional reconstruction of corresponding low-energy and high-energy data sets during fast kVp switching CBCT scanning will result in low-quality images, thereby reducing the clarity when generating virtual single-energy projection images. Summary of the invention

[0004] The present invention provides a method and medium for generating a virtual single-energy projection image for dual-energy CBCT, the main purpose of which is to solve the problem of low clarity when generating a virtual single-energy projection image.

[0005] To achieve the above object, the present invention provides a method for generating a virtual single-energy projection image for dual-energy CBCT, comprising:

[0006] Collecting high-energy projection data, performing logarithmic transformation and normalization processing on the high-energy projection data, and constructing the normalized high-energy projection data into a high-energy projection data set;

[0007] Collecting low-energy projection data, performing logarithmic transformation and normalization processing on the low-energy projection data, and constructing the normalized low-energy projection data into a low-energy projection data set;

[0008] Generate an image dataset according to the high-energy projection dataset and the low-energy projection dataset, and use the image dataset to train a preset recurrent generative adversarial network model;

[0009] Collecting an undersampled high-energy data set and an undersampled low-energy data set, converting the undersampled high-energy data set into virtual low-energy projection data using a first generator model in a trained cyclic generative adversarial network model, and converting the undersampled low-energy data set into virtual high-energy projection data using a second generator model in a trained cyclic generative adversarial network model;

[0010] splicing the undersampled low-energy data set with the virtual low-energy projection data to obtain a target low-energy projection data set, and splicing the undersampled high-energy data set with the virtual high-energy projection data to obtain a target high-energy projection data set;

[0011] The target low-energy projection data set is reconstructed to obtain a high-quality low-energy reconstructed image, and the target high-energy projection data set is reconstructed to obtain a high-quality high-energy reconstructed image.

[0012] Optionally, the normalization process of performing logarithmic transformation on the high energy projection data includes:

[0013] Performing grayscale processing on the high energy projection data to obtain high energy projection grayscale data;

[0014] Extracting the grayscale value corresponding to each image pixel in the high-energy projection grayscale data;

[0015] The high energy projection data is subjected to logarithmic transformation and normalization processing according to the grayscale value, wherein the normalization formula is:

[0016]

[0017] Among them, I norm (i, j) is the normalized grayscale value of the high energy projection data at the coordinate (i, j), I(i, j) is the grayscale value of the high energy projection data at the coordinate (i, j), I max is the maximum gray value in the high energy projection data set, I min is the minimum gray value in the high energy projection data set, and ln is a logarithmic function.

[0018] Optionally, the using the image data set to train a preset recurrent generative adversarial network model includes:

[0019] Inputting the original high-energy projection data in the image data set into the first generator model in the recurrent generative adversarial network model to generate low-energy projection data corresponding to the original high-energy projection data;

[0020] Analyzing a first true evaluation value of the low-energy projection data through a second discriminator model in the cyclic generative adversarial network model, and converting the low-energy projection data into high-energy projection data through a second generator model in the cyclic generative adversarial network model;

[0021] Analyze a second true evaluation value of the high-energy projection data by using a first discriminator model in the cyclic generative adversarial network model;

[0022] When the first true evaluation value and the second true evaluation value meet the preset true evaluation conditions, the loss value between the high-energy projection data and the original high-energy projection data is calculated using a preset comprehensive loss function. When the loss value is less than a preset loss threshold, the trained cyclic generative adversarial network model is output.

[0023] Optionally, analyzing the first true evaluation value of the low-energy projection data by a second discriminator model in the recurrent generative adversarial network model includes:

[0024] Performing image segmentation on the low energy projection data to obtain low energy projection data blocks;

[0025] Performing a convolution operation on the low-energy projection data blocks one by one through a second discriminator model to obtain an evaluation value of each low-energy projection data block;

[0026] When the evaluation values ​​of all low-energy projection data blocks are the preset first evaluation threshold, determining that the first true evaluation value of the low-energy projection data is the first evaluation threshold;

[0027] When the evaluation value of any of the low-energy projection data blocks is a preset second evaluation threshold, it is determined that the first true evaluation value of the low-energy projection data is the second evaluation threshold.

[0028] Optionally, before calculating the loss value between the high-energy projection data and the original high-energy projection data using a preset comprehensive loss function, the method further includes:

[0029] A first adversarial loss function is generated according to a first generator model and a first discriminator model in a preset cyclic generative adversarial network model, and a second adversarial loss function is generated according to a second generator model and a second discriminator model in a preset cyclic generative adversarial network model, wherein the first adversarial loss function and the second adversarial loss function are:

[0030] L GAN (G X ,D X ,X,Y)=E X~Pdata(X) [log D X (I X)]+E Y~Pdata(Y) [log(1-D X (G X (I Y )))]

[0031] L GAN (G Y ,D Y ,X,Y)=E Y~Pdata(Y) [log D Y (I Y )]+E X~Pdata(X) [log(1-D Y (G Y (I X )))]

[0032] Among them, L GAN (G X ,D X ,X,Y) is the first generator model G X and the first discriminator model D X The first adversarial loss function between X-domain and Y-domain images, L GAN (G Y ,D Y ,X,Y) is the second generator model G Y and the second discriminator model D Y The second adversarial loss function, D, on images in the X and Y domains X (I X ) is the X-domain image I X The discriminator G X (I Y ) is the conversion of X-domain image into Y-domain image I Y The generator, E X~Pdata(X) X is subject to the image dataset X domain P data(X) The expected function of the distribution, D Y (I Y ) is the Y domain image I Y The discriminator, G Y (I X ) is the conversion of the Y domain image into the X domain image I X The generator, E Y~Pdata(Y) Y is subject to the Y domain P in the image data set data(Y) The expected function of a distribution;

[0033] The cycle consistency loss function of the preset cycle generation adversarial network model is determined according to the preset cycle consistency loss:

[0034] L cycle (G X ,G Y )==E X~Pdata(X) [||GY (G X (I X ))-I X ||1]+E Y~Pdata(Y) [||G X (G Y (I Y ))-I Y ||1

[0035] Among them, L cycle (G X ,G Y ) is the first generator model G X and the second generator model G Y The cycle consistency loss function between ||||1 represents the L1 norm, I X is the X domain image, I Y is the Y domain image;

[0036] The identity consistency loss function of the preset cyclic generative adversarial network model is determined according to the preset identity consistency loss:

[0037] L identity (G X ,G Y )=E X~Pdata(X) [||G X (I X )-I X ||1]+E Y~Pdata(Y) [||G Y (I Y )-I Y ||1

[0038] Among them, L identity (G X ,G Y ) is the first generator model G X and the second generator model G Y The identity consistency loss function between G X (I X ) is used to generate the X domain image I X The generator, I X is the X domain image, G Y (I Y ) is used to generate the Y domain image I Y The generator, I Y is the Y domain image;

[0039] A comprehensive loss function is generated according to the first adversarial loss function, the second adversarial loss function, the cycle consistency loss function, and the identity consistency loss function, wherein the comprehensive loss function is:

[0040] L(GX ,G Y ,D X ,D Y )=L GAN (G Y ,D Y ,X,Y)+L GAN (G X ,D X ,X,Y)+λL cycle (G X ,G Y )+λ idt L identity (G X ,G Y )

[0041] Among them, L(G X ,G Y ,D X ,D Y ) is the first generator model G X , the second generator model G Y , the first discriminator model D X And the comprehensive loss function under the condition of the second discriminator model, L GAN (G Y ,D Y ,X,Y) is the first generator model G X and the first discriminator model D X The first adversarial loss function between X-domain and Y-domain images, L GAN (G Y ,D Y ,X,Y) is the second generator model G Y and the second discriminator model D Y The second adversarial loss function between X-domain and Y-domain images, L cycle (G X ,G Y ) is the first generator model G X and the second generator model G Y The cycle consistency loss function between identity (G X ,G Y ) is the first generator model G X and the second generator model G Y The identity consistency loss function between them, λ is the weight parameter of the cycle consistency loss, λ idt is the weight parameter of identity consistency loss.

[0042] Optionally, the collecting of the under-sampled high-energy data set and the under-sampled low-energy data set includes:

[0043] Obtain low energy radiation sources and high energy radiation sources;

[0044] The low-energy ray source is switched by using a fast tube voltage within a preset scanning period to obtain low-energy projection angle data of different projection angles, and the missing high-energy projection angle data corresponding to the low-energy projection angle data is determined according to a preset projection rotation angle;

[0045] The high-energy ray source is switched by using a fast tube voltage within a preset scanning period to obtain high-energy projection angle data of different projection angles, and the missing low-energy projection angle data corresponding to the high-energy projection angle data is determined according to a preset projection rotation angle;

[0046] The low-energy projection angle data and the missing high-energy projection angle data are constructed as an under-sampled low-energy data set, and the high-energy projection angle data and the missing low-energy projection angle data are constructed as an under-sampled high-energy data set.

[0047] Optionally, the converting the undersampled high-energy data set into virtual low-energy projection data using a first generator model in a trained cyclic generative adversarial network model comprises:

[0048] Extracting high-energy projection angle data from the under-sampled high-energy data set according to a preset projection angle;

[0049] Using the high energy projection angle data as X-domain image data;

[0050] The X-domain image data is converted into Y-domain image data using the first generator model in the trained cyclic generative adversarial network model to obtain virtual low-energy projection data corresponding to the high-energy projection angle data.

[0051] Optionally, the step of splicing the undersampled low energy data set with the virtual low energy projection data to obtain a target low energy projection data set includes:

[0052] Extracting low energy projection angle data from the under-sampled low energy data set;

[0053] Extracting a first projection angle corresponding to the low-energy projection angle data, and extracting a second projection angle corresponding to the virtual low-energy projection data;

[0054] The low energy projection angle data and the virtual low energy projection angle data are compensated, spliced ​​and fused according to the angle sequence of the first projection angle and the second projection angle to obtain a target low energy projection data set.

[0055] Optionally, reconstructing the target high-energy projection data set to obtain a high-quality low-energy reconstructed image includes:

[0056] Performing filtering processing on the high energy projection data in the target high energy projection data set;

[0057] Back-projecting the filtered high-energy projection data to obtain spatial domain data corresponding to the high-energy projection data;

[0058] Calculating a volume image of the high energy projection data based on the spatial domain data;

[0059] The high energy projection data is reconstructed according to the reconstruction parameters in the volume image to obtain a high quality low energy reconstructed image.

[0060] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is executed by a processor in an electronic device to implement the above-mentioned virtual single-energy projection image generation method for dual-energy CBCT.

[0061] The embodiment of the present invention can optimize the quality of reconstructed images by estimating complete high- and low-energy projection data from undersampled high- and low-energy projection data, estimating missing low-energy projection data from known high-energy projection data sets, and estimating missing high-energy projection data from known low-energy projection data sets; by compensating for projection data, the contrast and clarity of the image can be improved, making the details more clearly visible. Therefore, the virtual single-energy projection image generation method and medium for dual-energy CBCT proposed in the present invention can solve the problem of low clarity when generating virtual single-energy projection images. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 A schematic diagram of a flow chart of a method for generating a virtual single-energy projection image for dual-energy CBCT provided by an embodiment of the present invention;

[0063] Figure 2 A schematic diagram of CT scanning of high and low energy projection images provided by an embodiment of the present invention;

[0064] Figure 3 A schematic diagram of generating virtual high and low energy projections from high and low energy projection data provided by an embodiment of the present invention;

[0065] Figure 4 A schematic diagram of a scanned low-energy projection image and a generated low-energy projection image forming a low-energy projection image of a complete projection angle provided by an embodiment of the present invention;

[0066] Figure 5A schematic diagram of a high-energy projection image with a complete projection angle formed by a scanned high-energy projection image and a generated high-energy projection image provided by an embodiment of the present invention;

[0067] Figure 6 A schematic diagram of a high-energy, low-quality, high-energy reconstructed image of a dual-energy CBCT system provided by an embodiment of the present invention;

[0068] Figure 7 A schematic diagram of a high-energy, high-quality, high-energy reconstructed image of a dual-energy CBCT system provided by an embodiment of the present invention.

[0069] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0070] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0071] The embodiment of the present application provides a method for generating a virtual single energy projection image for dual energy CBCT. The execution subject of the method for generating a virtual single energy projection image for dual energy CBCT includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided in the embodiment of the present application. In other words, the method for generating a virtual single energy projection image for dual energy CBCT can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0072] Reference Figure 1 FIG. 1 is a flow chart of a method for generating a virtual single energy projection image for dual energy CBCT provided by an embodiment of the present invention. In this embodiment, the method for generating a virtual single energy projection image for dual energy CBCT includes:

[0073] S1. Collect high energy projection data, perform normalization processing of logarithmic transformation on the high energy projection data, and construct a high energy projection data set from the normalized high energy projection data.

[0074] In the embodiment of the present invention, the high-energy projection data refers to projection data of a specified high voltage collected by a CBCT device, and then the original high-energy projection data scanned by the CBCT device is normalized based on logarithmic changes, thereby reducing the influence of extreme values ​​in the high-energy projection data on data analysis and making the data easier to process. The logarithmic change can reduce the heteroscedasticity of the data. By converting the data into a logarithmic space, the data can be made more stable and the variance change can be reduced.

[0075] In the embodiment of the present invention, the normalization process of performing logarithmic transformation on the high energy projection data includes:

[0076] Performing grayscale processing on the high energy projection data to obtain high energy projection grayscale data;

[0077] Extracting the grayscale value corresponding to each image pixel in the high-energy projection grayscale data;

[0078] The high energy projection data is subjected to logarithmic transformation and normalization processing according to the grayscale value, wherein the normalization formula is:

[0079]

[0080] Among them, I norm (i, j) is the normalized grayscale value of the high energy projection data at the coordinate (i, j), I(i, j) is the grayscale value of the high energy projection data at the coordinate (i, j), I max is the maximum gray value in the high energy projection data set, I min is the minimum gray value in the high energy projection data set, and ln is a logarithmic function.

[0081] In detail, different high-energy projection data are collected under a specified high voltage, and image data corresponding to the high-energy projection data are grayed to obtain a grayed histogram, and the gray value corresponding to each pixel in the image is determined according to the grayed histogram corresponding to the different high-energy projection data, and the maximum gray value and the minimum gray value corresponding to the high-energy projection data in the high-energy projection data set are extracted, and the different high-energy projection data are normalized according to the maximum gray value, the minimum gray value and the gray value corresponding to each pixel to obtain normalized high-energy projection data, and all the normalized high-energy projection data are collected as a high-energy projection data set I Ht , denoted as X domain, and the high energy projection data set refers to the high energy projection data containing all normalized data.

[0082] Furthermore, not only high-energy projection data but also low-energy projection data need to be collected, so that the missing low-energy projection data can be estimated from the known high-energy projection data set, and the missing high-energy projection data can be estimated from the known low-energy projection data set.

[0083] S2. Collect low-energy projection data, perform logarithmic transformation and normalization processing on the low-energy projection data, and construct the normalized low-energy projection data into a low-energy projection data set.

[0084] In the embodiment of the present invention, the low energy projection data refers to the projection data of a specified low voltage collected by using a CBCT device, and then the original low energy projection data scanned by the CBCT device is normalized based on logarithmic changes, and all the normalized low energy projection data are collected as a low energy projection data set I. Lt , denoted as the Y domain, and the low-energy projection data set refers to the low-energy projection data that contains all normalized data.

[0085] In detail, the normalization process of performing logarithmic transformation on the low energy projection data is consistent with the normalization process of performing logarithmic transformation on the high energy projection data in step S1, and will not be described in detail here.

[0086] Further, according to the high energy projection data set I Ht and low energy projection dataset I Lt You can build a training dataset and learn the high energy projection dataset I Ht and low energy projection dataset I Lt The mapping relationship between them is used to realize the task of image translation.

[0087] S3. Generate an image dataset according to the high-energy projection dataset and the low-energy projection dataset, and use the image dataset to train a preset recurrent generative adversarial network model.

[0088] In the embodiment of the present invention, the high energy projection data set I Ht and low energy projection dataset I Lt The order of is disrupted to form an unpaired image training dataset I t , that is, after the order of the high energy projection data set and the low energy projection data set are disrupted, the high energy projection data set and the low energy projection data set are randomly paired, wherein the image data set includes the unpaired high energy projection data set I X and low energy projection data I Y , I X and I Y Belong to domain X and domain Y respectively.

[0089] Furthermore, a CBCT virtual single energy projection generation network needs to be trained based on the image dataset to learn the mapping relationship between the high energy projection dataset and the low energy projection dataset.

[0090] In an embodiment of the present invention, a CBCT virtual single energy projection generation network is constructed, and the network adopts a variety of network architectures including pix2pix, CycleGAN and CycleGAN HD. However, the CBCT virtual single energy projection generation network adopts the CycleGAN (Cycle Generative Adversarial Network) model as the network framework, and the CycleGAN model includes a generator model G that converts high energy projection data (X domain) into low energy projection data (Y domain) XY , and a generator model G that transforms low-energy projection data (Y domain) into high-energy projection data (X domain) YX ; Equipped with two discriminators D X and D Y , adversarial training for enhancing the generation effect of two image domains, discriminator D X The discriminator D is used to determine whether the converted X-domain image obeys the distribution of X-domain images in the training set. Y It is used to determine whether the Y-domain image generated by the conversion obeys the distribution of the Y-domain images in the training set.

[0091] Furthermore, the unpaired high / low energy projection images from the X domain and the Y domain in the training data set are input into the CycleGAN model for training. That is, the CycleGAN model is trained using the unpaired image data set to disrupt the I X and I Y order.

[0092] In an embodiment of the present invention, the step of training a preset cyclic generative adversarial network model using the image data set includes:

[0093] Inputting the original high-energy projection data in the image data set into the first generator model in the recurrent generative adversarial network model to generate low-energy projection data corresponding to the original high-energy projection data;

[0094] Analyzing a first true evaluation value of the low-energy projection data through a second discriminator model in the cyclic generative adversarial network model, and converting the low-energy projection data into high-energy projection data through a second generator model in the cyclic generative adversarial network model;

[0095] Analyze a second true evaluation value of the high-energy projection data by using a first discriminator model in the cyclic generative adversarial network model;

[0096] When the first true evaluation value and the second true evaluation value meet the preset true evaluation conditions, the loss value between the high-energy projection data and the original high-energy projection data is calculated using a preset comprehensive loss function. When the loss value is less than a preset loss threshold, the trained cyclic generative adversarial network model is output.

[0097] In detail, the CycleGAN (Cycle Generative Adversarial Network) model is trained using an unpaired image dataset. XY The generator model (first generator model) receives the image I corresponding to the original high-energy projection data in the image dataset of the X domain X , and generate the corresponding Y domain image G XY (I X ), that is, the low energy projection data corresponding to the original high energy projection data, and then through D Y Discriminator (second discriminator model) evaluation G XY (I X ), that is, to analyze the true evaluation value of low-energy projection data, and G YX The generator (second generator model) attempts to convert G XY (I X ) is converted back to the original X-domain image G YX (G XY (I X )), that is, converting low-energy projection data into high-energy projection data, and then D X Discriminator (first discriminator model) evaluation G YX (G XY (I X )), that is, analyzing the true evaluation value of the high-energy projection data, thereby forming a closed loop. When the data corresponding to the first true evaluation value and the second true evaluation value are both true, the parameters of the model are continuously optimized through the loss function, thereby obtaining a trained cyclic generative adversarial network model, which can obtain the mapping relationship between the high-energy projection data set and the low-energy projection data set. The first generator model refers to the generator model G that converts high-energy projection data (X domain) into low-energy projection data (Y domain). XY , the second generator model refers to the generator model G that converts low-energy projection data (Y domain) into high-energy projection data (X domain) YX ; The first discriminator model refers to the discriminator D of the X domain X , the second discriminator model refers to the discriminator D of the Y domain Y .

[0098] Specifically, for the image I in the X domain XAfter training, it is also necessary to train the image I in the Y domain Y Training, that is, similarly, G YX The generator (second generator model) receives the image I corresponding to the original low-energy projection data in the image dataset of the Y domain Y , and generate the corresponding X domain image G YX (I Y ), that is, the high energy projection data corresponding to the original low energy projection data, and then through D X Discriminator (first discriminator model) evaluation G YX (I Y ), that is, to analyze the true evaluation value of high-energy projection data, and G XY The generator (first generator model) attempts to convert G YX (I Y ) is converted back to the original Y domain image G XY (G YX (I Y )), D Y Discriminator (second discriminator model) evaluation G XY (G YX (I Y ))’s authenticity, forming another closed loop. When the data are all real, the parameters of the model are continuously optimized through the loss function to obtain a trained cyclic generative adversarial network model, which can obtain the mapping relationship between the high-energy projection data set and the low-energy projection data set.

[0099] Furthermore, the generator G XY and the generator G YX The network model used is ResNet. The main feature of ResNet is that it has a residual network architecture, which is divided into downsampling layers, residual blocks, and upsampling layers. The downsampling layer consists of continuous convolutional layers and activation layers. Before passing the image to the residual block, the convolutional layer is used to reduce the spatial dimension of the image, which helps the model capture more abstract features; the residual block is the basic unit of ResNet. Each residual block contains two convolutional layers, each followed by a batch normalization layer and a ReLU activation function. The output of the residual block is added to the input through a skip connection, which helps to avoid the gradient vanishing problem when training deep networks; after the residual block processing, the transposed convolution layer is used to increase the spatial dimension of the image to restore it to the size of the original image.

[0100] In the embodiment of the present invention, the discriminator D X and D Y With the design of PatchGAN, the role of the discriminator is to determine whether the input image is an image of a specific domain. The design of PatchGAN is different from the traditional GAN ​​discriminator. It does not output a single evaluation value (i.e. true or false) for the entire image, but divides the image into multiple small patches (patches) and performs independent true or false evaluation on each small patch. PatchGAN can evaluate each small patch of the generated image, allowing the discriminator to focus on more areas and provide more refined evaluations. The first true evaluation value refers to the evaluation of the authenticity of the low-energy projection data.

[0101] In the embodiment of the present invention, analyzing the first true evaluation value of the low-energy projection data by the second discriminator model in the recurrent generative adversarial network model includes:

[0102] Performing image segmentation on the low energy projection data to obtain low energy projection data blocks;

[0103] Performing a convolution operation on the low-energy projection data blocks one by one through a second discriminator model to obtain an evaluation value of each low-energy projection data block;

[0104] When the evaluation values ​​of all low-energy projection data blocks are the preset first evaluation threshold, determining that the first true evaluation value of the low-energy projection data is the first evaluation threshold;

[0105] When the evaluation value of any of the low-energy projection data blocks is a preset second evaluation threshold, it is determined that the first true evaluation value of the low-energy projection data is the second evaluation threshold.

[0106] Specifically, the image corresponding to the low energy projection data is segmented into a plurality of data blocks, thereby obtaining low energy projection data blocks, and each low energy projection data block is input into D Y A convolution operation is performed in the discriminator (the second discriminator model) to output an evaluation value for each low-energy projection data block, wherein when the evaluation value is 1, it indicates that the generated low-energy projection data block is real, and when the evaluation value is 0, it indicates that the generated low-energy data block is false; when the evaluation values ​​corresponding to all low-energy projection data blocks are 1 (the first evaluation threshold), the first true evaluation value corresponding to the low-energy projection data is determined to be 1; and when there is any low-energy projection data block whose corresponding evaluation value is 0 (the second evaluation threshold), the first true evaluation value corresponding to the low-energy projection data is determined to be 0.

[0107] Specifically, for D X Discriminator (first discriminator model) evaluation G YX (IY ) is verified by inputting each high energy projection data into D X A convolution operation is performed in the discriminator (the first discriminator model) to output an evaluation value for each high-energy projection data block. When the evaluation values ​​corresponding to all high-energy projection data blocks are 1 (the first evaluation threshold), the true evaluation value corresponding to the high-energy projection data is determined to be 1; and when there is any high-energy projection data block whose corresponding evaluation value is 0 (the second evaluation threshold), the true evaluation value corresponding to the high-energy projection data is determined to be 0.

[0108] Furthermore, the training-based cyclic generative adversarial network model needs to optimize the model parameters, so it is necessary to continuously calculate the loss value of the model through the loss function, and update the model parameters according to the loss value until a more generalized model is obtained.

[0109] In an embodiment of the present invention, the comprehensive loss function is composed of three parts: adversarial loss, cycle consistency loss and identity consistency loss, wherein the adversarial loss is used to optimize the adversarial learning between the generator and the discriminator, the cycle consistency loss is used to constrain the cyclic mapping between the generator and the generator, and the identity consistency loss is used to maintain the identity mapping between the generator and the generator.

[0110] In the embodiment of the present invention, before calculating the loss value between the high energy projection data and the original high energy projection data using a preset comprehensive loss function, the method further includes:

[0111] A first adversarial loss function is generated according to a first generator model and a first discriminator model in a preset cyclic generative adversarial network model, and a second adversarial loss function is generated according to a second generator model and a second discriminator model in a preset cyclic generative adversarial network model, wherein the first adversarial loss function and the second adversarial loss function are:

[0112] L GAN (G X ,D X ,X,Y)=E X~Pdata(X) [log D X (I X )]+E Y~Pdata(Y) [log(1-D X (G X (I Y )))]

[0113] L GAN (G Y ,D Y ,X,Y)=E Y~Pdata(Y) [log D Y (I Y )]+EX~Pdata(X) [log(1-D Y (G Y (I X )))]

[0114] Among them, L GAN (G X ,D X ,X,Y) is the first generator model G X and the first discriminator model D X The first adversarial loss function between X-domain and Y-domain images, L GAN (G Y ,D Y ,X,Y) is the second generator model G Y and the second discriminator model D Y The second adversarial loss function, D, on images in the X and Y domains X (I X ) is the X-domain image I X The discriminator, G X (I Y ) is the conversion of X-domain image into Y-domain image I Y The generator, E X~Pdata(X) X is subject to the image dataset X domain P data(X) The expected function of the distribution, D Y (I Y ) is the Y domain image I Y The discriminator, G Y (I X ) is the conversion of Y domain image into X domain image I X The generator, E Y~Pdata(Y) Y is subject to the Y domain P in the image data set data(Y) The expected function of a distribution;

[0115] The cycle consistency loss function of the preset cycle generation adversarial network model is determined according to the preset cycle consistency loss:

[0116] L cycle (G X ,G Y )==E X~Pdata(X) [||G Y (G X (I X ))-I X ||1]+E Y~Pdata(Y) [||G X (G Y (I Y ))-I Y ||1

[0117] Among them, L cycle (G X,G Y ) is the first generator model G X and the second generator model G Y The cycle consistency loss function between ||||1 represents the L1 norm, I X is the X domain image, I Y is the Y domain image;

[0118] The identity consistency loss function of the preset cyclic generative adversarial network model is determined according to the preset identity consistency loss:

[0119]

[0120] Among them, L identity (G X ,G Y ) is the first generator model G X and the second generator model G Y The identity consistency loss function between G X (I X ) is used to generate the X domain image I X The generator, I X is the X domain image, G Y (I Y ) is used to generate the Y domain image I Y The generator, I Y is the Y domain image;

[0121] A comprehensive loss function is generated according to the first adversarial loss function, the second adversarial loss function, the cycle consistency loss function, and the identity consistency loss function, wherein the comprehensive loss function is:

[0122] L(G X ,G Y ,D X ,D Y )=L GAN (G Y ,D Y ,X,Y)+L GAN (G X ,D X ,X,Y)+λL cycle (G X ,G Y )+λ idt L identity (G X ,G Y )

[0123] Among them, L(G X ,G Y ,D X ,D Y ) is the first generator model GX , the second generator model G Y , the first discriminator model D X And the comprehensive loss function under the condition of the second discriminator model, L GAN (G Y ,D Y ,X,Y) is the first generator model G X and the first discriminator model D X The first adversarial loss function between X-domain and Y-domain images, L GAN (G Y ,D Y ,X,Y) is the second generator model G Y and the second discriminator model D Y The second adversarial loss function between X-domain and Y-domain images, L cycle (G X ,G Y ) is the first generator model G X and the second generator model G Y The cycle consistency loss function between identity (G X ,G Y ) is the first generator model G X and the second generator model G Y The identity consistency loss function between them, λ is the weight parameter of the cycle consistency loss, λ idt is the weight parameter of identity consistency loss.

[0124] In detail, in the CycleGAN (Cycle Generative Adversarial Network) model, there are two generators and two discriminators, so there are two adversarial losses, namely the generator G XY and the discriminator D Y The adversarial loss, that is, the first adversarial loss function, and the generator G YX and the discriminator D X The adversarial loss is the second adversarial loss function, and D X (I X ) refers to the discrimination I X The authenticity of the image, D X (G X (I Y ))) refers to the determination of I Y Image conversion I X The image authenticity after the image, while X and Y represent the images in the X domain and Y domain, that is, high energy projection data and low energy projection data; DX() represents the discriminator D X The transfer function of DY() represents the discriminator D Y The transfer function of GX() represents the generator G YXThe transfer function of GY() represents the generator G XY The transfer function of .

[0125] Specifically, the core idea of ​​the CycleGAN (Cycle Generative Adversarial Network) model is to ensure that the input image passes through the generator G XY Convert from domain X to domain Y, and then pass through generator G YX Back to the X domain, the result should be as similar as possible to the original image, and the cycle consistency loss is used to measure this consistency; in addition, the identity consistency loss is used to ensure that the generator can maintain its characteristics when the input is an image in the target domain. When the input is an image in the X domain, the generator G YX It should remain unchanged; when the input is an image in the Y domain, the generator G XY It should be kept unchanged, then the total loss function is the weighted sum of these three losses. By optimizing this comprehensive loss function, CycleGAN learns the mapping relationship between the two domains and achieves the task of image translation.

[0126] Furthermore, the trained cyclic generative adversarial network model can realize the mapping relationship between the high-energy projection data set and the low-energy projection data set. Therefore, it is necessary to use the trained cyclic generative adversarial network model to estimate the missing low-energy projection data from the known high-energy projection data set, and to estimate the missing high-energy projection data from the known low-energy projection data set.

[0127] S4. Collect an undersampled high-energy data set and an undersampled low-energy data set, use the first generator model in the trained cyclic generative adversarial network model to convert the undersampled high-energy data set into virtual low-energy projection data, and use the second generator model in the trained cyclic generative adversarial network model to convert the undersampled low-energy data set into virtual high-energy projection data.

[0128] In an embodiment of the present invention, the under-sampled high-energy data set is a data set generated by collecting a CBCT device with a fast kVp switching, and the under-sampled high-energy data set includes H projection angle data and L missing projection angle data; the under-sampled low-energy data set is also a data set generated by a CBCT device with a fast kVp switching, and the under-sampled low-energy data set includes L projection angle data and H missing projection angle data.

[0129] In the embodiment of the present invention, the collecting of the under-sampled high-energy data set and the under-sampled low-energy data set includes:

[0130] Obtain low energy radiation sources and high energy radiation sources;

[0131] The low-energy ray source is switched by using a fast tube voltage within a preset scanning cycle to obtain low-energy projection angle data of different projection angles, and the missing high-energy projection angle data corresponding to the low-energy projection angle data is determined according to a preset projection rotation angle;

[0132] The high-energy ray source is switched by using a fast tube voltage within a preset scanning period to obtain high-energy projection angle data of different projection angles, and the missing low-energy projection angle data corresponding to the high-energy projection angle data is determined according to a preset projection rotation angle;

[0133] The low-energy projection angle data and the missing high-energy projection angle data are constructed as an under-sampled low-energy data set, and the high-energy projection angle data and the missing low-energy projection angle data are constructed as an under-sampled high-energy data set.

[0134] In detail, it is assumed that a fast kVp switching CBCT device acquires projection data of N projection angles in one scanning cycle, and records L projection angle data sets I at low X-ray energy (low energy ray source) in an alternating manner during acquisition. Ls (low energy projection angle data), record H projection angle data sets I with high X-ray energy (high energy ray source) Hs (high energy projection angle data), where N = L + H. Therefore, due to the simultaneous switching and rotation of the X-ray source, the undersampled high energy data set contains H projection angle data and lacks L projection angle data, and the undersampled low energy data set contains L projection angle data and lacks H projection angle data, such as Figure 2 As shown, it is a schematic diagram of CT scanning of high and low energy projection images, and low energy projection angle data and high energy projection angle data can be obtained at different projection angles.

[0135] Furthermore, based on the undersampled high-energy data set and undersampled low-energy data set generated by the CBCT device, the original projection data needs to be input into the trained generator model to obtain the generated compensated partial image in order to obtain a complete high-energy projection data set and low-energy projection data.

[0136] In the embodiment of the present invention, the virtual low-energy projection data refers to the compensated partial images corresponding to the H projection angles obtained by converting H projection angle data recorded with high X-ray energy in the undersampled high-energy data set from the X domain to the Y domain.

[0137] In an embodiment of the present invention, the method of converting the undersampled high-energy data set into virtual low-energy projection data using the first generator model in the trained cyclic generative adversarial network model includes:

[0138] Extracting high-energy projection angle data from the under-sampled high-energy data set according to a preset projection angle;

[0139] Using the high energy projection angle data as X-domain image data;

[0140] The X-domain image data is converted into Y-domain image data using the first generator model in the trained cyclic generative adversarial network model to obtain virtual low-energy projection data corresponding to the high-energy projection angle data.

[0141] Specifically, the projection data corresponding to H projection angles in the undersampled high energy data set, i.e., high energy projection angle data, are converted into the undersampled high energy projection data p of the H projection angles. H Input to generator G XY In the (first generator model), the high energy projection angle data is converted from the X domain to the Y domain to obtain virtual low energy projection data p for H projection angles. L '; Similarly, the undersampled low-energy projection data p of L projection angles are L Input to the generator G YX (Second generator model), the low energy projection data is transferred from the Y domain to the X domain, and the virtual high energy projection data p of L projection angles are obtained H ', wherein the virtual high energy projection data refers to the L projection angle data recorded at low X-ray energy in the undersampled low energy data set, which are converted from the Y domain to the X domain, and the compensated partial images corresponding to the L projection angles are obtained, such as Figure 3 As shown, it is a schematic diagram of generating virtual high and low energy projections from high and low energy projection data. Figure 3 The virtual high and low energy projection data in Figure 2 The high and low energy projection data collected in the image are complementary to each other, so as to obtain the high and low energy projection data at different projection angles and the complementary virtual high and low energy projection data.

[0142] Furthermore, in order to improve the quality of the reconstructed image, comprehensive projection data is needed. Low-energy data is not sufficient to generate high-quality images using low-energy data alone, and the same is true for high-energy data. Therefore, comprehensive projection data of low-energy projection data and high-energy projection data is needed.

[0143] S5. Splicing the undersampled low-energy data set with the virtual low-energy projection data to obtain a target low-energy projection data set, and splicing the undersampled high-energy data set with the virtual high-energy projection data to obtain a target high-energy projection data set.

[0144] In the embodiment of the present invention, the target low-energy projection data set is a data set of complete angle projection data formed by splicing and fusing low-energy projection data with high-energy projection data with corresponding angles missing.

[0145] In an embodiment of the present invention, the step of splicing the undersampled low energy data set with the virtual low energy projection data to obtain a target low energy projection data set includes:

[0146] Extracting low energy projection angle data from the under-sampled low energy data set;

[0147] Extracting a first projection angle corresponding to the low-energy projection angle data, and extracting a second projection angle corresponding to the virtual low-energy projection data;

[0148] The low energy projection angle data and the virtual low energy projection angle data are compensated, spliced ​​and fused according to the angle sequence of the first projection angle and the second projection angle to obtain a target low energy projection data set.

[0149] In detail, according to the generated virtual low-energy projection data of H projection angles combined with the L low-energy projection data sets collected by the device, N low-energy projection data sets of complete projection angles can be obtained, so that the projection data corresponding to different projection angles are combined into a target low-energy projection data set, such as Figure 4 As shown, it is a schematic diagram of a low-energy projection diagram of a complete projection angle composed of a scanned low-energy projection image and a generated low-energy projection image. Under low-energy projection, the high-energy projection data corresponding to the projection angle is converted into low-energy projection data, that is, the originally collected low-energy projection data is combined with the generated virtual low-energy projection data, so as to obtain a low-energy projection data set at a complete angle.

[0150] Specifically, the target high-energy projection data set is a data set of complete angle projection data formed by splicing and fusing high-energy projection data with low-energy projection data of corresponding angles that are missing. According to the generated virtual high-energy projection data of L projection angles, combined with H high-energy projection data sets collected by the device, a high-energy projection data set of N complete projection angles is obtained, such as Figure 5 As shown, it is a schematic diagram of a high-energy projection diagram of a complete projection angle composed of a scanned high-energy projection image and a generated high-energy projection image. Under high-energy projection, the low-energy projection data corresponding to the projection angle is converted into high-energy projection data, that is, the originally collected high-energy projection data is combined with the generated virtual high-energy projection data, so as to obtain a high-energy projection data set at a complete angle.

[0151] Furthermore, in order to obtain a high-quality reconstructed image, it is necessary to perform FDK reconstruction based on the generated low-energy projection data set of the complete projection angle to obtain a high-quality low-energy reconstructed image, and to perform FDK reconstruction based on the generated high-energy projection data set of the complete projection angle to obtain a high-quality high-energy reconstructed image.

[0152] S6. Reconstruct the target low-energy projection data set to obtain a high-quality low-energy reconstructed image, and reconstruct the target high-energy projection data set to obtain a high-quality high-energy reconstructed image.

[0153] In the embodiment of the present invention, the high-quality low-energy reconstructed image refers to an image regenerated after image reconstruction is performed based on a low-energy projection data set of a complete projection angle.

[0154] In an embodiment of the present invention, reconstructing the target high-energy projection data set to obtain a high-quality low-energy reconstructed image includes:

[0155] Performing filtering processing on the high energy projection data in the target high energy projection data set;

[0156] Back-projecting the filtered high-energy projection data to obtain spatial domain data corresponding to the high-energy projection data;

[0157] Calculating a volume image of the high energy projection data based on the spatial domain data;

[0158] The high energy projection data is reconstructed according to the reconstruction parameters in the volume image to obtain a high quality low energy reconstructed image.

[0159] In detail, the angle projection data is filtered to compensate for the absorption of X-rays in different directions. The filtering algorithms include but are not limited to Ram-Lak filter and Shepp-Logan filter, and the filtered projection data is back-projected to convert it into spatial domain data of the volume image. The geometric relationship between the X-ray source and the detector, as well as the geometric correction of the projection data are considered in the back-projection process, and then the back-projection result is reconstructed, and the volume image is calculated using the FDK algorithm to obtain a high-quality low-energy reconstructed image, wherein the FDK algorithm converts the projection data in the X-ray CT scan into an image, and establishes a reconstruction geometry model based on the geometric features of the CT scanning system, such as the position of the X-ray source and the detector, and the rotation mode of the object, and filters the projection data in the frequency domain to compensate for the attenuation of the X-rays when passing through the object. The filtered data is then back-projected to convert the projection data back to the spatial domain, and the attenuation value of each pixel in the object is calculated through the back-projected data to reconstruct the CT image, such as Figure 6As shown, it is a schematic diagram of a high-energy, low-quality, high-energy reconstructed image of a dual-energy CBCT system, in which a new image is reconstructed for a high-energy projection data set with complete angles generated, and the image has complete high-energy projection data, thereby reconstructing a high-quality image.

[0160] Specifically, the high-quality, high-energy reconstructed image refers to the image regenerated after image reconstruction based on the high-energy projection data set of the complete projection angle, and then the high-energy projection data set of the complete projection angle is reconstructed by FDK to obtain a high-quality, high-energy reconstructed image, wherein the step of reconstructing the target high-energy projection data set to obtain a high-quality, high-energy reconstructed image is the same as the step of reconstructing the target low-energy projection data set to obtain a high-quality, low-energy reconstructed image, and will not be repeated here. Figure 7 As shown, it is a schematic diagram of a high-energy, high-quality, high-energy reconstructed image of a dual-energy CBCT system, in which a new image is reconstructed for a low-energy projection data set of a complete angle generated, and the image has complete low-energy projection data, thereby reconstructing a high-quality image.

[0161] Furthermore, "low" and "high" energy levels are relative. That is, energy level E1 is lower than E2, and E2 is higher than E1. These levels do not need to be compared with any reference value, and an X-ray beam usually contains photons of different energies, so the energy of an X-ray beam refers to the characteristics of its energy distribution, such as the most significant or average energy.

[0162] The embodiment of the present invention can optimize the quality of reconstructed images by estimating complete high- and low-energy projection data from undersampled high- and low-energy projection data, estimating missing low-energy projection data from known high-energy projection data sets, and estimating missing high-energy projection data from known low-energy projection data sets; by compensating for projection data, the contrast and clarity of the image can be improved, making the details more clearly visible. Therefore, the virtual single-energy projection image generation method and medium for dual-energy CBCT proposed in the present invention can solve the problem of low clarity when generating virtual single-energy projection images.

[0163] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0164] Collecting high-energy projection data, performing logarithmic transformation and normalization processing on the high-energy projection data, and constructing the normalized high-energy projection data into a high-energy projection data set;

[0165] Collecting low-energy projection data, performing logarithmic transformation and normalization processing on the low-energy projection data, and constructing the normalized low-energy projection data into a low-energy projection data set;

[0166] Generate an image dataset according to the high-energy projection dataset and the low-energy projection dataset, and use the image dataset to train a preset recurrent generative adversarial network model;

[0167] Collecting an undersampled high-energy data set and an undersampled low-energy data set, converting the undersampled high-energy data set into virtual low-energy projection data using a first generator model in a trained cyclic generative adversarial network model, and converting the undersampled low-energy data set into virtual high-energy projection data using a second generator model in a trained cyclic generative adversarial network model;

[0168] splicing the undersampled low-energy data set with the virtual low-energy projection data to obtain a target low-energy projection data set, and splicing the undersampled high-energy data set with the virtual high-energy projection data to obtain a target high-energy projection data set;

[0169] The target low-energy projection data set is reconstructed to obtain a high-quality low-energy reconstructed image, and the target high-energy projection data set is reconstructed to obtain a high-quality high-energy reconstructed image.

[0170] In several embodiments provided by the present invention, it should be understood that the disclosed methods and media may be implemented in other ways.

[0171] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0172] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0173] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0174] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is not limited only according to the above description, so it is intended to include all changes within the meaning and scope of the equivalent elements of the claims in the present invention.

[0175] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application device that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0176] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in a device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0177] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for generating a virtual single-energy projection image for dual-energy CBCT, characterized in that: The method comprises: Collecting high-energy projection data, performing logarithmic transformation and normalization processing on the high-energy projection data, and constructing the normalized high-energy projection data into a high-energy projection data set; Collecting low-energy projection data, performing logarithmic transformation and normalization processing on the low-energy projection data, and constructing the normalized low-energy projection data into a low-energy projection data set; Generate an image dataset according to the high-energy projection dataset and the low-energy projection dataset, and use the image dataset to train a preset recurrent generative adversarial network model; Collecting an undersampled high-energy data set and an undersampled low-energy data set, converting the undersampled high-energy data set into virtual low-energy projection data using a first generator model in a trained cyclic generative adversarial network model, and converting the undersampled low-energy data set into virtual high-energy projection data using a second generator model in a trained cyclic generative adversarial network model; splicing the undersampled low-energy data set with the virtual low-energy projection data to obtain a target low-energy projection data set, and splicing the undersampled high-energy data set with the virtual high-energy projection data to obtain a target high-energy projection data set; The target low-energy projection data set is reconstructed to obtain a high-quality low-energy reconstructed image, and the target high-energy projection data set is reconstructed to obtain a high-quality high-energy reconstructed image.

2. The method for generating a virtual single energy projection image for dual energy CBCT according to claim 1, characterized in that: The normalization process of performing logarithmic transformation on the high energy projection data comprises: Performing grayscale processing on the high energy projection data to obtain high energy projection grayscale data; Extracting the grayscale value corresponding to each image pixel in the high-energy projection grayscale data; The high energy projection data is subjected to logarithmic transformation and normalization processing according to the grayscale value, wherein the normalization formula is: Among them, I norm (i, j) is the normalized grayscale value of the high energy projection data at the coordinate (i, j), I(i, j) is the grayscale value of the high energy projection data at the coordinate (i, j), I max is the maximum gray value in the high energy projection data set, I min is the minimum gray value in the high energy projection data set, and ln is a logarithmic function.

3. The method for generating a virtual single energy projection image for dual energy CBCT according to claim 1, characterized in that: The using the image data set to train a preset cyclic generative adversarial network model includes: Inputting the original high-energy projection data in the image data set into the first generator model in the recurrent generative adversarial network model to generate low-energy projection data corresponding to the original high-energy projection data; Analyzing a first true evaluation value of the low-energy projection data through a second discriminator model in the cyclic generative adversarial network model, and converting the low-energy projection data into high-energy projection data through a second generator model in the cyclic generative adversarial network model; Analyze a second true evaluation value of the high-energy projection data by using a first discriminator model in the cyclic generative adversarial network model; When the first true evaluation value and the second true evaluation value meet the preset true evaluation conditions, the loss value between the high-energy projection data and the original high-energy projection data is calculated using a preset comprehensive loss function. When the loss value is less than a preset loss threshold, the trained cyclic generative adversarial network model is output.

4. The method for generating a virtual single energy projection image for dual energy CBCT according to claim 3, characterized in that: The analyzing the first true evaluation value of the low-energy projection data by the second discriminator model in the cyclic generative adversarial network model comprises: Performing image segmentation on the low energy projection data to obtain low energy projection data blocks; Performing a convolution operation on the low-energy projection data blocks one by one through a second discriminator model to obtain an evaluation value of each low-energy projection data block; When the evaluation values ​​of all low-energy projection data blocks are the preset first evaluation threshold, determining that the first true evaluation value of the low-energy projection data is the first evaluation threshold; When the evaluation value of any of the low-energy projection data blocks is a preset second evaluation threshold, it is determined that the first true evaluation value of the low-energy projection data is the second evaluation threshold.

5. The method for generating a virtual single energy projection image for dual energy CBCT according to claim 3, characterized in that: Before calculating the loss value between the high energy projection data and the original high energy projection data using a preset comprehensive loss function, the method further includes: A first adversarial loss function is generated according to a first generator model and a first discriminator model in a preset cyclic generative adversarial network model, and a second adversarial loss function is generated according to a second generator model and a second discriminator model in a preset cyclic generative adversarial network model, wherein the first adversarial loss function and the second adversarial loss function are: L GAN (G X ,D X ,X,Y)=E X~Pdata(X) [log D X (I X )]+E Y~Pdata(Y) [log(1-D X (G X (I Y )))] L GAN (G Y ,D Y ,X,Y)=E Y~Pdata(Y) [log D Y (I Y )]+E X~Pdata(X) [log(1-D Y (G Y (I X )))] Among them, L GAN (G X ,D X ,X,Y) is the first generator model G X and the first discriminator model D X The first adversarial loss function between X-domain and Y-domain images, L GAN (G Y ,D Y ,X,Y) is the second generator model G Y and the second discriminator model D Y The second adversarial loss function, D, on images in the X and Y domains X (I X ) is the X-domain image I X The discriminator G X (I Y ) is the conversion of X-domain image into Y-domain image I Y The generator of X is subject to the image dataset X domain P data(X) The expected function of the distribution, D Y (I Y ) is the Y domain image I Y The discriminator G Y (I X ) is the conversion of Y domain image into X domain image I X The generator of Y is subject to the Y domain P in the image data set data(Y) The expected function of a distribution; The cycle consistency loss function of the preset cycle generation adversarial network model is determined according to the preset cycle consistency loss: Among them, L cycle (G X ,G Y ) is the first generator model G X and the second generator model G Y The cycle consistency loss function between ||||1 represents the L1 norm, I X is the X domain image, I Y is the Y domain image; The identity consistency loss function of the preset cyclic generative adversarial network model is determined according to the preset identity consistency loss: Among them, L identity (G X ,G Y ) is the first generator model G X and the second generator model G Y The identity consistency loss function between G X (I X ) is used to generate the X domain image I X The generator, I X is the X domain image, G Y (I Y ) is used to generate the Y domain image I Y The generator, I Y is the Y domain image; A comprehensive loss function is generated according to the first adversarial loss function, the second adversarial loss function, the cycle consistency loss function, and the identity consistency loss function, wherein the comprehensive loss function is: L(G X ,G Y ,D X ,D Y )=L GAN (G Y ,D Y ,X,Y)+L GAN (G X ,D X ,X,Y)+λL cycle (G X ,G Y )+λ idt L identity (G X ,G Y ) Among them, L(G X ,G Y ,D X ,D Y ) is the first generator model G X , the second generator model G Y , the first discriminator model D X And the comprehensive loss function under the second discriminator model, L GAN (G Y ,D Y ,X,Y) is the first generator model G X and the first discriminator model D X The first adversarial loss function between X-domain and Y-domain images, L GAN (G Y ,D Y ,X,Y) is the second generator model G Y and the second discriminator model D Y The second adversarial loss function between X-domain and Y-domain images, L cycle (G X ,G Y ) is the first generator model G X and the second generator model G Y The cycle consistency loss function between identity (G X ,G Y ) is the first generator model G X and the second generator model G Y The identity consistency loss function between them, λ is the weight parameter of the cycle consistency loss, λ idt is the weight parameter of identity consistency loss.

6. The method for generating a virtual single energy projection image for dual energy CBCT according to claim 1, characterized in that: The collecting of the under-sampled high-energy data set and the under-sampled low-energy data set includes: Obtain low energy radiation sources and high energy radiation sources; The low-energy ray source is switched by using a fast tube voltage within a preset scanning cycle to obtain low-energy projection angle data of different projection angles, and the missing high-energy projection angle data corresponding to the low-energy projection angle data is determined according to a preset projection rotation angle; The high-energy ray source is switched by using a fast tube voltage within a preset scanning period to obtain high-energy projection angle data of different projection angles, and the missing low-energy projection angle data corresponding to the high-energy projection angle data is determined according to a preset projection rotation angle; The low-energy projection angle data and the missing high-energy projection angle data are constructed as an under-sampled low-energy data set, and the high-energy projection angle data and the missing low-energy projection angle data are constructed as an under-sampled high-energy data set.

7. The method for generating a virtual single energy projection image for dual energy CBCT according to claim 1, characterized in that: The method of using the first generator model in the trained cyclic generative adversarial network model to convert the undersampled high-energy data set into virtual low-energy projection data includes: Extracting high-energy projection angle data from the under-sampled high-energy data set according to a preset projection angle; Using the high energy projection angle data as X-domain image data; The X-domain image data is converted into Y-domain image data using the first generator model in the trained cyclic generative adversarial network model to obtain virtual low-energy projection data corresponding to the high-energy projection angle data.

8. The method for generating a virtual single energy projection image for dual energy CBCT according to claim 1, characterized in that: The step of splicing the undersampled low energy data set with the virtual low energy projection data to obtain a target low energy projection data set includes: Extracting low energy projection angle data from the under-sampled low energy data set; Extracting a first projection angle corresponding to the low-energy projection angle data, and extracting a second projection angle corresponding to the virtual low-energy projection data; The low energy projection angle data and the virtual low energy projection angle data are compensated, spliced ​​and fused according to the angle sequence of the first projection angle and the second projection angle to obtain a target low energy projection data set.

9. The method for generating a virtual single energy projection image for dual energy CBCT according to claim 1, characterized in that: The step of reconstructing the target high energy projection data set to obtain a high quality low energy reconstructed image includes: Performing filtering processing on the high energy projection data in the target high energy projection data set; Back-projecting the filtered high-energy projection data to obtain spatial domain data corresponding to the high-energy projection data; Calculating a volume image of the high energy projection data based on the spatial domain data; The high energy projection data is reconstructed according to the reconstruction parameters in the volume image to obtain a high quality low energy reconstructed image.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for generating a virtual single energy projection image for dual energy CBCT according to any one of claims 1 to 9 is implemented.

Citation Information

Cited By

  • Target region positioning method and device, equipment and medium

    CN122582500A