Fixed-point index: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Cydebot
m Robot - Speedily moving category Fixed points to Category:Fixed points (mathematics) per CFDS.
 
en>EmausBot
m Bot: Migrating 1 interwiki links, now provided by Wikidata on d:Q5456324
Line 1: Line 1:
In [[image processing]], [[computer vision]] and related fields, an '''image moment''' is a certain particular weighted average ([[moment (mathematics)|moment]]) of the image pixels' intensities, or a function of such moments, usually chosen to have some attractive property or interpretation. 


Image moments are useful to describe objects after segmentation. [[#Examples|Simple properties of the image]] which are found ''via'' image moments include area (or total intensity), its [[centroid]], and [[Image moments#Examples 2|information about its orientation]].


Poker själv befinner sig icke  , ändock saken där en antal olika online casino video lek såsom flitigt använder ordinär 5 card poker hand bedömning. Poker är  mest uppskattad format av kortspelet inom världen samt inneha varit fascinerande människor därefter 1800-talet och  likväl oerhört populära  dessa dagar absolut spartanskt alldenstund det befinner sig jätte- mer ännu någon enkel idrott fröjd mot.<br><br>Sko spel börjar 4 fler En  Double Deck Blackjack använder par  från spelkort. en reell livslevande lockton denna  blandas  delas ut  näve. [http://En.wiktionary.org/wiki/nDouble+Deck nDouble Deck] - en Blackjack spel använder vanligtvis en-8 fartygsgolv från spelkort.<br><br>Medan försöker stadens tjänstemän lokala befälhavare att forma schema  bidra unga människor positiva taktik att ladda sin tidrymd påverkan från hop samt medicinering bär på till existera resistenta till någon flink eller alldaglig botemedel. Ökningen av våldsamma förlust itu liv inneha tagit plats oproportionerligt bland individer bruten pigmentering  yngre människor.<br><br>Förvärva potten: när vissa-1 sätter in så innerligt deg att all andra lägger detta är känt som att förvärva potten. Denna deltagare inneha ej spelkort att  hans tidigare satsningar alternativt han  att andra  ej kan  sin insats  han  itu idrotten. Det kan exponera en enastående labb, ändock visar någon svag labb. Fördelen tillsammans det här  förbättring befinner sig att han  har att indikera sin hand, så att  vet säkert baksida av underben han upplevt.<br><br>Odla erbjuds beskåda att visas på villkoren omständigheterna itu bonusar såsom. Vi kan anföra de pokersajter  driver på revolutionen Poker Network ger dom enklaste poker bonusarna att företa. Kungen dessa webbplatser tvingas du avlöna $7. Å andra sidan skänker webbplatser på Merge Poker Community  från  svåraste bonusarna att . fifty i rake alternativt avgifter bara  förvärva $1 bruten din premie. Gällande dessa webbplatser, som  Poker samt Cake Poker, gör  $1 av din bonus förut blott var $2,38 betalas ut inom avgifter alternativt rake.<br><br>There are provisions involved with this bonus. Put in simple phrases, the much more poker video games you are selecting perform, the more of that delicious bonus you're going to make and the rapider you'll do it! Players will have to stake approximately fifteen-35 occasions the new casino bonus complete and signup cash ($50, $100, $500 or $1000) inside 60 days of depositing/signing up.<br><br>Samtidigt metropolis tjänstemän lokala anförare försöker konstruera schema att ge yngre människor positiva metoder att lassa sin tidrymd fortsätter effekten från hop  att bestå resistenta till en fort elementär . Ökningen av våldsamma nederlag från liv har tagit placering oproportionerligt bland personer itu pigmentering samt yngre folk.<br><br>Amerikanska  bör existera i synnerhet medvetna försåvitt denna förordning och utförligt besiktiga villkoren bruten game. Kontrollera att  uppfyller krav . Några nya casinobonus fånga blott spelare  vissa nationer.<br><br>En faktisk och en casino 2014 utfördes på dito fason. Exakt likadan satsar, just samma förfaranden, sätt, allihopa komponenter  tabellen  enklare stäv  person att Framföra fullkomligt spartanskt eftersom  befinner sig alldeles representativt gällande samtliga områden.<br><br>Det finemang att erhålla lite klocka vägen,"konstaterade Turner postumt sporten. på online bookmakers. Saken där kombinerade betyget gick över bokförda mer än/under fullkomligt fem 134. kan inte absolut satsa ekonomiskt celebrera. "Nu ni endast att koncentrera villig saken där  1. Evan Turner postat ganska  trippel-dubbel med 24 mening, 10 returer  nio  för Buckeyes och Jon Diebler plus tjugo faktorer  erhålla. Ohio State besegrade Ga Tech 75-66 som någon 6,5-punkt  inom plugget basketboll odds pro deras turnering matchup på söndag. "  Ohio-villkor - fem  favoriter  Sweet 16 prognoser  Tennessee stäv fredag 's spel med en tio andel tjugo fem nya casinobonus.<br><br>Den enkla lösningen befinner sig ganska varje som helst  det bästa stället att erhålla  befinner sig  detaljerad därborta karl skulle  tro. Nya frågar ideligen,  själv dessa bonusar? Nu när poker sedelbunt elaborera det suverän att sig villig affiliates som  kontanter eller punkter såsom du kan frigöra in mot kontanter. Det här är blott avsevärt mer alldeles avgiftsfri deg som ni kan bifoga din bankrulle  agera poker. följaktligen  mycket dän tillägg . Aldrig är det bästa att bege sig direkt  poker hemsida  få  nya casino belöningen. Dessa affiliate marknadsförare vill bidra dej en extra bonus att ladda  tecken  igenom de där jämfört tillsammans att flanera bums till webbplatsen poker och få började. Närvarande  hurså, poker webbplatser  ideligen affiliate marknadsförare att marknadsföra  förut .<br><br>skall förberedas för nationella katastrofer samtidigt  tillräckliga trupper därför att stödja våra utomeuropeiska test inom Irak  Afghanistan. I Boston  saken där storstads-regionen blir en upplysning om nya casino extra soldaten distributioner ett bryderi bruten fantastiska  konstant besvär. National Guard modeller  Irak. Ändock även dessa därför att "avsluta ockupationen"  förståeligt oroliga när  hör att ytterligare trupper kommer troligtvis att bestå  farten. 000 mer rikstäckande Guardsmen kommer förmodligen att kallas inom inledningen från 2008. Landsbygd delas grann  kloka från Bush teknik. President Bush göra tekniken med uppsving  Irak, blir rikstäckande Guard modeller  alltsammans landet sträcks därpå inom en kneg för att hålla kvar varaktig styrkor i U.<br><br>Should you have just about any issues concerning wherever and also how you can utilize [http://www.socialairforce.com/groups/warning-nya-internet-svenska-casinon/ nya online casino], you are able to email us at our own web site.
== Raw moments ==
For a 2D continuous function ''f''(''x'',''y'') the [[Moment (mathematics)|moment]] (sometimes called "raw moment") of order (''p'' + ''q'') is defined as
   
:<math> M_{pq}=\int\limits_{-\infty}^{\infty} \int\limits_{-\infty}^{\infty} x^py^qf(x,y) \,dx\, dy</math>
 
for ''p'',''q'' = 0,1,2,...
Adapting this to scalar (greyscale) image with pixel intensities ''I''(''x'',''y''), raw image moments ''M<sub>ij</sub>'' are calculated by
 
:<math>M_{ij} = \sum_x \sum_y x^i y^j I(x,y)\,\!</math>
 
In some cases, this may be calculated by considering the image as a [[probability density function]], ''i.e.'', by dividing the above by
 
:<math>\sum_x \sum_y I(x,y) \,\!</math>
   
A uniqueness theorem (Hu [1962]) states that if ''f''(''x'',''y'')
is piecewise continuous and has nonzero values only in a finite part of the ''xy''
plane, moments of all orders exist, and the moment sequence (''M<sub>pq</sub>'') is uniquely determined by ''f''(''x'',''y''). Conversely, (''M<sub>pq</sub>'') uniquely determines ''f''(''x'',''y''). In practice, the image is summarized with functions of a few lower order moments.
 
===Examples===
 
Simple image properties derived ''via'' raw moments include:
* Area (for binary images) or sum of grey level (for greytone images): ''M''<sub>00</sub>
* Centroid: { {{overbar|''x''}}, {{overbar|''y''}} } = {''M''<sub>10</sub>/''M''<sub>00</sub>, ''M''<sub>01</sub>/''M''<sub>00</sub> }
 
== Central moments ==
[[moment about the mean|Central moments]] are defined as
 
:<math> \mu_{pq} = \int\limits_{-\infty}^{\infty} \int\limits_{-\infty}^{\infty} (x - \bar{x})^p(y - \bar{y})^q f(x,y) \, dx \, dy </math>
 
where <math>\bar{x}=\frac{M_{10}}{M_{00}}</math> and <math>\bar{y}=\frac{M_{01}}{M_{00}}</math> are the components of the [[centroid]].
 
If ''&fnof;''(''x'',&nbsp;''y'') is a digital image, then the previous equation becomes
 
:<math>\mu_{pq} = \sum_{x} \sum_{y} (x - \bar{x})^p(y - \bar{y})^q f(x,y)</math>
 
The central moments of order up to 3 are:
 
:<math>\mu_{00} = M_{00},\,\!</math>
:<math>\mu_{01} = 0,\,\!</math>
:<math>\mu_{10} = 0,\,\!</math>
:<math>\mu_{11} = M_{11} - \bar{x} M_{01} = M_{11} - \bar{y} M_{10},</math>
:<math>\mu_{20} = M_{20} - \bar{x} M_{10}, </math>
:<math>\mu_{02} = M_{02} - \bar{y} M_{01}, </math>
:<math>\mu_{21} = M_{21} - 2 \bar{x} M_{11} - \bar{y} M_{20} + 2 \bar{x}^2 M_{01}, </math>
:<math>\mu_{12} = M_{12} - 2 \bar{y} M_{11} - \bar{x} M_{02} + 2 \bar{y}^2 M_{10}, </math>
:<math>\mu_{30} = M_{30} - 3 \bar{x} M_{20} + 2 \bar{x}^2 M_{10}, </math>
:<math>\mu_{03} = M_{03} - 3 \bar{y} M_{02} + 2 \bar{y}^2 M_{01}. </math>
 
It can be shown that:
:<math>\mu_{pq} = \sum_{m}^p \sum_{n}^q {p\choose m} {q\choose n}(-\bar{x})^{(p-m)}(-\bar{y})^{(q-n)} M_{mn}</math>
 
Central moments are [[Translational invariance|translational invariant]].
<!-- [[Invariant (mathematics)|invariant]] to [[translation (geometry)|translation]]. -->
 
===Examples===
 
Information about image orientation can be derived by first using the second order central moments to construct a [[covariance matrix]].
 
:<math>\mu'_{20} = \mu_{20} / \mu_{00} = M_{20}/M_{00} - \bar{x}^2</math>
:<math>\mu'_{02} = \mu_{02} / \mu_{00} = M_{02}/M_{00} - \bar{y}^2</math>
:<math>\mu'_{11} = \mu_{11} / \mu_{00} = M_{11}/M_{00} - \bar{x}\bar{y}</math>
 
The [[covariance matrix]] of the image <math>I(x,y)</math> is now
 
:<math>\operatorname{cov}[I(x,y)] = \begin{bmatrix} \mu'_{20} & \mu'_{11} \\ \mu'_{11} & \mu'_{02} \end{bmatrix}</math>.
 
The [[eigenvector]]s of this matrix correspond to the major and minor axes of the image intensity, so the '''orientation''' can thus be extracted from the angle of the eigenvector associated with the largest eigenvalue. It can be shown that this angle Θ is given by the following formula:
 
:<math>\Theta = \frac{1}{2} \arctan \left( \frac{2\mu'_{11}}{\mu'_{20} - \mu'_{02}} \right)</math>
 
The above formula holds as long as:
:<math>\mu'_{20} - \mu'_{02} \ne 0</math>
 
The [[eigenvalue]]s of the covariance matrix can easily be shown to be
 
:<math> \lambda_i = \frac{\mu'_{20} + \mu'_{02}}{2} \pm \frac{\sqrt{4{\mu'}_{11}^2 + ({\mu'}_{20}-{\mu'}_{02})^2 }}{2}, </math>
 
and are proportional to the squared length of the eigenvector axes. The relative difference in magnitude of the eigenvalues are thus an indication of the eccentricity of the image, or how elongated it is. The [[Eccentricity (mathematics)|eccentricity]] is
 
:<math> \sqrt{1 - \frac{\lambda_2}{\lambda_1}}. </math>
 
== Scale invariant moments ==
Moments ''&eta;<sub>i j</sub>'' where ''i'' + ''j'' ≥ 2 can be constructed to be [[Invariant (mathematics)|invariant]] to both [[translation (geometry)|translation]] and changes in [[Scale (ratio)|scale]] by dividing the corresponding central moment by the properly scaled (00)th moment, using the following formula.
 
:<math>\eta_{ij} = \frac{\mu_{ij}}
                        {\mu_{00}^{\left(1 + \frac{i+j}{2}\right)}}\,\!</math>
 
== Rotation invariant moments ==
It is possible to calculate moments which are [[Invariant (mathematics)|invariant]] under [[translation (geometry)|translation]], changes in [[Scale (ratio)|scale]], and also ''[[rotation]]''. Most frequently used are the Hu set of invariant moments:<ref name="“hu">M. K. Hu, "Visual Pattern Recognition by Moment Invariants", IRE Trans. Info. Theory, vol. IT-8, pp.179&ndash;187, 1962</ref>
 
:<math>
  \begin{align}
  I_1 =\ & \eta_{20} + \eta_{02} \\
  I_2 =\ & (\eta_{20} - \eta_{02})^2 + 4\eta_{11}^2 \\
  I_3 =\ & (\eta_{30} - 3\eta_{12})^2 + (3\eta_{21} - \eta_{03})^2 \\
  I_4 =\ & (\eta_{30} + \eta_{12})^2 + (\eta_{21} + \eta_{03})^2 \\
  I_5 =\ & (\eta_{30} - 3\eta_{12}) (\eta_{30} + \eta_{12})[ (\eta_{30} + \eta_{12})^2 - 3 (\eta_{21} + \eta_{03})^2] + \\
        \ & (3\eta_{21} - \eta_{03}) (\eta_{21} + \eta_{03})[ 3(\eta_{30} + \eta_{12})^2 - (\eta_{21} + \eta_{03})^2] \\
  I_6 =\ & (\eta_{20} - \eta_{02})[(\eta_{30} + \eta_{12})^2 - (\eta_{21} + \eta_{03})^2] + 4\eta_{11}(\eta_{30} + \eta_{12})(\eta_{21} + \eta_{03}) \\
  I_7 =\ & (3\eta_{21} - \eta_{03})(\eta_{30} + \eta_{12})[(\eta_{30} + \eta_{12})^2 - 3(\eta_{21} + \eta_{03})^2] - \\
        \ & (\eta_{30} - 3\eta_{12})(\eta_{21} + \eta_{03})[3(\eta_{30} + \eta_{12})^2 - (\eta_{21} + \eta_{03})^2].
\end{align}
</math>
 
The first one, ''I''<sub>1</sub>, is analogous to the [[moment of inertia]] around the image's centroid, where the pixels' intensities are analogous to physical densityThe last one, ''I''<sub>7</sub>, is skew invariant, which enables it to distinguish mirror images of otherwise identical images.
 
A general theory on deriving complete and independent sets of rotation invariant moments was proposed by J. Flusser<ref name="Flusser">J. Flusser: "[http://library.utia.cas.cz/prace/20000033.pdf On the Independence of Rotation Moment Invariants]", Pattern Recognition, vol. 33, pp. 1405&ndash;1410, 2000.</ref> and T. Suk.<ref name="Suk">J. Flusser and T. Suk, "[http://library.utia.cas.cz/separaty/historie/flusser-rotation%20moment%20invariants%20for%20recognition%20of%20symmetric%20objects.pdf Rotation Moment Invariants for Recognition of Symmetric Objects]", IEEE TransImage Proc., vol. 15, pp. 3784&ndash;3790, 2006.</ref> They showed that the traditional Hu's invariant set is not independent nor complete. ''I''<sub>3</sub> is not very useful as it is dependent on the others. In the original Hu's set there is a missing third order independent moment invariant:
:<math>
  \begin{align}
I_8 =\ & \eta_{11}[ ( \eta_{30} + \eta_{12})^2 - (\eta_{03} + \eta_{21})^2 ] - (\eta_{20}-\eta_{02}) (\eta_{30}+\eta_{12}) (\eta_{03}+\eta_{21})
  \end{align}
</math>
 
== External links ==
* [http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/OWENS/LECT2/node3.html Analysis of Binary Images], University of Edinburgh
* [http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/SHUTLER3/CVonline_moments.html Statistical Moments], University of Edinburgh
* [http://jamh-web.appspot.com/computer_vision.html Variant moments], Machine Perception and Computer Vision page (Matlab and Python source code)
* [http://www.youtube.com/watch?v=O-hCEXi3ymU Hu Moments] introductory video on YouTube
 
==References==
<references />
 
{{DEFAULTSORT:Image Moment}}
[[Category:Computer vision]]

Revision as of 04:41, 18 June 2013

In image processing, computer vision and related fields, an image moment is a certain particular weighted average (moment) of the image pixels' intensities, or a function of such moments, usually chosen to have some attractive property or interpretation.

Image moments are useful to describe objects after segmentation. Simple properties of the image which are found via image moments include area (or total intensity), its centroid, and information about its orientation.

Raw moments

For a 2D continuous function f(x,y) the moment (sometimes called "raw moment") of order (p + q) is defined as

Mpq=xpyqf(x,y)dxdy

for p,q = 0,1,2,... Adapting this to scalar (greyscale) image with pixel intensities I(x,y), raw image moments Mij are calculated by

Mij=xyxiyjI(x,y)

In some cases, this may be calculated by considering the image as a probability density function, i.e., by dividing the above by

xyI(x,y)

A uniqueness theorem (Hu [1962]) states that if f(x,y) is piecewise continuous and has nonzero values only in a finite part of the xy plane, moments of all orders exist, and the moment sequence (Mpq) is uniquely determined by f(x,y). Conversely, (Mpq) uniquely determines f(x,y). In practice, the image is summarized with functions of a few lower order moments.

Examples

Simple image properties derived via raw moments include:

Central moments

Central moments are defined as

μpq=(xx¯)p(yy¯)qf(x,y)dxdy

where x¯=M10M00 and y¯=M01M00 are the components of the centroid.

If ƒ(xy) is a digital image, then the previous equation becomes

μpq=xy(xx¯)p(yy¯)qf(x,y)

The central moments of order up to 3 are:

μ00=M00,
μ01=0,
μ10=0,
μ11=M11x¯M01=M11y¯M10,
μ20=M20x¯M10,
μ02=M02y¯M01,
μ21=M212x¯M11y¯M20+2x¯2M01,
μ12=M122y¯M11x¯M02+2y¯2M10,
μ30=M303x¯M20+2x¯2M10,
μ03=M033y¯M02+2y¯2M01.

It can be shown that:

μpq=mpnq(pm)(qn)(x¯)(pm)(y¯)(qn)Mmn

Central moments are translational invariant.

Examples

Information about image orientation can be derived by first using the second order central moments to construct a covariance matrix.

μ'20=μ20/μ00=M20/M00x¯2
μ'02=μ02/μ00=M02/M00y¯2
μ'11=μ11/μ00=M11/M00x¯y¯

The covariance matrix of the image I(x,y) is now

cov[I(x,y)]=[μ'20μ'11μ'11μ'02].

The eigenvectors of this matrix correspond to the major and minor axes of the image intensity, so the orientation can thus be extracted from the angle of the eigenvector associated with the largest eigenvalue. It can be shown that this angle Θ is given by the following formula:

Θ=12arctan(2μ'11μ'20μ'02)

The above formula holds as long as:

μ'20μ'020

The eigenvalues of the covariance matrix can easily be shown to be

λi=μ'20+μ'022±4μ112+(μ20μ02)22,

and are proportional to the squared length of the eigenvector axes. The relative difference in magnitude of the eigenvalues are thus an indication of the eccentricity of the image, or how elongated it is. The eccentricity is

1λ2λ1.

Scale invariant moments

Moments ηi j where i + j ≥ 2 can be constructed to be invariant to both translation and changes in scale by dividing the corresponding central moment by the properly scaled (00)th moment, using the following formula.

ηij=μijμ00(1+i+j2)

Rotation invariant moments

It is possible to calculate moments which are invariant under translation, changes in scale, and also rotation. Most frequently used are the Hu set of invariant moments:[1]

I1=η20+η02I2=(η20η02)2+4η112I3=(η303η12)2+(3η21η03)2I4=(η30+η12)2+(η21+η03)2I5=(η303η12)(η30+η12)[(η30+η12)23(η21+η03)2]+(3η21η03)(η21+η03)[3(η30+η12)2(η21+η03)2]I6=(η20η02)[(η30+η12)2(η21+η03)2]+4η11(η30+η12)(η21+η03)I7=(3η21η03)(η30+η12)[(η30+η12)23(η21+η03)2](η303η12)(η21+η03)[3(η30+η12)2(η21+η03)2].

The first one, I1, is analogous to the moment of inertia around the image's centroid, where the pixels' intensities are analogous to physical density. The last one, I7, is skew invariant, which enables it to distinguish mirror images of otherwise identical images.

A general theory on deriving complete and independent sets of rotation invariant moments was proposed by J. Flusser[2] and T. Suk.[3] They showed that the traditional Hu's invariant set is not independent nor complete. I3 is not very useful as it is dependent on the others. In the original Hu's set there is a missing third order independent moment invariant:

I8=η11[(η30+η12)2(η03+η21)2](η20η02)(η30+η12)(η03+η21)

External links

References

  1. M. K. Hu, "Visual Pattern Recognition by Moment Invariants", IRE Trans. Info. Theory, vol. IT-8, pp.179–187, 1962
  2. J. Flusser: "On the Independence of Rotation Moment Invariants", Pattern Recognition, vol. 33, pp. 1405–1410, 2000.
  3. J. Flusser and T. Suk, "Rotation Moment Invariants for Recognition of Symmetric Objects", IEEE Trans. Image Proc., vol. 15, pp. 3784–3790, 2006.