Alveolar air equation

From formulasearchengine
Revision as of 09:53, 7 July 2013 by en>Frze (Undid revision 562839149 by 212.250.25.123 (talk))
Jump to navigation Jump to search

Template:Orphan


concept chart of EigenMoment algorithm
Signal space is transformed into moment space, i.e. Geometric Moments, then it is transformed into noise space in which axes with lowest rate of noise are retained and finally transformed into feature space

EigenMoments[1] is a set of orthogonal, noise robust, invariant to rotation, scaling and translation and distribution sensitive moments. Their application can be found in signal processing and computer vision as descriptors of the signal or image. The descriptors can later be used for classification purposes.

It is obtained by performing orthogonalization, via eigen analysis on geometric moments.[2]

Framework summary

EigenMoments are computed by performing eigen analysis on the moment space of an image by maximizing Signal to Noise Ratio in the feature space in form of Rayleigh quotient.

This approach has several benefits in Image processing applications:

  1. Dependency of moments in the moment space on the distribution of the images being transformed, ensures decorrelation of the final feature space after eigen analysis on the moment space.
  2. The ability of EigenMoments to take into account distribution of the image makes it more versatile and adaptable for different genres.
  3. Generated moment kernels are orthogonal and therefore analysis on the moment space becomes easier. Transformation with orthogonal moment kernels into moment space is analogous to projection of the image onto a number of orthogonal axes.
  4. Nosiy components can be removed. This makes EigenMoments robust for classification applications.
  5. Optimal information compaction can be obtained and therefore a few number of moments are needed to characterize the images.

Problem formulation

Assume that a signal vector sn is taken from a certain distribution having coorelation Cn×n,i.e. C=E[ssT] where E[.] denotes expected value.

Dimension of signal space, n, is often too large to be useful for practical application such as pattern classification, we need to transform the signal space into a space with lower dimensionality.

This is performed by a two-step linear transformation:

q=WTXTs,

where q=[q1,...,qn]Tk is the transformed signal, X=[x1,...,xn]Tn×m a fixed transformation matrix which transforms the signal into the moment space, and W=[w1,...,wn]Tm×k the transformation matrix which we are going to determine by maximizing the SNR of the feature space resided by q. For the case of Geometric Moments, X would be the monomials. If m=k=n, a full rank transformation would result, however usually we have mn and km. This is specially the case when n is of high dimensions.

Finding W that maximizes the SNR of the feature space:

SNRtransform=wTXTCXwwTXTNXw,

where N is the correlation matrix of the noise signal. The problem can thus be formulated as

w1,...,wk=argmaxwwTXTCXwwTXTNXw

subject to constraints:

wiTXTNXwj=δij, where δij is the Kronecker delta.

It can be observed that this maximization is Rayleigh quotient by letting A=XTCX and B=XTNX and therefore can be written as:

w1,...,wk=argmaxxwTAwwTBw, wiTBwj=δij

Rayleigh quotient

Optimization of Rayleigh quotient[3][4] has the form:

maxwR(w)=maxwwTAwwTBw

and A and B, both are symmetric and B is positive definite and therefore invertibale. scaling w does not change the value of the object function and hence and additional scalar constraint wTBw=1 can be imposed on w and no solution would be lost when the objective function is optimized.

This constraint optimization problem can be solved using Lagrangian multiplier:

maxwwTAw subject to wTBw=1

maxw(w)=maxw(wTAwλwTBw)

equating first derivative to zero and we will have:

Aw=λBw

which is an instance of Generelized Eigenvalue Problem(GEP). The GEP has the form:

Aw=λBw

for any pair (w,λ) that is a solution to above equation, w is called a generalized eigenvector and λ is called a generalized eigenvalue.

Finding w and λ that satisfies this equations would produce the result which optimizes Rayleigh quotient.

One way of maximizing Rayleigh quotient is through solving the Generalized Eigen Problem. Dimension reduction can be performed by simply choosing the first components wi, i=1,...,k, with the highest values for R(w) out of the m components, and discard the rest. Interpretation of this transformation is rotating and scaling the moment space, transforming it into a feature space with maximized SNR and therefore, the first k components are the components with highest k SNR values.

The other method to look at this solution is to use the concept of simultaneous diagonalization instead of Generalized Eigen Problem.

Simultaneous diagonalization

  1. Let A=XTCX and B=XTNX as mentioned earlier. We can write W as two separate transformation matrices:

W=W1W2.

  1. W1 can be found by first diagonalize B:

PTBP=DB.


Where DB is a diagonal matrix sorted in increasing order. Since B is positive definite, thus DB>0. We can discard those eigenvalues that large and retain those close to 0, since this means the energy of the noise is close to 0 in this space, at this stage it is also possible to discard those eigenvectors that have large eigenvalues.

Let P^ be the first k columns of P, now PT^BP^=DB^ where DB^ is the k×k principal submatrix of DB.

  1. Let

W1=P^DB^1/2


and hence:

W1TBW1=(P^DB^1/2)TB(P^DB^1/2)=I.


W1 whiten B and reduces the dimensionality from m to k. The transformed space resided by q=W1TXTs is called the noise space.

  1. Then, we diagonalize W1TAW1:

W2TW1TAW1W2=DA,

where W2TW2=I. DA is the matrix with eigenvalues of W1TAW1 on its diagonal. We may retain all the eigenvalues and their corresponding eigenvectors since the most of the noise are already discarded in previous step.

  1. Finally the transformation is given by:

W=W1W2

where W diagonalizes both the numerator and denominator of the SNR,

WTAW=DA, WTBW=I and the transformation of signal s is defined as q=WTXTs=W2TW1TXTs.

Information loss

To find the information loss when we discard some of the eigenvalues and eigenvectors we can perform following analysis:

η=1trace(W1TAW1)trace(DB1/2PTAPDB1/2)=1trace(DB^1/2P^TAP^DB^1/2)trace(DB1/2PTAPDB1/2)

Eigenmoments

Eigenmoments are derived by applying the above framework on Geometric Moments. They can be derived for both 1D and 2D signals.

1D signal

If we let X=[1,x,x2,...,xm1], i.e. the monomials, after the transformation XT we obtain Geometric Moments, denoted by vector M, of signal s=[s(x)],i.e. M=XTs.

In practice it is difficult to estimate the correlation signal due to insufficient number of samples, therefore parametric approaches are utilized.

One such model can be defined as:

r(x1,x2)=r(0,0)ec(x1x2)2,

Model for correlation in signal
Plot of the parametric model which predicts correlations in the input signal. r(x1,x2)=r(0,0)ec(x1x2)2

where r(0,0)=E[tr(ssT)]. This model of correlation can be replaced by other models however this model covers general natural images.

Since r(0,0) does not affect the maximization it can be dropped.

A=XTCX=1111[x1jx2iec(x1x2)2]i,j=0i,j=m1dx1dx2

The correlation of noise can be modelled as σn2δ(x1,x2), where σn2 is the energy of noise.Again σn2 can be dropped because the constant does not have any effect on the maximization problem.

B=XTNX=1111[x1jx2iδ(x1,x2)]i,j=0i,j=m1dx1dx2 B=XTNX=11[x1j+i]i,j=0i,j=m1dx1=XTX

Using the computed A and B and applying the algorithm discussed in previous section we find W and set of transformed monomials Φ=[ϕ1,...,ϕk]=XW which produces the moment kernels of EM. The moment kernels of EM decorrelate the correlation in the image.

ΦTCΦ=(XW)TC(XW)=DC,

and are orthogonal:

ΦTΦ=(XW)T(XW)=WTXTX=WTXTNXW=WTBW=I

Example computation

Taking c=0.5, the dimension of moment space as m=6 and the dimension of feature space as k=4, we will have:

W=(0.000.77450.89602.86694.46220.00.00.00.07.92722.45234.022520.65050.00.00.00.09.27890.12390.509218.45820.00.0)

and

ϕ1=2.8669x4.0225x30.5092x5ϕ2=4.4622x+20.6505x318.4582x5ϕ3=0.7745+7.9272x29.2789x4ϕ4=0.8960+2.4523x20.1239x4

2D signal

The derivation for 2D signal is the same as 1D signal except that conventional Geometric Moments are directly employed to obtain the set of 2D EigenMoments.

The definition of Geometric Moments of order (p+q) for 2D image signal is:

mpq=1111xpyqf(x,y)dxdy.

which can be denoted as M={mj,i}i,j=0i,j=m1. Then the set of 2D EigenMoments are:

Ω=WTMW,

where Ω={Ωj,i}i,j=0i,j=k1 is a matrix that contains the set of EigenMoments.

Ωj,i=Σr=0m1Σs=0m1wr,jws,imr,s.

EigenMoment invariants (EMI)

In order to obtain a set of moment invariants we can use normalized Geometric Moments M^ instead of M.

Normalized Geometric Moments are invariant to Rotation,Scaling and Transformation and defined by:

m^pq=αp+q+21111[(xxc)cos(θ)+(yyc)sin(θ)]p=×[(xxc)sin(θ)+(yyc)cos(θ)]q=×f(x,y)dxdy,

where:(xc,yc)=(m10/m00,m01/m00) is the centroid of the image f(x,y) and

α=[m00S/m00]1/2θ=12tan12m11m20m02.

m00S in this equation is a scaling factor depending on the image. m00S is usually set to 1 for binary images.

See also

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

External links

  1. Pew-Thian Yap, Raveendran Paramesran, Eigenmoments, Pattern Recognition, Volume 40, Issue 4, April 2007, Pages 1234-1244, ISSN 0031-3203, 10.1016/j.patcog.2006.07.003.
  2. M. K. Hu, "Visual Pattern Recognition by Moment Invariants", IRE Trans. Info. Theory, vol. IT-8, pp.179–187, 1962
  3. T. De Bie, N. Cristianini, R. Rosipal, Eigenproblems in pattern recognition, in: E. Bayro-Corrochano (Ed.), Handbook of Computational Geometry for Pattern Recognition, Computer Vision, Neurocomputing and Robotics, Springer, Heidelberg, 2004G.
  4. Strang, Linear Algebra and Its Applications, second ed., Academic Press, New York, 1980.