Next Article in Journal
Geometric Theory of Heat from Souriau Lie Groups Thermodynamics and Koszul Hessian Geometry: Applications in Information Geometry for Exponential Families
Next Article in Special Issue
Prediction of Bearing Fault Using Fractional Brownian Motion and Minimum Entropy Deconvolution
Previous Article in Journal
A Possible Ethical Imperative Based on the Entropy Law
Previous Article in Special Issue
Recognition of Abnormal Uptake through 123I-mIBG Scintigraphy Entropy for Paediatric Neuroblastoma Identification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Texture Segmentation Using Laplace Distribution-Based Wavelet-Domain Hidden Markov Tree Models

College of Information and Communication Engineering, Harbin Engineering University, No. 145 Nantong Street, Nangang District, Harbin 150001, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Entropy 2016, 18(11), 384; https://doi.org/10.3390/e18110384
Submission received: 24 May 2016 / Revised: 20 October 2016 / Accepted: 21 October 2016 / Published: 4 November 2016
(This article belongs to the Special Issue Wavelets, Fractals and Information Theory II)

Abstract

:
Multiresolution models such as the wavelet-domain hidden Markov tree (HMT) model provide a powerful approach for image modeling and processing because it captures the key features of the wavelet coefficients of real-world data. It is observed that the Laplace distribution is peakier in the center and has heavier tails compared with the Gaussian distribution. Thus we propose a new HMT model based on the two-state, zero-mean Laplace mixture model (LMM), the LMM-HMT, which provides significantly potential for characterizing real-world textures. By using the HMT segmentation framework, we develop LMM-HMT based segmentation methods for image textures and dynamic textures. The experimental results demonstrate the effectiveness of the introduced model and segmentation methods.

1. Introduction

Texture is an important component of natural images, which provides abundant cues for visual information recognition and understanding. It’s generally recognized that the image texture is defined as a function of the spatial variation in pixel gray values, which is useful in a variety of applications, such as medical image analysis, document processing and remotely sensed image analysis [1]. Recently, dynamic texture analysis has attracted much attention. Dynamic textures are video sequences of complex dynamical objects such as smoke, fire, sea waves, foliage waving in wind, moving escalators, and swinging flags, which exhibit certain stationary properties in time [2]. They provide important visual cues for various video processing problems. Therefore, texture analysis is still an important and interesting research field [3,4,5,6,7,8].
Image (video) segmentation attempts to partition an image (video) into regions, each of which has a reasonably homogeneous visual appearance or corresponds to an object or a part of the object [9]. Multiscale Bayesian approaches for texture segmentation have been proven efficient to integrate both features and the contextual information into the estimation of class labels. In [10,11], a tree-structured hidden Markov model, hidden Markov tree (HMT) model, was proposed in the wavelet-domain to achieve the statistical characterization of signals and images by capturing interscale dependencies of wavelet coefficients across scales. The multiscale dependencies tying together the hidden states assigned to the coefficients rather than their values, is the fundamental difference with other multiscale Markovian model. In [12], Durand presented an alternative upward-downward algorithm for smoothed probabilities, which is a true smoothing algorithm that is immune to underflow problems in the HMT model and whose complexity remains unchanged. The segmentation method derived in [13], HMTseg, has been proved as a very useful solution by combining the parametric wavelet-domain statistical modeling, direct likelihood calculation, and multiscale Bayesian decision fusion. In [14], Ye proposed a novel texture descriptor for vision-based smoke detection using a Surfacelet transform and 3D HMT model, proving that the HMT model can be used to obtain high detection accuracy, and has a wide range of applications, such as object recognition. In [15], Wang took advantage of the pyramidal dual-tree directional filter bank (PDTDFB) transform, and proposed a new color image segmentation algorithm based on PDTDFB domain HMT model.
In order to match the compression property of the wavelet transform that the majority of coefficients have small values and the minority of coefficients have large values, the marginal distribution f W ( w i ) of each coefficient node w i of the traditional HMT model is modeled as Gaussian mixture model (GMM) that is a mixture of Gaussian conditional distributions. In many applications, for example texture analysis and image restoration [16], the GMM has been proved to be effective. However, for the histograms of some image textures and dynamic textures, such as “Floor” shown in Figure 1, the Laplace mixture model (LMM) provides a better fitness to the histogram than the Gaussian mixture model, because the histogram is peakier in the center and has heavier tails. That is to say, LMM can describe the marginal distribution of f W ( w i ) better. The results on texture classification [17] and image denoising [18,19] also demonstrate the potential of Laplace distributions and their mixtures for the prior image. Therefore, we introduce Laplace mixture distribution-based HMT models to model the wavelet coefficient distributions of textures.
The rest of this paper is organized as follows: in Section 2, we briefly review the basic concepts of the Laplacian distribution, HMT models, and the multiscale image segmentation method based on HMT models. In Section 3, we propose the LMM-based HMT model and its parameter estimation. For more accurate texture characterization, we also use Laplace mixture distribution to describe the pixel-level texture. In Section 4, we introduce LMM-HMT-based image texture segmentation and dynamic texture segmentation. Experimental results are shown and analyzed in the fifth section, and then the conclusions are given in the last section.

2. Previous Works

2.1. Laplacian Distribution

The classical Laplacian distribution is symmetrical and leptokurtic (peaky), which is also referred to as the double exponential distribution and widely applied in many fields [20]. For example, it can be used to model the difference between the waiting times of two events generated by two random processes, describe breaking strength data, and model the differences in flood stages, etc. A Laplacian distribution has a probability density function (pdf):
l ( x ; a , b ) = 1 2 b exp [ | x a | b ] = 1 2 b { exp ( a x b )   x < a exp ( x a b )   x a
where a is the location parameter and b is the scale parameter. As shown in Figure 2, since a Laplacian distribution is represented by the absolute difference of all samples from their mean, while a Gaussian distribution is represented by the squared difference of all samples from their mean, the Laplacian distribution can be used for modeling data that have heavier tails than those of the Gaussian distribution.

2.2. HMT Models

For real images, the wavelet transform (decomposition) can be used to obtain the multiscale representation, which includes a scaling coefficient sub-band (LL) and three wavelet coefficient sub-bands, the horizontal sub-band (LH), vertical sub-band (HL), and diagonal sub-band (HH), at each level (scale). The histograms of the discrete wavelet transform (DWT) coefficients reveal sparsity, which means that the shape of the marginal probability distribution for wavelet coefficients is peaky in the center and heavy tailed with relatively few large coefficients corresponding to singularities and many small ones from smooth regions. Hence, we consider the collection of large coefficients as outcomes of a pdf with a large variance, and small coefficients as outcomes of a pdf with a small variance. In the wavelet-domain HMT model, this non-Gaussian nature is matched as a Gaussian mixture density with a hidden state that dictates whether a coefficient is large or small. Generally, the Gaussian mixture distribution model of the wavelet coefficient w i with M components is given as follows:
f ( w i ) = m = 1 M p S i ( m ) f ( w i |   S i = m )
where p S i ( m ) is the probability of the m-th hidden state (component), which represents the mixing coefficient or weight, m = 1 M p S i ( m ) = 1 . The function f ( w i | S i = m ) ~ N ( μ i , m , σ i , m 2 ) is a Gaussian density with mean μ i , m and variance σ i , m 2 . In the wavelet domain HMT model, M is always set to be 2 [10,13].
To capture the mutual dependencies between wavelet coefficients across scales, the HMT uses a probabilistic tree to model Markovian dependencies between the hidden states. Those dependencies tie together the hidden states assigned to the coefficients rather than their values. The values of the wavelet coefficients are the realizations of the Gaussian mixture density f ( w i ) . In general, these random variables are treated as independent given the hidden states due to the parameter estimation of HMT. In the pyramid quad-tree structure of the wavelet transform, four children wavelet coefficients divide the spatial localization of the parent coefficients. As shown as Figure 3, each white node denotes the hidden state variable S, and the black node represents a wavelet coefficient W that is a random variable, from which the HMT model is constructed.
An HMT model is specified in terms of the probability of a state at the root node in the coarsest scale, the state transition probabilities and the parameters of the pdf given the state. As shown in Figure 3, a complete image wavelet decomposition comprises three parallel quad-tree structures. With the sub-band independence assumption, a 2D image wavelet domain HMT model consists of three HMT’s [13]. For example, the HH directional sub-bands is characterized by a HMT model with the parameter set Θ H H = { p J ( m ) , ε i , ρ ( i ) m , n , μ i , m , σ i , m 2 | m , n = 0 , 1 ; i = 1 , , P } , in which p J ( m ) is the probablility of a state at the coarsest scale J, ε i , ρ ( i ) m , n is the state transition probability ( i > 1 ), m and n are used to denote the states, ρ ( i ) is the parent node of i, P is the total number of the wavelet coefficient of the quad-tree, μ i , m and σ i , m 2 are the parameters of the Guassian distribution. Thus the HMT model of a texture is parameterized by a parameter set = { Θ L H , Θ H L , Θ H H } , where Θ L H , Θ H L and Θ H H are parameters of LH, HL and HH directional sub-bands, respectively, which can be estimated with the tree-structure Expectation-Maximization (EM) algorithm [10,13,21].

2.3. EM Algorithm

It is assumed that there is a data set X = { x 1 , , x N } and these vectors are independent and identically distributed with the distribution p. Then we can construct the (log) likelihood function and estimate the unknown parameters Θ with the maximum likelihood method. However, it may impossible to find the analytical solution for many problems, for example, the parameter estimation of a mixture of distributions. The EM algorithm [22] is an alternative method of finding the maximum likelihood estimation of the parameters.
It is well known that the EM algorithm is for computing the maximum likelihood estimates from the incomplete data. The data set X is the observed samples. We call X the incomplete data. We assume that Z = ( X , Y ) is a complete data set. Our goal is to maximize the incomplete log-likelihood function l n ( p ( X | Θ ) ) . The EM algorithm decomposes this difficult maximization into an iteration between two simpler steps: the E step and the M step.
  • E step: Computes the conditional expectation of the complete log-likelihood, given the observed data X and the current estimate Θ ^ t as follows:
    Q ( Θ | Θ ^ t ) = E [ l n ( p ( X , Y | Θ ) ) | X , Θ ^ t ]
  • M step: Update the parameters by maximizing the function:
    Θ ^ t + 1 = argmax Θ   Q ( Θ | Θ ^ t )
These two steps are iterated as necessary. It is well known that each iteration of the EM algorithm is guaranteed to increase the log-likelihood. The EM algorithm is widely applied in the parameter estimation of the mixture of distributions and the HMT model.
The tree-structure Expectation-Maximization algorithm for 1-D HMT has been derived in [10], in which E-step, also called upward-downward algorithm, is to compute the join probability mass function of the hidden states, and M-step is to update the parameters. The reference [10] also gave the parameter estimation method for multiple wavelet trees. Choi [13] introduced the 2-D HMT model for the image segmentation and the corresponding parameter estimation method. The details can be referred to the works [10] and [13].

2.4. HMT Based Texture Segmentation

The HMT models based Bayesian segmentation method, called HMTseg, has been proposed in [11,13]. The HMTseg method makes use of the wavelet domain HMT model to characterize the statistical behavior of an image at multiple scales, in which the dependence among wavelet coefficient is further explored. Meanwhile, the class labels are determined by using the contex-based multiscale fusion. The segmentation method consists of three steps, raw maximum likelihood segmentation, context-based multiscale fusion, and pixel-level segmentation.

2.4.1. Raw Maximum Likelihood Segmentation

It uses the maximum likelihood (ML) classification to partition the dyadic square d i as follows:
c ^ i M L = arg max c { 1 , 2 , , N c } f ( d i | c )
c is the parameter set for the c-th texture class. N c is the total numer of the texture classes. The square d i consists of triple wavelet coefficient tree { T i L H , T i H L , T i H H } , in which, for example, T i H H is shown in Figure 3. Supposing each sub-band is mutual independence, there is:
f ( d i | c ) = f ( T i L H | Θ c L H )   f ( T i H L | Θ c H L ) f ( T i H H | Θ c H H )
For each of the subtree, the likelihoods f ( T i | Θ ) of all dyadic squares can obtain by using the calculated conditional likelihood f ( T i |   S i = m , Θ ) as follows:
f ( T i | Θ ) = m = 1 M f ( T i |   S i = m , Θ ) p ( S i = m | Θ )
in which p ( S i = m | Θ ) is hidden state probability for S i = m when given the parameter Θ .

2.4.2. Context-Based Multiscale Fusion

Due to the intrinsic property of the quadtree of the wavelet transform, if the coefficient at scale j is classified to class c, it is quite likely that it four children coefficients belong to the same class. The raw segmentation can be improved by considering the dependencies between the class decisions at different scales. Therefore, Choi [13] constructs the context labeling tree and fuse the interscale information with EM algorithm. Assuming that the class labels c j + 1 at the scale j + 1 have been determined, the collection of all contexts at scale j, v j , is defined as the function of c j + 1 . Choi [13] has employed a simplified context tree: each v i j at scale j will receive information from the parent label plus the parent’s eight nearest neighbors at scale j + 1. Specifically, each v i j contains two entries, the class label of the parent and the majority vote of the class labels of the parent plus its eight neighbors. Then, a Markov chain model v i j c i j d i j is built, and the multiscale information fusion can be realized by using the EM algorithm for context labeling tree.

2.4.3. Pixel-Level Segmentation

Because the size of a sub-band is one quarter of the original image, it requires a model for the pixel brightness of each texture image to complete the final segmentation. The original HMTseg method fits a nonzero mean Gaussian mixture distribution to the pixel values for each training texture and estimates the parameters with EM algorithm [23]. At the final level segmentation, the likelihood of each pixel is computed and the labels dependence between the finest scale level and the pixel level is the same as that of the context-based multiscale fusion stage.

3. LMM-HMT Based Description of Texture

3.1. LMM Based HMT Model

For any given set of wavelet coefficients, the two-state, zero-mean Gaussian mixture model may not provide a fit to f W ( w ) with the desired fidelity, we may improve accuracy by increasing the number of hidden states and allowing nonzero mean, but this also increases the computational complexity and becomes less robust accordingly [10]. To match the non-Gaussian nature of the wavelet coefficients of a texture more precisely and effectively, we utilize a mixture of Laplacian distribution instead of Gaussian mixture density. LMM can guarantee being peakier in the center and having heavier tails with least state variables, which fit the pdf of wavelet coefficients better than GMM, as shown in Figure 1. As GMM based HMT model, each coefficient is assigned with a hidden state variable S i = m , m { 0 , 1 } , state 0 corresponds to the Laplace function with zero mean and small value of the scale parameter, while state 1 corresponds to the Laplace function with zero mean and large value of the scale parameter. The Laplace probability density functions of each coefficient w i in state S i can be expressed as:
f ( w i | S i = m ) = l ( w i ; 0 , b m ) = 1 2 b m exp ( | w i | b m )
Therefore, an LMM-HMT model is specified in terms of the following parameters:
  • The probability of the state m at the root node in the coarsest scale p s 1 ( m ) ;
  • The state transition probability is:
    ε i , ρ ( i ) m , n = p S i | S ρ ( i ) ( S i = m | S ρ ( i ) = n ) .
    It is the conditional probability that S i is in state m given S ρ ( i ) = n , state variable S ρ ( i ) is the parent state of S i ;
  • The scale parameter b i , m , given S i = m .
We can also group these parameters for a sub-tree into a model parameter set Θ = { p s 1 ( m ) , ε i , ρ ( i ) m , n , b 1 , m , b i , m | m , n = 0 , 1 ; i = 2 , , P } (P is the number of wavelet coefficients of the sub-tree), and the LMM-HMT model of a texture that belongs to class c is parameterized by c = { Θ c L H , Θ c H L , Θ c H H } as the GMM-HMT model.

3.2. Parameter Estimation

In [10], Crouse introduced an Upward-Downward method based on the EM algorithm for estimating parameters of the HMT model. This algorithm used ML estimation of Gaussian mixture means and variances for the leaves of the tree instead of ML estimation of probability mass function (pmf) values in classical EM algorithm. According the parameters estimation framework, the parameters of the LMM-HMT model with two hidden states and the zero-mean Laplace mixture distribution are estimated by using EM algorithm.
For a single wavelet tree of a sub-band, we can make use of the Upward-Downward method [10] and the probability density distribution Equation (7) to obtain the desired conditional probabilities:
p ( S i = m | w , Θ ) = p ( S i = m , T 1 \ i | Θ ) f ( T i | S i = m , Θ ) n = 1 M p ( S i = n , T 1 \ i | Θ ) f ( T i | S i = n , Θ )
p ( S i = m , S ρ ( i ) = n | w , Θ ) = f ( T i | S i = m , Θ ) ϵ i , ρ ( i ) m n p ( S ρ ( i ) = n , T 1 \ i | Θ ) f ( T ρ ( i ) \ i | S ρ ( i ) = n , Θ ) n = 1 M p ( S i = n , T 1 \ i | Θ ) f ( T i | S i = n , Θ )
with the current parameters, where T 1 \ i is the set of wavelet coefficients obtained by removing the subtree T i from the entire wavelet coefficient tree T 1 . T 1 includes the whole wavelet coefficients in the wavelet tree. p ( · ) is used to denote the probablility.
At the E step of the EM algorithm, we apply the Upward-Downward method to each wavelet coefficient tree, and get the probabilities p ( S i k = m | w i k , Θ l ) and p ( S i k = m , S ρ ( i ) k = n | w i k , Θ l ) with the current parameters Θ l . Then, in the M step, the parameters are re-estimated with K wavelet trees as follows:
p S i ( m ) = 1 K k = 1 K p ( S i k = m | w i k , Θ l )
ϵ i , ρ ( i ) m n = k = 1 K p ( S i k = m , S ρ ( i ) k = n | w i k , Θ l ) K p S ρ ( i ) ( n )
b i , m = k = 1 K | w i k | p ( S i k = m | w i k , Θ l ) K p S i ( m )
As stated in [13], we also use the intra-tying for the parameter estimation of each HMT, that is to say, the same state transition probabilities and mixture scale parameters are used for all wavelet coefficients at the same scale. The complete parameter set of LMM-HMT model is estimated by applying the tree-structure EM algorithm to, for example, LH, HL and HH directional sub-bands of an image texture.

3.3. Pixel-Level Texture Description

After the raw segmentation with the wavelet-domain LMM-HMT models and the multiscale fusion, the pixel-level segmentation is necessary to obtain final result completely. In this paper, the pixel values are considered as the realizations of a random variable that obeys a Laplace mixture distribution instead of a Gaussian mixture. In order to describe the region property of the texture, the multivariate Laplace mixture distribution is used.
The Laplace distribution belongs to the exponential power distribution family. The density function of the multivariate exponential power (MEP) distributions is defined as [24]:
𝒫 ( x | μ , Σ , κ ) = | Σ | 1 2 exp { 1 2 [ ( x μ ) T Σ 1 ( x μ ) ] κ 2 }
where μ d , Σ d × d (a symmetric positive definite matrix) and:
= d Γ ( d 2 ) π d 2 Γ ( 1 + d κ ) 2 1 + d κ
Γ is Gamma Function. d presents the dimension. The shape of a MEP is strongly influenced by parameter κ , when κ = 2 , it is actually a Gaussian distribution; when κ = 1 , it becomes the multivariate Laplace distribution:
p ( x | μ , Σ ) = d Γ ( d 2 ) π d 2 Γ ( 1 + d ) 2 1 + d | Σ | 1 2 exp { 1 2 [ ( x μ ) T Σ 1 ( x μ ) ] 1 2 }
which is a generalized version of Equation (1). Therefore, the multivariate Laplace mixture distribution is:
p ( x | Ω ) = m = 1 M ω m   p m ( x | Ω m )
with the parameter set Ω = { ω 1 , , ω M , μ 1 , , μ M , Σ 1 , , Σ M } . Here, Ω m = { μ m , Σ m } is the parameter of the m-th Laplace density function of the mixture distribution. ω m is the weight value, and m = 1 M ω m = 1 . x is a vector. For each pixel i of a texture, a vector can be constructed by accumulating this pixel and its neighbors that is shown in Figure 4. The resulting vectors of the texture are modeled with the multivariate Laplace mixture distribution to describe the texture for the pixel level segmentation. If only the pixel i is considered, this mixture distribution becomes a scalar distribution. In generally, the large neighborhood includes more pixels, so we can obtain the better description of the texture. However, the small neighborhood is useful to accurately locate the boundary of different textures. Therefore, in this paper, we utilize the second order neighbor system as shown in Figure 4b.
Given a data set X = { x 1 , , x N } , the log-likelihood for the mixture distribution is given by:
( Ω | X ) = l n ( n = 1 N p ( x n | Ω ) ) = n = 1 N l n ( m = 1 M ω m   p m ( x n | Ω m ) )
where p m ( x n | Ω m ) follows multivariate Laplace distribution, and x n is the vector formed from the texture. Sascha [24] has estimated the parameters of the mixture of MEP distributions by using EM algorithm. Because multivariate Laplace distribution is a special case ( κ = 1 in Equation (16)) of the MEP distribution, we can easily obtain the estimated parameters as follows:
ω m = 1 N n = 1 N p n m
μ m = n = 1 N p n m ζ n m 1 / 2 x n n = 1 N p n m ζ n m 1 / 2
Σ m = n = 1 N p n m ζ n m 1 / 2 γ n m 2 n = 1 N p n m
with:
ζ n m = ( x n μ m ) T Σ m 1 ( x n μ m )
γ n m = ( x n μ m ) ( x n μ m ) T
p n m = p ( k | x n , Ω m ) = ω m   p m ( x n | Ω m ) j = 1 M ω j   p j ( x n | Ω j )

4. Texture Segmentation

After training the wavelet domain LMM-HMT model and pixel-level Laplace mixture distribution model for a homogeneous (image or dynamic) texture, we can use them to segment the heterogeneous texture. As mentioned in Section 2.4, the segmentation method includes three steps, raw maximum likelihood segmentation, context-based multiscale fusion, and pixel-level segmentation, which is shown in Figure 5. The differences between our method and HMTseg [13] are just the marginal distribution of HMT model and the pixel-level description. The implementation is summarized as follows.
(1)
Model training. For each texture class, we train the wavelet domain LMM-HMT model with the homogeneous texture samples by using EM algorithm as the Section 3.2, and obtain the model parameters c , in which c denotes the cth texture class. Meanwhile, the pixel-level multivariate Laplace mixture model parameters are gotten with Equations (19)–(24).
(2)
Raw maximum likelihood segmentation. For a heterogeneous texture to be segmented, the likelihood of each subtree at different scale can be computed by using the HMT likelihood computation method and the Equation (7). The raw segmentation c J at the coarest scale is accomplished by using Equation (5) with the trained LMM-HMT model parameters c .
(3)
Context-based multiscale fusion. At the scale j, the context vectors v i j s are constructed from the segmentation label c j + 1 at scale j + 1. The segmentation result c j is obtained by using EM algorithm and maximizing the contextual posterior distribution as the work [13].
(4)
Pixel-level segmentation. Compute the likelihood of each pixel with the trained pixel-level multivariate Laplace mixture models. Perform the context-based fusion scheme from the scale j = 1 to the pixel-level as the step (3). The output is the final segmentation result.

4.1. Image Texture Segmentation

The HMT model based segmentation method HMTseg and its improved versions have been applied in document image segmentation, aerial imagery segmentation and texture segmentation. Taking the texture property into account, we use the wavelet domain LMM-HMT model and Laplace mixture distribution model to describe the texture. Therefore, at the training stage, their parameters should be estimated with the Equations (11)–(13) and Equations (19)–(24), respectively. Then the method shown in Figure 5 is utilized to segment the homogeneous image texture.

4.2. Dynamic Texture Segmentation

As mentioned in the introduction section, dynamic textures are video sequences of complex dynamical objects. Dynamic texture segmentation addresses the problem of decomposing an image sequence into a collection of homogeneous texture regions. The introduced dynamic texture segmentation is based on spatial-temporal wavelet domain LMM-HMT and pixel-level multivariate Laplace mixture distribution model.
For 2-D wavelet transform, each low-frequency sub-band is decomposed into four sub-bands, one approximate sub-band and three detail sub-bands, which leads naturally to a quad-tree structure on the wavelet coefficients. Therefore, 2-D HMT model is formed as shown in Figure 3. However, for the spatial-temporal wavelet transform, each level transform results in one approximate sub-band and seven detail sub-bands as shown in Figure 6, from which the octree structure is formed. That is to say, each parent node is connected to its eight child wavelet coefficents. Therefore, there are seven parallel octree structures. The complete LMM-HMT model consists of seven LMM-HMT models, where each of them corresponds to one sub-band. The LMM-HMT model for the dynamic texture uses Markov chain to model the interscale dependences and the Laplace mixture distribution to characterize the wavelet coefficient. Then the LMM-HMT model is parameterized by = { Θ L L H , Θ L H L , Θ L H H , Θ H L L , Θ H L H , Θ H H L , Θ H H H } , where each parameter subset of is for a sub-band (For example, Θ L L H denotes the parameter set of sub-band LLH). For tractability reasons, we assume that the seven sub-bands of the spatial-temporal wavelet domain are statistically independence. Then for a dynamic texture belonging to class c, we can estimation the parameters for each sub-band with EM algorithm (Equations (11)–(13)), and obtain c = { Θ c L L H , Θ c L H L , Θ c L H H , Θ c H L L , Θ c H L H , Θ c H H L , Θ c H H H } of the complete LMM-HMT model.
The general segmentation method based on LMM-HMT model is shown in Figure 5. It is easy to extend LMM-HMT model based image texture segmentation method to the spatial-temporal wavelet domain LMM-HMT model based dynamic texture segmentation. We should put emphasis on the context labeling tree at the context-based interscale fusion stage. In this paper, the context labeling tree is constructed as shown Figure 7. The state of a wavelet coefficient at scale j − 1 is dependent on its parent plus eight neighbors and the states of the coefficients of the adjacent frames at scale j. Thus, context vector v j 1 is formed by accumulating the parent and the majority vote of all other 26 neighbors. Then, this context vector is used at the multiscale fusion stage.

5. Experimental Results

In order to evaluate the texture segmentation method based on the wavelet domain LMM-HMT model, we conduct the experiments on image texture segmentation and dynamic texture segmentation in this section. The synthetic textures are used as the exprimental materials, and the segmentation performance is determined by comparing the segmentation results and the ground truths. Specifically, we quantify the performance of texture segmentation by the percentage of pixels which are correctly segmented, it’s also called accuracy rate:
a c c u r a c y = N c o r r e c t N × 100 %
where N c o r r e c t is the number of correctly segmented pixels, N is the total pixel number of texture.

5.1. Image Texture Segmentation

The experimental heterogeneous texture images IT1–IT4 are shown in Figure 8a, which are synthesized with the Brodatz textures [25] and the ground truths. Firstly, we make use of 3-level Daubechies-1 wavelet transform, and then construct and train the LMM-HMTs (GMM-HMTs). Then we segment the texture images with the proposed method. The results are shown in Figure 8f. The segmentation results in Figure 8c are obtained by using GMM-HMT and GM model for pixel-level segmentation, while results in Figure 8d are obtained by using LMM-HMT and GM model for pixel level. The segmentation accuracy rates are listed in Table 1. It is demonstrated that the proposed method is better than wavelet domain GMM-HMT model based method.
In order to further test the performance of the introduced method, we also conduct other experiments on several synthetic image textures IT5–IT10 as shown in Figure 9. The accuracy rates of different segmentation methods are listed in Table 2, we can see that the method using LMM-HMT model performs better than general HMT algorithm in average.

5.2. Dynamic Texture Segmentation

The dynamic texture segmentation experiments are conducting on the synthesized videos that are constructed with the dyanmic textures of the DynTex dataset [26,27]. All videos consist of 64 frames, and the size of each frame is 176 × 168. The 3-level Daubechies-1 spatial-temporal wavelet transform is used to form the LMM-HMT model for describing the dynamic texture. For the multiscale fusion, we utilize the spatial-temporal parent neighbors (as shown in Figure 7) to construct the context labeling tree. The segmentation is implemented with the method mentioned in fourth section.
The three adjacent frames selected from a synthesized video consisting of two dynamic textures are shown in Figure 10a. After the raw segmentation and multiscale fusion stages, Figure 10b is the result by using the context labeling tree based on the ordinary spatial second-order neighbors (eight neighbors), while Figure 10c is the result by utilizing spatial-temporal parent neighbors based context labeling tree. It is can be seen that the segmentation accuracy rates has been improved.
We also verify the segmentation performance with different synthetic videos in Figure 11, Figure 12 and Figure 13. Each figure includes the original video (64 frames) to be segmented, the segmentation results by using the GMM-HMT and GM model based method, LMM-HMT and GM model based method, and LMM-HMT and LM model based method. The accuracy rate of each frame is calculated. The results are summarized in Table 3, in which “Max”, ”Min” and “Avg” denote the maximum, minimum and average segmentation accuracy rates of all frames, respectively. The introduced method shows potential for the dynamic texture segmentation.

6. Conclusions

In this paper, we introduce a wavelet domain HMT model fitting by a Laplacian mixture distribution instead of Gaussian conditions, from which the texture segmentation method is derived. Specifically, we make use of a LMM-HMT model to describe the wavelet coefficients and their interscale dependence, and the multivariate Laplacian mixture distribution to characterize the pixel values for pixel-level segmentation. For the dynamic texture segmentation, we also utilize the spatial-temporal parent neighbors to construct the context labeling tree, so as to improve the segmentation during multiscale fusion stage. The segmentation experiments are conducted on the image textures and dynamic textures, from which the performance of the proposed method is verified. The image texture analysis and applications based on the wavelet domain hidden Markov tree model have been intensively investigated in past years. This paper also tries to solve the dynamic texture segmentation problem by using the wavelet domain hidden Markov model. However, we process the dynamic texture (spatio-temporal image sequence) as a 3D volume data, which cannot effectively capture the dynamic texture property along the temporal domain. Therefore, a different spatio-temporal wavelet decomposition, such as different decomposition levels for spatial and temporal domains, and the corresponding hidden Markov model should be one of our future works. In addition, for the dynamic texture with slow change along the temporal domain, the Haar wavelet transform may result in some special sub-bands, in which almost all coefficients approach zero. It is difficult to model these sub-bands. Another wavelet basis-based wavelet domain representation for the dynamic texture should be studied for this case.

Acknowledgments

This work is partially supported by National Natural Science Foundation of China 61371175 and Fundamental Research Funds for the Central Universities HEUCFQ20150812. The authors also gratefully acknowledge the helpful comments and suggestions of the reviewers, which have improved the presentation.

Author Contributions

Both authors developed the method presented in this paper. Ganchao Zhao performed the experiments and data analysis, and wrote the paper. Both authors have read and approved the final manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Chen, J.; Zhao, G.Y.; Salo, M.; Rahtu, E.; Pietikainen, M. Automatic dynamic texture segmentation using local descriptors and optical flow. IEEE Trans. Image Proc. 2013, 22, 326–339. [Google Scholar] [CrossRef] [PubMed]
  2. Qiao, Y.L.; Weng, L.X. Hidden Markov model based dynamic texture classification. IEEE Signal Proc. Lett. 2015, 22, 509–512. [Google Scholar] [CrossRef]
  3. Wang, L.; Liu, J. Texture classification using multiresolution Markov random field models. Pattern Recognit. Lett. 1999, 20, 171–182. [Google Scholar] [CrossRef]
  4. Qiao, Y.L.; Wang, F.S. Wavelet-based dynamic texture classification using Gumbel distribution. Math. Probl. Eng. 2013, 2013, 762472. [Google Scholar] [CrossRef]
  5. Nelson, J.D.B.; Nafornta, C.; Isar, A. Semi-local scaling exponent estimation with box-penalty constraints and total-variation regularization. IEEE Trans. Image Proc. 2016, 25, 3167–3181. [Google Scholar] [CrossRef] [PubMed]
  6. Pustelnik, N.; Wendt, H.; Abry, P.; Dobigeon, N. Combining Local Regularity Estimation and Total Variation Optimization for Scale-Free Texture Segmentation. 2015; arXiv:1504.05776. [Google Scholar]
  7. Arbelaez, P.; Maire, M.; Fowlkes, C.; Malik, J. Contour detection and hierarchical image segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 2011, 33, 898–916. [Google Scholar] [CrossRef] [PubMed]
  8. Yuan, J.; Wang, D.; Cheriyadat, A.M. Factorization-based texture segmentation. IEEE Trans. Image Proc. 2015, 24, 3488–3496. [Google Scholar] [CrossRef] [PubMed]
  9. Sasidharan, R.; Menaka, D. Dynamic texture segmentation of video using texture descriptors and optical flow of pixels for automating monitoring in different environments. In Proceedings of the International Conference on Communication and Signal Processing, Melmaruvathur, India, 3–5 April 2013; pp. 841–846.
  10. Crouse, M.S.; Nowak, R.D.; Baraniuk, R.G. Wavelet-based statistical signal processing using hidden Markov models. IEEE Trans. Signal Proc. 1998, 46, 886–902. [Google Scholar] [CrossRef]
  11. Romberg, J.K.; Choi, H.; Baraniuk, R.G. Bayesian tree-structured image modeling using wavelet-domain hidden Markov models. IEEE Trans. Signal Proc. 2001, 10, 1056–1068. [Google Scholar] [CrossRef] [PubMed]
  12. Durand, J.B. Computational methods for hidden Markov tree models—An application to wavelet trees. IEEE Trans. Signal Proc. 2004, 52, 2551–2560. [Google Scholar] [CrossRef]
  13. Choi, H.; Baraniuk, R.G. Multiscale image segmentation using wavelet-domain hidden Markov Models. IEEE Trans. Signal Proc. 2001, 10, 1309–1321. [Google Scholar] [CrossRef] [PubMed]
  14. Ye, W.; Zhao, J.H.; Wang, S.; Wang, Y.; Zhang, D.Y.; Yuan, Z.Y. Dynamic texture based smoke detection using Surfacelet transform and HMT model. Fire Saf. J. 2015, 73, 91–101. [Google Scholar] [CrossRef]
  15. Wang, X.Y.; Sun, W.W.; Wu, Z.F.; Yang, H.Y.; Wang, Q.Y. Color image segmentation using PDTDFB domain hidden Markov tree model. Appl. Soft Comput. 2015, 29, 138–152. [Google Scholar] [CrossRef]
  16. Teodoro, A.; Bioucas-Dias, J.; Figueiredo, M. Image Restoration and Reconstruction Using Variable Splitting and Class-Adapted Image Priors. 2016; arXiv.1602.04052. [Google Scholar]
  17. Hajri, H.; Ilea, I.; Said, S.; Bombrun, L.; Berthoumieu, Y. Riemannian Laplace distribution on the space of symmetric positive definite matrices. Entropy 2016, 18, 98. [Google Scholar] [CrossRef]
  18. Nath, V.K.; Mahanta, A. Image denoising based on Laplace distribution with local parameters in Lapped transform domain. In Proceedings of the International Conference on Signal Processing and Multimedia Applications, Seville, Spain, 18–21 July 2011; pp. 1–6.
  19. Figueiredo, M.; Bioucas-Dias, J.; Nowak, R. Majorization-minimization algorithms for wavelet-based image restoration. IEEE Trans. Image Proc. 2007, 16, 2980–2991. [Google Scholar] [CrossRef]
  20. Huda, A.R.; Nadia, J.A. Some Bayes’ estimators for Laplace distribution under different loss functions. J. Babylon Univ. 2014, 22, 975–983. [Google Scholar]
  21. Bishop, C.M. Pattern Recognition and Machine Learning; Springer: New York, NY, USA, 2006. [Google Scholar]
  22. Dempster, A.P.; Laird, N.M.; Rubin, D.B. Maximum-likelihood from incomplete data via the EM algorithm. J. R. Stat. Soc. Ser. B 1977, 39, 1–38. [Google Scholar]
  23. Song, X.M.; Fan, G.L. Unsupervised Bayesian image segmentation using wavelet-domain hidden Markov models. In Proceedings of the International Conference on Image Processing, Barcelona, Spain, 14–17 September 2003; pp. 423–426.
  24. Brauer, S. A Probabilistic Expectation Maximization Algorithm for Multivariate Laplacian Mixtures. Master’s Thesis, Paderborn University, Paderborn, Germany, 2014. [Google Scholar]
  25. Brodatz, P. Textures: A Photographic Album for Artists & Designers; Dover: New York, NY, USA, 1966. [Google Scholar]
  26. Péteri, R.; Fazekas, S.; Huiskes, M.J. DynTex: A comprehensive database of dynamic textures. Pattern Recognit. Lett. 2010, 31, 1627–1632. [Google Scholar] [CrossRef]
  27. The DynTex Database. Available online: http://dyntex.univ-lr.fr/index.html (accessed on 26 October 2016).
Figure 1. (a) “Floor” texture and (b) its wavelet coefficient histogram fitted with two-state, zero mean Gaussian mixture model (GMM) and Laplace mixture model (LMM).
Figure 1. (a) “Floor” texture and (b) its wavelet coefficient histogram fitted with two-state, zero mean Gaussian mixture model (GMM) and Laplace mixture model (LMM).
Entropy 18 00384 g001
Figure 2. A Gaussian distribution and a Laplace distribution (zero mean and unit variance).
Figure 2. A Gaussian distribution and a Laplace distribution (zero mean and unit variance).
Entropy 18 00384 g002
Figure 3. 2-D hidden Markov tree (HMT) model.
Figure 3. 2-D hidden Markov tree (HMT) model.
Entropy 18 00384 g003
Figure 4. Neighbor system. (a) first-order 4-neighbor; (b) second-order 8-neighbor; (c) third-order 12-neighbor.
Figure 4. Neighbor system. (a) first-order 4-neighbor; (b) second-order 8-neighbor; (c) third-order 12-neighbor.
Entropy 18 00384 g004
Figure 5. The flow diagram of texture segmentation based on LMM-HMT model. As GMM-HMT base segmentation method, texture segmentation based on LMM-HMT model consists of the raw segmentation, the multiscale fusion and the pixel-level segmentation.
Figure 5. The flow diagram of texture segmentation based on LMM-HMT model. As GMM-HMT base segmentation method, texture segmentation based on LMM-HMT model consists of the raw segmentation, the multiscale fusion and the pixel-level segmentation.
Entropy 18 00384 g005
Figure 6. Spatial-temporal wavelet transform. There are one approximate sub-band and seven detail sub-bands after one-level wavelet decomposition of the dynamic texture.
Figure 6. Spatial-temporal wavelet transform. There are one approximate sub-band and seven detail sub-bands after one-level wavelet decomposition of the dynamic texture.
Entropy 18 00384 g006
Figure 7. The context labeling tree model for dynamic texture segmentation.
Figure 7. The context labeling tree model for dynamic texture segmentation.
Entropy 18 00384 g007
Figure 8. The results of texture image segmentation using GMM-HMT and LMM-HMT. (a) Textures to be segmented; (b) Ground truths; (c) The results using GMM-HMT model and pixel-level GM model; (d) The results using LMM-HMT model and pixel-level GM model; (e) Factorization [8] (the parameters are the same as that of the Texture Mosaics in Section IV of [8]. The better results can be obtained by adjusting the parameters for different textures); (f) The results using LMM-HMT and pixel-level LM model.
Figure 8. The results of texture image segmentation using GMM-HMT and LMM-HMT. (a) Textures to be segmented; (b) Ground truths; (c) The results using GMM-HMT model and pixel-level GM model; (d) The results using LMM-HMT model and pixel-level GM model; (e) Factorization [8] (the parameters are the same as that of the Texture Mosaics in Section IV of [8]. The better results can be obtained by adjusting the parameters for different textures); (f) The results using LMM-HMT and pixel-level LM model.
Entropy 18 00384 g008aEntropy 18 00384 g008b
Figure 9. Synthetic image textures: (a) IT5; (b) IT6; (c) IT7; (d) IT8; (e) IT9; (f) IT10.
Figure 9. Synthetic image textures: (a) IT5; (b) IT6; (c) IT7; (d) IT8; (e) IT9; (f) IT10.
Entropy 18 00384 g009
Figure 10. Results of multiscale fusion. (a) Three adjacent frames selected from a synthesized video; (b) Results with the context labeling tree based on the ordinary spatial second-order neighbors; (c) Result with the spatial-temporal parent neighbors based context labeling tree.
Figure 10. Results of multiscale fusion. (a) Three adjacent frames selected from a synthesized video; (b) Results with the context labeling tree based on the ordinary spatial second-order neighbors; (c) Result with the spatial-temporal parent neighbors based context labeling tree.
Entropy 18 00384 g010
Figure 11. Segmentation experiments. (a) Textures to be segmented; (b) The results using GMM-HMT model and pixel-level GM model; (c) The result using LMM-HMT model and pixel-level GM model; (d) The result using LMM-HMT and pixel-level LM model.
Figure 11. Segmentation experiments. (a) Textures to be segmented; (b) The results using GMM-HMT model and pixel-level GM model; (c) The result using LMM-HMT model and pixel-level GM model; (d) The result using LMM-HMT and pixel-level LM model.
Entropy 18 00384 g011aEntropy 18 00384 g011b
Figure 12. Segmentation experiments. (a) Textures to be segmented; (b) The results using GMM-HMT model and pixel-level GM model; (c) The result using LMM-HMT model and pixel-level GM model; (d) The result using LMM-HMT and pixel-level LM model.
Figure 12. Segmentation experiments. (a) Textures to be segmented; (b) The results using GMM-HMT model and pixel-level GM model; (c) The result using LMM-HMT model and pixel-level GM model; (d) The result using LMM-HMT and pixel-level LM model.
Entropy 18 00384 g012aEntropy 18 00384 g012b
Figure 13. Segmentation experiments. (a) Textures to be segmented; (b) The results using GMM-HMT model and pixel-level GM model; (c) The result using LMM-HMT model and pixel-level GM model; (d) The result using LMM-HMT and pixel-level LM model.
Figure 13. Segmentation experiments. (a) Textures to be segmented; (b) The results using GMM-HMT model and pixel-level GM model; (c) The result using LMM-HMT model and pixel-level GM model; (d) The result using LMM-HMT and pixel-level LM model.
Entropy 18 00384 g013aEntropy 18 00384 g013b
Table 1. Image texture segmentation performance comparison (accuracy rate: %).
Table 1. Image texture segmentation performance comparison (accuracy rate: %).
TextureGMM-HMTLMM-HMTFactorization [8]LMM-HMT with LM-Pixel
IT195.1795.3497.5296.21
IT296.5697.2996.8097.42
IT394.3294.6592.4395.04
IT496.0196.2395.2396.37
Table 2. Image texture segmentation results (accuracy rate: %).
Table 2. Image texture segmentation results (accuracy rate: %).
TextureGMM-HMTLMM-HMT with LM-Pixel
IT593.5594.74
IT693.6493.82
IT793.3793.56
IT895.4494.79
IT990.2889.14
IT1065.2966.73
Table 3. Dynamic texture segmentation results (accuracy rate: %).
Table 3. Dynamic texture segmentation results (accuracy rate: %).
TextureGMM-HMTLMM-HMT
GM-PixelLM-Pixel
MaxMinAvgMaxMinAvgMaxMinAvg
DT197.4192.9794.9297.2991.5296.1197.4593.5696.43
DT297.3390.3195.2396.5795.4395.9696.8596.2496.31
DT398.1494.9897.1998.9294.8597.0698.7895.8097.63

Share and Cite

MDPI and ACS Style

Qiao, Y.; Zhao, G. Texture Segmentation Using Laplace Distribution-Based Wavelet-Domain Hidden Markov Tree Models. Entropy 2016, 18, 384. https://doi.org/10.3390/e18110384

AMA Style

Qiao Y, Zhao G. Texture Segmentation Using Laplace Distribution-Based Wavelet-Domain Hidden Markov Tree Models. Entropy. 2016; 18(11):384. https://doi.org/10.3390/e18110384

Chicago/Turabian Style

Qiao, Yulong, and Ganchao Zhao. 2016. "Texture Segmentation Using Laplace Distribution-Based Wavelet-Domain Hidden Markov Tree Models" Entropy 18, no. 11: 384. https://doi.org/10.3390/e18110384

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