Next Article in Journal
A New Method for Analyzing Aero-Optical Effects with Transient Simulation
Previous Article in Journal
Passive Source Localization Using Acoustic Intensity in Multipath-Dominant Shallow-Water Waveguide
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Panoramic Stitching Algorithm of Lateral Cranial Sequence Images in Dental Multifunctional Cone Beam Computed Tomography

1
Medical Electronics and Information Technology Engineering Research Center, Chongqing University of Posts and Telecommunications, Chong Qing 400065, China
2
Foundation Department, Chongqing Medical and Pharmaceutical College, Chongqing 401331, China
3
School of Communication and Information Engineering, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(6), 2200; https://doi.org/10.3390/s21062200
Submission received: 23 February 2021 / Revised: 14 March 2021 / Accepted: 19 March 2021 / Published: 21 March 2021
(This article belongs to the Section Biomedical Sensors)

Abstract

:
In the design of dental multifunctional Cone Beam Computed Tomography, the linear scanning strategy not only saves equipment cost, but also avoids the demand for patients to be repositioned when acquiring lateral cranial sequence images. In order to obtain panoramic images, we propose a local normalized cross-correlation stitching algorithm based on Gaussian Mixture Model. Firstly, the Block-Matching and 3D filtering algorithm is used to remove quantum and impulse noises according to the characteristics of X-ray images; Then, the segmentation of the irrelevant region and the extraction of the region of interest are performed by Gaussian Mixture Model; The locally normalized cross-relation is used to complete the registration with the multi-resolution strategy based on wavelet transform and Particle Swarm Optimization algorithm; Finally, image fusion is achieved by the weighted smoothing fusion algorithm. The experimental results show that the panoramic image obtained by this method has significant performance in both subjective vision and objective quality evaluation and can be applied to preoperative diagnosis of clinical dental deformity and postoperative effect evaluation.

1. Introduction

Oral disease is common and frequently occurring in all ages. With the improvement of medical the level, oral imaging has been widely used in preoperative diagnosis and postoperative evaluation of orthodontics, dental implant [1]. Oral imaging can be divided into three-dimensional Cone Beam Computed Tomography (CBCT) imaging and two-dimensional Digital Radiography (DR) imaging. The two-dimensional lateral cephalogram has important clinical value in the diagnosis of oral deformity, the reliability of the upper respiratory tract, the hyoid bone and the soft palate, and the diagnosis of head and cervical spine [2,3]. It can not only help doctors better understand the structure and relative position of the patient’s cranial, maxillary, face and teeth, but also be widely used in the evaluation of the effect of orthodontic treatment [4]. Therefore, the addition of lateral cranial imaging in the design of oral CBCT instrument can expand the function and improve the cost performance.
In order to reduce the cost of the instrument and avoid the demand for patients to be repositioned when switching imaging types in CBCT imaging, the planar detector with a small field of view is used to obtain sequential images through linear scanning. Then, the image stitching algorithm is used to continuously stitch the sequence images to get the panoramic image. Image stitching methods have made great achievements in many fields, but some gaps still exist in continuous stitching of small size. How to stitch a large number of continuous small dimensions without obvious features into a panorama is a difficult but hot topic in current research. A large number of image registration-based stitching methods have been proposed, which are basically divided into five categories [5].
Phase correlation method: Fast Fourier transform (FFT) is applied to the image, and then the translation vector between the two images can be directly calculated by their mutual power spectrum, so that the image registration can be realized. Yan song et al. [6] improved the phase correlation method by combining it with threshold segmentation. Yunyun Dong et al. [7] assumed the noise is a mixed Gaussian distribution, performed rank one matrix decomposition on the phase correlation matrix to complete the image registration. Xiaohua Tong et al. [8] integrated the advantages of Hoge’s method and the RANSAC algorithm and avoided the corresponding shortfalls of the original phase correlation method.
Feature-based method: The key to the success of this method is feature point extraction and matching. Tian Zhang et al. [9] proposed an improved SURF operator by calculating the normalized gray-level difference and second-order gradient in the neighborhood. Herng-Hua Chang et al. [10] improved the Scale Invariant Feature Transform (SIFT) operator, feature slope calculation, feature point grouping, the and outlier removal and transformation were adopted. SK sharma et al. [11] utilized AKAZE to detect feature points, obtained corresponding matching pairs by using K-NN algorithm, and removed the false matched points by MSAC.
Intensity information-based method: This method directly uses the intensity information of two images and determines the best transformation parameters by measuring the similarity. S Song et al. [12] proposed a peripheral mutual information (PMI) maximization method for image registration, which makes use of the closed-form solution for the Shannon entropy. M Pan et al. [13] adopted Renyi’s quadratic mutual information as the similarity criterion between the reference and floating images, and the Simplex method, as multi-parameter optimization one, is used to search the optimal registering values.
Hybrid-based method: In order to synthesize the advantages of different methods, many hybrid-based registration methods have been proposed. M song et al. [14] combined the method based on SIFT feature and mutual information to achieve remote sensing image registration from Coarse-to-fine. Ruitao Feng et al. [15] developed a robust algorithm by combining and localizing feature- and area-based methods. Han et al. [16] aimed to accurately register Optical and TIR images by Using SURF and Local Phase Correlation.
Deep-learning-based method: Deep learning has achieved good performance in feature extraction and parameter registration output. Dosovitskiy et al. [17] trained the convolutional neural network with unlabeled data, and the performance of the extracted feature descriptor was better than that of the SIFT descriptor. Z Yang et al. [18] used a pre-trained VGG network layer to generate a feature descriptor while preserving the convolution information and local features. Cao X et al. [19] used the deformation site as a label and applied supervised learning to output registration parameters. G Wu et al. [20] adopted unsupervised learning and directly input the registration pair into the network to obtain the deformation field. The method based on deep learning requires a large number of manual annotation samples to optimize the learning process [21]. As far as we know, there is no large public database to annotate lateral cephalic sequence images. Therefore, the traditional method is chosen to explore a suitable mathematical method for continuous stitching of small-size images.
Most of the existing image stitching methods are based on feature extraction. For example, L Deng et al. [22] proposed a stitching method based on global alignment model, Kim D T et al. [23] proposed a combination of ROI and reduction technology for endoscopic panoramic video stitching, and Qu Z et al. [24] proposed a stitching method based on binary tree and estimated overlap region. However, the essence of these methods is based on the successful extraction of feature points of the image to be stitched. For the oral cranial sequence images, it is difficult to extract enough feature points from the images to be stitched, and the stability of continuous stitching cannot be guaranteed.
In view of these difficulties, a local normalized cross-correlation stitching algorithm based on Gaussian Mixture Model (GMM) is suggested. The primary contributions of our study are summarized as follows:
BM3D algorithm is applied to remove the quantum and impulse noise of the X-ray sequence image before image stitching.
In order to eliminate the influence of the irrelevant regions in X-ray image stitching, a local normalized cross-correlation registration based on GMM is proposed.
The source image is decomposed into a three-layer image pyramid by wavelet transform [25], and the multi-resolution strategy is combined with the particle swarm optimization algorithm to optimize registration parameters and improve the stitching accuracy.
To process the overlapping area of adjacent images, we combined the distance from the pixel to the boundary of the overlapping area with a weighted average [26], which can make the overlapping area transition naturally.
In the Section 2, we will introduce the principle of lateral cranial imaging with multi-functional CBCT device and explain the properties of images and why image stitching is used. The design of stitching algorithm based on local normalized cross-correlation is presented in Section 3. In Section 4, we will first introduce our experimental dataset, and we will present the results of experiments. Section 5 concludes our work, which can provide a clinical basis for oral diagnosis.

2. Multi-Functional Oral CBCT Devices

The traditional multifunctional oral CBCT device is shown in Figure 1a. It consists of a Lateral cranial imaging module (red box 1) and CBCT imaging module (red box 2). When taking a 3D image of the oral cavity, CBCT module is used to carry out the ring scan and then reconstruct this image on a computer. The patient needs to be moved to the lateral cranial module for repositioning during lateral cranial radiographs. This imaging strategy results in the cost of the equipment being expensive, as at least two sets of X-tube and flat plate detectors are required.
The data in this paper came from the new multi-functional CBCT, as shown in Figure 1b. 3D oral images and lateral cranial sequence images can be obtained at the same time by positioning the patient once. The lateral cranial imaging module is shown in Figure 1c, and we only need to rotate the detector of CBCT imaging by 90 degrees and adopt the strategy of combining small field detector with linear scanning to obtain the serial images of lateral cranial position. The X-ray tube sends X-rays to transit the head to a small field flat panel detector, which converts the X-ray image directly into an analog signal, which A/D converts into A digital signal. Due to the size limitations of the X-ray ball tube and sensor, only a small vertical slice of the skull was recorded at each imaging session. Therefore, in order to obtain the lateral cephalogram of the entire head model, the X-ray ball tube and detector were moved from point a to point b, and multiple images were taken consecutively. This design strategy not only avoids the need to reposition the patient during the acquisition of lateral cephalogram, but also saves equipment costs by requiring only one set of X-ball tubes and flat plate detector.
A partial image sequence obtained by linear scanning is shown in Figure 1c, and each image is 2232(height) × 60(width) pixels in size, and all images are partially overlapped with adjacent ones. The data in this paper came from the human head model, and a total of 480 small-size images were obtained by linear scanning. Sequential images need to be processed by a stitching algorithm to obtain panoramic images before they can be used for clinical diagnosis.

3. Design of Stitching Algorithm

In this study, the feature-based approach is not applicable to the data in this paper. The main difficulty is that it is difficult to extract effective features from the 60-pixel-wide images, especially in the soft tissue areas without teeth and bones. SIFT feature extraction operator with strong robustness and rotation invariance [27] was selected to extract and match features of some sequence images. As shown in Figure 2, The number of feature points extracted is not enough to calculate the transformation matrix between adjacent images, and some feature points are mismatched.
In this paper, intensity information is directly used as the direct feature, which has the characteristics of simplicity, high precision, and strong anti-jamming ability. The flow chart of the overall algorithm is shown in Figure 3, which is mainly composed of four parts: Image denoising, image segmentation, image registration, and image fusion.

3.1. Image Denoising

Image noise refers to the unnecessary or redundant interference information existing in image data, and the noise of X-ray image mainly comes from system structure, charge diffusion, photon fluctuation, analog-to-digital conversion, and so on [28]. According to the category of noise, it mainly includes quantum noise and impulse noise.
Quantum noise is the random spatial fluctuation of X-ray quantum according to Poisson distribution law, and its magnitude is related to the radiation dose of the ray source and the absorption performance of the plate detector. In general, it is considered that the quantum fluctuation noise of the radiography system obeys the Poisson distribution, which is expressed as follows:
p ( z ) = λ z z ! e λ      λ > 0
Impulse noise is the randomly distributed noise generated on the image by the excitation action of X-ray scattering on the flat panel detector. Impulse noise can be described by the following probability density function:
p ( z ) = { P a z = a P b z = b 0 o t h e r s
The image sequence needs to be de-noised before the image is stitched, mean filtering, median filtering, Gaussian filtering, and NL-Means algorithm are widely used denoising methods, and BM3D algorithm has excellent performance for denoising X-ray images among many denoising algorithms [29]. The BM3D algorithm was proposed by Dabov K et al. [30]. The flow chart of the BM3D algorithm is shown in Figure 4. It is generally divided into two steps; each step includes similar block grouping, collaborative filtering, and aggregation. The algorithm makes a basic estimate before making a final estimate of the image.
Similar block grouping: For each target block, look for a maximum of MAXN1 similar blocks in the vicinity, this process can be expressed as follows:
G ( P ) = { Q     :     d ( P ,    Q )    τ s t e p }
where d ( P , Q ) is the Euclidean distance between the two blocks, after sorting from smallest to largest, take the preceding maxN1 to form a three-dimensional array.
Collaborative filtering: The two-dimensional transformation of each two-dimensional block in the three-dimensional matrix is carried out, and then the one-dimensional transformation is carried out in the third dimension of the matrix. After transformation, the parameter less than the super parameter is set to 0 by means of the hard threshold. At the same time, the number of non-zero components counted as a reference for subsequent weights. This process is as follows:
Q ( P ) = T 1 3 D h a r d ( γ ( T 3 D h a r d ( Q ( P ) ) ) )
Aggregation: After the inverse transformation of these graph blocks, the algorithm puts them back to the original position, uses the number of non-zero components to calculate the stack weight, and finally divides the stacked graph by the weight of each point to get the basic estimated image.

3.2. Image Segmentation

X-rays are penetrative, but the density and thickness of human tissue vary, and as X-rays penetrate bone (including teeth) and muscle, the denser the tissue, the better it absorbs the X-ray, so the imaging process produces different images. Four images were randomly selected from the sequence to observe their gray histogram distribution, as shown in Figure 5.
The histogram reflects the probability of the occurrence of a certain grayscale value in the image. The grayscale value of the image in this paper is distributed between 0 and 14,000, and most of the grayscale histograms of sequence images are of peak structure. After analysis, we know that the area with smaller gray value in the histogram is bone imaging, while the part with larger gray value (red box) belongs to air and soft tissue imaging. For the registration of sequence images, bone imaging is regarded as the target region of interest, but when there is no bone imaging, soft tissue is regarded as the region of interest. An appropriate image segmentation method is used to extract the target region for subsequent registration steps.
In order to avoid the influence of the background region, the image is segmented by the clustering method. The pixel value of the image is taken as the clustering element, so that all the points in the image are divided into two categories to achieve the segmentation of the target area and the background area. Gaussian Mixed model (GMM) is used to estimate the probability density distribution of the sample, and each Gaussian model represents a class. GMM (Gaussian mixture model), by the weighted combination of several Gaussian distribution models, can be used to fit any type of distribution, and this process can be expressed as follows:
G M M ( i ) = j = 1 j = c φ j 1 2 π σ × exp [ ( h ( i ) u j ) 2 2 σ j 2 ]
where C represents the number of Gaussian distributions, h ( i ) represents the gray value of the pixel point, φ j represents the weight of the j Gaussian distribution, u j and σ j 2 represent the mean and variance of the Gaussian distribution.
The maximum expectation (EM) algorithm is used to estimate the parameters of each Gaussian function, and the segmentation of foreground and background regions is completed. It is a kind of optimization algorithm for maximum likelihood estimation through iteration, which consists of alternating Expectation-step and Maximization-step. Expectation-step calculates the expectation of the implicit variable based on the initial value of the parameter or the model parameters of the last iteration, which is expressed as:
Q i ( z ( i ) ) : = p ( z ( i ) |   x ( i ) ; θ )
Maximization-step maximizes the likelihood function to obtain the new parameter value, which is expressed as:
θ : = arg    max θ i z ( i ) Q i ( z ( i ) ) log p ( x ( i ) , z ( i ) ; θ ) Q i ( z ( i ) )
Algorithm 1 summarizes the use of Gaussian mixture model combined with EM algorithm to segment sequence images.
Algorithm 1 Gaussian mixture model combined with EM algorithm for image segmentation
Input: Original sequence images.
Step1: Initializes the parameters of the GMM u j , σ j , π j .
do {
Step2: Calculate the value of the posterior probability per Equation (6).
Step3: Maximize the likelihood function to get the new u j , σ j , π j per Equation (7).
} while (The logarithm likelihood function does not converge)
Step4: Pixels are allocated using the maximum posterior probability criterion.
Output: Segmentation results.
Four images were selected from the sequence of images for segmentation, and the segmentation results are shown in Figure 6.
Figure 6a,b images without bone areas are shown, and the segmentation method can accurately extract soft tissue areas. In Figure 6c,d, most of the bone areas can be completely segmented, and the boundary of the extracted target region was clear and continuous.

3.3. Image Registration

Adjacent image registration is the key to panoramic image generation technology. Its essence is to find out the position of the corresponding point in the reference image through a certain matching strategy, and then determine the transformation relationship between two images. The image registration process in this paper is shown in Figure 7, which consists of the wavelet transform, spatial transformation, interpolator, similarity measure, and optimization algorithm.

3.3.1. Wavelet Transform

Image pyramid is a representation of the multi-scale image. An image pyramid is a set of images with different resolutions arranged in a pyramid shape. The bottom of the pyramid is a high-resolution representation of the image, while the top is a low-resolution approximation. In image registration, the multi-resolution strategy can not only shorten the registration time, but also reduce the influence of image noise on the registration results [31]. Wavelet transform has the characteristics of multi-resolution and has higher frequency resolution in the low-frequency part. The Wavelet transform of the two-dimensional image and the wavelet function is expressed as:
W s f ( a , b ) = R R f ( x , y ) 1 s 2 × ψ ( a x s , b y s ) d x d y
Two-layer wavelet decomposition is performed on the original image, as shown in Figure 8, to obtain the low-frequency part A1 and other B1 of the image. The low-frequency part A1 can retain the features of the source image, and then wavelet decomposition is performed on A1 to form an image pyramid composed of A2, A1, and the original image, as shown in Figure 9.

3.3.2. Spatial Transformation

To successfully register two adjacent oral cephalic images X 1 ( a 1 , b 1 ) and X 2 ( a 2 , b 2 ) , the key is to determine the mapping relationship between them: P : ( a 1 , b 1 ) ( a 2 , b 2 ) , make each point in X 1 and X 2 correspond one to one, that is, a corresponding point in two images represents the same position. The image transformation mode can be divided into local, global, and displacement field. Global transformation means that the transformation of the whole image can be represented by the same parameters. Different regions in local transformation can have different parameters. Displacement field transformation shows that each pixel in the image is independent of parameter conversion.
The global mapping model is adopted in this paper, which is more suitable for automatic registration, which can be defined as follows:
T ( x ) = A ( x c ) + t + c
where A represents matrix, C represents the Center of the image, and T represents translation. Since the data are taken from the human head model, object deformation is not involved in the imaging process, that is, the distance and parallel relation of the corresponding points of adjacent images remain unchanged, so the rigid body transformation is selected as the global transformation model [32]. ( x 1 , y 1 ) is the coordinate before the transformation, and ( x 2 , y 2 ) is the new coordinate after the transformation, and the conversion format can be described as:
[ x 2 y 2 ] = s [ cos θ sin θ sin θ   cos θ ]   [ x 1 y 1 ] + [ d x d y ]
where S is the scaling factor, θ is the rotation angle, and the translation in the x and y directions are respectively [ d x     d y ] .

3.3.3. Interpolator

In general, the digital image displays the image through the gray value, and the discrete pixel coordinates are usually integers, while the pixel coordinates of the image to be registered are generally not integers after the spatial transformation. The image interpolation is used to solve the problem that the pixel point of the image is not integer after the spatial transformation, and the image pixel value at integer position is obtained by interpolation. In this paper, a bilinear interpolation algorithm is selected to process the image. The core idea is shown in Figure 10.
First, we interpolate the X and Y directions respectively to get two points, R1 and R2, and then we interpolate the points R1 and R2 to get the value of P, which is expressed as:
f ( x , y ) = f ( 0 , 0 ) ( 1 x ) ( 1 y ) + f ( 1 , 0 ) x ( 1 y ) + f ( 0 , 1 ) ( 1 x ) y + f ( 1 , 1 ) x y
where f ( x , y ) is the value of the interpolated point P, f ( 0 , 0 ) , f ( 0 , 1 ) , f ( 1 , 0 ) and f ( 1 , 1 ) are the values of points Q1, Q2, Q3, and Q4, respectively.

3.3.4. Similarity Measure

The similarity measure is a quantitative measure to indicate the degree of similarity between the reference image and the image to be registered. The selection of similarity measure function directly determines the reliability and validity of image registration. Image registration is to find the optimal parameters to ensure that the similarity or difference between images to be registered can reach the maximum value, so selecting the appropriate similarity measurement function is helpful to improve the accuracy of registration. The most commonly used similarity measures are mutual information, normalized cross-correlation, and so on. Among them, the normalized cross-correlation has the characteristics of high accuracy and good stability in registration, but it is easily affected by the irrelevant area in the image during registration.
In this paper, a similarity measurement function based on GMM and Normalized Cross-Correlation (NCC) for ROI is proposed, which avoids the influence of the irrelevant background region in registration. GMM-NCC is defined as:
G M M N C C = i , j I r e f R O I ( i , j ) I ¯ r e f R O I , I r e g R O I ( i , j ) I ¯ r e g R O I 2   i , j   | I r e f R O I ( i , j ) I ¯ r e f R O I | 2   | I r e g R O I ( i , j ) I ¯ r e g R O I | 2  
where I r e f R O I and I r e g R O I respectively represent the regions of interest of the fixed images and images to be registered, I ¯ r e f R O I and I ¯ r e g R O I represent their mean values, i and j are the coordinates of pixels. When G M M N C C = 1 , it means that the two registered images are completely unrelated; When G M M N C C = 1 , it means that the registration effect between two images is the best.
Figure 11a is the measure curve of the classical normalized cross-correlation measure function, and Figure 11b is the normalized cross-correlation measure curve based on the GMM proposed. The results show that the measurement function proposed in this paper has higher accuracy for the same sequence image registration.

3.3.5. Optimizer

Using the optimization algorithm to optimize the registration parameters can speed up the search process of parameters and reduce the registration time of sequence images. At present, the Powell algorithm, conjugate gradient algorithm, simulated annealing algorithm, and genetic algorithm are widely used [33,34]. The first two algorithms are local optimization algorithms, which depend on the selection of initial values. Although the latter two algorithms are global optimization algorithms, the computational process is complex, and the convergence speed is slow. In summary, the particle swarm optimization algorithm is adopted in this paper, which is an optimization method based on the swarm intelligence method and is very suitable for solving the global optimal solution. Suppose that m particles form a population in an-dimensional space, and the position of the ith particle is defined as:
x i = ( x i 1 , x i 2 , , x i n )       ( i = 1 , 2 , , m )
The current position is substituted into the similarity measure to measure the advantages and disadvantages of the particle position. If it is not optimal, the update of the particle position is defined as:
x ( n + 1 ) = x ( n ) + v ( n + 1 )
where v ( n + 1 ) is the flight speed of the particle at the next update, which is defined as:
v ( n + 1 ) = w v ( n ) + c 1 r 1 ( p b e s t x ( n ) ) + c 2 r 2 ( g b e s t x ( n ) )
where v ( n ) is the current particle’s flight speed, w is the inertial weight, c 1 and c 2 are the learning factors, r 1 and r 2 are the random numbers in the range of (0,1).
Algorithm 2 summarizes the registration process of adjacent sequence images.
Algorithm 2 Image registration algorithm in this paper
Input: Target regions of fixed and to be registered images: R, F.
Step1: Two three-layer image pyramids are formed by wavelet transform of two images: R i , F i , ( i = 1 , 2 , 3 ) .
Step2: registration from low resolution to high resolution registration. i = 3 .
   for each R i and F i i 1 , 2 , 3 do
     Step3: F i performs spatial transformation per Equation (9).
     Step4: F i is interpolated after the spatial transformation per Equation (11).
     Step5: R i and F i measure GMM-NCC per Equation (12).
       if the value of GMM-NCC is optimal do
         if i = 1 do output final parameters.
         else do i = i 1 .
           Output the current registration parameters and return to step 3.
       else do Optimize using the PSO algorithm and then g return to Step 3.
Output: The displacement parameters [ d x     d y ] and rotation parameters θ .

3.4. Image Fusion

Image fusion refers to the process of merging the registration results into a natural and uniform image according to a specific fusion method under the same scene. It can retain all the information of the registration image to the maximum extent and is the last key step in the image stitching process. In the application of image Mosaic, the function of image fusion is to make the stitching image smooth and natural transition at the boundary of the overlapping area without damaging the original image quality, and to eliminate the stitching gap and ghost problems caused by different contrast and exposure.
Firstly, the fixed image and the image to be registered are transformed into a unified coordinate system, and then the image is transformed according to the displacement parameters obtained from the image registration. In order to save the computation time and make the overlapping area more natural, the weighted fusion algorithm is used to deal with the stitching problem, which is expressed as:
P ix e l = k P i x e l _ L + ( 1 k ) P i x e l _ R
where k is the weighted coefficient, which is defined as k = d 1 d 1 + d 2 . d 1 and d 2 are the distances from each point to the boundary of the overlapping region, respectively.

4. Result and Discussion

The experiments were operated using python3.7 on a computer with i5-8000CPU and 8 GB RAM. Firstly, the original image sequence is denoised by the BM3D algorithm, and then the target region of the sequence image is extracted by GMM to remove the influence of the irrelevant background region in the registration. Furthermore, the GMM-NCC measure function proposed in this paper is optimized by combining the multi-resolution strategy based on wavelet variation with the particle swarm optimization algorithm, and the optimal registration parameters are output. Finally, the overlapping area is processed by image fusion.
The image data we used are from the imaging of a human head model. The sequence of images consists of 480 images, each of which has a size of 2320 (height) × 60 (width) pixels and 65,536 grey levels.
Before image registration, we used BM3D algorithm to remove quantum noise and impulse noise of all original sequence images. As shown in Figure 12, the BM3D algorithm can well remove the noise in the original image and avoid the impact on the subsequent steps.
The essence of image registration is the problem of parameter optimization. In order to verify the accuracy of the registration algorithm in this paper, a group of adjacent images in the image sequence are selected to measure their real displacement parameters using image software, and the algorithm in this paper is compared with three different algorithms for registration. In order to avoid the randomness of single registration, it is assumed that k [ 1 , 50 ] , and the registration parameter x k in the x direction is selected, and the registration error is defined as e r r o r = x x k . k is taken as the abscissa and k as the ordinate to draw a registration error statistical graph, as shown in Figure 13.
Figure 13 shows the statistical chart of registration error comparison between the proposed method and the three different algorithms. As shown in Figure 11a, Yuan Huang et al. [35] used the Normalized Cross-Correlation algorithm to register adjacent images, the fluctuation range of registration error is [8, −6]. As shown in Figure 11b, Xiaoping Liu et al. [36] combined local self-similarity and mutual information (LSS-MI) to register multi-sensor images and the fluctuation range of registration error is [6, −6]. As shown in Figure 11b, Yang H et al. [37] proposed a registration method combining SIFT feature-based and phase correlation, and the fluctuation range of registration error is [4, −3]. The proposed algorithm is more stable in the registration process. Compared with the other three methods, the fluctuation range is [1, −1], and the registration accuracy reaches the sub-pixel level, which is closer to the real displacement parameters.
In order to directly observe the influence of registration error on image Mosaic, Figure 14a,b is selected to adopt the above registration method for image stitching. The same position of the two images is marked with red dots. Figure 14c,d and Figure 14e are respectively the panoramic images obtained by the above three registration algorithms, and it can be seen that the marking points do not overlap. Figure 14f is the panoramic image of the registration method in this paper, and the overlap of the marking points indicates that the estimation of registration parameters is accurate.
As shown in Figure 15a, the continuous stitching strategy was adopted in this paper to complete the stitching of 480 original sequence images. Figure 15b is an image of the anterior part of the skull obtained from serial image stitching, which is mainly used for the diagnosis and postoperative evaluation of oral deformity. Figure 15c is a stitching image of the posterior portion of the skull, which is used to diagnose the spine. Figure 15b,c obtained the final cranial lateral panoramic image of the oral cavity through a round of stitching.
In order to verify the excellent ability of the algorithm in this paper to stitching images of lateral cranial sequences, we compared it with three different stitching methods. The stitching results of the algorithm in this paper are shown in Figure 16a; panoramic images have no stitching gaps and ghosts and the information remains intact during the stitching process. Ref. [38] uses SIFT to extract features for stitching, resulting in information loss in boneless areas of lateral cranial images, as shown in Figure 16b. Ref. [39] uses the combination of normalized cross-correlation and threshold method to stitching the image, but there was much false stitching and ghosting in the complex texture area, as shown in Figure 16c. Ref. [14] uses the strategy of SIFT combined with mutual information (SIFT-MI) to make up for the shortcoming of failing to extract feature points, however there are obvious ghosts and stitching gaps in some areas, as shown in Figure 16d. Ref. [40] uses an improved phase correlation (PC) algorithm and weighted blending to generate panoramic images, and there are a lot of information missing and stitching errors in the image, as shown in Figure 16e. Ref. [41] uses a new and improved algorithm based on the Accelerated KAZE (A-KAZE) Features, and there are significant stitching errors in the cervical stitching of the image, as shown in Figure 16f.
The performance of the proposed algorithm can be measured more objectively by using image quality evaluation parameters. The entropy value can determine the information amount in the image. For the same data source, the larger the entropy value of the Mosaic image is, the more complete the retained information will be, and the better the performance of the Mosaic algorithm will be, which can be expressed as:
I E ( x ) = i = 1 n P ( a i ) log P ( a i )
The standard deviation reflects the degree of dispersion between the pixel value of the image and the mean value. The higher the standard deviation, the better the image quality, which can be expressed as:
S D = 1 M × N i = 1 M j = 1 N ( P ( i , j ) u ) 2
The average gradient represents the average value of gray scale transformation, reflecting the clarity of the stitching image. The larger the value is, the more obvious the detail of the image is, and the clearer the image is, which is expressed as:
A G = 1 ( M r 1 ) ( N c 1 ) i = 1 M r 1 j = 1 N c 1 1 2 [ ( h ( i , j ) h ( i + 1 , j ) ) 2 + ( h ( i , j ) h ( i , j + 1 ) ) 2 ]
For continuous stitching of sequence images, the success rate is also an important index to measure the algorithm, which represents the stability of the algorithm in practical application. Five algorithms were used to conduct 100 stitching experiments on the sequential images, and the stitching success rate of lateral cephalic panorama could be obtained statistically.
Through the above discussion, it is obvious that the stitching algorithm proposed in this paper can complete the continuous stitching of dental lateral cephalic sequence images. The image quality evaluation results obtained are shown in Table 1. Compared with the other Five algorithms, although the running time of the algorithm in this paper is slightly longer than that of some algorithms, the image quality after stitching is better. The maximum information entropy of the method in this paper indicates that the retained information is the most complete. The maximum standard deviation and evaluation gray value indicate that the brightness transformation of the image obtained by the algorithm in this paper is uniform and the image details remain intact. The success rate of the proposed algorithm in this article is higher than that of other algorithms, which indicates that the proposed algorithm has good stability.
In X-ray imaging, the higher the density of the tissue, the more obvious the absorption of X-rays. In order to make the images more detailed for clinical diagnosis, therefore we need to reverse color manipulation of the stitching panoramic image, as shown in Figure 17.

5. Conclusions

In the field of image stitching, image registration and image fusion have a great influence on the stitching result. Image stitching methods are mainly based on feature extraction or intensity information. The deep learning method has achieved a good result in feature extraction, and due to the limitations of the part of the imaging area and lack of annotated dataset of lateral cephalogram, continuous stitching of the sequence images is difficult. The methods of NCC and NMI algorithms based on intensity information have low stitching accuracy for small size X-ray images with high dynamic range, and it is easy to appear stitching gaps and ghosts.
This paper makes improvements from the perspective of image registration; the BM3D algorithm is used to remove the impact of quantum noise and impulse noise of the original X-ray image and innovatively proposes the normalized cross-correlation registration method of ROI based on GMM segmentation, while the irrelevant background region is removed successfully. The multi-resolution strategy based on wavelet decomposition realizes accurate registration from low resolution to high resolution, and PSO is used to optimize the displacement parameters. After the image registration, the adjacent images are fused by combining the distance between the pixel points and the boundary of the overlapping region. Panoramic images of the lateral dental skull were obtained after successive rounds of stitching. Compared with other methods, the stitching panoramic image performed better in both subjective visual and objective evaluation., the image information remains intact during the stitching process, the image details are clear, and there are no stitching gaps and ghosts. The experimental results show that the proposed algorithm can complete continuous stitching of sequential images, which is of great significance for lateral cephalic imaging based on multifunctional dental CBCT.

Author Contributions

J.L. created models, analyzed the results, and wrote the manuscript. X.L. and S.S. reviewed the manuscript. Z.L. and X.J. formulation of overarching research goals and funded the research. W.C. consulted the relevant literature. All authors have read and agreed to the published version of the manuscript.

Funding

This work was partially supported by the national natural science foundation of China (No. 61571070), the natural science foundation of Chongqing, China (No. cstc2020jcyj-msxmX0702), the new dynamic DR key technology development and product development (No. CSTC2017ZDCY-zdyfX0049) and the national natural science foundation of China (NO.61801069).

Institutional Review Board Statement

Ethical review and approval were waived for this study, due to the current research is mainly the stitching of lateral cephalic sequence images of human head models, human experiments are not involved temporarily. Informed Consent Statement: Informed consent was obtained from all subjects involved in the study.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available because it is for the benefit of the equipment manufacturer.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ma, L.; Jiang, W.; Zhang, B. Augmented reality surgical navigation with accurate CBCT-patient registration for dental implant placement. Med. Biol. Eng. Comput. 2019, 57, 47–57. [Google Scholar] [CrossRef] [PubMed]
  2. Savoldi, F.; Xinyue, G.; McGrath, C.P. Reliability of lateral cephalometric radiographs in the assessment of the upper airway in children: A retrospective study. Angle Orthod. 2020, 90, 47–55. [Google Scholar] [CrossRef] [Green Version]
  3. Patel, A.; Shah, J. Age determination in children by orthopantomograph and lateral cephalogram: A comparative digital study. J. Forensic Dent. Ences 2019, 11, 118. [Google Scholar] [CrossRef] [PubMed]
  4. Böhm, B.; Hirschfelder, U. Localization of lower right molars in a panoramic radiograph, lateral cephalogram and dental CT. J. Orofac. Orthop. /Fortschr. der Kieferorthopädie 2000, 61, 237–245. [Google Scholar] [CrossRef] [PubMed]
  5. Wei, L.Y.U.; Zhong, Z.; Lang, C. A survey on image and video stitching. Virtual Reality Intell. Hardw. 2019, 1, 55–83. [Google Scholar] [CrossRef]
  6. Song, Y.; He, B.; Zhang, L. Side-scan sonar image registration based on modified phase correlation for AUV navigation. In Proceedings of the OCEANS 2016-Shanghai, Shanghai, China, 10–13 April 2016; pp. 1–4. [Google Scholar]
  7. Xie, X.; Zhang, Y.; Ling, X. A novel extended phase correlation algorithm based on Log-Gabor filtering for multimodal remote sensing image registration. Int. J. Remote Sens. 2019, 40, 1–25. [Google Scholar] [CrossRef]
  8. Tong, X.; Ye, Z.; Xu, Y. A Novel Subpixel Phase Correlation Method Using Singular Value Decomposition and Unified Random Sample Consensus. IEEE Trans. Geosci. Remote Sens. 2015, 53, 4143–4156. [Google Scholar] [CrossRef]
  9. Zhang, T.; Zhao, R.; Chen, Z. Application of Migration Image Registration Algorithm Based on Improved SURF in Remote Sensing Image Mosaic. IEEE Access 2020, 8, 163637–163645. [Google Scholar] [CrossRef]
  10. Chang, H.H.; Wu, G.L.; Chiang, M.H. Remote sensing image registration based on modified SIFT and feature slope grouping. IEEE Geosci. Remote Sens. Lett. 2019, 16, 1363–1367. [Google Scholar] [CrossRef]
  11. Sharma, S.K.; Jain, K. Image Stitching using AKAZE Features. J. Indian Soc. Remote Sens. 2020, 48, 1389–1401. [Google Scholar] [CrossRef]
  12. Song, S.; Herrmann, J.M.; Si, B. Two-dimensional forward-looking sonar image registration by maximization of peripheral mutual information. Int. J. Adv. Robot. Syst. 2017, 14, 1729881417746270. [Google Scholar] [CrossRef]
  13. Pan, M.; Zhang, F. Medical Image Registration Based on Renyi’s Quadratic Mutual Information. IETE J. Res. 2020, 1–9. [Google Scholar] [CrossRef]
  14. Gong, M.; Zhao, S.; Jiao, L. A novel coarse-to-fine scheme for automatic image registration based on SIFT and mutual information. IEEE Trans. Geosci. Remote Sens. 2013, 52, 4328–4338. [Google Scholar] [CrossRef]
  15. Feng, R.; Du, Q.; Li, X. Robust registration for remote sensing images by combining and localizing feature-and area-based methods. ISPRS J. Photogramm. Remote Sens. 2019, 151, 15–26. [Google Scholar] [CrossRef]
  16. Han, Y.K.; Choi, J.W. Matching points extraction between optical and TIR images by using SURF and local phase correlation. J. Korean Soc. Geospat. Inf. Syst. 2015, 23, 81–88. [Google Scholar]
  17. Dosovitskiy, A.; Fischer, P.; Springenberg, J.T. Discriminative Unsupervised Feature Learning with Exemplar Convolutional Neural Networks. IEEE Trans. Pattern Anal. Mach. Intell. 2014, 38, 1734–1747. [Google Scholar] [CrossRef] [Green Version]
  18. Yang, Z.; Dan, T.; Yang, Y. Multi-temporal remote sensing image registration using deep convolutional features. IEEE Access 2018, 6, 38544–38555. [Google Scholar] [CrossRef]
  19. Cao, X.; Yang, J.; Zhang, J. Deformable image registration using a cue-aware deep regression network. IEEE Trans. Biomed. Eng. 2018, 65, 1900–1911. [Google Scholar] [CrossRef]
  20. Wu, G.; Kim, M.; Wang, Q. Scalable High-Performance Image Registration Framework by Unsupervised Deep Feature Representations Learning. Deep Learn. Med. Image Anal. 2016, 63, 245–269. [Google Scholar] [CrossRef] [Green Version]
  21. Zyurt, F. Efficient deep feature selection for remote sensing image recognition with fused deep learning architectures. J. Supercomput. 2020, 76, 1–19. [Google Scholar]
  22. Deng, L.; Yuan, X.; Deng, C. Image Stitching Based on Nonrigid Warping for Urban Scene. Sensors 2020, 20, 7050. [Google Scholar] [CrossRef] [PubMed]
  23. Kim, D.T.; Nguyen, V.T.; Cheng, C.H. Speed Improvement in Image Stitching for Panoramic Dynamic Images during Minimally Invasive Surgery. J. Healthcare Eng. 2018, 2018, 1–14. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  24. Qu, Z.; Li, J.; Bao, K.H. An Unordered Image Stitching Method Based on Binary Tree and Estimated Overlapping Area. IEEE Trans. Image Process. 2020, 29, 6734–6744. [Google Scholar] [CrossRef]
  25. Singh, T.; Nair, R. Multi Sensor Medical Image Fusion Using Pyramid Based Discrete Wavelet Transform: A Multi-Resolution Approach. IET Image Process. 2019, 13, 1447–1459. [Google Scholar]
  26. Yin, H. Tensor Sparse Representation for 3-D Medical Image Fusion Using Weighted Average Rule. IEEE Trans. Biomed. Eng. 2018, 65, 2622–2633. [Google Scholar] [CrossRef]
  27. Li, J.; Hu, Q.; Ai, M. RIFT: Multi-Modal Image Matching Based on Radiation-Variation Insensitive Feature Transform. IEEE Trans. Image Process. 2020, 29, 3296–3310. [Google Scholar] [CrossRef] [PubMed]
  28. Yang, Q.; Yan, P.; Zhang, Y. Low-Dose CT Image Denoising Using a Generative Adversarial Network with Wasserstein Distance and Perceptual Loss. IEEE Trans. Med. Imaging 2018, 37, 1348–1357. [Google Scholar] [CrossRef] [PubMed]
  29. Chen, L.L.; Gou, S.P.; Yao, Y.; Bai, J.; Jiao, L.; Sheng, K. Denoising of low dose CT image with context-based BM3D. In Proceedings of the 2016 IEEE Region 10 Conference (TENCON), Singapore, 22–25 November 2016; pp. 682–685. [Google Scholar]
  30. Dabov, K.; Foi, A.; Katkovnik, V. Image denoising by sparse 3-D transform-domain collaborative filtering. IEEE Trans. Image Process. 2007, 16, 2080–2095. [Google Scholar] [CrossRef]
  31. Lobachev, O.; Ulrich, C. Feature-based multi-resolution registration of immunostained serial sections. Med. Image Anal. 2017, 35, 288–302. [Google Scholar] [CrossRef] [PubMed]
  32. Kiser, K.; Meheissen, M.A.M.; Mohamed, A.S. Quality Assessment of Commercially Available MRI-CT Deformable and Rigid Registration Algorithms. Int. J. Radiat. Oncol. Biol. Phys. 2019, 105, E692–E693. [Google Scholar] [CrossRef]
  33. Shen, L.; Huang, X.; Fan, C. Enhanced mutual information-based medical image registration using a hybrid optimisation technique. Electron. Lett. 2018, 54, 926–928. [Google Scholar] [CrossRef]
  34. Chen, C.L.; Jian, B.L. Infrared thermal facial image sequence registration analysis and verification. Infrared Phys. Technol. 2015, 69, 1–6. [Google Scholar] [CrossRef]
  35. Huang, Y.; Da, F. Registration algorithm for point cloud based on normalized cross-correlation. IEEE Access 2019, 7, 137136–137146. [Google Scholar] [CrossRef]
  36. Liu, X.; Chen, S.; Zhuo, L. Multi-sensor image registration by combining local self-similarity matching and mutual information. Front. Earth Sci. 2018, 12, 779–790. [Google Scholar] [CrossRef]
  37. Yang, H.; Li, X.; Zhao, L. A novel coarse-to-fine scheme for remote sensing image registration based on SIFT and phase correlation. Remote Sens. 2019, 11, 1833. [Google Scholar] [CrossRef] [Green Version]
  38. Li, D.; He, Q.; Liu, C. Medical image stitching using parallel sift detection and transformation fitting by particle swarm optimization. J. Med. Imaging Health Inf. 2017, 7, 1139–1148. [Google Scholar] [CrossRef]
  39. Seo, J.H.; Kang, M.S.; Kim, H. Image Stitching Using Normalized Cross-Correlation and the Thresholding Method in a Fluorescence Microscopy Image of Brain Tumor Cells. J. Korea Multimed. Soc. 2017, 20, 979–985. [Google Scholar]
  40. Yang, F.; He, Y.; Deng, Z.S. Improvement of automated image stitching system for DR X-ray images. Comput. Biol. Med. 2016, 71, 108–114. [Google Scholar] [CrossRef] [PubMed]
  41. Qu, Z.; Wei, X.M.; Chen, S.Q. An algorithm of image mosaic based on binary tree and eliminating distortion error. PLoS ONE 2019, 14, e0210354. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. Multifunctional Cone Beam Computed Tomography (CBCT) dental cranial lateral imaging. (a) The traditional multi-functional oral CBCT device; (b) new multi-functional CBCT equipment; (c) imaging process; (d) partial sequence image.
Figure 1. Multifunctional Cone Beam Computed Tomography (CBCT) dental cranial lateral imaging. (a) The traditional multi-functional oral CBCT device; (b) new multi-functional CBCT equipment; (c) imaging process; (d) partial sequence image.
Sensors 21 02200 g001
Figure 2. SIFT feature extraction and matching results.
Figure 2. SIFT feature extraction and matching results.
Sensors 21 02200 g002
Figure 3. Flowchart of the proposed method for lateral cranial image stitching.
Figure 3. Flowchart of the proposed method for lateral cranial image stitching.
Sensors 21 02200 g003
Figure 4. BM3D algorithm flow chart.
Figure 4. BM3D algorithm flow chart.
Sensors 21 02200 g004
Figure 5. Histogram of part of the image sequence. (a) Sequence image 1; (b) sequence image 2; (c) sequence image 3; (d) sequence image 4.
Figure 5. Histogram of part of the image sequence. (a) Sequence image 1; (b) sequence image 2; (c) sequence image 3; (d) sequence image 4.
Sensors 21 02200 g005
Figure 6. Segmentation results of four selected images in the sequence. (a) Sequence image 1; (b) sequence image 2; (c) sequence image 3; (d) sequence image 4.
Figure 6. Segmentation results of four selected images in the sequence. (a) Sequence image 1; (b) sequence image 2; (c) sequence image 3; (d) sequence image 4.
Sensors 21 02200 g006
Figure 7. Image registration flow chart.
Figure 7. Image registration flow chart.
Sensors 21 02200 g007
Figure 8. Two-layer wavelet decomposition tree.
Figure 8. Two-layer wavelet decomposition tree.
Sensors 21 02200 g008
Figure 9. Three layers of image pyramid.
Figure 9. Three layers of image pyramid.
Sensors 21 02200 g009
Figure 10. Bilinear interpolation schematic diagram.
Figure 10. Bilinear interpolation schematic diagram.
Sensors 21 02200 g010
Figure 11. A graph of the similarity measurement function. (a) Normalized cross correlation; (b) local normalized cross-correlation based on Gaussian mixture model.
Figure 11. A graph of the similarity measurement function. (a) Normalized cross correlation; (b) local normalized cross-correlation based on Gaussian mixture model.
Sensors 21 02200 g011
Figure 12. The denoising effect of BM3D on sequential image. (a) Original image 1, (b) The denoising result of image 1, (c) Original image 2, (d) The denoising result of image 2.
Figure 12. The denoising effect of BM3D on sequential image. (a) Original image 1, (b) The denoising result of image 1, (c) Original image 2, (d) The denoising result of image 2.
Sensors 21 02200 g012
Figure 13. Statistical graph of registration error. (a) NCC and the proposed approach, (b) LSS-MI Comparison with the algorithm in this paper, (c) SIFT-PC and the algorithm in this paper.
Figure 13. Statistical graph of registration error. (a) NCC and the proposed approach, (b) LSS-MI Comparison with the algorithm in this paper, (c) SIFT-PC and the algorithm in this paper.
Sensors 21 02200 g013
Figure 14. Error observation of registration. (a) Image 1 to be stitched, (b) Image 2 to be stitched, (c) NCC, (d) LSS-MI, (e) SIFT-PC, (f) this article.
Figure 14. Error observation of registration. (a) Image 1 to be stitched, (b) Image 2 to be stitched, (c) NCC, (d) LSS-MI, (e) SIFT-PC, (f) this article.
Sensors 21 02200 g014
Figure 15. Stitching process of lateral cephalogram. (a) The image sequence is stitched in multiple rounds, (b) results of anterior skull stitching, (c) results of posterior skull stitching.
Figure 15. Stitching process of lateral cephalogram. (a) The image sequence is stitched in multiple rounds, (b) results of anterior skull stitching, (c) results of posterior skull stitching.
Sensors 21 02200 g015
Figure 16. Sequence image stitching results by different algorithms. (a) This article, (b) SIFT-PSO, (c) NCC, (d) SIFT-NMI, (e) PC, (f) A-KAZE.
Figure 16. Sequence image stitching results by different algorithms. (a) This article, (b) SIFT-PSO, (c) NCC, (d) SIFT-NMI, (e) PC, (f) A-KAZE.
Sensors 21 02200 g016aSensors 21 02200 g016b
Figure 17. Lateral cephalogram after reverse color manipulation.
Figure 17. Lateral cephalogram after reverse color manipulation.
Sensors 21 02200 g017
Table 1. Different stitching algorithms quality evaluation parameters.
Table 1. Different stitching algorithms quality evaluation parameters.
MethodsIESDAGTimeSuccess Rate
SIFT-PSI5.063142.04151.432778.6542 s68%
NCC6.025473.15531.4493106.0612 s73%
SIFT-NMI6.055468.00531.55783.5381 s78%
PC4.156740.29851.364597.9457 s76%
A-KAZE5.968367.86421.476562.2938 s59%
This article6.171174.62451.691398.3258 s98%
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, J.; Li, X.; Shen, S.; Jiang, X.; Chen, W.; Li, Z. Research on Panoramic Stitching Algorithm of Lateral Cranial Sequence Images in Dental Multifunctional Cone Beam Computed Tomography. Sensors 2021, 21, 2200. https://doi.org/10.3390/s21062200

AMA Style

Liu J, Li X, Shen S, Jiang X, Chen W, Li Z. Research on Panoramic Stitching Algorithm of Lateral Cranial Sequence Images in Dental Multifunctional Cone Beam Computed Tomography. Sensors. 2021; 21(6):2200. https://doi.org/10.3390/s21062200

Chicago/Turabian Style

Liu, Junyuan, Xi Li, Siwan Shen, Xiaoming Jiang, Wang Chen, and Zhangyong Li. 2021. "Research on Panoramic Stitching Algorithm of Lateral Cranial Sequence Images in Dental Multifunctional Cone Beam Computed Tomography" Sensors 21, no. 6: 2200. https://doi.org/10.3390/s21062200

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