Size function

From HandWiki

Size functions are shape descriptors, in a geometrical/topological sense. They are functions from the half-plane [math]\displaystyle{ x\lt y }[/math] to the natural numbers, counting certain connected components of a topological space. They are used in pattern recognition and topology.

Formal definition

In size theory, the size function [math]\displaystyle{ \ell_{(M,\varphi)}:\Delta^+=\{(x,y)\in \mathbb{R}^2:x\lt y\}\to \mathbb{N} }[/math] associated with the size pair [math]\displaystyle{ (M,\varphi:M\to \mathbb{R}) }[/math] is defined in the following way. For every [math]\displaystyle{ (x,y)\in \Delta^+ }[/math], [math]\displaystyle{ \ell_{(M,\varphi)}(x,y) }[/math] is equal to the number of connected components of the set [math]\displaystyle{ \{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]\displaystyle{ M }[/math] to [math]\displaystyle{ \mathbb{R}^k }[/math] [1] [2]) [math]\displaystyle{ \varphi }[/math] takes a value smaller than or equal to [math]\displaystyle{ x }[/math] .[3] The concept of size function can be easily extended to the case of a measuring function [math]\displaystyle{ \varphi:M\to \mathbb{R}^k }[/math], where [math]\displaystyle{ \mathbb{R}^k }[/math] is endowed with the usual partial order .[4] A survey about size functions (and size theory) can be found in.[5]

An example of size function. (A) A size pair [math]\displaystyle{ (M,\varphi:M\to\mathbb{R}) }[/math], where [math]\displaystyle{ M }[/math] is the blue curve and [math]\displaystyle{ \varphi:M\to \mathbb{R} }[/math] is the height function. (B) The set [math]\displaystyle{ \{p\in M:\varphi(p)\le b\} }[/math] is depicted in green. (C) The set of points at which the measuring function [math]\displaystyle{ \varphi }[/math] takes a value smaller than or equal to [math]\displaystyle{ a }[/math], that is, [math]\displaystyle{ \{p\in M:\varphi(p)\le a\} }[/math], is depicted in red. (D) Two connected components of the set [math]\displaystyle{ \{p\in M:\varphi(p)\le b\} }[/math] contain at least one point in [math]\displaystyle{ \{p\in M:\varphi(p)\le a\} }[/math], that is, at least one point where the measuring function [math]\displaystyle{ \varphi }[/math] takes a value smaller than or equal to [math]\displaystyle{ a }[/math]. (E) The value of the size function [math]\displaystyle{ \ell_{(M,\varphi)} }[/math] in the point [math]\displaystyle{ (a,b) }[/math] is equal to [math]\displaystyle{ 2 }[/math].

History and applications

Size functions were introduced in [6] for the particular case of [math]\displaystyle{ M }[/math] equal to the topological space of all piecewise [math]\displaystyle{ C^1 }[/math] closed paths in a [math]\displaystyle{ C^\infty }[/math] closed manifold embedded in a Euclidean space. Here the topology on [math]\displaystyle{ M }[/math] is induced by the [math]\displaystyle{ C^0 }[/math]-norm, while the measuring function [math]\displaystyle{ \varphi }[/math] takes each path [math]\displaystyle{ \gamma\in M }[/math] to its length. In [7] the case of [math]\displaystyle{ M }[/math] equal to the topological space of all ordered [math]\displaystyle{ k }[/math]-tuples of points in a submanifold of a Euclidean space is considered. Here the topology on [math]\displaystyle{ M }[/math] is induced by the metric [math]\displaystyle{ d((P_1,\ldots,P_k),(Q_1\ldots,Q_k))=\max_{1\le i\le k}\|P_i-Q_i\| }[/math].

An extension of the concept of size function to algebraic topology was made in [2] where the concept of size homotopy group was introduced. Here measuring functions taking values in [math]\displaystyle{ \mathbb{R}^k }[/math] are allowed. An extension to homology theory (the size functor) was introduced in .[8] The concepts of size homotopy group and size functor are strictly related to the concept of persistent homology group [9] studied in persistent homology. It is worth to point out that the size function is the rank of the [math]\displaystyle{ 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 groups and homotopy groups.

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.[3][10][11][12][13][14][15][16][17] 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]\displaystyle{ \Delta^+ }[/math].

Main properties

Assume that [math]\displaystyle{ M }[/math] is a compact locally connected Hausdorff space. The following statements hold:

  • every size function [math]\displaystyle{ \ell_{(M,\varphi)}(x,y) }[/math] is a non-decreasing function in the variable [math]\displaystyle{ x }[/math] and a non-increasing function in the variable [math]\displaystyle{ y }[/math].
  • every size function [math]\displaystyle{ \ell_{(M,\varphi)}(x,y) }[/math] is locally right-constant in both its variables.
  • for every [math]\displaystyle{ x\lt y }[/math], [math]\displaystyle{ \ell_{(M,\varphi)}(x,y) }[/math] is finite.
  • for every [math]\displaystyle{ x\lt \min \varphi }[/math] and every [math]\displaystyle{ y\gt x }[/math], [math]\displaystyle{ \ell_{(M,\varphi)}(x,y)=0 }[/math].
  • for every [math]\displaystyle{ y\ge\max \varphi }[/math] and every [math]\displaystyle{ x\lt y }[/math], [math]\displaystyle{ \ell_{(M,\varphi)}(x,y) }[/math] equals the number of connected components of [math]\displaystyle{ M }[/math] on which the minimum value of [math]\displaystyle{ \varphi }[/math] is smaller than or equal to [math]\displaystyle{ x }[/math].

If we also assume that [math]\displaystyle{ M }[/math] is a smooth closed manifold and [math]\displaystyle{ \varphi }[/math] is a [math]\displaystyle{ C^1 }[/math]-function, the following useful property holds:

  • in order that [math]\displaystyle{ (x,y) }[/math] is a discontinuity point for [math]\displaystyle{ \ell_{(M,\varphi)} }[/math] it is necessary that either [math]\displaystyle{ x }[/math] or [math]\displaystyle{ y }[/math] or both are critical values for [math]\displaystyle{ \varphi }[/math].[18]

A strong link between the concept of size function and the concept of natural pseudodistance [math]\displaystyle{ d((M,\varphi),(N,\psi)) }[/math] between the size pairs [math]\displaystyle{ (M,\varphi),\ (N,\psi) }[/math] exists.[1][19]

  • if [math]\displaystyle{ \ell_{(N,\psi)}(\bar x,\bar y)\gt \ell_{(M,\varphi)}(\tilde x,\tilde y) }[/math] then [math]\displaystyle{ d((M,\varphi),(N,\psi))\ge \min\{\tilde x-\bar x,\bar y-\tilde y\} }[/math].

The previous result gives an easy way to get lower bounds for the natural pseudodistance and is one of the main motivation to introduce the concept of size function.

Representation by formal series

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 [1] [20] .[21] 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.

Formally:

  • cornerpoints are defined as those points [math]\displaystyle{ p=(x,y) }[/math], with [math]\displaystyle{ x\lt y }[/math], such that the number
[math]\displaystyle{ \mu (p){\stackrel{{\rm def}}{=}}\min _{\alpha \gt 0 ,\beta\gt 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]\displaystyle{ \mu (p) }[/math] is said to be the multiplicity of [math]\displaystyle{ p }[/math].
  • cornerlines and are defined as those lines [math]\displaystyle{ r:x=k }[/math] such that
[math]\displaystyle{ \mu (r){\stackrel{\rm def}{=}}\min _{\alpha \gt 0 ,k+\alpha \lt y}\ell _{({ M},\varphi )}(k+\alpha ,y)- \ell _{({ M},\varphi )}(k-\alpha ,y)\gt 0. }[/math]
The number [math]\displaystyle{ \mu (r) }[/math] is sad to be the multiplicity of [math]\displaystyle{ r }[/math].
  • Representation Theorem: For every [math]\displaystyle{ {\bar x}\lt {\bar y} }[/math], it holds
[math]\displaystyle{ \ell _{({M},\varphi )}({\bar x},{\bar y})=\sum _{p=(x,y)\atop x\le {\bar x}, y\gt \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.[3]

References

  1. 1.0 1.1 1.2 Patrizio Frosini and Claudia Landi, Size Theory as a Topological Tool for Computer Vision, Pattern Recognition And Image Analysis, 9(4):596–603, 1999.
  2. 2.0 2.1 Patrizio Frosini and Michele Mulazzani, Size homotopy groups for computation of natural size distances, Bulletin of the Belgian Mathematical Society, 6:455–464 1999.
  3. 3.0 3.1 3.2 Michele d'Amico, Patrizio Frosini and Claudia Landi, Using matching distance in Size Theory: a survey, International Journal of Imaging Systems and Technology, 16(5):154–161, 2006.
  4. Silvia Biasotti, Andrea Cerri, Patrizio Frosini, Claudia Landi, Multidimensional size functions for shape comparison, Journal of Mathematical Imaging and Vision 32:161–179, 2008.
  5. 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.
  6. Patrizio Frosini, A distance for similarity classes of submanifolds of a Euclidean space, Bulletin of the Australian Mathematical Society, 42(3):407–416, 1990.
  7. Patrizio Frosini, Measuring shapes by size functions, Proc. SPIE, Intelligent Robots and Computer Vision X: Algorithms and Techniques, Boston, MA, 1607:122–133, 1991.
  8. Francesca Cagliari, Massimo Ferri and Paola Pozzi, Size functions from a categorical viewpoint, Acta Applicandae Mathematicae, 67(3):225–235, 2001.
  9. Herbert Edelsbrunner, David Letscher and Afra Zomorodian, Topological Persistence and Simplification, Discrete and Computational Geometry, 28(4):511–533, 2002.
  10. Claudio Uras and Alessandro Verri, Describing and recognising shape through size functions ICSI Technical Report TR-92-057, Berkeley, 1992.
  11. Alessandro Verri, Claudio Uras, Patrizio Frosini and Massimo Ferri, On the use of size functions for shape analysis, Biological Cybernetics, 70:99–107, 1993.
  12. Patrizio Frosini and Claudia Landi, Size functions and morphological transformations, Acta Applicandae Mathematicae, 49(1):85–104, 1997.
  13. Alessandro Verri and Claudio Uras, Metric-topological approach to shape representation and recognition, Image Vision Comput., 14:189–207, 1996.
  14. Alessandro Verri and Claudio Uras, Computing size functions from edge maps, Internat. J. Comput. Vision, 23(2):169–183, 1997.
  15. 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.
  16. Andrea Cerri, Massimo Ferri, Daniela Giorgi, Retrieval of trademark images by means of size functions Graphical Models 68:451–471, 2006.
  17. Silvia Biasotti, Daniela Giorgi, Michela Spagnuolo, Bianca Falcidieno, Size functions for comparing 3D models Pattern Recognition 41:2855–2873, 2008.
  18. Patrizio Frosini, Connections between size functions and critical points, Mathematical Methods in the Applied Sciences, 19:555–569, 1996.
  19. Pietro Donatini and Patrizio Frosini, Lower bounds for natural pseudodistances via size functions, Archives of Inequalities and Applications, 2(1):1–12, 2004.
  20. Claudia Landi and Patrizio Frosini, New pseudodistances for the size function space, Proc. SPIE Vol. 3168, pp. 52–60, Vision Geometry VI, Robert A. Melter, Angela Y. Wu, Longin J. Latecki (eds.), 1997.
  21. Patrizio Frosini and Claudia Landi, Size functions and formal series, Appl. Algebra Engrg. Comm. Comput., 12:327–349, 2001.

See also