• No results found

A quick trip through geometrical shape comparison

N/A
N/A
Protected

Academic year: 2021

Share "A quick trip through geometrical shape comparison"

Copied!
83
0
0

Loading.... (view fulltext now)

Full text

(1)

Patrizio Frosini1,2

1Department of Mathematics, University of Bologna, Italy 2ARCES - Vision Mathematics Group, University of Bologna, Italy

[email protected]

Topics in Mathematics Bologna, 11 April 2013

(2)
(3)

1 The "trivial" problem of comparing shapes

2 Trying to put some geometrical order in the chaos

(4)

1 The "trivial" problem of comparing shapes

2 Trying to put some geometrical order in the chaos

(5)

A "trivial" question: What is shape?

SIMPLE ANSWER: Shape is what is left after removing scale and rotation.

(6)

"There is always an easy solution to every human problem– neat, plausible, and wrong."

(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)

Every comparison of properties involves the presence of an observer perceiving the properties

a methodology to compare the properties

It follows that shape comparison is affected by subjectivity. Let us give some examples illustrating this fact.

(19)
(20)
(21)
(22)

Truth often depends on the observer:

(23)

Truth often depends on the observer:

(24)

Truth often depends on the observer:

(25)

Truth often depends on the observer:

(26)

Truth often depends on the observer:

(27)

Truth often depends on the observer:

(28)

Truth often depends on the observer:

(29)

Truth often depends on the observer:

(30)

Truth often depends on the observer:

(31)

Truth often depends on the observer:

(32)

Truth often depends on the observer:

The black shapes are NOT the camels, the narrow stripes below the shapes are. The black shapes are the shadows of the camels, as this photo was taken from overhead.

(33)

Truth often depends on the observer:

(34)
(35)

Truth often depends on the observer:

(36)
(37)

Truth often depends on the observer:

(38)
(39)

Truth often depends on the observer:

(40)

Truth often depends on the observer:

(41)

Truth often depends on the observer:

(42)
(43)

The concept of shape issubjectiveandrelative. It is based on the act

of perceiving, depending on the chosen observer. Persistent

perceptionsare fundamental in order to approach this concept.

“Science is nothing butperception.” Plato

“Reality is merely an illusion, albeit a verypersistentone.” Albert

(44)

1 The "trivial" problem of comparing shapes

2 Trying to put some geometrical order in the chaos

(45)

In shape comparison objects are not accessible directly, but only viameasurements made by an observer.

The comparison of two shapes is usually based ona familyF of

"measuring functions", which are defined on a setM (set of

measurements) and take values in a setV (set of measurement

values). Each function inF represents a measurement obtained

via a measuring instrument.

In most cases, the familyF of measuring functions is invariant

with respect to a givengroup G of transformations, that depends

on the type of measurement we are considering.

AG-invariant pseudo-metricdF is available for the setF, so that

we can quantify the difference between the measuring functions in

F.(pseudo-metric = metric without the property

(46)

M =S2(the globe’s surface), V =R(the set of temperatures)

Everyf ∈F is a function associating each point ofS2with its

temperature.

Gis the set of rigid motions ofS2(we observe thatF◦G=F)

(47)

M is the vase surface,V =R3(the set of colors)

Everyf ∈F is a function associating each point ofMwith its color.

Gis the set of rotations ofM around thez-axis (we observe that

F ◦G=F)

(48)

A different way of “measuring” the vases...

M =S1,V ={the set of pictures}

Everyf ∈F is a function associating each point ofS1with a

picture.

Gis the set of rotations around thez-axis, andF◦G=F

(49)

Assume that the following objects are given:

A setM. Each pointx ∈Mrepresents a measurement.

A setV. Each pointv ∈V represents the value taken by a

measurement.

A setF of functions fromM toV. Each functionf ∈F describes a

possible set of results for all measurements inM.

A groupGacting onM, such thatF is invariant with respect toG

(i.e., for everyf ∈F and everyg∈Gwe have thatf◦g ∈F).

A pseudo-metricdF defined on the setF, that is invariant under

the action of the groupG(in other words, iff1,f2∈F andg ∈G

thenf2◦g∈F anddF(f1,f2) =dF(f1,f2◦g)).

(50)

It often happens thatM is a topological space andV is a metric space,

endowed with a metricdV. In this case the functions inF are assumed

to be continuous, and the groupGis assumed to be a subgroup of the

group of all self-homeomorphisms ofM. As an example, let us think of

(51)

In this example

M =S1represents the topological space of all directions that are

orthogonal to a given axis;

V =Rrepresents the metric space of all possible quantities of

matter encountered by the X-ray beam in the considered direction.

Everyf ∈F is a function taking each direction inS1to the quantity

of matter encountered by the X-ray beam along that direction.

Gis the group of the rotations ofS1(F◦G=F).

We can set

dF(f1,f2) = inf

g∈GsupxM|f1(x)−f2(g(x))|

(52)

IfV =Rk we can use the shape pseudo-distance dF(f1,f2) = inf

g∈GsupxMkf1(x)−f2(g(x))k∞

forf1,f2∈F. The functional supx∈Mkf1(x)−f2(g(x))k∞quantifies the

change in the measurement induced by the transformationg.

The pseudo-metricdF is produced by the attempt of minimizing this

functional, varying the transformationg in the groupG, and is called

natural pseudo-distance.

More generally, ifV is a metric space endowed with the metricdV, we

can set

dF(f1,f2) = inf

(53)

IfV =RandM is a compact subset ofRm, we can set dF(f1,f2) = inf g∈G Z x∈M |f1(x)−f2(g(x))|p dx 1p after fixingp≥1. The functional R x∈M|f1(x)−f2(g(x))| p dx1p

quantifies the change in

the measurement induced by the transformationg.

IfGis the group of all isometries ofM,dF is a pseudo-metric that is

(54)

1 The "trivial" problem of comparing shapes

2 Trying to put some geometrical order in the chaos

(55)

In the rest of this talk we will assume thatM is a topological space and

V is a metric space.

These assumptions allow us to require that if two measurements are close to each other (in some reasonable sense), then the values obtained by these measurements are close to each other, too.

The functions inF will be assumed to be continuous. The groupGwill

be assumed to be a subgroup of the groupHomeo(M)of all

(56)

Why do we just consider self-homeomorphisms ofM?

(57)

The following result highlights a problem about doing that:

Non-existence Theorem

Let M be a Riemannian manifold. Let us endow Homeo(M) with the

uniform convergence metricdUC: dUC(h,h0) =maxx∈MdM(h(x),h0(x))

for everyh,h0∈Homeo(M), wheredM is the geodesic distance onM.

Then (Homeo(M),dUC) cannot be embedded in any compact metric

space(K,dK)endowed with an internal binary operation•that extends

the usual composition ◦between homeomorphisms in Homeo(M) and commutes with the passage to the limit in K. In particular,Homeo(M)

cannot be embedded in such a way into the set of binary relations on

M.

P. Frosini, C. Landi,No embedding of the automorphisms of a topological space into a compact metric space endows them with a composition that passes to the limit, Applied Mathematics Letters, 24 (2011), n. 10,

(58)

In plain words, the previous theorem shows that, if our space of

measurementsM is a Riemannian manifold, no reasonable

embedding of the set of all self-homeomorphisms ofM into another

compact metric space(K,dK)exists. In particular, there does not exist

any reasonable embedding into the space of binary relations onM.

This is due to the fact that any such embedding couldn’t preserve the

usual composition between homeomorphisms inHomeo(M)and

commute with the passage to the limit inK.

Remark

The previous theorem can be extended to topological spaces that are far more general than manifolds. It is sufficient that they contain a subset U that is homeomorphic to an n-dimensional open ball for some n≥1.

(59)

Until now, most of the results about the natural pseudo-distance have

been proven for the case whenM is a closed manifold,

G=Homeo(M), and the measuring functions take their values in

V =R. Here we recall three of these results:

Theorem (for curves)

Assume that M is a closed curve of class C1and that f1,f2:M →R are two functions of class C1. Then, if

d =infg∈Homeo(M)maxx∈M|f1(x)−f2(g(x))|, at least one of the following properties holds:

d equals the distance between a critical value of f1and a critical value of f2;

d equals half the distance between two critical values of f1; d equals half the distance between two critical values of f2.

(60)

For example, in this case the natural pseudo-distanced equals half the

(61)

Theorem (for surfaces)

Assume that M is a closed surface of class C1and that f1,f2:M →R are two functions of class C1. Then, if

d =infg∈Homeo(M)maxx∈M|f1(x)−f2(g(x))|, at least one of the following properties holds:

d equals the distance between a critical value of f1and a critical value of f2;

d equals half the distance between two critical values of f1; d equals half the distance between two critical values of f2; d equals one third of the distance between a critical value of f1 and a critical value of f2.

(62)

Theorem (for manifolds)

Assume that M is a closed manifold of class C1and that f

1,f2:M →R are two functions of class C1. Then, if

d =infg∈Homeo(M)maxx∈M|f1(x)−f2(g(x))|, at least one of the following properties holds:

a positive odd integer m exists, such that m·d equals the distance

between a critical value of f1and a critical value of f2;

a positive even integer m exists, such that m·d equals the

distance between two critical values either of f1or of f2.

(63)

P. Frosini, M. Mulazzani,Size homotopy groups for computation of

natural size distances, Bulletin of the Belgian Mathematical

Society - Simon Stevin, 6 (1999), 455-464.

P. Donatini, P. Frosini,Natural pseudodistances between closed

topological spaces, Forum Mathematicum, 16 (2004), n. 5,

695-715.

P. Donatini, P. Frosini,Natural pseudodistances between closed

surfaces, Journal of the European Mathematical Society, 9 (2007),

331-353.

P. Donatini, P. Frosini,Natural pseudodistances between closed

(64)

The natural pseudo-distance is usually difficult to compute. Lower bounds for the natural pseudo-distance can be obtained by

(65)

Given a topological spaceMand a continuous function

f = (f1, . . . ,fk) :M →Rk,

Lower level sets

For everyu∈Rk,Mhf ui={x ∈M:f(x)u}.

(u= (u1, . . . ,uk)v = (v1, . . . ,vk)meansuj ≤vj for every indexj.)

Definition (Frosini 1991)

TheSize Functionof(M,f)is the function`that takes each pair(u,v)

withu≺v to the number`(u,v)of connected components of the set

(66)
(67)
(68)
(69)
(70)
(71)
(72)
(73)
(74)

Here the measuring functionf = (f1,f2)is given by the coordinates of

(75)

A. Verri, C. Uras, P. Frosini, M. Ferri,On the use of size functions

for shape analysis, Biological Cybernetics, 70 (1993), 99–107.

A. Verri, C. Uras,Metric-topological approach to shape

representation and recognition, Image and Vision Computing, 14,

n. 3 (1996), 189–207

C. Uras, A. Verri,Computing size functions from edge maps,

International Journal of Computer Vision, 23, n. 2 (1997), 169–183.

S. Biasotti, L. De Floriani, B. Falcidieno, P. Frosini, D. Giorgi, C.

Landi, L. Papaleo, M. Spagnuolo,Describing shapes by

geometrical-topological properties of real functions, ACM

(76)

Size functions have been generalized by Edelsbrunner and al. to homology in higher degree (i.e., counting the number of holes instead of the number of connected components). This theory is called

Persistent Homology:

H. Edelsbrunner, D. Letscher, A. Zomorodian,Topological persistence

and simplification, Discrete & Computational Geometry, vol. 28, no. 4, 511–533 (2002).

Size functions have been also generalized to size homotopy groups:

P. Frosini, M. Mulazzani,Size homotopy groups for computation of

natural size distances, Bulletin of the Belgian Mathematical Society, vol. 6, no. 3, 455–464 (1999).

(77)

An important property of the matching distance is that size functions (and the ranks of persistent homology groups) are stable with respect to it. This stability can be expressed by means of the inequality

D

match

d

F

wheredF denotes the natural pseudo-distance.

Therefore,the matching distance between size functions gives a lower

bound for the natural pseudo-distance.

In plain words, the stability ofDmatchmeans that a small change of the

(78)

Stability allows us to use the matching distance to compare shapes:

Upper lines refer to the2-dimensional matching distance associated

with a suitable function f = (f1,f2)taking values inR2.

(79)

Classical size functions and persistent homology are not tailored on

the groupG. In some sense, they are tailored on the groupHomeo(M)

of all self-homeomorphisms ofM.

In order to obtain better lower bounds for the natural pseudo-distance

we need to adapt persistent homology, and to considerG-invariant

persistent homology.

Roughly speaking, the main idea consists in defining size functions and persistent homology by means of a set of chains that is invariant

under the action ofG.

We skip the details of this procedure, that produces better lower bounds for the natural pseudo-distance.

(80)

We have seen that size functions allow to obtain lower bounds for the natural pseudo-distance. What about upper bounds? This problem is far more difficult.

However, the following statement holds:

Theorem

Let f = (f1,f2),f0 = (f10,f20) :S1→R2be “generic” functions from S1to R2. If the size functions of the four pairs of measuring functions

(±f1,±f2),(±f10,±f20)(with corresponding signs) coincide, then there exists a C1-diffeomorphism h:S1→S1such that f0◦h=f . Moreover, it is unique.

P. Frosini, C. Landi,

(81)

In this talk we have illustrated a general metric scheme for geometrical shape comparison. The main idea of this model is that in shape comparison objects are not accessible directly, but only via

measurements made by an observer. It follows that the comparison of

two shapes is usually based on a familyF of functions, which are

defined on a topological spaceMand take values in a metric space

(V,d). Each function inF represents a measurement obtained via a

measuring instrument and, for this reason, it is called a "measuring

function". In most cases, the setF of measuring functions is invariant

with respect to a given groupGof transformations, that depends on

the type of measurement we are considering.

After endowingF with a natural pseudo-metric, we have presented

some examples and results, motivating the use of this theoretical framework.

(82)

“Il catalogo delle forme è sterminato: finché ogni forma non avrà trovato la sua città, nuove città continueranno a nascere. Dove le forme esauriscono le loro variazioni e si disfano, comincia la fine delle città.” “The catalogue of forms is endless: until every shape has found its city, new cities will continue to be born. When the forms exhaust their variety and come apart, the end of cities begins.”

(83)

References

Related documents

Más bien este libro contiene las herramientas y técnicas para la eficacia personal con las que fácilmente puedes mejorar cualquier buen enfoque o habi- lidad actual en el aula y

Table 8 showed a mean comparison of coffee varieties and altitudes on Aromatic Intensity content with Mean ± SD, N=3.Two-way ANOVA shows there was no significant interaction

Thus, if government investment increases and defense spending falls dollar for dollar, consumption, labor, and output are not affected in the short run, but in the long run,

For some application scenarios, reliable data dissemination to all nodes is necessary for propagating code updates, queries, and other sensitive information in wireless sensor

Empic & Partners Consortium may undertake the complete range of disciplines, including detail engineering, planning, procurement, construction management, supply of material for

Arr. Ivalo by post office motor Mondays, Tuesdays, Wednes- days, Fridays, Saturdays, Sundays 7.00, »Lapin juna» Mon- days, Tuesdays, Thursdays, and Saturdays 8.00 arr. 215:—).

Part II of this essay offers three ways to frame the June 2018 US announcement and subsequent withdrawal, from the perspective of the international legal order for

In all 24 questions were asked on topics like Para-Jumble , Sentence Correction , Synonyms , Antonyms , Fill in the blanks and Idioms.. Synonyms: There were four questions on