• Aucun résultat trouvé

(Generation and) Recognition of Digital Planes using Multidimensional Continued Fractions

N/A
N/A
Protected

Academic year: 2022

Partager "(Generation and) Recognition of Digital Planes using Multidimensional Continued Fractions"

Copied!
50
0
0

Texte intégral

(1)

(Generation and) Recognition of Digital Planes using Multidimensional Continued Fractions

Thomas Fernique

LIRMM – Univ. Montpellier 2

Lyon, April 16, 2008

(2)

Introduction

Question: planarity of a given discrete object?

Many approaches already exist.

Here: generalization of Wu-Troesh algorithm for discrete lines.

Principe: local planarity checking and “backwards zooms”.

(3)

Stepped planes Local properties Recoding A hybrid algorithm

1 Stepped planes

2 Local properties

3 Recoding (Backwards zooms)

4 A hybrid algorithm

(4)

Stepped planes Local properties Recoding A hybrid algorithm

1 Stepped planes

2 Local properties

3 Recoding (Backwards zooms)

4 A hybrid algorithm

(5)

Stepped planes Local properties Recoding A hybrid algorithm Face

Let (~e1, . . . , ~ed) be the canonical basis ofRd. Faceof type i ∈ {1, . . . ,d}located at~x ∈Zd:

e3

e1

e2 x

e3

e1

e2 x

e3

e1

e2 x

Discrete objectshere considered: unions of such faces.

(6)

Stepped planes Local properties Recoding A hybrid algorithm Plane

Stepped planeP~α,ρ: boundary of the union of unit cubes ofZd intersecting the real half-space{~x | h~x|~αi ≤ρ}.

Vertices ofP~α,ρ: discrete standard planeof parameters (~α, ρ).

(7)

Stepped planes Local properties Recoding A hybrid algorithm Patch

Patchof a stepped plane: union of faces included in this plane.

Let us stress that stepped planes can share patches.

(8)

Stepped planes Local properties Recoding A hybrid algorithm Patch

Patchof a stepped plane: union of faces included in this plane.

Let us stress that stepped planes can share patches.

(9)

Stepped planes Local properties Recoding A hybrid algorithm Patch

Patchof a stepped plane: union of faces included in this plane.

Let us stress that stepped planes can share patches.

(10)

Stepped planes Local properties Recoding A hybrid algorithm Parameters

More generally, given a union of facesB,P(B) denotes the set of parameters of stepped planesB is a patch of:

P(B) ={(~α, ρ)∈Rd+\{~0} ×R | B ⊂ P~α,ρ}.

We speak aboutadmissibles parametersof B. It is a convex polytope ofRd+1, non-empty iff Bis a patch of stepped plane.

Recognition of B: computation ofP(B).

(11)

Stepped planes Local properties Recoding A hybrid algorithm

1 Stepped planes

2 Local properties

3 Recoding (Backwards zooms)

4 A hybrid algorithm

(12)

Stepped planes Local properties Recoding A hybrid algorithm Principe

Stepped plane: constrained and regular object.

Looks planar.

(13)

Stepped planes Local properties Recoding A hybrid algorithm Principe

Stepped plane: constrained and regular object.

Does not look planar.

(14)

Stepped planes Local properties Recoding A hybrid algorithm Run

Definition (run)

An (i,j)-run of a union of faces Bis a maximal sequence of faces of typei, aligned in the direction~ej and included in B.

(1,3)-runs of length 2 and 3.

(15)

Stepped planes Local properties Recoding A hybrid algorithm Run

Proposition (Berth´e-F. 2007)

(i,j)-runs of stepped planeP~α,ρ have length bαijc or dαije.

If it is a stepped plane with normal~α, then 2< α13 <3.

(16)

Stepped planes Local properties Recoding A hybrid algorithm Run

Proposition (Berth´e-F. 2007)

(i,j)-runs of stepped planeP~α,ρ have length bαijc or dαije.

It is not a stepped plane (incompatible lengths of runs).

(17)

Stepped planes Local properties Recoding A hybrid algorithm Recognizability

Planes and patches do not always have identical runs:

?

?

Weak conditions info. on the (eventual) normal vector. We speak about a recognizable union of faces.

(18)

Stepped planes Local properties Recoding A hybrid algorithm Recognizability

Planes and patches do not always have identical runs:

Weak conditions info. on the (eventual) normal vector.

We speak about a recognizable union of faces.

(19)

Stepped planes Local properties Recoding A hybrid algorithm

1 Stepped planes

2 Local properties

3 Recoding (Backwards zooms)

4 A hybrid algorithm

(20)

Stepped planes Local properties Recoding A hybrid algorithm Principe

Recoding: map ˜T on union of faces which satisfies:

B patch ofP iff ˜T(B) patch of ˜T(P);

P(B) can be (easily) deduced fromP( ˜T(B));

T˜(B) contains (much) lesser faces thanB.

Aim: reducing the recognition ofBto the one of ˜T(B).

(21)

Stepped planes Local properties Recoding A hybrid algorithm Principe

More precisely, recoding bydual maps(see abstract):

T˜(B) =E1B)(B).

Choice ofσB relies on the runs of B (if recognizable).

Intuition of the “whole” principe:

Compute the common part of multi-dimensional continued fraction expansion (Brun’s algorithm) of the normal vectors of stepped planesB is a patch of.

(22)

Stepped planes Local properties Recoding A hybrid algorithm Principe

More precisely, recoding bydual maps(see abstract):

T˜(B) =E1B)(B).

Choice ofσB relies on the runs of B (if recognizable).

Intuition of the “whole” principe:

Compute the common part of multi-dimensional continued fraction expansion (Brun’s algorithm) of the normal vectors of stepped planesB is a patch of.

(23)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

Problem: T˜ can be applied only with particular boundaries.

This condition generally does not hold.

Solution: use the following equivalence notion: B ∼ B0 ⇔ P(B) =P(B0). The equivalence classes are generally big.

allows to choose an equivalent patch with suitable boundaries. Note: each equivalence class has a structure of semi-lattice

(24)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

Problem: T˜ can be applied only with particular boundaries.

This condition generally does not hold.

Solution: use the following equivalence notion:

B ∼ B0 ⇔ P(B) =P(B0).

The equivalence classes are generally big.

allows to choose an equivalent patch with suitable boundaries.

Note: each equivalence class has a structure of semi-lattice

(25)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

Problem: T˜ can be applied only with particular boundaries.

This condition generally does not hold.

Solution: use the following equivalence notion:

B ∼ B0 ⇔ P(B) =P(B0).

The equivalence classes are generally big.

allows to choose an equivalent patch with suitable boundaries.

Note: each equivalence class has a structure of semi-lattice

(26)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

A stepped plane containing this has (1,3)-runs of length 2 and 3.

(27)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

We thus can extend (1,3)-runs of length less than 2,

(28)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

and “close” those of length 3.

(29)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

We can proceed similarly for (1,2)-runs,

(30)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

We can proceed similarly for (1,2)-runs,

(31)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

and for (3,2)-runs.

(32)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

We can then repeat these operations.

(33)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

We can then repeat these operations.

(34)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

We can then repeat these operations.

(35)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

If the initial number is finite, then the process converges.

(36)

Stepped planes Local properties Recoding A hybrid algorithm Problems with boundaries

We could also remove ”deducible” faces. Thus, large choice.

(37)

Stepped planes Local properties Recoding A hybrid algorithm

1 Stepped planes

2 Local properties

3 Recoding (Backwards zooms)

4 A hybrid algorithm

(38)

Stepped planes Local properties Recoding A hybrid algorithm Pseudo-code

Algorithm:

1. whileB recognizable do

2. B ←˜ suitable equivalent of B;

3. B ←recoding of ˜B;

4. endwhile;

5. computeP(B) thanks to another algorithm;

6. deduce the parameters of the initialB;

(39)

Stepped planes Local properties Recoding A hybrid algorithm Complexity

Each loop:

reading runs + choosing an equivalent + recoding: O(|B|).

Number of loops:

IfBis a patch of stepped plane of normalα~ = (p1/q, . . . ,pd/q):

logd+2

d+1(p1+. . .+pd+q).

Otherwise, letD be the side of a bounding box for B. Then, either Bis a patch of a stepped plane of normal ~α= (p1/q, . . . ,pd/q) withpi,q ≤D, or it is not planar. Hence the general bound:

logd+2

d+1((d+ 1)D).

Total complexity: quasi-linear ifD is polynomial in |B|.

(40)

Stepped planes Local properties Recoding A hybrid algorithm Complexity

Each loop:

reading runs + choosing an equivalent + recoding: O(|B|).

Number of loops:

IfBis a patch of stepped plane of normalα~ = (p1/q, . . . ,pd/q):

logd+2

d+1(p1+. . .+pd+q).

Otherwise, letD be the side of a bounding box for B. Then, either Bis a patch of a stepped plane of normal ~α= (p1/q, . . . ,pd/q) withpi,q ≤D, or it is not planar. Hence the general bound:

logd+2

d+1((d+ 1)D).

Total complexity: quasi-linear ifD is polynomial in |B|.

(41)

Stepped planes Local properties Recoding A hybrid algorithm Complexity

Each loop:

reading runs + choosing an equivalent + recoding: O(|B|).

Number of loops:

IfBis a patch of stepped plane of normalα~ = (p1/q, . . . ,pd/q):

logd+2

d+1(p1+. . .+pd+q).

Otherwise, letD be the side of a bounding box for B. Then, either Bis a patch of a stepped plane of normal ~α= (p1/q, . . . ,pd/q) withpi,q ≤D, or it is not planar. Hence the general bound:

logd+2

d+1((d+ 1)D).

Total complexity: quasi-linear ifD is polynomial in|B|.

(42)

Stepped planes Local properties Recoding A hybrid algorithm Example

Union of 407 faces: is it a patch of stepped plane?

(43)

Stepped planes Local properties Recoding A hybrid algorithm Example

Recognizable union computation of a suitable equivalent.

(44)

Stepped planes Local properties Recoding A hybrid algorithm Example

Recoding union of 216 faces. Is it a patch of stepped plane?

(45)

Stepped planes Local properties Recoding A hybrid algorithm Example

Recognizable union computation of a suitable equivalent.

(46)

Stepped planes Local properties Recoding A hybrid algorithm Example

Recoding union of 129 faces. Is it a patch of stepped plane?

(47)

Stepped planes Local properties Recoding A hybrid algorithm Example

Recognizable union computation of a suitable equivalent.

(48)

Stepped planes Local properties Recoding A hybrid algorithm Example

Recoding union of 52 faces. Is it a patch of stepped plane?

(49)

Stepped planes Local properties Recoding A hybrid algorithm Example

Unrecognizable union use another algorithm.

(50)

Conclusion

Advantages of recognition by recoding:

new generalization of a result for discrete lines;

good theoretical complexity;

allows partial recognition (convergence of continued fractions);

“backwards” recoding generation (see abstract).

Open problems:

practical complexity?

robustness?

Références

Documents relatifs

In this paper we study the SD-based adaptive LQ control problem of a class of MJS with unknown Markov jumps and stochastic noises, and analyze the influence of sample step on both

Let us note that a confusion might occur here in the choice of our terminology (stepped surface and atomic surface): indeed two dual quasicrystals are defined, that is, on one side,

His proofs, however, are not based upon the theory of continued fractions, but depend on geometric properties of elliptic modular transformations [4]... We have

Aschbacher's classification of finite doubly transitive groups in which the stabilizer of a n y two points is abelian... ASC~BACHEIr M., Doubly transitive groups in

flat surface (see Figure 3a) and already demonstrate the main findings in this paper, which will be treated in detail below: (i) two new high-temperature peaks appear (C, D); (ii)

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

Résumé - L'adsorption et la décomposition catalytique de NO à la surface de pointes émettrices de Pt et Ru, ont été étudiées par spectrométrie de masse de désorption de

Five of these boulders (with six carvings of stepped shrines), which were photographed by Tashi Ldawa in 2007, were broken in recent years to be used as construction material –