Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Next Article in Journal
Assessing Post-Driving Discomfort and Its Influence on Gait Patterns
Previous Article in Journal
The Compact Support Neural Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Thermal Drift Correction for Laboratory Nano Computed Tomography via Outlier Elimination and Feature Point Adjustment

Henan Key Laboratory of Imaging and Intelligent Processing, PLA Strategic Support Force Information Engineering University, Zhengzhou 450001, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2021, 21(24), 8493; https://doi.org/10.3390/s21248493
Submission received: 18 November 2021 / Revised: 16 December 2021 / Accepted: 17 December 2021 / Published: 20 December 2021
(This article belongs to the Section Sensing and Imaging)

Abstract

:
Thermal drift of nano-computed tomography (CT) adversely affects the accurate reconstruction of objects. However, feature-based reference scan correction methods are sometimes unstable for images with similar texture and low contrast. In this study, based on the geometric position of features and the structural similarity (SSIM) of projections, a rough-to-refined rigid alignment method is proposed to align the projection. Using the proposed method, the thermal drift artifacts in reconstructed slices are reduced. Firstly, the initial features are obtained by speeded up robust features (SURF). Then, the outliers are roughly eliminated by the geometric position of global features. The features are refined by the SSIM between the main and reference projections. Subsequently, the SSIM between the neighborhood images of features are used to relocate the features. Finally, the new features are used to align the projections. The two-dimensional (2D) transmission imaging experiments reveal that the proposed method provides more accurate and robust results than the random sample consensus (RANSAC) and locality preserving matching (LPM) methods. For three-dimensional (3D) imaging correction, the proposed method is compared with the commonly used enhanced correlation coefficient (ECC) method and single-step discrete Fourier transform (DFT) algorithm. The results reveal that proposed method can retain the details more faithfully.

1. Introduction

Computed tomography (CT), which is a nondestructive technique to obtain structural information inside objects, is widely used in cultural relic detection, life sciences, and other industrial applications [1]. However, small changes in the relative position of source-turntable-detector can seriously affect the image quality of CT [2,3]. In particular, the projection misalignment caused by thermal drift can deteriorate the reconstruction quality and reduce the achievable spatial resolution of nano-CT [4,5,6]. The slices reconstructed by the misaligned projections contain serious blur and double-edge artifacts [7]. Therefore, the correction of thermal drift artifacts of great significance for boosting the practical applications of nano-CT [8,9].
The projection alignment method based on short reference scan was proposed by Sasov [10] in 2008. The method consists of three steps. (a) The second scan is carried out with a larger rotation step to obtain the reference projection. (b) The relative position relationship is calculated based on the features of the main and reference projections. (c) The alignment of projection is achieved. Feature extraction is the most challenging step because the features are directly related to the accuracy of drift calculation.
At present, there are three common methods to align the main projection with respect to the reference projection: intensity based method, frequency domain based method, and feature based method. The intensity based method constructs the similarity measure through the gray scale of projection and calculates the extreme value of the similarity measure by using the optimization algorithm to get the translation parameters. Evangelidis et al. [11] proposed an image registration method called enhanced correlation coefficient (ECC) method based on entropy correlation coefficient as the objective function and established a new iterative scheme for nonlinear optimization problems with simple closed form solutions to improve the calculation speed. The frequency domain based method aligns the projections with the relationship between the spatial movement and the parameters in the frequency domain. Manuel et al. [12] proposed a fast alignment method based on the matrix-multiply discrete Fourier transform (DFT). This method is called the single-step DFT algorithm. Its essence is that the matrix multiplication of 2D DFT to initialize the peak position of cross correlation. Consequently, the computational time is greatly reduced without sacrificing accuracy.
The feature based method uses the similarity constraint of position and direction of the feature points extracted by local descriptors to align the projections, such as scale invariant feature transform (SIFT) [13], speeded up robust features (SURF) [14], and binary robust independent elementary features (BRIEF) [15]. However, the initial features may contain a large number of mismatched points in practical applications due to the ambiguities in similarity constraint, which affects the realization of high-precision projection alignment, so it is necessary to eliminate the mismatched points [16]. Two-stage constraint-based strategy is a popular method to solve the mismatching problem [17,18,19]. In the first stage, initial matching features of image pairs are obtained by using local descriptors. In the second stage, geometric constraints of feature points are used to eliminate the outliers. The remaining features are used to construct matching parameters between image pairs. Locality preserving matching (LPM) [20] and random sample consensus (RANSAC) [21] are the commonly used methods at present. In the artifact correction of nano-CT, the projection alignment method based on feature points also requires the two-stage strategy. Since the drift process only involves horizontal and vertical movement, a rigid model is considered [22,23]. Although these methods have achieved satisfactory results in many cases, the projection of nano-CT contains significant noise and varying luminance, so the traditional two-stage strategy still needs to be optimized.
In this study, a method based on outlier elimination and position adjustment is proposed to align the main projection by the reference projection for reducing or even eliminating the thermal drift artifact of nano-CT. The proposed method can effectively eliminate outliers with high accuracy. Further, an elimination model of outliers based on the geometric position of features and structural similarity (SSIM) [24] of projection is established, which can evaluate the feature points accurately. The local SSIM between the neighborhood images of feature points is used to adjust the position. Two-dimensional (2D) transmission experiments and three-dimensional (3D) reconstruction experiments reveal that the proposed method has remarkable accuracy, and it can preserve more details of the image as compared to the existing methods.
The rest of this paper is organized as follows. Section 2 introduces the proposed method in detail. The 2D transmission experiment and 3D reconstruction experiment are described in Section 3. In Section 4, the feasibility and accuracy of method are verified by experiments and comparison with other methods. Finally, the study is concluded in Section 5.

2. Method

The reference projections are acquired with a larger rotation step after obtaining the main projections. The proposed method is used to calculate the drifts between the main and the reference projections. The drift of main projection without reference projection is estimated by cubic spline interpolation of adjacent drift.
The workflow of the proposed method is shown in Figure 1, which consists of four steps: projection pretreatment, acquisition of initial features, feature point elimination based on feature angle and SSIM (ASIM), and feature point position adjustment based on SSIM. First, the main projection-reference projection image pairs are preprocessed by denoising and histogram equalization to improve the image quality and contrast. SURF is used to generate the initial features of the projections. Then, ASIM is used for feature elimination to reduce the influence of outliers on the drift calculation. Finally, the SSIM in the feature point neighborhood is used to reposition the feature.

2.1. Alignment Model of Main Projection and Reference Projection

The alignment model of main projection and reference projection is considered as a rigid transformation model since drift is a slowly varying translation process [25].
[ x m a i n y m a i n ] = [ x r e f y r e f ] + [ d x d y ] ,
where ( x m a i n , y m a i n ) is the coordinate of the feature point in the main projection feature set. ( x r e f , y r e f ) is the coordinate of the corresponding feature point in the reference projection feature set. d x and d y represent the horizontal and vertical rigid drifts, respectively.

2.2. Rough Elimination of Outliers Based on Feature Angle

SURF is a fast and robust feature description method which consists of two main parts: feature generation and matching. The purpose of feature generation is to determine feature point locations and descriptors. Matching is achieved by the Euclidean distance of the feature points.
It is assumed that the matching feature point sets have been extracted by SURF. The feature point sets of the main and reference projections are denoted by T m a i n and T r e f , respectively. In the scanning process of nano-CT, the initial point set is interfered by different noise distributions and brightness [16] due to the long-time interval between the main and reference projections (usually a complete main scanning period) [10]. The outliers affect the calculation results of drift. Therefore, it is necessary to identify the inliers and outliers in the initial point set to establish a reliable matching relationship.
The proposed elimination strategy includes rough elimination and refined elimination. The purpose of rough elimination is to identify and eliminate obvious outliers for accelerating the operational efficiency of refined elimination.
First, the feature points t m a i n i = ( x m a i n i , y m a i n i ) , t m a i n j = ( x m a i n j , y m a i n j ) in the main feature point set T m a i n = { t m a i n i } ( i = 1 , 2 K ) and the corresponding points t r e f i = ( x r e f i , y r e f i ) , t r e f j = ( x r e f j , y r e f j ) in the reference feature point set T r e f = { t r e f i } ( i = 1 , 2 K ) are considered. Here, K is the number of initial feature points. The angle between two points in the same point set is used to represent the geometric position. In the proposed method, this angle is called the feature angle. Based on the four feature points, the two feature angles are defined as
A ( t m a i n i , t m a i n j ) = arctan y m a i n j y m a i n i x m a i n j x m a i n i A ( t r e f i , t r e f j ) = arctan y r e f j y r e f i x r e f j x r e f i ,
where A ( t m a i n i , t m a i n j ) and A ( t r e f i , t r e f j ) represent the feature angle of { t m a i n i , t m a i n j } and { t r e f i , t r e f j } , respectively. Please note that the feature angle contains the direction information of the two points. Here, A ( t m a i n i , t m a i n j ) is taken as the example, and t m a i n i is used as the origin to establish the rectangular coordinate system. The angle between the line of { t m a i n i , t m a i n j } and the positive direction of the X axis is taken as the feature angle, as shown in Figure 2c.
Then, the feature angle is considered to identify the outliers. If the matching relationship of the feature points is accurate, the feature angles A ( t m a i n i , t m a i n j ) and A ( t r e f i , t r e f j ) should satisfy the following relationship:
A ( t m a i n i , t m a i n j ) = A ( t r e f i , t r e f j ) .
However, it is difficult to satisfy Equation (3) due to the difference in brightness and noise distribution between the main projection and reference projection. The difference between the feature angle of t m a i n i and the feature angle of the corresponding point t r e f i is used as the evaluation criterion of outliers which can be expressed as
F = i T r o u g h j T r o u g h | A ( t m a i n i , t m a i n j ) A ( t r e f i , t r e f j ) | ,
where F represents the outlier evaluation criterion. T r o u g h is the set of inliers in rough elimination. Our goal is to construct the optimal inlier set T r o u g h by minimizing the outlier evaluation criterion F .
To obtain the optimal solution of Equation (4), the feature angle similarity function p i , j is constructed to evaluate the difference between feature angles A ( t m a i n i , t m a i n j ) and A ( t r e f i , t r e f j ) . ε min and ε max are the upper and lower limits of feature angle A ( t r e f i , t r e f j ) that can be accepted relative to A ( t m a i n i , t m a i n j ) . Then, p i , j can be expressed as
p i , j = { 1 , ε min A ( t r e f i , t r e f j ) ε max 0 , e l s e .
It is extremely difficult to directly set the upper and lower limits of the feature angle, so the feature point offset limit χ is defined to calculate the values of ε min and ε max . According to the direction of the feature angle, the limits of the feature angle can be expressed as
ε min = { A [ ( x m a i n i χ , y m a i n i + χ ) , ( x m a i n j + χ , y m a i n j χ ) ] , A I A [ ( x m a i n i χ , y m a i n i χ ) , ( x m a i n j + χ , y m a i n j + χ ) ] , A I I A [ ( x m a i n i + χ , y m a i n i χ ) , ( x m a i n j χ , y m a i n j + χ ) ] , A I I I A [ ( x m a i n i + χ , y m a i n i + χ ) , ( x m a i n j χ , y m a i n j χ ) ] , A I V
and
ε max = { A [ ( x m a i n i + χ , y m a i n i χ ) , ( x m a i n j χ , y m a i n j + χ ) ] , A I A [ ( x m a i n i + χ , y m a i n i + χ ) , ( x m a i n j χ , y m a i n j χ ) ] , A I I A [ ( x m a i n i χ , y m a i n i + χ ) , ( x m a i n j + χ , y m a i n j χ ) ] , A I I I A [ ( x m a i n i χ , y m a i n i χ ) , ( x m a i n j + χ , y m a i n j + χ ) ] , A I V ,
where, I, II, III, and IV represent the quadrant to which the feature angle belongs. We construct the voting function based on the feature angle similarity function p i , j
G i = j = 1 K p i , j ,
where, G i represents the voting function of feature point t m a i n i .
Then, the rough elimination strategy of outliers can be expressed as
T r o u g h = { t m a i n i | G i λ K , i = 1 , 2 N }
where λ indicates the vote threshold. N is the number of feature points after rough elimination. T r o u g h is the feature points after rough elimination. (9) provides a voting method for determining the best point set of (4). As mentioned above, the purpose of rough elimination is to eliminate obvious outliers (the feature point difference is greater than offset limit χ ). Therefore, the loose vote threshold is set in Section 2.5.

2.3. Refined Elimination of Outliers Based on SSIM

In Section 2.2, the rough elimination of outliers based on feature angle was introduced. Obvious outliers were identified and eliminated by the feature point offset limit χ and vote threshold λ . However, feature points need to be further eliminated to improve the matching accuracy in high-precision rigid alignment. D is defined as the alignment vector, which can be expressed as follows:
D i = ( d x i , d y i ) = ( x m a i n i x r e f i , y m a i n i y r e f i ) ,
where D i is the alignment vector of the point pair { t m a i n i , t r e f i } and D i D . The coordinates of the feature points are expressed as t m a i n i = ( x m a i n i , y m a i n i ) and t r e f i = ( x r e f i , y r e f i ) .
The SSIM is used to further refine the features. Each pair of feature points provides a guide to align the projection through the alignment vector D . The SSIM between the reference projection and the main projection moved by the alignment vector can be expressed as
S S I M [ P m a i n ( x d x i , y d y i ) , P r e f ( x , y ) ] = ( 2 μ m μ r + C 1 ) ( 2 σ m σ r + C 2 ) ( μ m 2 + μ r 2 + C 1 ) ( σ m 2 σ r 2 + C 2 )
where P r e f ( x , y ) is the reference projection. μ m and μ r represent the mean of the main and reference projections, respectively. P m a i n ( x d x i , y d y i ) is the main projection moved by the alignment vector D i . σ m and σ r are the standard deviations of the main and reference projections, respectively. C 1 and C 2 are constant.
To improve the robustness of refined elimination, the SSIM threshold ε is set. Then, the refined feature points satisfy
T r e f i n e d = { ( t m ( i ) , t r ( i ) ) | S S I M [ P m a i n ( x , y ) , P r e f ( x d x i , y d y i ) ] ε }
ASIM is used to eliminate the outliers in the SURF initial feature points. The complete procedure is summarized in Table 1.

2.4. Position Adjustment of Feature Points Based on SSIM

The location of feature points may not be calculated accurately by SURF due to the influence of brightness and gray distribution of projected image. The position adjustment method based on SSIM provides accurate position of feature points. { t m a i n i , t r e f i } is the refined feature set extracted in Section 2.3. The position adjustment of feature points method is introduced below.
In the main projection and reference projection, image blocks P m a i n γ ( x , y , t m a i n i ) and P r e f γ ( x , y , t r e f i ) with size γ p i x e l × γ p i x e l are cropped with { t m a i n i , t r e f i } as the center respectively. The main projection is moved within the image block with the step size of 0.1 pixel, and the SSIM of the new projection is calculated. t m a i n i , n e w represents the inlier t m a i n i after position adjustment. The optimal position of feature points is satisfied
T r e f i n e d _ r e l o c a t i o n = { t m a i n i , n e w | max S S I M [ P m a i n γ ( x , y , t m a i n i , n e w ) , P r e f γ ( x , y , t r e f i ) ] }
SSIM is used for feature point relocation. The relocation process is summarized in Table 2.
Figure 2 shows a schematic of feature angle and position adjustment. The proposed method uses the feature angle and SSIM for the elimination and position adjustment. Therefore, the proposed method is named ASIM.

2.5. Implementation Details

The features directly affect the calculation of drift. There are three parameters in the proposed algorithm: the feature point offset limit χ , the range of neighborhoods near the feature γ , and the vote threshold λ . The feature point offset limit χ controls the range of feature point deviation. The vote threshold λ represents the percentage of correct matching relation in Equation (5). Rough elimination method is used to eliminate the features with large deviations, which are measured by χ and λ . We set χ = 0.5 , γ = 1.0 , and λ = 0.3 .

3. Experiment

3.1. 2D Transmission Imaging Alignment Experiment

In the nano-CT scanning experiment, the time difference between the main and reference projections is long. Three 2D transmission imaging experiments are set up to evaluate the influence of brightness, noise level, and initial feature number on the alignment accuracy. To evaluate the effectiveness and robustness of the proposed method for high-precision matching between the main projection and the reference projection, the SURF, RANSAC, and LPM are used as comparison methods.
All the data used in the experiment are obtained from the nano-CT in Henan Imaging and Intelligent Information Processing Laboratory. To consider the difference in correction accuracy caused by different gray distributions and shapes, four groups of actual scan data are selected for testing. The samples and exposure time are listed in Table 3. The interval time represents the time difference between the main and reference projections.
Firstly, the alignment effect under different lighting conditions is tested. The interval time of image pairs is shown in Table 3. The rotation angles of main projection and reference projection are the same.
Secondly, the number of initial features is considered to test the effect on accuracy. The samples in Table 3 are tested. The initial number of features are set to 75, 125, 175, and 225.
Finally, the robustness of ASIM is tested. The sample projection pairs of the first and second rows in Table 3 are used to test the alignment results under Gaussian noise of 5%, 10%, and 15%.

3.2. 3D Reconstruction Experiment

To evaluate the accuracy of the proposed method in 3D reconstruction, the method is applied to the 3D imaging experiment of an electronic component and cabbage seed. The relevant scanning parameters are listed in the Table 4. The sample is rotated by 360° to obtain the projection of each rotation angle. The rotation step is the rotation angle difference between adjacent projections. The starting point of rotation for the main scan and the reference scan is the same. The proposed method is not only compared with the feature elimination methods (RANSAC and LPM), but also with the intensity based method (ECC) and frequency domain based method (the single-step DFT algorithm).

3.3. Evaluation Criteria

The root mean square error (RMSE), drift calculation error, precision, and accuracy are used to evaluate the effect of different methods on the elimination of feature points.
SURF is used to obtain the initial features. When the difference between the calculated result and the ground truth is less than 15%, the feature point is considered reliable, and the point is called an inlier. Otherwise, it is considered invalid and is called an outlier.
Here, RMSE is used to evaluate the absolute offset error. The calculation error is used to evaluate the relative offset error. Accuracy and precision represent the ability of elimination. The recall is not considered because it makes little difference to the drift calculation whether all the inliers are in the refined feature set. On the contrary, the precision represents the proportion of inliers in the refined feature set, which affects the calculation results. The evaluation criteria are calculated as follows:
R M S E = 1 2 [ ( x d x ) 2 + ( y d y ) 2 ] C a l c u l a t i o n _ E r r o r = 1 2 [ a b s ( x d x x ) + a b s ( + y d y y ) ] P r e c i s i o n = T P T P + F P A c c u r a c y = T P + T N T P + T N + F P + F N

4. Experimental Results and Discussion

The proposed method was compared with two effective feature elimination algorithms RANSAC and LPM. In the 3D imaging experiment, it was also compared with the single-step DFT algorithm, ECC. Finally, discussion was made according to the experimental results.

4.1. 2D Transmission Imaging Experiment

Table 5 summarizes the matching results of the samples shown in Table 3 obtained using SURF, RANSAC, LPM, and the proposed method. The thermal drift eventually leads to a rigid shift of the projection. To simulate the projection drift, we move the sample. Firstly, the sample projection is acquired. Then, the X-ray source is turned off and the sample is moved so that the projection moves within the detector plane. The ground truth (in Table 5) of the projection drift is calculated by the actual distance of movement of the sample and the magnification ratio. Finally, after waiting for the interval listed in Table 3, the X-ray source is turned on and the sample projection is acquired. It is clear that RMSE of all three elimination methods is better than that of SURF. The RMSE of the three elimination methods is small in the wasp sample. Because SURF extracts a large number of initial features, the outliers are easily eliminated, which can be seen in Figure 3. In addition, the RMSE of the proposed method is the smallest among the three elimination methods, which indicates that the proposed method has good drift calculation accuracy and the difference between the calculated value and the true value is small.
The alignment results of the samples in Table 3 using different methods are shown in Figure 3. The feature points are marked with red circles. In Figure 3, the first, second, third, and fourth columns represent the results of the initial feature points, elimination using RANSAC, elimination using LPM, and the proposed method, respectively. The three methods can effectively eliminate the outliers. In addition, the proposed method retains less feature points than the other methods because it aims to provide accurate alignment results and ensure high accuracy, and the invalid points in the retaining features can affect the alignment result (invalid points are considered to be feature points with an error greater than 15%).
Figure 4a shows the average calculation errors of the three elimination methods. The proposed method has the smallest average errors in the four samples. Figure 4b shows the precision of the three methods, which indicates the sensitivity of the model to correct the samples. The proposed method has significant advantages because a higher percentage of feature points are correctly judged, resulting in a smaller error. Figure 4c shows the accuracy of the three methods, which is used to measure the ability to distinguish positive and negative features. It is evident from Figure 4c that the proposed method can accurately distinguish inliers from outliers, resulting in a small RMSE in Table 5. The accuracy and precision assess the robustness of the model, and the risk of accuracy loss is reduced when the model can correctly distinguish between inliers and outliers because more outliers increase the risk of calculation deviation.
Different numbers of initial points are set to test the effect on the results of different elimination methods. We set four different numbers of initial points as 75, 125, 175 and 225, and the test samples are listed in Table 3. Figure 5 shows a boxplot of error results for different initial points, where each box contains errors for different points of calculation. In Figure 5, ‘ ’ represents the mean error, and the results prove that the proposed method has smaller calculation error.
In addition, the robustness of different methods is examined. We test the samples No.1 and No.2 in Table 3. Three different noise levels of 5%, 10%, and 15% are set, and RMSE is used to evaluate the error between the calculated results and the ground truth. In robustness tests, the brightness and noise distributions of image pairs are the same, so the RMSE shown in Figure 6 is smaller than that listed in Table 5. As the noise increases, the RMSE of all the three rejection methods increase, but the proposed method is still the most stable at different noise levels.

4.2. 3D Imaging Experiment

In this section, the correction ability of the proposed method for 3D reconstruction is experimentally evaluated. The advantages and disadvantages of the proposed method are discussed based on the experimental results.
Figure 7 shows the calculation results of projection drift in the 3D reconstruction correction experiment. The first line shows the calibration results of different methods in electronic component scanning. The single-step DFT algorithm (pink line in Figure 7) does not achieve good results, because the spatial resolution of electronic component imaging reaches 350 nm, and the projection noise is relatively large, which causes interference in the frequency domain registration method. The second line shows the correction results for the cabbage seed scan. The drift calculation results of LPM and RANSAC fluctuate seriously because the uncontrollable factors in the scanning process have a significant influence on the number of initial features, and RANSAC and LPM cannot eliminate the outliers completely.
Figure 8 shows the reconstructed slice of the electronic component corrected by different methods. Figure 8a presents the original reconstructed slices with drift artifacts. Drift artifacts have a considerable influence on the analysis of connection relationship. Serious artifacts even cause misjudgment of components. ECC provides a fast image registration method based on the entropy correlation coefficient. Figure 8b shows the reconstruction slices corrected by ECC method. Figure 8c presents the alignment results of the single-step DFT algorithm in the frequency domain. The reconstructed slices are still blurry after correction by ECC and single-step DFT algorithm. Figure 8d presents the correction results of RANSAC feature elimination method. The details of the image are well recovered. Figure 8e shows the alignment results of LPM feature elimination method. Although LPM enhances the computational speed, drift artifacts in the reconstructed slices are still obvious. Nonetheless, the reconstructed images show more information than the uncorrected ones. Figure 8f shows the corrected results of the proposed method. The fine structure on the circuit component is clearly displayed.
Figure 9 shows the drift correction results of the cabbage seed. Drift seriously affects the 3D imaging of cabbage seed. The edge is obviously blurred, and the internal structure of cabbage seed can no longer be distinguished, as shown in Figure 9a. Figure 9b shows the correction results of ECC. The obvious drift artifact is removed, but the internal structure remains blurred. Figure 9d,e present the correction results of RANSAC and LPM, respectively. The internal structure of the seed can be clearly seen, but the position indicated by the red arrow is still unclear. The single-step DFT algorithm (Figure 9c) and the proposed method (Figure 9f) show similar correction effects. The internal structure of the seed is clearly displayed.

5. Conclusions

In this study, an effective reference correction method was proposed for thermal drift correction of nano-CT based on ASIM. The ASIM was used to eliminate the outliers in the initial features. The SSIM of feature point neighborhood images was used to adjust the position of feature points.
The efficacy of the proposed method in 2D transmission imaging and 3D slice reconstruction was evaluated. In 2D transmission imaging, the proposed method was compared with the commonly used RANSAC and LPM elimination methods, where samples with different gray distributions, exposure times, and shapes were used. The proposed method showed better accuracy than the other methods. In the 3D reconstruction experiment, the proposed method was compared with local feature-based ECC method and single-step DFT algorithm, and the proposed method could recover the details of the reconstructed slices well. However, the proposed method has some limitations. When the signal-to-noise ratio (SNR) of image is too low, the original feature matching fails, so the feature elimination and point adjustment can also fail. In the future, we hope to further optimize the feature matching strategy to maintain the robustness of the algorithm.

Author Contributions

Conceptualization, M.L. and Y.H.; methodology, Y.H.; software, M.L.; validation, M.L., Y.H., X.X., and S.T.; formal analysis, M.L. and Y.H.; investigation, M.L.; resources, B.Y.; data curation, X.X. and S.T.; writing—original draft preparation, M.L. and Y.H.; writing—review and editing, S.T., J.C., L.L., B.Y., and X.X.; visualization, M.L.; supervision, B.Y.; project administration, X.X.; funding acquisition, L.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Key Research and Development Project of China, grant number 2020YFC1522002.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data and the code used for the manuscript are available for researchers on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Samber, B.D.; Renders, J.; Elberfeld, T.; Maris, Y.; Sijbers, J. FleXCT: A Flexible X-ray CT scanner with 10 degrees of freedom. Opt. Express 2021, 29, 3438–3457. [Google Scholar] [CrossRef]
  2. Oliveira, F.D.; Maurício, D.; Nardelli, V.C.; Arenhart, F.A.; Donatelli, G.D. Characterization and Correction of Geometric Errors Induced by Thermal Drift in CT Measurements. Key Eng. Mater. 2014, 613, 327–334. [Google Scholar] [CrossRef]
  3. Vavřík, D.; Jandejsek, I.; Pichotka, M. Correction of the X-ray tube spot movement as a tool for improvement of the micro-tomography quality. J. Instrum. 2016, 11, C01029. [Google Scholar] [CrossRef]
  4. Odstril, M.; Holler, M.; Raabe, J.; Guizar-Sicairos, M. Alignment methods for nanotomography with deep subpixel accuracy. Opt. Express 2019, 27, 36637. [Google Scholar] [CrossRef] [Green Version]
  5. Dierolf, M.; Menzel, A.; Thibault, P.; Schneider, P.; Kewish, C.M.; Wepf, R.; Bunk, O.; Pfeiffer, F. Ptychographic X-ray computed tomography at the nanoscale. Nature 2010, 467, 436. [Google Scholar] [CrossRef] [PubMed]
  6. Guizar-Sicairos, M.; Diaz, A.; Holler, M.; Lucas, M.S.; Bunk, O. Phase tomography from x-ray coherent diffractive imaging projections. Opt. Express 2011, 19, 21345–21357. [Google Scholar] [CrossRef] [Green Version]
  7. Kingston, A.; Sakellariou, A.; Varslot, T.; Myers, G.; Sheppard, A. Reliable automatic alignment of tomographic projection data by passive auto-focus. Med Phys. 2011, 38, 4934–4945. [Google Scholar] [CrossRef]
  8. Ramos, T.; Jrgensen, J.S.; Andreasen, J.W. Automated angular and translational tomographic alignment and application to phase-contrast imaging. J. Opt. Soc. Am. A Opt. Image Sci. Vis. 2017, 34, 1830–1843. [Google Scholar] [CrossRef]
  9. Huang, X.; Wild, S.M.; Di, Z.W. Calibrating Sensing Drift in Tomographic Inversion. In Proceedings of the 2019 IEEE International Conference on Image Processing (ICIP), Beijing, China, 1–2 February 20219. [Google Scholar]
  10. Sasov, A.; Xuan, L.; Salmon, P.L. Compensation of mechanical inaccuracies in micro-CT and nano-CT. Proc. SPIE-Int. Soc. Opt. Eng. 2008, 7078, 70781C. [Google Scholar]
  11. Evangelidis, G.D.; Psarakis, E.Z. Parametric Image Alignment Using Enhanced Correlation Coefficient Maximization. IEEE Trans. Pattern Anal. Mach. Intell. 2008, 30, 1858–1865. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. Manuel Guizar-Sicairos, S.T.T.; Fienup, J.R. Efficient subpixel image registration algorithms. Opt. Lett. 2008, 33, 156. [Google Scholar] [CrossRef] [Green Version]
  13. Lowe, D.G. Distinctive Image Features from Scale-Invariant Keypoints. Int. J. Comput. Vis. 2004, 60, 91–110. [Google Scholar] [CrossRef]
  14. Bay, H.; Ess, A.; Tuytelaars, T.; Gool, L.V. Speeded-Up Robust Features (SURF). Comput. Vis. Image Underst. 2008, 110, 346–359. [Google Scholar] [CrossRef]
  15. Calonder, M. BRIEF: Computing a Local Binary Descriptor Very Fast. IEEE Trans. Pattern Anal. Mach. Intell. 2012, 34, 1281–1298. [Google Scholar] [CrossRef] [Green Version]
  16. Ma, J.; Zhou, H.; Zhao, J.; Gao, Y.; Jiang, J.; Tian, J. Robust Feature Matching for Remote Sensing Image Registration via Locally Linear Transforming. IEEE Trans. Geosci. Remote Sens. 2015, 53, 6469–6481. [Google Scholar] [CrossRef]
  17. Ma, J.; Ji, Z.; Tian, J.; Yuille, A.L.; Tu, Z. Robust Point Matching via Vector Field Consensus. IEEE Trans. Image Process. 2014, 23, 1706–1721. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Pang, S.; Xue, J.; Qi, T.; Zheng, N. Exploiting local linear geometric structure for identifying correct matches. Comput. Vis. Image Underst. 2014, 128, 51–64. [Google Scholar] [CrossRef]
  19. Ma, J.; Ma, Y.; Zhao, J.; Tian, J. Image Feature Matching via Progressive Vector Field Consensus. IEEE Signal. Process. Lett. 2014, 22, 767–771. [Google Scholar] [CrossRef]
  20. Ma, J.; Zhao, J.; Jiang, J.; Zhou, H.; Guo, X. Locality Preserving Matching. Int. J. Comput. Vis. 2019, 127, 512–531. [Google Scholar] [CrossRef]
  21. Torr, P.; Zisserman, A. MLESAC: A New Robust Estimator with Application to Estimating Image Geometry. Comput. Vis. Image Underst. 2000, 78, 138–156. [Google Scholar] [CrossRef] [Green Version]
  22. Jian, F.; Chen, L.; Zhenzhong, L.; Roeder, R.K. Analysis and Correction of Dynamic Geometric Misalignment for Nano-Scale Computed Tomography at BSRF. PLoS ONE 2015, 10, e0141682. [Google Scholar]
  23. Flay, N.; Sun, W.; Brown, S. Investigation of the Focal Spot Drift in Industrial Cone-Beam X-ray Computed Tomography. Digital Industrial Radiology and Computed Tomography (DIR). 2015. Available online: https://www.ndt.net/events/DIR2015/app/content/Paper/77_Sun.pdf (accessed on 10 December 2021).
  24. Zhou, W.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar]
  25. Hiller, J.; Maisl, M.; Reindl, L.M. Physical characterization and performance evaluation of an X-ray micro-computed tomography system for dimensional metrology applications. Meas. Sci. Technol. 2012, 23, 085404. [Google Scholar] [CrossRef]
Figure 1. Workflow of the proposed method.
Figure 1. Workflow of the proposed method.
Sensors 21 08493 g001
Figure 2. Schematic diagram of feature elimination and relocation based on ASIM. (a) Initial feature matching relationship, where blue and red lines represent the inliers and outliers, respectively. (b) Calculation of the feature angle A ( t m a i n i , t m a i n j ) between t m a i n i and t m a i n j . Only three dots are connected here for clarity. (c) Process of feature position adjustment, where the hollow circles represent the position of original features and the solid circles represent the new optimal location.
Figure 2. Schematic diagram of feature elimination and relocation based on ASIM. (a) Initial feature matching relationship, where blue and red lines represent the inliers and outliers, respectively. (b) Calculation of the feature angle A ( t m a i n i , t m a i n j ) between t m a i n i and t m a i n j . Only three dots are connected here for clarity. (c) Process of feature position adjustment, where the hollow circles represent the position of original features and the solid circles represent the new optimal location.
Sensors 21 08493 g002
Figure 3. 2D transmission imaging results. Rows 1 through 4 show the matching results for wasp, cabbage seed, bamboo stick, and star card, respectively. Columns 1 through 4 are the results obtained by using SURF, RANSAC, LPM, and ASIM, respectively.
Figure 3. 2D transmission imaging results. Rows 1 through 4 show the matching results for wasp, cabbage seed, bamboo stick, and star card, respectively. Columns 1 through 4 are the results obtained by using SURF, RANSAC, LPM, and ASIM, respectively.
Sensors 21 08493 g003
Figure 4. Evaluation of features eliminated by RANSAC, LPM, and ASIM. (a) Average error of projection alignment. (b) Precision of the elimination feature, which represents the correct proportion of the refined feature points. (c) Accuracy of the elimination feature, which represents the correct proportion of all the predicted points.
Figure 4. Evaluation of features eliminated by RANSAC, LPM, and ASIM. (a) Average error of projection alignment. (b) Precision of the elimination feature, which represents the correct proportion of the refined feature points. (c) Accuracy of the elimination feature, which represents the correct proportion of all the predicted points.
Sensors 21 08493 g004
Figure 5. Robustness test of elimination methods. Each column corresponds to a sample listed in Table 3. In each column, the error results for different initial numbers of features are consolidated into a bin. The mean error of the calculated results is represented as ‘ .’ The maximum and minimum value of data are represented as ‘*.’ The top and bottom borders of the box represent 0.75 and 0.25 points of data, respectively.
Figure 5. Robustness test of elimination methods. Each column corresponds to a sample listed in Table 3. In each column, the error results for different initial numbers of features are consolidated into a bin. The mean error of the calculated results is represented as ‘ .’ The maximum and minimum value of data are represented as ‘*.’ The top and bottom borders of the box represent 0.75 and 0.25 points of data, respectively.
Sensors 21 08493 g005
Figure 6. RMSE at different noise levels (5%, 10%, and 15%) are corrected by RANSAC, LPM, and ASIM. (a) The test sample is wasp. (b) The test sample is cabbage seed. The proposed method (red curve) achieves the most stable results.
Figure 6. RMSE at different noise levels (5%, 10%, and 15%) are corrected by RANSAC, LPM, and ASIM. (a) The test sample is wasp. (b) The test sample is cabbage seed. The proposed method (red curve) achieves the most stable results.
Sensors 21 08493 g006
Figure 7. Drift calculation results. (a,b) Vertical and horizontal drifts in the electronic component scanning experiment, respectively. (c,d) Vertical and horizontal drifts in the cabbage seed scanning experiment, respectively.
Figure 7. Drift calculation results. (a,b) Vertical and horizontal drifts in the electronic component scanning experiment, respectively. (c,d) Vertical and horizontal drifts in the cabbage seed scanning experiment, respectively.
Sensors 21 08493 g007
Figure 8. Correction results of electronic component. (a) Uncorrected. (b) ECC. (c) Sigle-step DFT. (d) RANSAC. (e) LPM. (f) ASIM.
Figure 8. Correction results of electronic component. (a) Uncorrected. (b) ECC. (c) Sigle-step DFT. (d) RANSAC. (e) LPM. (f) ASIM.
Sensors 21 08493 g008
Figure 9. Correction results of difference alignment methods for cabbage seed. (a) Uncorrected. (b) ECC. (c) Sigle-step DFT. (d) RANSAC. (e) LPM. (f) ASIM.
Figure 9. Correction results of difference alignment methods for cabbage seed. (a) Uncorrected. (b) ECC. (c) Sigle-step DFT. (d) RANSAC. (e) LPM. (f) ASIM.
Sensors 21 08493 g009
Table 1. The process of outliers elimination based on ASIM.
Table 1. The process of outliers elimination based on ASIM.
Input:   The   image   pair   of   main   projection   P m a i n   and   reference   projection   P r e f , the   feature   point   offset   limit   χ ,   and   vote   threshold   λ .
Output: The refined set of feature points T r e f i n e d
1.  Establish   the   initial   feature   set   T m a i n and T r e f by the SURF.
2.  Calculate   the   feature   angle   A ( t m a i n i , t m a i n j )   and   A ( t r e f i , t r e f j ) ( 1 i N , 1 j N ) .
3.  Calculate   the   upper   and   lower   limits   of   feature   angle   based   on   ( 6 )   and   ( 7 )   using   the   feature   point   offset   limit   χ .
4.  Evaluate   each   feature   point   t m a i n i   by   the   voting   function   G i based on (5) and (8).
5.  Get   the   feature   points   after   rough   elimination   T r o u g h   by   the   vote   threshold   λ based on (9).
6.  Calculate   the   alignment   vector   D   based   on   ( 10 )   by   the   T r o u g h .
7.  Move   the   main   projection   P m a i n   by   the   alignment   vector   D .
8. Calculate the SSIM between the reference projection and the main projection moved in step 7 based on (11).
9.  Sort   the   feature   points   according   to   SSIM .   20 %   points   of   T r o u g h   are   built   as   the   refined   feature   set   T r e f i n e d .
Table 2. The process of relocation based on SSIM.
Table 2. The process of relocation based on SSIM.
Input:   The   refined   feature   set   T r e f i n e d .   Neighborhood   image   size   γ p i x e l × γ p i x e l .
Output: The   optimal   set   of   feature   points   T r e f i n e d _ r e l o c a t i o n .
1.  Crop   the   neighborhood   images   P m a i n γ ( x , y , t m a i n i )   and   P r e f γ ( x , y , t r e f i )   with   the   center   of   t m a i n i   and   t r e f i   by   the   neighborhood   image   size   γ p i x e l × γ p i x e l .
2.  Move   P m a i n γ ( x , y , t m a i n i )   in   steps   of   0.1   pixels   to   obtain   P m a i n γ ( x , y , t m a i n i ) .
3.  Calculate   the   SSIM   between   P m a i n γ ( x , y , t m a i n i , n e w )   and   P r e f γ ( x , y ) .
4.  The   position   with   the   largest   SSIM   is   taken   as   the   new   feature   point   position .   Finally ,   the   feature   set   after   relocation   T r e f i n e d _ r e l o c a t i o n is obtained.
Table 3. Scan sample and exposure time.
Table 3. Scan sample and exposure time.
No.SampleExposure Time (s)Interval Time (s)
1Wasp104860
2Cabbage seed1525,500
3Bamboo stick2032,700
4Star card603660
Table 4. Scan parameters of 3D reconstruction experiment.
Table 4. Scan parameters of 3D reconstruction experiment.
ParameterElectronic ComponentCabbage Seed
Voltage (kV)60
Exposure time (s)15
Image size (pixel)1065 × 1030
Resolution (nm)350700
Main rotation step (°)0.360.25
Reference rotation step (°)3.62.5
Scanning time (h)5.57.5
Table 5. Feature point elimination result.
Table 5. Feature point elimination result.
Image NumberSampleMethodHorizontalVerticalRMSE
1WaspGround truth3.581.13
SURF3.08−1.331.78
RANSAC3.711.000.11
LPM3.850.990.21
ASIM3.631.140.038
2Cabbage seedGround truth0.892.77
SURF0.411.091.24
RANSAC0.601.770.74
LPM0.842.260.36
ASIM0.912.880.079
3Bamboo stickGround truth20.7511.99
SURF11.678.966.77
RANSAC21.7113.231.11
LPM22.1111.680.99
ASIM20.6012.350.27
4Star cardGround truth41.9390.14
SURF59.6463.6122.56
RANSAC41.9889.970.13
LPM44.6783.984.77
ASIM41.9190.180.034
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Liu, M.; Han, Y.; Xi, X.; Tan, S.; Chen, J.; Li, L.; Yan, B. Thermal Drift Correction for Laboratory Nano Computed Tomography via Outlier Elimination and Feature Point Adjustment. Sensors 2021, 21, 8493. https://doi.org/10.3390/s21248493

AMA Style

Liu M, Han Y, Xi X, Tan S, Chen J, Li L, Yan B. Thermal Drift Correction for Laboratory Nano Computed Tomography via Outlier Elimination and Feature Point Adjustment. Sensors. 2021; 21(24):8493. https://doi.org/10.3390/s21248493

Chicago/Turabian Style

Liu, Mengnan, Yu Han, Xiaoqi Xi, Siyu Tan, Jian Chen, Lei Li, and Bin Yan. 2021. "Thermal Drift Correction for Laboratory Nano Computed Tomography via Outlier Elimination and Feature Point Adjustment" Sensors 21, no. 24: 8493. https://doi.org/10.3390/s21248493

APA Style

Liu, M., Han, Y., Xi, X., Tan, S., Chen, J., Li, L., & Yan, B. (2021). Thermal Drift Correction for Laboratory Nano Computed Tomography via Outlier Elimination and Feature Point Adjustment. Sensors, 21(24), 8493. https://doi.org/10.3390/s21248493

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop