A method and device for generating CT projection images

Generative adversarial networks are used to generate tween DR projection images and simulate CT projection images, which solves the problems of high price and inconvenience of movement of security CT equipment, and achieves efficient and comprehensive image expression of multi-view X-ray security inspection.

CN112233227BActive Publication Date: 2024-09-10BEIJING HANGXING MACHINERY MFG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011125433.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-20
Publication Date
2024-09-10
Estimated Expiration
2040-10-20

AI Technical Summary

Technical Problem

Existing security CT equipment is expensive, bulky and inconvenient to move, and the X-ray images projected onto two-dimensional images overlap each other, making it difficult to distinguish dangerous contraband inside the package.

Method used

A generative adversarial network is used to train the generator and discriminator through the training sample library to generate tweened DR projection images at different angles, and then simulate CT projection images to achieve the generation of three-dimensional reconstructed volume data.

Benefits of technology

It has realized multi-view X-ray security inspection that is cheap, easy to deploy and move, and can express more comprehensive and complete image information, which has significant advantages over security CT and ordinary X-ray security inspection machines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112233227B
    Figure CN112233227B
Patent Text Reader

Abstract

The present invention relates to a method and device for generating CT projection images, which belongs to the technical field of ray image generation and solves the problem that the existing X-ray images are overlapped when projected onto two-dimensional images, making it difficult to distinguish dangerous contraband inside a package. The method includes obtaining an image sample library; constructing a generative adversarial network, and training the generative adversarial network through training samples of the image sample library; constructing a DR security inspection device, including a shooting device and a trained generator; shooting DR projection images of the object to be inspected at multiple angles through the shooting device; based on the DR projection images at multiple angles, generating multiple interpolated DR projection images of different angles different from the multiple angles through the trained generator; and based on the DR projection images at multiple angles and the interpolated DR projection images of multiple different angles, generating CT projection images of the object to be inspected corresponding to the multiple angles and the multiple different angles. Obtaining three-dimensional reconstructed volume data to partially simulate CT makes the expressed image information more comprehensive and complete.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of ray image generation, and in particular to a method and device for generating a CT projection image. Background Art

[0002] X-ray radiation imaging technology is the mainstream technology in security inspection systems widely used in various countries, especially in airports, stations, customs, docks, exhibition halls and other public places, which use X-ray security inspection machines to strictly inspect passenger luggage, cargo containers, etc. Among X-ray security inspection equipment, dual-view or even multi-view security inspection systems are more popular for contraband because they can accurately judge the detected objects from multiple angles.

[0003] Security CT has become the core security equipment in airports and other key security fields due to its strong penetration, multi-angle and high precision. However, the market price of security CT is expensive, and the machine is large and inconvenient to move. How to simulate the technical effect of CT through the data of multi-view X-ray security inspection machine has become a new technical demand. Summary of the invention

[0004] In view of the above analysis, the embodiments of the present invention aim to provide a CT projection image generation method and device to solve the problems in the existing security inspection CT market, such as high price, bulky and inconvenient movement, X-ray images projected onto two-dimensional images overlapping each other, and difficulty in distinguishing dangerous contraband inside the package.

[0005] On the one hand, an embodiment of the present invention provides a method for generating a CT projection image, comprising: obtaining an image sample library; constructing a generative adversarial network, and training the generative adversarial network through training samples of the image sample library, wherein the generative adversarial network includes a generator and a discriminator, and the weight of the generator is adjusted by the discriminator during the training process; constructing a DR security inspection device, wherein the constructed DR security inspection device includes a shooting device and a trained generator; shooting DR projection images of a plurality of angles of the object to be inspected through the shooting device; based on the DR projection images of the plurality of angles, generating a plurality of interpolated DR projection images of different angles different from the plurality of angles through the trained generator; and based on the DR projection images of the plurality of angles and the interpolated DR projection images of the plurality of angles, generating CT projection images of the object to be inspected corresponding to the plurality of angles and the plurality of different angles.

[0006] The beneficial effects of the above technical solution are as follows: the CT projection image generation method according to the embodiment of the present invention utilizes a generative adversarial network to interpolate two-dimensional projection images of sparse angles to form more two-dimensional projection images, and obtains three-dimensional reconstructed volume data in three-dimensional space through a reconstruction algorithm to partially simulate the technical effect of CT. Compared with security inspection CT, it is cheap and easy to deploy and move; compared with ordinary X-ray security inspection machines, it can express more comprehensive and complete image information.

[0007] Based on the further improvement of the above method, obtaining the image sample library includes: scanning and photographing the sample object to be detected by DR security inspection equipment, and obtaining DR projection image samples at multiple angles; scanning and photographing the sample object to be detected by CT security inspection equipment, and obtaining 360-degree CT projection image samples; and setting corresponding labels for the training samples, wherein the training samples include the DR projection image samples at the multiple angles and the 360-degree CT projection image samples.

[0008] Based on the further improvement of the above method, setting corresponding labels for the training samples includes: for each projection image in the training samples, setting the category of the object to be detected, wherein the category of the object to be detected includes knives, drugs and guns; setting the projection image type, wherein the projection image type includes DR projection images and CT projection images; and setting the projection image address and name.

[0009] Based on the further improvement of the above method, the generative adversarial network includes: multiple codec networks, used to encode the input DR projection images of the multiple angles, map them to the feature space of the projection images at different angles and output them; a fusion network, used to fuse the output information of the multiple codec networks to generate interpolated DR projection images of different angles of the three-dimensional reconstructed body.

[0010] Based on further improvement of the above method, the multiple angles of the DR projection image are integer angles greater than or equal to 2.

[0011] Based on the further improvement of the above method, when the multiple angles of the DR projection image are 2 angles, training the generative adversarial network through the training samples of the image sample library includes: based on the DR projection image samples of the first angle and the second angle, generating multiple interpolated DR projection images of different angles through a generator.

[0012] Based on the further improvement of the above method, the multiple interpolated DR projection images at different angles include the interpolated DR projection image of the third angle and the remaining multiple interpolated DR projection images at different angles; based on the DR projection image samples of the first angle and the second angle, generating multiple interpolated DR projection images at different angles through a generator includes: inputting the DR projection image samples of the first angle and the DR projection image samples of the second angle into the first input end and the second input end of the generator respectively; generating and outputting the interpolated DR projection image of the third angle via the output end of the generator; executing the following loop steps to generate the remaining multiple interpolated DR projection images at different angles: replacing the DR projection image input at the first input end or the second input end with the output tween DR projection image; and generating and outputting the interpolated DR projection image of the 2nth angle or the interpolated DR projection image of the 2n+1th angle via the output end of the generator, wherein n is an integer greater than or equal to 2.

[0013] Based on the further improvement of the above method, adjusting the weight of the generator through the discriminator during the training process includes: in the discriminator, generating a CT projection image of the corresponding angle based on the projection image sample of the first angle, the DR projection image sample of the second angle, the generated interpolated DR projection image of the third angle, and the generated interpolated DR projection images of the remaining multiple different angles; comparing the generated CT projection image of the corresponding angle with the CT projection image of the corresponding angle in the training sample and obtaining the difference, and judging the authenticity of the generated CT projection image of the corresponding angle according to the difference; if the generated CT projection image of the corresponding angle is true, back-propagating the difference to the generator to adjust the weight of the generator.

[0014] Based on the further improvement of the above method, based on the DR projection images at the multiple angles, a plurality of interpolated DR projection images at different angles different from the multiple angles are generated by the trained generator, including: during the security inspection process, a plurality of interpolated DR projection images at different angles are generated by the trained generator in the same manner as the generator is used to generate the plurality of interpolated DR projection images at different angles during the training process.

[0015] On the other hand, an embodiment of the present invention provides a CT projection image generating device, comprising: a sample library acquisition module, used to acquire an image sample library; a generative adversarial network construction module, used to construct a generative adversarial network, and train the generative adversarial network through training samples of the image sample library, wherein the generative adversarial network includes a generator and a discriminator, and the weight of the generator is adjusted by the discriminator during the training process; a security inspection equipment construction module, used to construct a DR security inspection equipment, and the constructed DR security inspection equipment includes a shooting device and a trained generator; a DR projection image acquisition module, used to shoot DR projection images of a plurality of angles of the object to be inspected through the shooting device; a projection image interpolation module, used to generate a plurality of interpolated DR projection images of different angles different from the plurality of angles based on the DR projection images of the plurality of angles through a trained generator; and a CT projection image generation module, used to generate CT projection images of the object to be inspected corresponding to the plurality of angles and the plurality of interpolated DR projection images based on the DR projection images of the plurality of angles.

[0016] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:

[0017] 1. The present invention makes full use of a large amount of training sample data and can effectively utilize a large amount of important feature information of multi-angle X-ray images, which is significantly helpful for generating projection angle interpolation images and reconstructing three-dimensional volume data.

[0018] 2. The present invention utilizes a generative adversarial network to interpolate two-dimensional projection images of sparse angles to form more two-dimensional projection images, and obtains three-dimensional reconstructed volume data through a reconstruction algorithm in three-dimensional space to partially simulate the technical effect of CT. Compared with security inspection CT, the present invention is inexpensive and easy to deploy and move; compared with ordinary X-ray security inspection machines, the image information that can be expressed is more comprehensive and complete.

[0019] 3. The present invention uses a feature network to extract features from X-ray images, reduces the complexity of the network model by sharing the network structure, and reduces the number of weights, thus avoiding the complex feature extraction and data reconstruction process in traditional algorithms.

[0020] 4. The present invention adopts a fusion network to perform feature fusion of X-ray images. The fusion network is a multi-layer perceptron specially designed for identifying two-dimensional X-ray images. This network structure is highly invariant to translation, scaling, tilt or other forms of deformation.

[0021] 5. The present invention performs computation based on a graphics processor, and the training and testing speeds are greatly improved compared to CPU-based computations.

[0022] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.

[0024] Figure 1 is a flow chart of a method for generating a CT projection image according to an embodiment of the present invention;

[0025] Figure 2 The schematic diagram of the structure of the generative adversarial network proposed in the present invention is shown, including a feature network and a fusion network;

[0026] Figure 3 The flowchart of the CT projection image generation method based on the generative adversarial network proposed by the present invention is shown;

[0027] Figure 4A and Figure 4B are the top and side viewing angles of the X-ray image, respectively. Figure 4C For the general Figure 4A and Figure 4B The X-ray images of the two viewing angles are used to reconstruct projection image information of corresponding angles of three-dimensional CT by the method proposed by the present invention.

[0028] Figure 5 4 is a block diagram of a CT projection image generating device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0030] A specific embodiment of the present invention discloses a method for generating a CT projection image. Figure 1The CT projection image generation method includes: step S102, obtaining an image sample library; step S104, constructing a generative adversarial network, and training the generative adversarial network through training samples of the image sample library, wherein the generative adversarial network includes a generator and a discriminator, and the weight of the generator is adjusted by the discriminator during the training process; step S106, constructing a DR security inspection device, and the constructed DR security inspection device includes a shooting device and a trained generator; step S108, shooting DR projection images of the object to be inspected at multiple angles through the shooting device; step S110, based on the DR projection images of multiple angles, generating multiple interpolated DR projection images of different angles different from the multiple angles through the trained generator; and step S112, based on the DR projection images of multiple angles and the interpolated DR projection images of multiple angles, generating CT projection images of the object to be inspected corresponding to the multiple angles and the multiple different angles.

[0031] Compared with the prior art, the CT projection image generation method provided in this embodiment utilizes a generative adversarial network to interpolate two-dimensional projection images of sparse angles to form more two-dimensional projection images, and obtains three-dimensional reconstructed volume data through a reconstruction algorithm in three-dimensional space to partially simulate the technical effect of CT. Compared with security inspection CT, it is cheap and easy to deploy and move; compared with ordinary X-ray security inspection machines, it can express more comprehensive and complete image information.

[0032] The CT projection image generation method includes: step S102, obtaining an image sample library. Specifically, obtaining the image sample library includes: scanning and photographing the object to be detected by the DR security inspection equipment, and obtaining DR projection image samples at multiple angles; scanning and photographing the object to be detected by the CT security inspection equipment, and obtaining 360-degree CT projection image samples; and setting corresponding labels for training samples, wherein the training samples include DR projection image samples at multiple angles and 360-degree CT projection image samples. Setting corresponding labels for training samples includes: for each projection image in the training sample, setting the category of the object to be detected, wherein the category of the object to be detected includes knives, drugs and guns; setting the projection image type, wherein the projection image type includes DR projection image and CT projection image; and setting the projection image address and name, so that in the subsequent training process of the generative adversarial network, the DR projection image and the CT projection image can be quickly found or located.

[0033] After obtaining the image sample library, proceed to step S104 to construct a generative adversarial network and train the generative adversarial network using the training samples of the image sample library, wherein the generative adversarial network includes a generator and a discriminator (also known as a discriminator), and the weight of the generator is adjusted by the discriminator during the training process. Figure 2 ,The generative adversarial network includes: multiple encoder-decoder networks, namely, Figure 2The feature network in is used to encode the input DR projection images of multiple angles respectively, and map them to the feature space of projection images of different angles and output them, wherein the number of encoding and decoding networks corresponds to the number of angles of the DR projection images; the fusion network is used to fuse the output information of multiple encoding and decoding networks to generate interpolated DR projection images of different angles of the three-dimensional reconstructed body. The multiple angles of the DR projection image are integer angles greater than or equal to 2.

[0034] In one embodiment, when the multiple angles of the DR projection image are 2 angles, training the generative adversarial network through training samples of the image sample library includes: based on the DR projection image samples of the first angle and the second angle, generating multiple interpolated DR projection images of different angles through a generator. Specifically, the multiple interpolated DR projection images at different angles include an interpolated DR projection image at a third angle and the rest of the interpolated DR projection images at different angles; based on the DR projection image samples at the first angle and the second angle, generating the multiple interpolated DR projection images at different angles through a generator includes: inputting the DR projection image samples at the first angle and the DR projection image samples at the second angle into the first input terminal and the second input terminal of the generator respectively; generating and outputting the interpolated DR projection image at the third angle via the output terminal of the generator; executing the following loop steps to generate the rest of the interpolated DR projection images at different angles: replacing the DR projection image input at the first input terminal or the second input terminal with the output interpolated DR projection image; and generating and outputting the interpolated DR projection image at the 2nth angle or the interpolated DR projection image at the 2n+1th angle via the output terminal of the generator, wherein n is an integer greater than or equal to 2. Adjusting the weight of the generator through the discriminator during the training process includes: in the discriminator, generating a CT projection image of the corresponding angle based on the projection image sample of the first angle, the DR projection image sample of the second angle, the generated interpolated DR projection image of the third angle, and the generated interpolated DR projection images of the remaining multiple different angles; comparing the generated CT projection image of the corresponding angle with the CT projection image of the corresponding angle in the training sample and obtaining the difference, and judging the authenticity of the generated CT projection image of the corresponding angle according to the difference; if the generated CT projection image of the corresponding angle is true, back-propagating the difference to the generator to adjust the weight of the generator.

[0035] In another embodiment, when the multiple angles of the DR projection image are 3 angles, training the generative adversarial network through training samples of the image sample library includes: based on the DR projection image samples of the first angle, the second angle and the third angle, generating multiple interpolated DR projection images of different angles through a generator. Specifically, the multiple interpolated DR projection images at different angles include an interpolated DR projection image at a fourth angle and the remaining multiple interpolated DR projection images at different angles; based on the DR projection image samples at the first angle, the second angle and the third angle, generating the multiple interpolated DR projection images at different angles through a generator includes: inputting the DR projection image samples at the first angle, the DR projection image samples at the second angle and the DR projection image samples at the third angle into the first input terminal, the second input terminal and the third input terminal of the generator respectively; generating and outputting the interpolated DR projection image at the fourth angle via the output terminal of the generator; executing the following loop steps to generate the remaining multiple interpolated DR projection images at different angles: replacing the DR projection image input at the first input terminal, the second input terminal or the third input terminal with the output interpolated DR projection image; and generating and outputting the interpolated DR projection image at the 2m+1th angle or the interpolated DR projection image at the 2m+2th angle via the output terminal of the generator, where m is an integer greater than or equal to 2. Adjusting the weight of the generator through the discriminator during the training process includes: in the discriminator, generating a CT projection image of the corresponding angle based on the projection image sample of the first angle, the DR projection image sample of the second angle, the DR projection image sample of the third angle, the generated interpolated DR projection image of the fourth angle, and the generated interpolated DR projection images of the remaining multiple different angles; comparing the generated CT projection image of the corresponding angle with the CT projection image of the corresponding angle in the training sample and obtaining the difference, and judging the authenticity of the generated CT projection image of the corresponding angle according to the difference; if the generated CT projection image of the corresponding angle is true, back-propagating the difference to the generator to adjust the weight of the generator. When the multiple angles of the DR projection image are more than 4 angles, the generative adversarial network is trained through the training samples of the image sample library in the same way as the above 2 angles or 3 angles.

[0036] Generative Adversarial Networks (GAN) is a deep learning model and one of the most promising methods for unsupervised learning on complex distributions in recent years. It is widely used to generate new data and has made significant breakthroughs in image generation. Compared with traditional methods, the use of generative adversarial networks can generate more realistic and efficient security X-ray images from different perspectives, which helps to further simulate the technical functions of CT.

[0037] After the training of the generative adversarial network is completed, step S106 is entered to construct a DR security inspection device, which includes a shooting device and a trained generator. The shooting device scans and shoots the object to be detected, and obtains DR projection images at multiple angles, for example, DR projection images at two or more angles. The DR security inspection device includes the trained generator but does not include a discriminator.

[0038] After the DR security inspection device is constructed, the process proceeds to step S108, where a shooting device is used to shoot DR projection images of the object to be inspected at multiple angles. The shooting device in the constructed DR security inspection device is used to scan and shoot the object to be inspected, and DR projection images at multiple angles are obtained.

[0039] After taking DR projection images of the object to be inspected at multiple angles, the process proceeds to step S110, and based on the DR projection images at multiple angles, a plurality of interpolated DR projection images of different angles are generated by the trained generator. During the security inspection process, the same method as the generator generating the interpolated DR projection images of multiple angles during the training process is used to generate the interpolated DR projection images of multiple angles by the trained generator. The multiple angles of the DR projection image are integer angles greater than or equal to 2.

[0040] In one embodiment, when the multiple angles of the DR projection map are 2 angles, generating multiple interpolated DR projection maps of different angles through a trained generator based on the DR projection maps of the first angle and the second angle includes: inputting the DR projection map sample of the first angle and the DR projection map of the second angle into the first input terminal and the second input terminal of the generator respectively; generating and outputting the interpolated DR projection map of the third angle through the output terminal of the trained generator; executing the following loop steps to generate multiple projection maps of different angles: replacing the DR projection map input at the first input terminal or the second input terminal with the output projection map; and generating and outputting the interpolated DR projection map of the 2nth angle or the interpolated DR projection map of the 2n+1th angle through the output terminal of the trained generator, wherein n is an integer greater than or equal to 2.

[0041] In another embodiment, when the multiple angles of the DR projection map are 3 angles, based on the DR projection maps of the first angle, the second angle and the third angle, generating multiple interpolated DR projection maps of different angles by a trained generator includes: inputting the DR projection map of the first angle, the DR projection map of the second angle and the DR projection map of the third angle into the first input terminal, the second input terminal and the third input terminal of the generator respectively; generating and outputting the interpolated DR projection map of the fourth angle via the output terminal of the trained generator; performing the following loop steps to generate multiple projection maps of different angles: replacing the DR projection map input at the first input terminal, the second input terminal or the third input terminal with the output interpolated DR projection map; and generating and outputting the interpolated DR projection map of the 2m+1th angle or the interpolated DR projection map of the 2m+2th angle via the output terminal of the generator, wherein m is an integer greater than or equal to 2. When the multiple angles of the DR projection map are 4 or more angles, multiple interpolated DR projection maps of different angles are generated by a trained generator in the same manner as the above 2 angles or 3 angles.

[0042] After generating a plurality of interpolated DR projection images at different angles different from the plurality of angles, the process proceeds to step S112, and based on the DR projection images at the plurality of angles and the interpolated DR projection images at the plurality of angles, a corresponding CT projection image is generated. In an embodiment, when the plurality of angles of the DR projection image is 2 angles, based on the DR projection image at the first angle, the DR projection image at the second angle, the interpolated DR projection image at the third angle outputted from the output end of the trained generator, the interpolated DR projection image at the 2nth angle, and the interpolated DR projection image at the 2n+1th angle, a corresponding CT projection image is generated.

[0043] In the following, reference Figure 2 4c describe in detail the method for generating CT projection images by means of a specific example.

[0044] Generative adversarial networks are used to interpolate sparsely angled two-dimensional projection images to form more two-dimensional projection images. For example, two-dimensional projection images at 2, 3, or 4 angles can be used to obtain more two-dimensional projection images. Three-dimensional reconstructed volume data is obtained through reconstruction algorithms in three-dimensional space to partially simulate the technical effects of CT. Figure 3 , the CT projection image generation method includes the following steps:

[0045] 1. Scan and photograph different types of contraband through CT and DR security inspection equipment, set corresponding labels for different types of training samples, and build a radiographic image sample library, where the image sample library data includes but is not limited to: CT three-dimensional reconstruction of projection images at different angles, and corresponding X-ray images at multiple angles. Taking category A as an example, category A includes multiple training samples, each of which contains: CT projection images at different angles; corresponding angle X-ray images; the address and name of the CT projection image, the address and name of the X-ray image, and the label text file of the coordinate information of category A contained in the current image.

[0046] 2. Select a suitable generative adversarial network and input training samples to construct a suitable generator and discriminator. Figure 2 As shown in the figure: the features of the ray images at multiple angles are extracted through the convolutional layer, pooling layer, full connection and other structures in the feature extraction network; the features extracted by the two decoders are converted to the same coordinate space to obtain the same feature structure, and then the average is the fused feature; the fused features are used to generate a CT projection image through operations such as reshaping and deconvolution; the discriminator is used to determine whether the generated CT projection image is true or false compared to the real CT projection image at the angle corresponding to the sample label, and the result is back-propagated to repeat the training process.

[0047] 3. Using the trained generator to input multi-angle 2D X-ray images can generate samples that are indistinguishable from projections of different angles of the real 3D reconstructed body through the trained discriminator.

[0048] 4. Generate pseudo 3D reconstructed volume data from the multiple projection images at different angles obtained in step 3 through a reconstruction algorithm.

[0049] Furthermore, the multiple angles of the X-ray image are greater than or equal to 2.

[0050] Furthermore, the generative network includes but is not limited to: LSGAN (Least Squares Generative Adversarial Networks), WGAN (Wasserstein GAN), CGAN (Conditional generative adversarial network), infoGAN (Interpretable representation learning by information maximizing GAN), EBGAN (Energy-based GAN), BEGAN, etc.

[0051] Furthermore, the construction of a suitable discriminator includes but is not limited to: PatchGANs, 3DPatch and other CNN discriminators.

[0052] Further, refer to Figure 2 , the generative adversarial network structure described in the present invention includes the following parts:

[0053] 1. Feature network. Input a multi-view 2D X-ray image, and use the feature network to learn the feature mapping of the input multi-view 2D X-ray to the feature space of the corresponding 3D reconstructed projection images at different angles. For example, Figure 4A and Figure 4B , the top view and side view X-ray images are used as inputs of the two feature networks respectively.

[0054] 2. A fusion network is used to fuse the information of the two encoding and decoding networks to reconstruct projection images of the three-dimensional reconstruction body at different angles.

[0055] 3. The feature network includes steps such as convolution compression, pooling downsampling, flattening, full connection, deformation, etc., which encode and connect the information of different dimensions of the input image to the feature space of the corresponding three-dimensional CT projection images at different angles.

[0056] 4. Two feature networks, and the third fusion network is used to fuse the extracted information and output the reconstructed 3D CT projection. Assuming that the dual-plane X-rays are captured at a negligible time interval, that is, no data offset is caused, we can directly average the extracted features after converting them to the same coordinate space. Any structural inconsistency between the two decoder outputs will be captured by the fusion network and back-propagated to the two networks. For example, refer to Figure 4C If the feature structures output by the two decoders are inconsistent, the features extracted by the two decoders can be converted to the same coordinate space to obtain the same feature structure, and then the average is the fused feature.

[0057] 5. Two feature networks with the same architecture work in parallel on two-dimensional X-ray images at two angles respectively, extract features from each viewing angle X-ray image in parallel, fuse the extracted features, and input the above features into the fusion network to decode the three-dimensional CT projection image information of the corresponding angle through deconvolution.

[0058] Furthermore, the reconstruction algorithm includes: filtered back projection (FBP) and an iterative reconstruction algorithm.

[0059] Another specific embodiment of the present invention discloses a CT projection image generating device. Figure 5, a CT projection image generating device includes: a sample library acquisition module 502, used to acquire an image sample library; a generative adversarial network construction module 504, used to construct a generative adversarial network, and train the generative adversarial network through training samples of the image sample library, wherein the generative adversarial network includes a generator and a discriminator, and the weight of the generator is adjusted by the discriminator during the training process; a security inspection device construction module 506, used to construct a DR security inspection device, and the constructed DR security inspection device includes a shooting device and a trained generator; a DR projection image acquisition module 508, used to shoot DR projection images of multiple angles of the object to be inspected through the shooting device; a projection image interpolation module 510, used to generate multiple interpolated DR projection images of different angles different from the multiple angles based on the DR projection images of multiple angles through the trained generator; and a CT projection image generation module 512, used to generate CT projection images of the object to be inspected corresponding to the multiple angles and the multiple different angles based on the DR projection images of multiple angles and the interpolated DR projection images of multiple different angles.

[0060] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:

[0061] 1. The present invention makes full use of a large amount of training sample data and can effectively utilize a large amount of important feature information of multi-angle X-ray images, which is significantly helpful for generating projection angle interpolation images and reconstructing three-dimensional volume data.

[0062] 2. The present invention utilizes a generative adversarial network to interpolate two-dimensional projection images of sparse angles to form more two-dimensional projection images, and obtains three-dimensional reconstructed volume data through a reconstruction algorithm in three-dimensional space to partially simulate the technical effect of CT. Compared with security inspection CT, the present invention is inexpensive and easy to deploy and move; compared with ordinary X-ray security inspection machines, the image information that can be expressed is more comprehensive and complete.

[0063] 3. The present invention uses a feature network to extract features from X-ray images, reduces the complexity of the network model by sharing the network structure, and reduces the number of weights, thus avoiding the complex feature extraction and data reconstruction process in traditional algorithms.

[0064] 4. The present invention adopts a fusion network to perform feature fusion of X-ray images. The fusion network is a multi-layer perceptron specially designed for identifying two-dimensional X-ray images. This network structure is highly invariant to translation, scaling, tilt or other forms of deformation.

[0065] 5. The present invention performs computation based on a graphics processor, and the training and testing speeds are greatly improved compared to CPU-based computations.

[0066] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0067] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A method for generating CT projection images, It is characterized in that include: Get image sample library; Constructing a generative adversarial network, and training the generative adversarial network through training samples of the image sample library, wherein the generative adversarial network includes a generator and a discriminator, and the weight of the generator is adjusted through the discriminator during the training process; Constructing a DR security inspection device, wherein the constructed DR security inspection device includes a shooting device and a trained generator; The DR projection images of the object to be detected at multiple angles are captured by the shooting device; Based on the DR projection images at the multiple angles, a plurality of interpolated DR projection images at different angles from the multiple angles are generated by a trained generator, wherein interpolation is performed on two-dimensional projection images at sparse angles to form more two-dimensional projection images; and Based on the DR projection images at the multiple angles and the multiple interpolated DR projection images at different angles, a CT projection image of the object to be detected corresponding to the multiple angles and the multiple different angles is generated, wherein when the multiple angles of the DR projection image are 2 angles, the multiple interpolated DR projection images at different angles include the interpolated DR projection image at the third angle and the remaining multiple interpolated DR projection images at different angles, and training the generative adversarial network through the training samples of the image sample library includes: based on the DR projection image samples of the first angle and the second angle, generating multiple interpolated DR projection images at different angles through a generator; Among them, based on the DR projection map samples of the first angle and the second angle, generating multiple interpolated DR projection maps at different angles through a generator includes: inputting the DR projection map samples of the first angle and the DR projection map samples of the second angle into the first input terminal and the second input terminal of the generator respectively; generating and outputting the interpolated DR projection map of the third angle through the output terminal of the generator; executing the following loop steps to generate the remaining multiple interpolated DR projection maps at different angles: replacing the DR projection map input at the first input terminal or the second input terminal with the output interpolated DR projection map; and generating and outputting the interpolated DR projection map of the 2nth angle or the interpolated DR projection map of the 2n+1th angle through the output terminal of the generator, wherein n is an integer greater than or equal to 2.

2. The CT projection image generating method according to claim 1, It is characterized in that Get the image sample library including: Scan and photograph the sample object to be inspected through DR security inspection equipment, and obtain DR projection image samples from multiple angles; Scan and photograph the sample object to be inspected through CT security inspection equipment, and obtain a 360-degree CT projection image sample; and Corresponding labels are set for the training samples, wherein the training samples include the DR projection image samples at the multiple angles and the 360-degree CT projection image samples.

3. The CT projection image generating method according to claim 2, It is characterized in that Setting corresponding labels for the training samples includes: for each projection image in the training samples, Setting the category of the object to be detected, wherein the category of the object to be detected includes knives, drugs and guns; Setting a projection image type, wherein the projection image type includes a DR projection image and a CT projection image; and Set the projection address and name.

4. The CT projection image generating method according to claim 1, It is characterized in that The generative adversarial network comprises: Multiple encoding and decoding networks, used for encoding the input DR projection images of the multiple angles, mapping them to feature spaces of projection images at different angles and outputting them; The fusion network is used to fuse the output information of the multiple encoding and decoding networks to generate interpolated DR projection images of different angles of the three-dimensional reconstructed body.

5. The CT projection image generating method according to claim 1, It is characterized in that Adjusting the weight of the generator by the discriminator during the training process includes: In the discriminator, a CT projection image of a corresponding angle is generated based on the projection image sample of the first angle, the DR projection image sample of the second angle, the generated interpolated DR projection image of the third angle, and the remaining interpolated DR projection images of the plurality of different angles; Comparing the generated CT projection image of the corresponding angle with the CT projection image of the corresponding angle in the training sample to obtain a difference, and judging the authenticity of the generated CT projection image of the corresponding angle according to the difference; If the generated CT projection image of the corresponding angle is true, the difference is back-propagated to the generator to adjust the weight of the generator.

6. The CT projection image generating method according to claim 1, It is characterized in that Based on the DR projection images at the multiple angles, generating a plurality of interpolated DR projection images at different angles from the multiple angles by a trained generator includes: During the security inspection process, multiple interpolated DR projection images at different angles are generated by the trained generator in the same manner as the generator is used to generate multiple interpolated DR projection images at different angles during the training process.

7. A CT projection image generating device, It is characterized in that include: A sample library acquisition module is used to acquire an image sample library; A generative adversarial network construction module, used to construct a generative adversarial network and train the generative adversarial network through training samples of the image sample library, wherein the generative adversarial network includes a generator and a discriminator, and the weight of the generator is adjusted through the discriminator during the training process; A security inspection equipment construction module, used to construct a DR security inspection equipment, wherein the constructed DR security inspection equipment includes a shooting device and a trained generator; A DR projection image acquisition module, used to capture DR projection images of the object to be detected at multiple angles through the shooting device; A projection image interpolation module, configured to generate, based on the DR projection images at the multiple angles, a plurality of interpolated DR projection images at different angles from the multiple angles through a trained generator, wherein interpolation is performed on two-dimensional projection images at sparse angles to form more two-dimensional projection images; and a CT projection image generating module, configured to generate CT projection images of the object to be detected corresponding to the multiple angles and the multiple different angles based on the DR projection images at the multiple angles and the multiple interpolated DR projection images at different angles; Wherein, when the multiple angles of the DR projection images are 2 angles, the multiple interpolated DR projection images at different angles include the interpolated DR projection images at the third angle and the remaining multiple interpolated DR projection images at different angles, and training the generative adversarial network through the training samples of the image sample library includes: based on the DR projection image samples at the first angle and the second angle, generating multiple interpolated DR projection images at different angles through a generator; Among them, based on the DR projection map samples of the first angle and the second angle, generating multiple interpolated DR projection maps at different angles through a generator includes: inputting the DR projection map samples of the first angle and the DR projection map samples of the second angle into the first input terminal and the second input terminal of the generator respectively; generating and outputting the interpolated DR projection map of the third angle through the output terminal of the generator; executing the following loop steps to generate the remaining multiple interpolated DR projection maps at different angles: replacing the DR projection map input at the first input terminal or the second input terminal with the output interpolated DR projection map; and generating and outputting the interpolated DR projection map of the 2nth angle or the interpolated DR projection map of the 2n+1th angle through the output terminal of the generator, wherein n is an integer greater than or equal to 2.