Size function: Difference between revisions

Content deleted Content added
m Main properties: Change to normal bullet points
Link suggestions feature: 3 links added.
Tags: Visual edit Mobile edit Mobile web edit Newcomer task Suggested: add links
 
(17 intermediate revisions by 11 users not shown)
Line 1:
{{Short description|Shape descriptions in a geometrical/topological sense}}
{{Use dmy dates|date=OctoberJuly 20122022}}
'''Size functions''' are shape descriptors, in a geometrical/topological sense. They are functions from the half-plane <math>x<y</math> to the natural numbers, counting certain [[Connected component (topology)|connected componentscomponent]]s of a [[topological space]]. They are used in [[pattern recognition]] and [[topology]].
 
==Formal definition==
In [[size theory]], the '''size function''' <math>\ell_{(M,\varphi)}:\Delta^+=\{(x,y)\in \mathbb{R}^2:x<y\}\to \mathbb{N}</math> associated with the [[size pair]] <math>(M,\varphi:M\to \mathbb{R})</math> is defined in the following way. For every <math>(x,y)\in \Delta^+</math>, <math>\ell_{(M,\varphi)}(x,y)</math> is equal to the number of connected components of the set
<math>\{p\in M:\varphi(p)\le y\}</math> that contain at least one point at which the [[measuring function]] (a [[continuous function]] from a [[topological space]] <math>M</math> to <math>\mathbb{R}^k</math>
<ref name="FroLa99">Patrizio Frosini and Claudia Landi, ''Size Theory as a Topological Tool for Computer Vision'', Pattern Recognition And Image Analysis, 9(4):596–603, 1999.</ref>
<ref name="FroMu99">Patrizio Frosini and Michele Mulazzani, ''Size homotopy groups for computation of natural size distances'', [[Bulletin of the Belgian Mathematical Society]], 6:455–464 1999.</ref>) <math>\varphi</math> takes a value smaller than or equal to <math>x</math>
Line 10 ⟶ 11:
The concept of size function can be easily extended to the case of a measuring function <math>\varphi:M\to \mathbb{R}^k</math>, where <math>\mathbb{R}^k</math> is endowed with the usual partial order
.<ref name="BiCeFr08">Silvia Biasotti, Andrea Cerri, Patrizio Frosini, Claudia Landi, ''Multidimensional size functions for shape comparison'', Journal of Mathematical Imaging and Vision 32:161–179, 2008.</ref>
A survey about size functions (and [[size theory]]) can be found in.<ref name="BiDeFa08">Silvia Biasotti, [[Leila De Floriani]], [[Bianca Falcidieno]], Patrizio Frosini, Daniela Giorgi, Claudia Landi, Laura Papaleo, Michela Spagnuolo,
.<ref name="BiDeFa08">Silvia Biasotti, [[Leila De Floriani]], Bianca Falcidieno, Patrizio Frosini, Daniela Giorgi, Claudia Landi, Laura Papaleo, Michela Spagnuolo,
''Describing shapes by geometrical-topological properties of real functions''
ACM Computing Surveys, vol. 40 (2008), n. 4, 12:1–12:87.</ref>
[[File:SFesWiki.PNG|1065px850px|thumb|left|''An example of size function. (A) A size pair <math>(M,\varphi:M\to\mathbb{R})</math>, where <math>M</math> is the blue curve and <math>\varphi:M\to \mathbb{R}</math> is the height function. (B) The set <math>\{p\in M:\varphi(p)\le b\}</math> is depicted in green. (C) The set of points at which the [[measuring function]] <math>\varphi</math> takes a value smaller than or equal to <math>a</math>, that is, <math>\{p\in M:\varphi(p)\le a\}</math>, is depicted in red. (D) Two connected componentcomponents of the set <math>\{p\in M:\varphi(p)\le b\}</math> contain at least one point in <math>\{p\in M:\varphi(p)\le a\}</math>, that is, at least one point where the [[measuring function]] <math>\varphi</math> takes a value smaller than or equal to <math>a</math>. (E) The value of the size function <math>\ell_{(M,\varphi)}</math> in the point <math>(a,b)</math> is equal to <math>2</math>.'']]
{{clear}}
 
==History and applications==
Size functions were introduced in
<ref name="Fro90">Patrizio Frosini, ''[http://journals.cambridge.org/download.php?file=%2FBAZ%2FBAZ42_03%2FS0004972700028574a.pdf&code=eff2726f156a5a8fdb323feb4fadd1e3 A distance for similarity classes of submanifolds of a Euclidean space]'', Bulletin of the Australian Mathematical Society, 42(3):407–416, 1990.</ref>
for the particular case of <math>M</math> equal to the topological space of all piecewise <math>C^1</math> closed paths in a <math>C^\infty</math> [[closed manifold]] embedded in a [[Euclidean space]]. Here the topology on <math>M</math> is induced by the
<math>C^0</math>-norm, while the [[measuring function]] <math>\varphi</math> takes each path <math>\gamma\in M</math> to its length.
In
<ref name="Fro91">Patrizio Frosini, ''Measuring shapes by size functions'', Proc. SPIE, Intelligent Robots and Computer Vision X: Algorithms and Techniques, Boston, MA, 1607:122–133, 1991.</ref>
the case of <math>M</math> equal to the topological space of all ordered <math>k</math>-tuples of points in a [[submanifold]] of a Euclidean space is considered.
Here the topology on <math>M</math> is induced by the metric <math>d((P_1,\ldots,P_k),(Q_1\ldots,Q_k))=\max_{1\le i\le k}\|P_i-Q_i\|</math>.
 
Line 31 ⟶ 32:
An extension to [[homology theory]] (the [[size functor]]) was introduced in
.<ref name="CaFePo01">Francesca Cagliari, Massimo Ferri and Paola Pozzi, ''Size functions from a categorical viewpoint'', Acta Applicandae Mathematicae, 67(3):225–235, 2001.</ref>
The concepts of [[size homotopy group]] and [[size functor]] are strictly related to the concept of [[persistent homology group]]
<ref name="EdLeZo02">Herbert Edelsbrunner, David Letscher and Afra Zomorodian, ''Topological Persistence and Simplification'', [[Discrete and Computational Geometry]], 28(4):511–533, 2002.</ref>
studied in [[persistent homology]]. It is worth to point out that the size function is the rank of the <math>0</math>-th [[persistent homology group]], while the relation between the persistent homology group
and the size homotopy group is analogous to the one existing between [[homology group]]s and [[homotopy group]]s.
 
Size functions have been initially introduced as a mathematical tool for shape comparison in [[computer vision]] and [[pattern recognition]], and have constituted the seed of [[size theory]].<ref name="dAFrLa06"/><ref>Claudio Uras and Alessandro Verri, ''[http://www.icsi.berkeley.edu/pubs/techreports/tr-92-057.pdf Describing and recognising shape through size functions]'' ICSI Technical Report TR-92-057, Berkeley, 1992.</ref><ref>Alessandro Verri, Claudio Uras, Patrizio Frosini and Massimo Ferri, ''On the use of size functions for shape analysis'', Biological Cybernetics, 70:99–107, 1993.</ref><ref>Patrizio Frosini and Claudia Landi, ''Size functions and morphological transformations'', Acta Applicandae Mathematicae, 49(1):85–104, 1997.</ref><ref>Alessandro Verri and Claudio Uras, ''Metric-topological approach to shape representation and recognition'', Image Vision Comput., 14:189–207, 1996.</ref><ref>Alessandro Verri and Claudio Uras, ''Computing size functions from edge maps'', Internat. J. Comput. Vision, 23(2):169–183, 1997.</ref><ref>Françoise Dibos, Patrizio Frosini and Denis Pasquignon,
Size functions have been initially introduced as a mathematical tool for shape comparison in [[computer vision]] and [[pattern recognition]], and have constituted the seed of [[size theory]]
''The use of size functions for comparison of shapes through differential invariants'', Journal of Mathematical Imaging and Vision, 21(2):107–118, 2004.</ref><ref name="CeFeGi06">Andrea Cerri, Massimo Ferri, Daniela Giorgi, ''Retrieval of trademark images by means of size functions Graphical Models'' 68:451–471, 2006.</ref><ref name="BiGiSp08">Silvia Biasotti, Daniela Giorgi, Michela Spagnuolo, [[Bianca Falcidieno]], ''Size functions for comparing 3D models'' Pattern Recognition 41:2855–2873, 2008.</ref>
<ref name="dAFrLa06"/>
<ref>Claudio Uras and Alessandro Verri, ''[http://www.icsi.berkeley.edu/pubs/techreports/tr-92-057.pdf Describing and recognising shape through size functions]'' ICSI Technical Report TR-92-057, Berkeley, 1992.</ref>
<ref>Alessandro Verri, Claudio Uras, Patrizio Frosini and Massimo Ferri,
''On the use of size functions for shape analysis'',
Biological Cybernetics, 70:99–107, 1993.</ref>
<ref>Patrizio Frosini and Claudia Landi,
''Size functions and morphological transformations'',
Acta Applicandae Mathematicae, 49(1):85–104, 1997.</ref>
<ref>Alessandro Verri and Claudio Uras,
''Metric-topological approach to shape
representation and recognition'',
Image Vision Comput., 14:189–207, 1996.</ref>
<ref>Alessandro Verri and Claudio Uras,
''Computing size functions from edge maps'',
Internat. J. Comput. Vision, 23(2):169–183, 1997.</ref>
<ref>Françoise Dibos, Patrizio Frosini and Denis Pasquignon,
''The use of size functions for comparison of shapes through differential invariants'',
Journal of Mathematical Imaging and Vision, 21(2):107–118, 2004.</ref>
<ref name="CeFeGi06">Andrea Cerri, Massimo Ferri, Daniela Giorgi, ''Retrieval of trademark images by means of size functions Graphical Models'' 68:451–471, 2006.</ref>
.<ref name="BiGiSp08">Silvia Biasotti, Daniela Giorgi, Michela Spagnuolo, Bianca Falcidieno, ''Size functions for comparing 3D models'' Pattern Recognition 41:2855–2873, 2008.</ref>
The main point is that size functions are invariant for every transformation preserving the [[measuring function]]. Hence, they can be adapted to many different applications, by simply changing the [[measuring function]] in order to get the wanted invariance. Moreover, size functions show properties of relative resistance to noise, depending on the fact that they distribute the information all over the half-plane <math>\Delta^+</math>.
 
==Main properties==
Assume that <math>M</math> is a compact [[locally connected]] [[Hausdorff space]]. The following statements hold:
 
* every size function <math>\ell_{(M,\varphi)}(x,y)</math> is a [[non-decreasing function]] in the variable <math>x</math> and a [[Nonincreasing function|non-increasing function]] in the variable <math>y</math>.
 
* every size function <math>\ell_{(M,\varphi)}(x,y)</math> is locally right-constant in both its variables.
 
* for every <math>x<y</math>, <math>\ell_{(M,\varphi)}(x,y)</math> is finite.
 
* for every <math>x<\min \varphi</math> and every <math>y>x</math>, <math>\ell_{(M,\varphi)}(x,y)=0</math>.
 
* for every <math>y\ge\max \varphi</math> and every <math>x<y</math>, <math>\ell_{(M,\varphi)}(x,y)</math> equals the number of connected components of <math>M</math> on which the minimum value of <math>\varphi</math> is smaller than or equal to <math>x</math>.
 
If we also assume that <math>M</math> is a smooth [[closed manifold]] and <math>\varphi</math> is a <math>C^1</math>-function, the following useful property holds:
 
* in order that <math>(x,y)</math> is a discontinuity point for <math>\ell_{(M,\varphi)}</math> it is necessary that either <math>x</math> or <math>y</math> or both are critical values for <math>\varphi</math>.<ref name="Fro96">Patrizio Frosini, ''Connections between size functions and critical points'', Mathematical Methods in the Applied Sciences, 19:555–569, 1996.</ref>
.<ref name="Fro96">Patrizio Frosini, ''Connections between size functions and critical points'', Mathematical Methods In The Applied Sciences, 19:555–569, 1996.</ref>
 
A strong link between the concept of size function and the concept of [[natural pseudodistance]]
<math>d((M,\varphi),(N,\psi))</math> between the size pairs <math>(M,\varphi),\ (N,\psi)</math> exists.<ref name="FroLa99"/><ref name="DoFro04">Pietro Donatini and Patrizio Frosini, ''Lower bounds for natural pseudodistances via size functions'', Archives of Inequalities and Applications, 2(1):1–12, 2004.</ref>
<ref name="FroLa99"/>
<ref name="DoFro04">Pietro Donatini and Patrizio Frosini, ''Lower bounds for natural pseudodistances via size functions'', Archives of Inequalities and Applications, 2(1):1–12, 2004.</ref>
 
* if <math>\ell_{(N,\psi)}(\bar x,\bar y)>\ell_{(M,\varphi)}(\tilde x,\tilde y)</math> then <math>d((M,\varphi),(N,\psi))\ge \min\{\tilde x-\bar x,\bar y-\tilde y\}</math>.
Line 89 ⟶ 64:
<!-- Image with unknown copyright status removed: [[File:FSesWiki.PNG|260px|thumb|right|''An example of formal representation by formal series for a given size function. In this case <math>\mu(p_1)=1</math>, <math>\mu(p_2)=2</math>, <math>\mu(p_4)=1</math>, <math>\mu(r)=1</math>. Note that <math>\mu(p_3)=0</math>. The associated represantion by formal series is then <math>r+p_1+2p_2+p_4</math>.'']] -->
An algebraic representation of size
functions in terms of collections of points and lines in the real plane with
multiplicities, i.e. as particular formal series, was furnished in
<ref name="FroLa99"/>
<ref name="LaFro97">Claudia Landi and Patrizio Frosini, ''New pseudodistances for the size function space'', Proc. SPIE Vol. 3168, ppp. 52-6052–60, Vision Geometry VI, Robert A. Melter, [[Angela Y. Wu]], Longin J. Latecki (eds.), 1997.</ref>
.<ref name="FroLa01">Patrizio Frosini and Claudia Landi, ''Size functions and formal series'', Appl. Algebra Engrg. Comm. Comput., 12:327–349, 2001.</ref>
The points (called ''cornerpoints'') and lines (called ''cornerlines'') of such formal series encode the information about
discontinuities of the corresponding size functions, while
their multiplicities contain the information about the values taken by the
size function.
 
Line 102 ⟶ 77:
 
* ''cornerpoints'' are defined as those points <math>p=(x,y)</math>, with <math>x<y</math>, such that the number
::<math>\mu (p){\stackrel{{\rm def}}{=}}\min _{\alpha >0 ,\beta>0} \ell _{({M},\varphi )}(x+\alpha ,y-
\beta)-\ell _{({ M},\varphi )} (x+\alpha ,y+\beta )-
\ell_{({ M},\varphi )} (x-\alpha ,y-\beta )+\ell _{({ M}
,\varphi )} (x-\alpha ,y+\beta )</math>
:is positive. The number <math>\mu (p)</math> is said to be the ''multiplicity'' of <math>p</math>.
is positive.
The number <math>\mu (p)</math> is said to be the ''multiplicity'' of <math>p</math>.
 
* ''cornerlines'' and are defined as those lines <math>r:x=k</math> such that
:: <math>\mu (r){\stackrel{\rm def}{=}}\min _{\alpha >0 ,k+\alpha <y}\ell _{({ M},\varphi
)}(k+\alpha ,y)-
\ell _{({ M},\varphi )}(k-\alpha ,y)>0.</math>
: The number <math>\mu (r)</math> is sad to be the '' multiplicity'' of <math>r</math>.
* ''Representation Theorem'': For every <math>{\bar x}<{\bar y}</math>, it holds
 
* ''Representation Theorem'': For every <math>{\bar x}<{\bar y}</math>, it holds :<math>\ell _{({M},\varphi )}({\bar x},{\bar y})=\sum _{p=(x,y)\atop x\le {\bar x}, y>\bar y }\mu\big(p\big)+\sum _{r:x=k\atop k\le {\bar x} }\mu\big(r\big)</math>.
 
This representation contains the
same amount of information about the shape under study as the original
size function does, but is much more concise.
 
This algebraic approach to size functions leads to the definition of new similarity measures
between shapes, by translating the problem of comparing size functions into
the problem of comparing formal series. The most studied among these metrics between size function is the [[matching distance]].<ref name="dAFrLa06"/>