# Size function

{{ safesubst:#invoke:Unsubst||$N=Use dmy dates |date=__DATE__ |$B=
}}
**Size functions** are shape descriptors, in a geometrical/topological sense. They are functions from the half-plane 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** associated with the size pair is defined in the following way. For every , is equal to the number of connected components of the set
that contain at least one point at which the measuring function (a continuous function from a topological space to .^{[1]}^{[2]}) takes a value smaller than or equal to
.^{[3]} The concept of size function can be easily extended to the case of a measuring function , where is endowed with the usual partial order
.^{[4]}
A survey about size functions (and size theory) can be found in
.^{[5]}

## History and applications

Size functions were introduced in
^{[6]}
for the particular case of equal to the topological space of all piecewise closed paths in a closed manifold embedded in a Euclidean space. Here the topology on is induced by the
-norm, while the measuring function takes each path to its length.
In
^{[7]}
the case of equal to the topological space of all ordered -tuples of points in a submanifold of a Euclidean space is considered.
Here the topology on is induced by the metric .

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 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 -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
,^{[10]}
,^{[11]}
,^{[12]}
,^{[13]}
,^{[14]}
,^{[3]}
,^{[15]}
^{[16]}
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 .

## Main properties

Assume that is a compact locally connected Hausdorff space. The following statements hold:

¤ every size function is a non-decreasing function in the variable and a non-increasing function in the variable .

¤ every size function is locally right-constant in both its variables.

¤ for every and every , equals the number of connected components of on which the minimum value of is smaller than or equal to .

If we also assume that is a smooth closed manifold and is a -function, the following useful property holds:

¤ in order that is a discontinuity point for it is necessary that either or or both are critical values for .
^{[17]}

A strong link between the concept of size function and the concept of natural pseudodistance
between the size pairs exists
,^{[1]}

^{[18]}

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
,^{[19]}
,^{[1]}
.^{[20]}
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:

is positive.
The number is said to be the *multiplicity* of .

The number is sad to be the * multiplicity* of .

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.0}^{1.1}^{1.2}Patrizio Frosini, Claudia Landi,*Size theory as a topological tool for computer vision*, Pattern Recognition And Image Analysis, 9(4):596–603, 1999. Cite error: Invalid`<ref>`

tag; name "FroLa99" defined multiple times with different content Cite error: Invalid`<ref>`

tag; name "FroLa99" defined multiple times with different content - ↑
^{2.0}^{2.1}Patrizio Frosini, Michele Mulazzani,*Size homotopy groups for computation of natural size distances*, Bulletin of the Belgian Mathematical Society 6:455–464 1999. Cite error: Invalid`<ref>`

tag; name "FroMu99" defined multiple times with different content - ↑
^{3.0}^{3.1}^{3.2}Michele d'Amico, Patrizio Frosini, Claudia Landi,*Using matching distance in Size Theory: a survey*, International Journal of Imaging Systems and Technology, 16(5):154–161, 2006. Cite error: Invalid`<ref>`

tag; name "dAFrLa06" defined multiple times with different content Cite error: Invalid`<ref>`

tag; name "dAFrLa06" defined multiple times with different content - ↑ Silvia Biasotti, Andrea Cerri, Patrizio Frosini, Claudia Landi,
*Multidimensional size functions for shape comparison*, Journal of Mathematical Imaging and Vision 32:161–179, 2008. - ↑ 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.
- ↑ Patrizio Frosini,
*A distance for similarity classes of submanifolds of a Euclidean space*, Bulletin of the Australian Mathematical Society, 42(3):407–416, 1990. - ↑ Patrizio Frosini,
*Measuring shapes by size functions*, Proc. of SPIE, Intelligent Robots and Computer Vision X: Algorithms and Techniques, Boston, MA, 1607:122–133, 1991. - ↑ Francesca Cagliari, Massimo Ferri and Paola Pozzi,
*Size functions from a categorical viewpoint*, Acta Applicandae Mathematicae, 67(3):225–235, 2001. - ↑ Herbert Edelsbrunner, David Letscher and Afra Zomorodian,
*Topological Persistence and Simplification*, Discrete and Computational Geometry, 28(4):511–533, 2002. - ↑ Alessandro Verri, Claudio Uras, Patrizio Frosini and Massimo Ferri,
*On the use of size functions for shape analysis*, Biological Cybernetics, 70:99–107, 1993. - ↑ Patrizio Frosini and Claudia Landi,
*Size functions and morphological transformations*, Acta Applicandae Mathematicae, 49(1):85–104, 1997. - ↑ Alessandro Verri and Claudio Uras,
*Metric-topological approach to shape*representation and recognition*,*Image Vision Comput., 14:189–207, 1996. - ↑ Alessandro Verri and Claudio Uras,
*Computing size functions from edge maps*, Internat. J. Comput. Vision, 23(2):169–183, 1997. - ↑ 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. - ↑ Andrea Cerri, Massimo Ferri, Daniela Giorgi: Retrieval of trademark images by means of size functions Graphical Models 68:451–471, 2006.
- ↑ Silvia Biasotti, Daniela Giorgi, Michela Spagnuolo, Bianca Falcidieno: Size functions for comparing 3D models. Pattern Recognition 41:2855–2873, 2008.
- ↑ Patrizio Frosini,
*Connections between size functions and critical points*, Mathematical Methods In The Applied Sciences, 19:555–569, 1996. - ↑ Pietro Donatini and Patrizio Frosini,
*Lower bounds for natural pseudodistances via size functions*, Archives of Inequalities and Applications, 2(1):1–12, 2004. - ↑ Claudia Landi and Patrizio Frosini,
*New pseudodistances for the size function space*, Proc. SPIE Vol. 3168, p. 52-60, Vision Geometry VI, Robert A. Melter, Angela Y. Wu, Longin J. Latecki (eds.), 1997. - ↑ Patrizio Frosini and Claudia Landi,
*Size functions and formal series*, Appl. Algebra Engrg. Comm. Comput., 12:327–349, 2001.