• Aucun résultat trouvé

Mesh Generation

N/A
N/A
Protected

Academic year: 2022

Partager "Mesh Generation"

Copied!
26
0
0

Texte intégral

(1)

Mesh Generation

Jean-Daniel Boissonnat Geometrica, INRIA

http://www-sop.inria.fr/geometrica

Winter School, University of Nice Sophia Antipolis January 26-30, 2015

(2)

Restricted Delaunay triangulation

[Chew 93]

Definition

Therestricted Delaunay triangulationDelX(P)to X⊂Rd is the nerve of Vor(P)∩X

If P is anε-sample, any ball centered onXthat circumscribes a facet ofDelX(P) has a radiusεrch(M)

(3)

Restricted Delaunay triangulation

[Chew 93]

Definition

Therestricted Delaunay triangulationDelX(P)to X⊂Rd is the nerve of Vor(P)∩X

If P is anε-sample, any ball centered onXthat circumscribes a facet ofDelX(P) has a radiusεrch(M)

(4)

Restricted Delaunay triangulation

[Chew 93]

Definition

Therestricted Delaunay triangulationDelX(P)to X⊂Rd is the nerve of Vor(P)∩X

If P is anε-sample, any ball centered onXthat circumscribes a facet ofDelX(P) has a radiusεrch(M)

(5)

Restricted Delaunay triangulation

[Chew 93]

Definition

Therestricted Delaunay triangulationDelX(P)to X⊂Rd is the nerve of Vor(P)∩X

(6)

A variant of the nerve theorem

[Edelsbrunner & Shah 1997]

LetMbe a compact manifold without boundary. If, for any face f ∈Vor(P) s.t. f ∩M6=∅,

1 f intersectsMtransversally

2 f ∩M=∅or is a topological ball thenDelM(P)≈M

(7)

A variant of the nerve theorem

[Edelsbrunner & Shah 1997]

LetMbe a compact manifold without boundary. If, for any face f ∈Vor(P) s.t. f ∩M6=∅,

1 f intersectsMtransversally

2 f ∩M=∅or is a topological ball thenDelM(P)≈M

(8)

Proof of the closed ball property

Barycentric subdivision

ofVor(P)∩M ofDelM(P)

(9)

Good sampling, scale and dimension

(10)

Sampling conditions

[Federer 1958], [Amenta & Bern 1998]

Medial axis ofM: axis(M)

set of points with at least two closest points onM

Reach

∀x∈M, rch(x)=infimum of the radii of the medial balls tangent toMatx rch(M)=infx∈Mrch(x)

(, η)-sample ofM

1.P ⊂M,∀x∈M: d(x,P)≤rch(M) 2.∀p,q∈ P, kp−qk ≥ηrch(M)

(11)

Sampling conditions

[Federer 1958], [Amenta & Bern 1998]

Medial axis ofM: axis(M)

set of points with at least two closest points onM

Reach

∀x∈M, rch(x)=infimum of the radii of the medial balls tangent toMatx rch(M)=infx∈Mrch(x)

(, η)-sample ofM

1.P ⊂M,∀x∈M: d(x,P)≤rch(M) 2.∀p,q∈ P, kp−qk ≥ηrch(M)

(12)

Restricted Delaunay triang. of ( ε, η )-samples

[Amenta et al. 1998-], [B. & Oudot 2005]

If

S ⊂R3 is a compact surface of positive reach without boundary

P is an(ε, η)-sample withε/η≤ξ0andε small enough

then

Del|S(S)provides good estimates of normals

There exists ahomeomorphism φ:Del|S(P)→ S

supx(kφ(x)−xk) =O(ε2)

(13)

Surface mesh generation by Delaunay refinement

[Chew 1993, B. & Oudot 2003]

φ:SR= Lipschitz function

∀xS, 0< φminφ(x)< εrch(x)

ORACLE: For a facetf ofDel|S(P), returncf,rf andφ(cf) A facetf isbadifrf > φ(cf)

Context and Motivation

Delaunay refinement meshing engine

The algorithms refines:

Bad facets: f Del|S(P) – oversized (sizing field)

– badly shaped (min angle bound) – inaccurate (distance bound) Bad Tetrahedra : tDel|O(P) – oversized (sizing field)

– badly-shaped (radius-egde ratio) Required oracle on domain to be meshed

point location in domain and subdomains

intersection detection/computation between boundary surfaces and segments (Delaunay edges)

PA-MY (INRIA Geometrica) CGALmesh ARC-ADT-AE-2010 9 / 36

Algorithm

INIT compute an initial (small) sampleP0S REPEAT IFf is a bad facet

insert in Del3D(cf), updatePandDel|S(P) UNTIL all facets are good

(14)

Surface mesh generation by Delaunay refinement

[Chew 1993, B. & Oudot 2003]

φ:SR= Lipschitz function

∀xS, 0< φminφ(x)< εrch(x)

ORACLE: For a facetf ofDel|S(P), returncf,rf andφ(cf) A facetf isbadifrf > φ(cf)

Context and Motivation

Delaunay refinement meshing engine

The algorithms refines:

Bad facets: f Del|S(P) – oversized (sizing field)

– badly shaped (min angle bound) – inaccurate (distance bound) Bad Tetrahedra : tDel|O(P) – oversized (sizing field)

– badly-shaped (radius-egde ratio) Required oracle on domain to be meshed

point location in domain and subdomains

intersection detection/computation between boundary surfaces and segments (Delaunay edges)

PA-MY (INRIA Geometrica) CGALmesh ARC-ADT-AE-2010 9 / 36

Algorithm

INIT compute an initial (small) sampleP0S REPEAT IFf is a bad facet

insert in Del3D(cf), updatePandDel|S(P) UNTIL all facets are good

(15)

The meshing algorithm in action

(16)

The algorithm outputs a good sample

The output sampleP is sparse

∀p∈ P,d(p,P \ {p}) =kp−qk

≥min(φ(p), φ(q))

≥φ(p)− kp−qk

⇒ kp−qk ≥ 12φ(p)≥ 12φ0 >0 the algorithm terminates

P is a looseε-sample ofS

I Each facet has aS-radiusrf φ(cf)< εrch(S)

I Del|S(P)has a vertex on each cc ofS (INIT)

(17)

Size of the sample = Θ R

S dx φ2(x)

Upper bound

Bp=B(p,φ(p)2 ),p∈ P R

S dx φ2(x) P

p

R

(Bp∩S) dx

φ2(x) (theBpare disjoint)

49P

p

area(Bp∩S)

φ2(p) φ(x)φ(p) +kpxk

32 φ(p))

P

pC = C|P|

reach(S)

p φ(p)2

Lower bound

Use a covering instead of a packing

(18)

Size of the sample = Θ R

S dx φ2(x)

Upper bound

Bp=B(p,φ(p)2 ),p∈ P R

S dx φ2(x) P

p

R

(Bp∩S) dx

φ2(x) (theBpare disjoint)

49P

p

area(Bp∩S)

φ2(p) φ(x)φ(p) +kpxk

32 φ(p))

P

pC = C|P|

reach(S)

p φ(p)2

Lower bound

Use a covering instead of a packing

(19)

The full result

The Delaunay refinement algorithm produces a good (dense and sparse) sample a triangulated surfaceˆS

I homeomorphic toS

I close toS (Hausdorff/Fr ´echet distance, approximation of normals)

(20)

Applications

Implicit surfacesf(x,y,z) =0

Isosurfaces in a 3d image (Medical images) Triangulated surfaces (Remeshing)

Point sets (Surface reconstruction)

see cgal.org, CGALmesh project

(21)

Results on smooth implicit surfaces

(22)

CGALmesh Achievements

Meshing 3D domains

Input from segmented 3D medical images

[INSERM] [SIEMENS]

PA-MY (INRIA Geometrica) CGALmesh ARC-ADT-AE-2010 22 / 36

(23)

Comparison with the Marching Cube algorithm

Delaunay refinement Marching cube

(24)

CGALmesh Achievements

Meshing with sharp features

A polyhedral example

PA-MY (INRIA Geometrica) CGALmesh ARC-ADT-AE-2010 30 / 36

(25)

CGALmesh Achievements

Meshing 3D multi-domains

Input from segmented 3D medical images [IRCAD]

PA-MY (INRIA Geometrica) CGALmesh ARC-ADT-AE-2010 21 / 36

(26)

Surface reconstruction from unorganized point sets

Courtesy of P. Alliez

Références

Documents relatifs

Denote by H 0 (X, L) the vector space of global sections of L, and suppose that this space has

Let us denote by RG perm p the category of all p {permutation RG {modules. The following proposition generalizes to p {permutation modules a result which is well known for

— Let M&#34;, n^3, be a compact manifold without boundary, having a handle decomposition and such that there exists a basis of Hi (M&#34;, R) represented by imbedded curves

Thus the question arises as to when these local extensions, of the com- plex structure of D across M, can be pieced together to give a global collar neighborhood

A compact G-space is called a G-boundary in the sense of Furstenberg ([F1, F2]) if X is minimal and strongly proximal, or equivalently if X is the unique minimal G-invariant

Mondino, Sharp geometric and functional inequalities in metric measure spaces with lower Ricci curvature bounds, available at http://arxiv.org/abs/1505.02061v1.... Cheeger, A

In these and most other related statistical applications, the matrix involved is real and symmetric, e.g., a covariance or correlation matrix, or a graph Laplacian or adjacency

In [19] or [8], once a bound is obtained for torsion Λ- modules, the extension to higher homological degrees is rather easy using the trivial dimension formula for free