Reference articles on history, science, culture and more
Encyclopedia

Size function

Shape descriptions in a geometrical/topological sense

Size functions are shape descriptors, in a geometrical/topological sense. They are functions from the half-plane x<y to the natural numbers, counting certain connected components of a topological space. They are used in pattern recognition and topology.

01Formal definition

In size theory, the size function \ell _{(M,\varphi )}:\Delta ^{+}=\{(x,y)\in \mathbb {R} ^{2}:x<y\}\to \mathbb {N} associated with the size pair (M,\varphi :M\to \mathbb {R} ) is defined in the following way. For every (x,y)\in \Delta ^{+}, \ell _{(M,\varphi )}(x,y) is equal to the number of connected components of the set \{p\in M:\varphi (p)\leq y\} that contain at least one point at which the measuring function (a continuous function from a topological space M to \mathbb {R} ^{k}) \varphi takes a value smaller than or equal to x. The concept of size function can be easily extended to the case of a measuring function \varphi :M\to \mathbb {R} ^{k}, where \mathbb {R} ^{k} is endowed with the usual partial order. A survey about size functions (and size theory) can be found in.

An example of size function. (A) A size pair , where is the blue curve and is the height function. (B) The set is depicted in green. (C) The set of points at which the measuring function takes a value smaller than or equal to , that is, , is depicted in red. (D) Two connected components of the set contain at least one point in , that is, at least one point where the measuring function takes a value smaller than or equal to . (E) The value of the size function in the point is equal to .
An example of size function. (A) A size pair , where is the blue curve and is the height function. (B) The set is depicted in green. (C) The set of points at which the measuring function takes a value smaller than or equal to , that is, , is depicted in red. (D) Two connected components of the set contain at least one point in , that is, at least one point where the measuring function takes a value smaller than or equal to . (E) The value of the size function in the point is equal to .

02History and applications

Size functions were introduced in for the particular case of M equal to the topological space of all piecewise C^{1} closed paths in a C^{\infty } closed manifold embedded in a Euclidean space. Here the topology on M is induced by the C^{0}-norm, while the measuring function \varphi takes each path \gamma \in M to its length. In the case of M equal to the topological space of all ordered k-tuples of points in a submanifold of a Euclidean space is considered. Here the topology on M is induced by the metric d((P_{1},\ldots ,P_{k}),(Q_{1}\ldots ,Q_{k}))=\max _{1\leq i\leq k}\|P_{i}-Q_{i}\|.

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

03Main properties

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

  • every size function \ell _{(M,\varphi )}(x,y) is a non-decreasing function in the variable x and a non-increasing function in the variable y.
  • every size function \ell _{(M,\varphi )}(x,y) is locally right-constant in both its variables.
  • for every x<y, \ell _{(M,\varphi )}(x,y) is finite.
  • for every x<\min \varphi and every y>x, \ell _{(M,\varphi )}(x,y)=0.
  • for every y\geq \max \varphi and every x<y, \ell _{(M,\varphi )}(x,y) equals the number of connected components of M on which the minimum value of \varphi is smaller than or equal to x.

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

  • in order that (x,y) is a discontinuity point for \ell _{(M,\varphi )} it is necessary that either x or y or both are critical values for \varphi.

A strong link between the concept of size function and the concept of natural pseudodistance d((M,\varphi ),(N,\psi )) between the size pairs (M,\varphi ),\ (N,\psi ) exists.

  • if \ell _{(N,\psi )}({\bar {x}},{\bar {y}})>\ell _{(M,\varphi )}({\tilde {x}},{\tilde {y}}) then d((M,\varphi ),(N,\psi ))\geq \min\{{\tilde {x}}-{\bar {x}},{\bar {y}}-{\tilde {y}}\}.

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.

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

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.

Watch videos about Size functionExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Size function, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Images, from Wikimedia Commons:

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.

Continue exploring

Related topics

Size theory

In mathematics, size theory studies the properties of topological spaces endowed with R k {\displaystyle \mathbb {R} ^{k}} -valued functions, with respect to the change of these functions. More formally, the subject of size theory is the study of the natural pseudodistance between size pairs.

Natural pseudodistance

In size theory, the natural pseudodistance between two size pairs {\displaystyle (M,\varphi :M\to \mathbb {R} )\ } , ( N , ψ : N → R ) {\displaystyle (N,\psi :N\to \mathbb {R} )\ } is the value inf h ‖ φ − ψ ∘ h ‖ ∞ {\displaystyle \inf _{h}\|\varphi -\psi \circ h\|_{\infty }\ } , where h {\displaystyle h\ } varies in the set of all homeomorphisms from the manifold M {\displaystyle M\ } to the manifold N {\displaystyle N\ } and ‖ ⋅ ‖ ∞ {\displaystyle \|\cdot \|_{\infty }\ } is the supremum norm. If M {\displaystyle M\ } and N {\displaystyle N\ } are not homeomorphic, then the natural pseudodistance is defined to be ∞ {\displaystyle \infty \ } .

Size functor

Given a size pair {\displaystyle (M,f)\ } where M {\displaystyle M\ } is a manifold of dimension n {\displaystyle n\ } and f {\displaystyle f\ } is an arbitrary real continuous function defined on it, the i {\displaystyle i} -th size functor, with i = 0 , … , n {\displaystyle i=0,\ldots ,n\ } , denoted by F i {\displaystyle F_{i}\ } , is the functor in F u n ( R o r d , A b ) {\displaystyle Fun(\mathrm {Rord} ,\mathrm {Ab} )\ } , where R o r d {\displaystyle \mathrm {Rord} \ } is the category of ordered real numbers, and A b {\displaystyle \mathrm {Ab} \ } is the category of Abelian groups, defined in the following way. For x ≤ y {\displaystyle x\leq y\ } , setting M x = { p ∈ M : f ( p ) ≤ x } {\displaystyle M_{x}=\{p\in M:f(p)\leq x\}\ } , M y = { p ∈ M : f ( p ) ≤ y } {\displaystyle M_{y}=\{p\in M:f(p)\leq y\}\ } , j x y {\displaystyle j_{xy}\ } equal to the inclusion from M x {\displaystyle M_{x}\ } into M y {\displaystyle M_{y}\ } , and k x y {\displaystyle k_{xy}\ } equal to the morphism in R o r d {\displaystyle \mathrm {Rord} \ } from x {\displaystyle x\ } to y {\displaystyle y\ } , for each x ∈ R {\displaystyle x\in \mathbb {R} \ } , F i ( x ) = H i ( M x ) ; {\displaystyle F_{i}(x)=H_{i}(M_{x});\ } F i ( k x y ) = H i ( j x y ) .