Skip to main content
The Open Biomedical Engineering Journal logoLink to The Open Biomedical Engineering Journal
. 2015 Aug 31;9:194–198. doi: 10.2174/1874120701509010194

The Application of Wavelet-Domain Hidden Markov Tree Model in Diabetic Retinal Image Denoising

Dong Cui 1,*, Minmin Liu 2, Lei Hu 3, Keju Liu 2, Yongxin Guo 1, Qing Jiao 1
PMCID: PMC4645835  PMID: 26628926

Abstract

The wavelet-domain Hidden Markov Tree Model can properly describe the dependence and correlation of fundus angiographic images’ wavelet coefficients among scales. Based on the construction of the fundus angiographic images Hidden Markov Tree Models and Gaussian Mixture Models, this paper applied expectation-maximum algorithm to estimate the wavelet coefficients of original fundus angiographic images and the Bayesian estimation to achieve the goal of fundus angiographic images denoising. As is shown in the experimental result, compared with the other algorithms as mean filter and median filter, this method effectively improved the peak signal to noise ratio of fundus angiographic images after denoising and preserved the details of vascular edge in fundus angiographic images.

Keywords: Fundus images, HIDDEN Markov Tree Model (HMT Model), image denoising, wavelet transform

1. INTRODUCTION

As the incidence of diabetes has steadily increased in recent years, there are more and more patients of diabetic retinopathy (DR). DR as one of the most serious complications of diabetes, is one of the major cause of blindness currently, which has the concealed feature and the feature of irreversibility. Fluorescein fundus angiography (FFA) has an instructive significance on the early diagnosis and timely treatment of the DR [1-4]. In the collecting process of fundus angiographic images, factors like the nonuniformity of light, the imaging effect of fundus camera and the severe interference of noise in imaging process, such as the internal noise of sensitive components, optical material grain noise, thermal noise, transmission channel interference, quantization noise. Caused problems like the declined contrast ratio of fundus angiographic images, the severe interference of noise and image blurring, which influenced the clinical diagnosis of doctors. Therefore, the denoising of fundus angiographic images has important practically value in clinical appliance. Traditional image denoising methods, such as the median filter and the threshold algorithm, would lose quiet a little high frequency information in denoising, which caused the edge blur of images and the missing of detailed information [5-7]. Wavelet transform in the time domain and frequency domain also has good localization properties, Not only will the image structure and texture are represented in different resolution levels, but also has the ability to detect edge, wavelet transform could properly maintain the edge and features of details for imagesat the same time of denoising [8, 9]. Donoho [10] first proposed the wavelet shrinkage method, presented a method to calculate the universal threshold, proved the asymptotic optimality of general threshold, but the universal threshold used by the method has the tendency of excessive killing of wavelet coefficients. The literature [11]through the establishment of wavelet coefficients Gaussian mixture model, in order to maximize access to images of a priori information to improve the performance of denoising. Crouse [12]analyzed the wavelet coefficients of clustering and persistence, the wavelet coefficients proposed by hidden Markov tree (HMT) and Gaussian mixture model, and the model is used for one-dimensional signal denoising and classification. Because HMT model can well describe the correlation among wavelet coefficients and the maximum description image prior information, so it can be to remove the image noise, also to maintain a good image edge and details at the same time, the performance s(t) improvement of wavelet denoising algorithm. In this paper the wavelet-domain HMT was applied to describe the images and calculate the correlation of wavelet coefficients in neighbor scales [13], and an Bayesian estimation was implemented to estimate image models, which can help to properly maintain the edge information for images in the process of effective fundus angiographic images denoising. As the experimental result showed, the peak signal noise ratio (PSNR) and the visual quality of FFA denoising images were obviously improved.

2. THE WAVELET TRANSFORM

The wavelet transform refers to the signal expressed with the scaling and translation of wavelet function and scaling function [14].

The wavelet transform refers to the signal expressed with the scaling and translation of wavelet function ϕ(t)  and scaling function Φ(t) [14].

ϕJ,K(t)=2J/2ϕ(2JtK) (1)
ΦJ,K(t)=2J/2Φ(2JtK)J,KZ (2)

The signal s(t)  can be expressed as:

s(t)=KμKΦJ0,K(t)+J1J0KωJ,KϕJ,K(t) (3)

In the formula (3):

μK=s(t)ΦJ0,K*(t)dt (4)
ωJ,K=s(t)ϕJ,K*(t)dt (5)

In the formula (3): J is the scale, J smaller the higher the resolution, K is the translation factor. In the practical application, resolution of s(t)  is limited. The scope of J is: J[J1,J0],J1,J0Z .

Fast algorithm of wavelet decomposition can use the tower algorithm, Two-dimensional wavelet transform can be respectively to one dimensional wavelet transform rows and columns. Fig. (1) shows the various permutations of the different sub-bands of wavelet coefficients, L and H respectively expressed low-pass filter and high-pass filter. In addition to the scale biggest and smallest scale, under this kind of organization, each wavelet coefficients have four child nodes, a parent node. As shown in Fig. (1).

Fig. (1).

Fig. (1)

Wavelet coefficients arrangement.

3. THE WAVELET-DOMAIN HMT MODEL

The energy compactness of wavelet transform shows, most change of images are composed by many small coefficients and a few large coefficients. The number set of large coefficients is the product of probability density function with large variance, while the number set of small coefficients is the product of probability density function with small variance. Thus, the Probability Density Function fW(wi)  of every wavelet coefficient wicould be well approximated by Gauss Mixture Model with dual density[14,15].

Supposing the Discrete Hidden State Si of every wavelet coefficient wiis valued as m = S and L , and there is Probability Density Function pSi(m) . Among which, S is the corresponding Gauss state of zero mean and small variance σS2 , and L is the corresponding Gauss state of zero mean and large variance σL2andσL2>σS2 .

Let

g(x;u,σ2)=1σ2πexp{(xu)22σ2} (6)

is the Gauss probability density function, then

fW(wi|Si=S)=g(wi;0,σS;i2) (7)
fW(wi|Si=L)=g(wi;0,σL;i2) (8)

the edge probability density function of wavelet coefficient wi can be shown as:

fW(wi)=piSg(wi;0,σS;i2)+piLg(wi;0,σL;i2) and piL+piS=1 (9)

The HMT Model of the image is quadtree structures [16], as is shown in Fig. (2). Each black node stands for a wavelet coefficient, and the white circle connected with the black node stands for the corresponding hidden state, by both of which a node is composed. The relation between Node 1 and Node 2-5 is the relation between parent nodes and child nodes, and so as the relation between Node 2 and Node 6-9. The link between Node 1 and Node 2 reflects the correlation across scales between Wavelet Coefficient 1 and Wavelet Coefficient 2, and the link between Node 2-5 and Node 1 reflects the correlation inside scales among Wavelet Coefficient 2-5. The size of wavelet coefficients is greatly connected with the parent node. Let the Hidden Status {Sρ(i),Si}  be a parent-child pair, ρ(i)  be the parent node of Node i, and pi,mρ(i),m  be the state transition probability from State m to State m , then the corresponding state transition matrix is:

Fig. (2).

Fig. (2)

HMT model.

Ai=(pi,Sρ(i),Spi,Sρ(i),Lpi,Lρ(i),Spi,Lρ(i),L)=(pi,Sρ(i),S1pi,Lρ(i),L1pi,sρ(i),Spi,Lρ(i),L) (10)

Therefore, the two dimensional HMT Model can be characterized through the mixture of σS;i2andσL;i2 , the State Transition Matrix Ai, the every i corresponding to every scale, and the probability piL  which keeps in a large state in root node.

The HMT Model under the State M could be parameterized through the Probability Quality Function pSi(m)  of Node Si, the conditional probability εi,ρ(i)m,r  of giving State Sρ(i)  under the State r, that of Si under the State m, and the Mean Value μi,m and the Variance σi,m2  of Wavelet Coefficient Wi supposing the giving state Sρ(i)  was under the State m.

All these parameters can be grouped into a parameter vector

ϑ={pSi(m),εi,ρ(i)m,r,μi,m,σi,m2|i=1,2,P;n,m=1M} (11)

Among which, P is the number of nodes; M is the state number.

4. THE REALIZATION OF HMT ALGORITHM

In HMT Model, State Si is hidden and the expectation maximization(EM) algorithm is usually adopted to the observable wavelet coefficients. EM Algorithm is a kind of iterative algorithm, which can not only estimate the parameter vector but also the probability of the Hidden State Si[15, 17].

4.1. Model Training

Given a set or more sets of observed wavelet coefficients w={w1,w2,,wn} , can determine the best features of the wavelet coefficients of the wavelet-domain HMT parameter vector ϑ. Expectation maximization algorithm observed the wavelet coefficients w, can be estimate model parameters vector ϑ and the probability of hidden state S. The EM algorithm for HMT iterative format as follows.

Choose an initial model to estimate ϑ0 and let the iterative order l = 0, and then

⊝ Step E, to calculate the joint probability density quality function p(S|w,ϑl)  of hidden state variable;

⊜ Step M, to calculate the new model parameter

ϑl+1=argmaxϑES[lnf(w,S|ϑ)|w,ϑl] ;

⊛ If ϑl=ϑl+1 , stop; otherwise, let l=l+1  and go back to Step E.

M step includes wavelet coefficients as a function upgrade of the mean , variance, transition probabilities, edge state probability mass function p(Si=m|w,ϑl) , and parent-child probability mass function p(Si=m|w,Sρ(i)=n,ϑl) .

E steps to calculate these functions.

4.2. Likelihood Determination

Giving the wavelet domain HMT of Vector Parameter ϑ, and confirm the observation of Likelihood f(w|ϑ)  of Wavelet Coefficient w.

4.3. State Estimation

Giving the wavelet domain HMT with vectors, and for the observed Wavelet Coefficient {wi} , confirm the most possible sequence of Hidden State {Si}  and the probability of Node i under a certain state.

5. THE BAYESIAN ESTIMATION OF IMAGE WAVELET COEFFICIENT

Under the Gauss noise with the mean value of 0 and the variance of, the size of the image is, and N is the integer power of two. After the wavelet transform of images with Scale, we gained the Tree of wavelet coefficient with noise [15, 16, 18]. Then the relation among the Wavelet Coefficient of images with noise, the Wavelet Coefficient of original images and the Wavelet Coefficient of noises can be shown in wavelet domain as:

wi=yi+ni (12)

Use the EM algorithm, fit a HMT model of yi in the observed data wi, If the signal has a HMT probability density function of wavelet domain, then the signal containing noise also has a probability density function. Increase zero-mean independent Gaussian white noise ni, Each mixture model variance σi,m2  increased by σn2  and other parameters remain unchanged. Through the wavelet coefficient fitted the observed data of HMT minus the variance due to added noise, get the signal wavelet coefficients model.

Supposing in Scale L , the distribution of all state variables and wavelet coefficients were the same and so as the state transition matrix of parent and child nodes. Then under the condition that the State S i of Wavelet Coefficient yi had been known, the conditional mean value could be estimated as:

E[yi|w=wi,Si=m]=σi,m2σn2+σi,m2wi (13)

Supposing the wavelet coefficient and the model had been known, Hidden Probability p(Si|w,ϑ)  could be produced. With these state probability, the conditional mean estimation of y ican be gained as

E[yi|w,ϑ]=mp(Si=m|w,ϑ)σi,m2σn2+σi,m2wi (14)

Finally, the denoised images can be completed by inverse wavelet.

6. THE RESULT AND CONCLUSION OF EXPERIMENT

The experimented FFA images were collected by KAWA VX-3 Ocular Fundus Digital Angiographic Processing System. The study was approved by the local medical ethics committee and each participant signed an informed consent form. With the combination of Gauss white noises with a mean value of 0 and an variance σ = 0.05, it was image decomposed by Daubechies8 Wavelet. The data was handled with the MATLAB2013 Software in the DELL Image Processing Station with a main frequency of 3.4GHz and a memory of 16GB [19-21]. Besides, the denoising algorithms of mean filter, median filter and wavelet soft-threshold were also adopted to do a denoising analysis for FFA images, and the comparison of results is shown as Fig. (2).

The peak signal noise ratio(PSNR) was adopted to evaluate the effects of image denoising.

PSNR=10log1025521M×Nx=1My=1N[F(x,y)f(x,y)]2 (15)

Among which, F(x,y)  is the gray value of pixel point for ideal images, f(x,y) is the gray value of pixel point for denoised images. PSNR reflects the fidelity of noise images, and the bigger the value is, the protection for details is better. Because of the randomness of noise-adding for images, for every methods, the calculation was repeated ten times, and the mean PNSR of whose results was adopted, shown as Table 1.

Table 1.

PSNR values of image denoised by various methods.

WGN σ 0.05 0.1
Noisy image 20.1583 13.9004
The traditional method Mean filter 23.0227 19.5613
Median filter 25.4856 22.4482
The wavelet method Soft threshold 25.8712 21.9881
HMT 28.9977 25.8841

As is shown in experimental result, the algorithm adopted in this paper considered the energy sustainability and aggregation of wavelet coefficients among and inside the scales, which is better than the mean filter and median filter of single scale in denoising medical images. Besides, since the interrelationship among pixel points of images was taken onto consideration, its performance is better than wavelet soft-threshold, which can maintain the information details of FFA images to the largest extent and assist the clinical diagnosis of doctors better.

Fig. (3).

Fig. (3)

Performance comparison of various denoising methods.

ACKNOWLEDGEMENTS

This research was supported by the science and technology project of the Education Department of Shandong province (Grant No. J14LK55), and the science and technology project of Taian City of Shandong Province (Grant No. 20132104).

CONFLICT OF INTEREST

The authors confirm that this article content has no conflict of interest.

REFERENCES

  • 1.Liao L., Kuang L., Peng C. Fundus fluorescein angiography in the diagnosis of diabetic retinopathy in elderly. Chinese Journal of Gerontology. 2013;33(1):392–393. [Google Scholar]
  • 2.Yang Q.S., Rong D.Y., Tang L.S. etc. “Related analysis of some methods of checking diabetic retinopathy. Journal of Clinical Ophthalmology. 2010;18(6):498–501. [Google Scholar]
  • 3.Gong J.L., Li W.H., Kong X.Y. etc. “Analysis of coronary arteriographic and fluorescence fundus angiographic characteristics in type 2 diabetic patients with coronary heart disease. Chin J Endocrinol Metab. 2006;22(6):541–544. [Google Scholar]
  • 4.Chen X.Y., Song X. Fluorescein angiography in diagnosis of diabetic retinopathy. China Trop. Med. 2007;7(8):1372–1373. [Google Scholar]
  • 5.Liu G.H., Guo W.M. Application of improved arithmetic of median filtering denosing. Computer Engineering and Applications. 2010;46(10):187–189. [Google Scholar]
  • 6.Xu G.S., Huang X.B. Medical Image Denoising in Wavelet Based on a New Kind of Thresholding Function. Computer Knowledge and Technology. 2012;8(18):4492–4494. [Google Scholar]
  • 7.Zhang H.J., Chen X.D., Xing H.Y. MRI image denoising based on improved wavelet thresholding. Comput. Appl. (Nottm.) 2007;27(6):1465–1467. [Google Scholar]
  • 8.Xie J.C., Zhang D.L., Xu W.L. Overview on wavelet image denoising. Journal of Image and Graphics. 2002;7(3):209–217. [Google Scholar]
  • 9.Xie J.C., Zhang D.L., Xu W.L. Several improvements for a wavelet denoising method. J Tsinghua Univ. 2002;42(9):1269–1272. [Google Scholar]
  • 10.Donoho D.L., Johnstone I.M. Ideal spatial adaptation via wavelet domain. Biometrika. 1994;81(12):425–455. doi: 10.1093/biomet/81.3.425. [DOI] [Google Scholar]
  • 11.Romberg J.K., Choi H., Baraniuk R.G. Bayesian tree-structured image modeling using wavelet-domain hidden Markov models. IEEE Trans. Image Process. 2001;10(7):1056–1068. doi: 10.1109/83.931100. [DOI] [PubMed] [Google Scholar]
  • 12.Crouse M.S., Nowak R.D., Baraniuk R.C. Wavelet-based statistical signal processing using hidden Markov models. IEEE Trans. Signal Process. 1998;46(4):886–902. doi: 10.1109/78.668544. [DOI] [Google Scholar]
  • 13.Fu B., Wang X.H. Image Denoise Algorithm Based on Inter Correlation of Wavelet Coefficients at Finer Scales. Comput. Sci. 2008;35(10):246–249. [Google Scholar]
  • 14.Ingrid D. Ten Lectures on Wavelets. National Defence Industry Press; 2005. [Google Scholar]
  • 15.Cheng Z.X., Yang S.Z., Feng X.X. Development and application of the theory of wavelet analysis algorithm. National Defence Industry Press; 2007. [Google Scholar]
  • 16.Su T., Zhang D.F., Bi D.Y. Denoising method based on Wavelet-Domain Classified Hidden Markov Tree Model. Hongwai Yu Jiguang Gongcheng. 2005;34(2):232–235. [Google Scholar]
  • 17.Sun J.X., Zhao Y.M., Chen Y.Z. Bayesian Denoising of Ultrasound Image Based on Wavelet Domain Hidden arkov Tree Model. Journal of Image and Graphics. 2003;8(6):657–663. [Google Scholar]
  • 18.Li J., Zhang Y. An Improved Bayesian Wavelet Shrinkage Denoising. Instrumentation and Measurment. 2012;31(1):63–75. [Google Scholar]
  • 19.Zhang Y.J. Image Engineering. 2008.
  • 20.Zhang Z., Ni H.X. Digital Image Processing and Recognition. Posts and Telecom Press; 2013. [Google Scholar]
  • 21.Moler C.B. Numerical Computing with MATLAB. China Machine Press; 2006. [Google Scholar]

Articles from The Open Biomedical Engineering Journal are provided here courtesy of Bentham Science Publishers

RESOURCES