Sparse scanning CT reconstruction method based on indexing direction interpolation
Through the sparse scan CT reconstruction method based on indexing direction interpolation, the artifact problem in sparse projection is solved. Through interpolation and image fusion technology, the complete completion of sparse projection and image quality improvement are achieved, which is suitable for various sparse CT scans.
Patent Information
- Application Number
- CN202410638781.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-30
AI Technical Summary
Artifacts caused by incomplete projection in sparse scan CT technology. Existing methods require a large amount of prior information or deep learning training, and the iterative method is time-consuming and memory-intensive, making it difficult to effectively handle the image quality of sparse projection.
The sparse scan CT reconstruction method based on indexing direction interpolation is used to complete the projection number through sparse projection interpolation, and combined with filtered back-projection and image fusion technology to extract the background and foreground, eliminate artifacts, and improve image quality.
It effectively reduces artifacts, improves image quality, ensures the structural integrity of object edges, is suitable for any sparse CT scan projection, and reduces image reconstruction time and memory usage.
Smart Images

Figure CN118570325A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of image processing and relates to a sparse scanning CT reconstruction method based on interpolation in a graduation direction. Background Art
[0002] Computer tomography (CT) is based on the fact that X-rays have different attenuation coefficients when passing through different materials. The attenuation information of the material is collected by the detector, and then the structural features of the scanned object are reconstructed using a reconstruction algorithm. With the development of technology, CT technology has also experienced the development from the first generation to the fifth generation of scanning methods. Although the five scanning methods are different, they all require intensive scanning of the object to be measured from multiple angles by the rays to obtain complete projection data for reconstruction. For medical testing, excessive scanning measurement will cause irreversible damage to the human body. It is often adopted to reduce the intensity of X-ray radiation or perform sparse scanning. Compared with low-dose scanning, sparse scanning reduces the scanning dose and increases the scanning time, which can suppress the occurrence of motion artifacts to a certain extent. In industry, the radiation source cannot be fully scanned in some scenarios due to the limitations of the detection environment, and can only obtain sparse projections. If the incomplete projection is directly reconstructed, serious artifacts will appear in the image, affecting the image quality.
[0003] In order to solve the artifact defects caused by incomplete projection, the common method is to operate the projection in the projection domain, or to eliminate artifacts in the image domain. There are also methods that use prior information to reconstruct incomplete projections, such as total variation constraints to transform the problem into an optimization with constraints. And edge-guided reconstruction methods require prior images for reconstruction, but not all incomplete projections can provide corresponding prior information. With the development of machine learning, deep learning has also been applied to reconstruction algorithms, but methods based on deep learning require a large amount of data sets to train the network to achieve better results, and data calibration takes a lot of time. Although the reconstruction quality of iterative methods is usually higher than that of analytical methods, they face problems such as long time consumption and large memory usage. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a sparse scanning CT reconstruction method based on interpolation in the graduation direction, which makes full use of the original sparse projection data to complete the projection, thereby meeting the requirement of reducing artifacts and ensuring the integrity of the edge structure of the object.
[0005] In order to achieve the above object, the present invention provides the following technical solutions:
[0006] A sparse scanning CT reconstruction method based on interpolation in a graduation direction comprises the following steps:
[0007] S1: Perform sparse CT scanning on the workpiece to obtain sparse projection data of the workpiece;
[0008] S2: interpolate the acquired sparse projections, complete the number of projections to the number of complete projections, and reconstruct the image using the filtered back-projection method;
[0009] S3: Perform background extraction on the reconstructed image, and then perform image fusion to obtain the final reconstructed image.
[0010] Further, step S2 specifically includes the following steps:
[0011] S21: Obtain the projection number n through the obtained sparse projection graph sparse , calculate the number of projections that need to be interpolated between adjacent projection angles by interpolation:
[0012]
[0013] Compute the number of complete projections required for a sparse projection:
[0014]
[0015] S22: Linear interpolation of the sparse projection map is performed to make the number of projections equal to n complete For the two projection values prj1(x1,y1) and prj1(x1,y2) of adjacent scanning angles under the same detector, interpolation projection prj2(x1,y 1i ):
[0016]
[0017] S23: After calculating the complete projection image, the sparse projection image prj1 and the complete projection image prj2 are reconstructed using a filtered back projection algorithm to obtain reconstructed images f1 and f2.
[0018] Further, step S3 specifically includes the following steps:
[0019] S31: Set the grayscale of image f2 to [0, 1, ..., L-1]; let the pixels with grayscale [k, ..., L-1] represent the foreground C0, and the pixels with grayscale [0, 1, ..., k] represent the background C1; the probability of foreground and background appearing is calculated according to the following formula:
[0020]
[0021] Among them, P represents probability, p i represents the probability of the pixel with gray level i, w0 represents the foreground probability, w1 represents the background probability, w(k) represents the foreground probability when the foreground and background are divided by gray value k, and the average gray level of each class is:
[0022]
[0023] in, u0 represents the average grayscale of the foreground, u1 represents the average grayscale of the background, and u(k) represents the average grayscale of the foreground when the foreground and background are divided by grayscale value k. The inter-class variance is calculated as:
[0024]
[0025] Select the k value that maximizes the inter-class variance and set it to τ, which is the threshold required for background extraction; use τ to segment f2 and obtain the background template f of f2 mask ;
[0026] S32: Using background template f mask Perform AND operation with the reconstructed image f2 to get the background, and then use the inverse template f mask The foreground is obtained by performing AND operation with the reconstructed image f1, and the image fusion is calculated according to the following formula:
[0027] f=f1⊙f mask +f2⊙f mask
[0028] Among them, ⊙ represents the AND operation between the image and the template, which fuses the background and foreground to obtain the final reconstructed image f.
[0029] The beneficial effects of the present invention are as follows: In view of the problem of serious artifacts in direct reconstruction of sparse scan projections, the present invention proposes a method for interpolation reconstruction of sparse scan projections, and the number of projections after interpolation meets the completeness requirement. After the sparse projections are reconstructed through interpolation, most of the artifacts in the image disappear. On the basis of interpolation reconstruction, the present invention combines the image fusion technology to combine the advantages of the two images to obtain the final image, and the image quality is significantly improved. The present invention can be applied to any sparse CT scan projection, and the image quality is better after interpolation reconstruction combined with the image fusion method, and the image structural features can be better restored while suppressing artifacts.
[0030] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:
[0032] Figure 1A flow chart of a sparse scanning CT reconstruction method based on interpolation in a graduation direction provided in an embodiment of the present invention;
[0033] Figure 2 It is a sparse projection direct reconstruction image of an embodiment of the present invention;
[0034] Figure 3 This is a detailed magnified image directly reconstructed by sparse projection according to an embodiment of the present invention;
[0035] Figure 4 A projection interpolation reconstruction image according to an embodiment of the present invention;
[0036] Figure 5 This is an enlarged view of the projection interpolation reconstruction details of an embodiment of the present invention;
[0037] Figure 6 It is the reconstructed image after the final image fusion of the present invention;
[0038] Figure 7 This is an enlarged view of the reconstructed details after the final image fusion of the present invention. DETAILED DESCRIPTION
[0039] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.
[0040] Among them, the drawings are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on the present invention. In order to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of actual products. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.
[0041] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "front", "rear", etc. indicate the orientation or position relationship, they are based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as limiting the present invention. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0042] Figure 1 A flow chart of a sparse scanning CT reconstruction method based on interpolation in the indexing direction provided by an embodiment of the present invention. Taking a workpiece of heterogeneous material as an implementation sample, the specific reconstruction method is as follows:
[0043] Step 1: Perform sparse CT scanning on the workpiece to obtain sparse projection data of the workpiece.
[0044] Step 2: Interpolate the obtained sparse projections to complete the projection number to the complete projection number. The projection number n can be obtained through the obtained sparse projection map sparse , by interpolating the number of projections that need to be interpolated between adjacent projection angles Number of complete projections required for sparse projection
[0045] Step 3: Linearly interpolate the sparse projection map so that its number of projections is equal to n complete For two projection values prj1(x1,y1) and prj1(x1,y2) at adjacent scanning angles under the same detector, the interpolation projection prj2(x1,y 1i ):
[0046]
[0047] Step 4: After calculating the complete projection image, the sparse projection image prj1 and the complete projection image prj2 are reconstructed using the filtered back projection algorithm to obtain reconstructed images f1 and f2. Figure 2 Directly reconstruct the image for sparse projection, Figure 3 Directly reconstruct the detailed enlargement image for sparse projection, Figure 4 Reconstruct the image by interpolation. Figure 5 A magnified image of the details reconstructed by shadow interpolation.
[0048] Step 5: Set the grayscale of image f2 to [0, 1, ..., L-1]; let the pixels with grayscale [k, ..., L-1] represent the foreground C0, and the pixels with grayscale [0, 1, ..., k] represent the background C1; the probability of foreground and background appearing is calculated according to the following formula:
[0049]
[0050] Among them, P represents probability, p i represents the probability of the pixel with gray level i, w0 represents the foreground probability, w1 represents the background probability, w(k) represents the foreground probability when the foreground and background are divided by gray value k, and the average gray level of each class is:
[0051]
[0052] in, u0 represents the average grayscale of the foreground, u1 represents the average grayscale of the background, and u(k) represents the average grayscale of the foreground when the foreground and background are divided by grayscale value k. Therefore, the inter-class variance can be calculated:
[0053]
[0054] Select the k value that maximizes the inter-class variance and set it as τ, which is the threshold required for background extraction. Using τ to segment f2, we can get the background template f of f2 mask .
[0055] Step 6: Using the background template mask Perform AND operation with the reconstructed image f2 to get the background, and then use the inverse template f mask The foreground is obtained by performing AND operation with the reconstructed image f1, and the image fusion is calculated according to the following formula:
[0056] f=f1⊙f mask +f2⊙f mask
[0057] Among them, ⊙ represents the AND operation between the image and the template, and the background and foreground are fused to obtain the reconstructed image f. Figure 6 is the reconstructed image after the final image fusion. Figure 7 A magnified image of the reconstructed details after final image fusion.
[0058] A person skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. When the program is executed, the steps of the method can be implemented. The storage medium, such as ROM / RAM, a disk, an optical disk, etc.
[0059] 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 purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.
Claims
1. A sparse scan CT reconstruction method based on interpolation in the indexing direction, Features: The following steps are involved: S1: Perform sparse CT scanning on the workpiece to obtain sparse projection data of the workpiece; S2: interpolate the acquired sparse projections, complete the number of projections to the number of complete projections, and reconstruct the image using the filtered back-projection method; S3: Perform background extraction on the reconstructed image, and then perform image fusion to obtain the final reconstructed image.
2. The sparse scanning CT reconstruction method based on interpolation in the indexing direction according to claim 1, Features: Step S2 specifically includes the following steps: S21: Obtain the projection number n through the obtained sparse projection graph sparse , calculate the number of projections that need to be interpolated between adjacent projection angles by interpolation: Compute the number of complete projections required for a sparse projection: S22: Linear interpolation of the sparse projection map is performed to make the number of projections equal to n complete , for two projection values prj1(x 1 ,y 1 ),prj1(x 1 ,y 2 ) to interpolate the projection prj2(x 1 ,y 1i ): S23: After calculating the complete projection image, the sparse projection image prj1 and the complete projection image prj2 are reconstructed using a filtered back projection algorithm to obtain reconstructed images f1 and f2.
3. The sparse scanning CT reconstruction method based on interpolation in the indexing direction according to claim 1, Features: Step S3 specifically includes the following steps: S31: Set the grayscale of image f2 to [0, 1, ..., L-1]; let the pixels with grayscale [k, ..., L-1] represent the foreground C 0 , pixels with gray levels of [0,1,...,k] represent the background C 1 ; The probability of foreground and background appearing is calculated according to the following formula: Among them, P represents probability, p i represents the probability of a pixel with gray level i appearing, w 0 represents the foreground probability, w 1 represents the background probability, w(k) represents the foreground probability when the foreground background is divided by the gray value k, and the average gray value of each class is: in, u 0 Represents the average grayscale of the foreground, u 1 Represents the average grayscale of the background, u(k) represents the average grayscale of the foreground when the foreground background is divided by grayscale value k, and the inter-class variance is calculated: Select the k value that maximizes the inter-class variance and set it to τ, which is the threshold required for background extraction; use τ to segment f2 and obtain the background template f of f2 mask ; S32: Using background template f mask Perform AND operation with the reconstructed image f2 to get the background, and then use the inverse template f mask The foreground is obtained by performing AND operation with the reconstructed image f1, and the image fusion is calculated according to the following formula: f=f1⊙f mask +f2⊙f mask Among them, ⊙ represents the AND operation between the image and the template, which fuses the background and foreground to obtain the final reconstructed image f.
Citation Information
Cited By
Inter-neighbor dynamic mapping expansion method under sequence slice small data
CN121032842A
