SLIDE 7 Introduction Imaging Geometry Features Feature Description Recognition Wrap-up
Moments
Statistical moments are in general defined as: mn =
L−1
xn
i g(xi)
The mean is then m1 =
L−1
xig(xi) Central moments are defined as µn =
L−1
(xi − m1)ng(xi) In two dimensions µmn
L−1
K−1
(xi − m10)m(yj − m01)ng(xi, yj)
- H. I. Christensen (RIM@GT)
Vision February 12, 2008 25 / 37 Introduction Imaging Geometry Features Feature Description Recognition Wrap-up
Well-known moments
Standard deviation σ = √µ2 =
(xi − m1)2g(xi) Skewness - µ3 - indicates the symmetry of the distribution, value 0 = perfect symmetry Normalized central moments of order (p+q) νpq = µpq mγ
pq
where γ = p+q
2
+ 1 Moments are widely used for characterization of regions and for standard tasks
- H. I. Christensen (RIM@GT)
Vision February 12, 2008 26 / 37 Introduction Imaging Geometry Features Feature Description Recognition Wrap-up
Least Square Line Fitting
Assume g(x,y) = 1 where we have the line elements If we have computed µ20, µ11, µ02, µ10, µ01, µ00 We want to estimate a line of the form y = a + bx The regressions can be computed as b = µ11 µ20 a = µ01 − bµ10 Quality of fit defined as r2 r2 = µ2
11
µ02µ20
- H. I. Christensen (RIM@GT)
Vision February 12, 2008 27 / 37 Introduction Imaging Geometry Features Feature Description Recognition Wrap-up
Other use of moments
Characterization of image texture Variance, Cross correlation, ... allow pattern matching Ellipse matching - major / minor axes of a region A rich and easy to use descriptor
- H. I. Christensen (RIM@GT)
Vision February 12, 2008 28 / 37