SlideShare uma empresa Scribd logo
1 de 17
Baixar para ler offline
Manipulating Topological Decompositions of
Non-Manifold Shapes
David Canino
Independent Researcher in Computer Science
PhD. in Computer Science
canino.david@gmail.com
October 3, 2016
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 1 / 17
The Problem (Automatic Editing of a Decomposition) #1
The Starting Point
A (cell) complex Γ discretizes a digital shape, and may be:
decomposed into the relevant components of any decomposition D(Γ),
always computable (the Batch Approach);
updated by an editing operator u = (u−
, u+
). The resulting complex is
Γu = {Γ|u−
} ∪ {u+
}.
Objective of This Paper (the Interactive Approach)
Updating automatically D(Γ) when applying an editing operator u on Γ.
The Naive Approach
Γ
u
−−−−−−−−−−−→ Γu
D





 D
D(Γ)
???
−−−−−−−−−−−−→ D(Γu)
This approach is always computable, and
works in all cases (general solution)
BUT the relation between D(Γ) and
D(Γu) is not known and exploited.
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 2 / 17
The Problem (Automatic Editing of a Decomposition) #2
In any case, the naive approach may be INEFFICIENT:
an update u modifies only locally Γ (a local Region-Of-Influence, ROI);
the components in D(Γ), related to the unchanged portions of Γ (NOT
AFFECTED by u), may be reused directly in D(Γu);
only the components of D(Γ), related to the portions of Γ, modified by u
(AFFECTED by u), are recomputed, modified, and added to D(Γu).
Consequences
no need to recompute D from
scratch after every u (expensive);
this task is performed even if at
interactive rate, when reusing the
components from D(Γ).
However ...
a general solution does not exist;
a solution depends on the update
u and the decomposition D.
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 3 / 17
The Structural Models for the Non-Manifold Shapes #1
Manifold Condition at a Point p
Its neighborhood is locally homeomorphic to
the ball, centered at p.
The Non-Manifold Shapes
some non-manifold singularities, where
the manifold condition is violated;
several subcomponents of different
dimension, often (almost) manifold.
vw
f
t
Classic Approach (cell complexes in Ed
)
The topological data structures (mangroves):
cells (vertices, edges, 2-cells, . . .);
the topological relations for each cell.
Too many contributions:
De Floriani and Hui, 2005
Botsch et. al., 2010
Canino, 2012
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 4 / 17
The Structural Models for the Non-Manifold Shapes #2
Drawbacks (wrt non-manifolds)
the non-manifold singularities are not
exposed directly (not always
recognizable, Nabutovski, 1996);
the subcomponents are not exposed.
ONLY the local connectivity for a cell in a
(non-manifold) shape
The Structural Model
the subcomponents are
exposed explicitly;
the connections along the
non-manifold singularities.
The global structure of a
non-manifold shape
Mesh Repairing (Result=manifold)
Falcidieno and Ratto, 1992
Gueziec and Cardoze, 1998
Rossignac et all., 1999
Attene et all., 2009 / 2013
(Combinatorial) Stratifications
Whitney, 1965
Lopes et all., 1999
De Floriani et all., 2003
Pesco et all., 2004
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 5 / 17
The Manifod-Connected (MC-) decomposition #1
The Manifold-Connected (MC)- decomposition (De Floriani and Hui, 2007) is
extended here to any cell d-complex Γ (initially for simplicial complexes).
Top k-cell γ (with 0 ≤ k ≤ d)
Does not bound another cell in Γ.
MC-adjacent top k-cells γ and γ
They are the unique top cells in the star
of a common (k − 1)-face τ.
2-cells c0 and c1 are MC-adjacent
The MC-path from γ to γ
a sequence of top k-cells, such
that a pair of consecutive cells
is MC-adjacent;
all top k-cells in the MC-path
are MC-equivalent.
MC-path (always computable):
q0 → q1 → q2 → q3 → q4
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 6 / 17
The Manifod-Connected (MC-) decomposition #2
The MC-connectivity relation ∼MC among top k-cells (equivalence relation)
Here, γ ∼MC γ , iff γ and γ are MC-equivalent (always computable).
It is the transitive closure of the MC-adjacency.
MC-component [γ] (wrt ∼MC )
Maximal collection of all top cells,
MC-equivalent to γ (equivalence class).
MC-decomposition MCΓ (unique)
Quotient space Γ/ ∼MC .
A more formal description (and more details) in the paper
For more details, see Canino, 2012 - Canino, De Floriani, 2013
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 7 / 17
How and When an Update affects the MC-components
The Key Target in the Running Pipeline
understanding how modifying any equivalence class [γ] (wrt ∼MC ) when
applying an update u = (u−
, u+
);
[γ] is affected by u, if it intersects the generalized neighborhood σh
(u−
) for
any order h (minimum order ¯h such that this happens).
The Generalized Neighborhood σh
(u−
)
σ0
(u−
) ≡ all top cells in the star
of vertices in u−
;
σh
(u−
) ≡ σ0
(σh−1
(u−
)).
By construction, σ∞(u−) ≡ Γ σ0
(v0) = {q1, q4} (yellow)
σ1
(v0) = σ0
(v0) ∪ {q0, q2, q3} (light blue)
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 8 / 17
How Updating the MC-decomposition
Modifying the MC-decomposition MCΓ of a 2-complex Γ with:
V vertices (i.e, 0-cells), E edges (i.e., 1-cells), F polygons (i.e., 2-cells);
R connected regions and L hole loops (1-cycles).
The Euler operators in Lee and Lee, 2001, satisfying the Euler formula:
V − E + F = R − L
This forms a basis for all updates on cell 2-complexes + MC-decompositions.
Exploiting the Compact MC-graph (see Canino and De Floriani, 2013),
where every operation is efficient.
Defined on any mangrove (see Canino, 2012) [ nodes clustering ]
Key Operation (Theoretical Validity)
splitting and merging together the MC-paths of interest;
∼MC is an equivalence relation, thus is transitive.
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 9 / 17
The MEV and the KEV Updates
The Make-Edge-Vertex (MEV) Update
adds a new vertex v to Γ;
adds a new top edge e = (v, v )
between v and an existing vertex v.
V=V+1, E=E+1
Key Idea
candidate [e] is merged with
an existing [e ] in MCΓ, iff a
MC-adjacency occurs at v;
otherwise, [e] is added, and
[e ] may be (even) split.
MC-components intersect σ0
(v)
Time complexity: O(1) [best]
#top edges in [e ] (worst)
MEV
KEV
v'
e
e'
e''
v
e''
v
e' The Kill-Edge-Vertex
(KEV) Update
The reverse wrt the MEV
update.
More details in the paper.
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 10 / 17
The MEL and the KEL Updates
The Make-Edge-Loop (MEL) Update
Completes a hole loop with a new top
edge e = (v, v ), connecting vertices v
and v .
E=E+1,L=L+1
The hole loops are not relevant for ∼MC .
MC-components intersect σ0
(v) ∪ σ0
(v )
Key Idea
candidate [e] is merged with
the existing MC-components
in MCΓ, iff a MC-adjacency
occurs at v or/and v (also
both, up to 2 fusions);
otherwise, [e] is added, and
the existing MC-components
may be (even) split.
e
v v
v
e
e'
1 1 2
2
3
v e
3
4 3
e
v
v
e'
v1
e1
2
2
33v4
e3
MEL
KEL
e
The Kill-Edge-Loop
(KEL) Update
The reverse wrt the MEL
update.
Time complexity: #top edges in the star of v and v .
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 11 / 17
The MEJR, KESR, MVR and KVR Updates
The Make-Edge-Join-Region (MEJR)
Update
Creates a new top edge e = (v1, v2)
between two existing vertices v1 and
v2 in two distinct regions.
E=E+1, R=R-1
The Kill-Edge-Split-Region (KESR)
Update
Removes a top edge e = (v1, v2),
disconnecting two regions in Γ
(connected only through e).
E=E-1, R=R+1
MEJR
KESR
e
v
v
1
2
v
v
1
2
Mutually reverse
Similar to the MEL and KEL
updates (without loops)
The Make-Vertex-Region (MVR)
Update
Adds a new top vertex v, i.e., a new
[v] to MCΓ (V = V + 1, R = R + 1).
The Kill-Vertex-Region (KVR) Update
Removes a top vertex v, i.e., an
existing [v] from MCΓ (V = V − 1,
R = R − 1).
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 12 / 17
The MFKL and the KFML Updates
The Make-Face-Kill-Loop (MFKL) Update
Fills the void, bounded by a hole loop
(ei )n
i=1, with a new 2-cell γ
F=F+1,L=L-1
MC-components in i σ0
(ei )
Time complexity: #2-cells in the star of
all edges ei in the hole loop
Key Idea
candidate [γ] is merged with
the existing MC-components
in MCΓ, iff a MC-adjacency
occurs at ei
otherwise, [γ] is added, and
the existing MC-components
may be (even if) split
e
e
e e
e
e
1
1
2 2
33
MFKL
KFML
The Kill-Face-Make-Loop
(KFML) Update
The reverse update wrt
the MFKL update.
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 13 / 17
Other Updates
This forms a basis for manipulating MCΓ with any update.
MC-equivalent Meshings
Replacing a MC-path with another
MC-path (with the same domain).
MCΓ remains unchanged.
Template-based and Stellar Updates
Delaunay/Voronoi Mesh Generation
Automatic Retopology
Merging/Splitting MC-adjacent cells
Collapsing a p-cell γ
Removing γ and one of its border
(p − 1)-faces.
1-cell γ: KEV + KVR
2-cell γ: KFML + KEL
Collapsing an edge is an open problem - updates are propagated to the entire Γ.
e
v
vv
33
3
44
4
EC
VS
e
VS
EC
1
2
e
EC
VS
∼ a template-based operator EC on a top edge EC on a not top edge
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 14 / 17
Experimental Results
Applying m updates on Γ and MCΓ.
Average Running times (ms) on the
non-manifold 2D shapes from
http://ggg.disi.unige.it.
T N
m : the naive approach
T B
m : the batch approach
T I
m: the interactive approach
m T N
m T B
m T I
m T B
m / T I
m
10K 289.4K 36 5.5 6.5
40K − 85 22 3.9
100K − 196 58 3.3
500K − 1.1K 372 3.9
1M − 2.4K 746K 3
3M − 10.8K 2.1K 5.1
6M − 23.4K 4.3K 5.4
T N
m > 10 minutes after
only 40K updates;
T B
m ≈ 4 × T I
m (on average).
Consequences
T N
m is too high;
MCΓ could be built
interactively.
Our implementations exploit the Mangrove TDS Library -
http://mangrovetds.sourceforge.net
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 15 / 17
The Future Work
These idea are the basis for a very large number of applications:
the random and the interactive manipulation for a non-manifold shape and
its MC-decomposition (automatically)
improving the internal meshing quality of the MC-components (e.g., optimal
for the 3D printing, but not only)
improving the efficiency for computing the simplicial homology (Constructive
Homology Theory by F. Sergeraert, see Boltcheva, Canino, et. al., 2011)
extension to the higher dimensional shapes
defining a multiresolution structural model for the non-manifold shapes
Main Consequence
The internal meshing of the MC-components is not mandatory
Generation at run-time, like the Catalogs, by Castelli Aleardi et. al., 2011
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 16 / 17
That’s All (for Now). But I hope not ...
The source code of the implementations will be available as GPL v3 from:
http://mangrovetds.sourceforge.net
http://mangrovetds.github.io
distributed as an Extra Program of the Mangrove TDS Library (new version 3.0).
THANK YOU for YOUR
ATTENTION!
David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 17 / 17

Mais conteúdo relacionado

Semelhante a Canino d2016stag slides

Learning LWF Chain Graphs: A Markov Blanket Discovery Approach
Learning LWF Chain Graphs: A Markov Blanket Discovery ApproachLearning LWF Chain Graphs: A Markov Blanket Discovery Approach
Learning LWF Chain Graphs: A Markov Blanket Discovery Approach
Pooyan Jamshidi
 

Semelhante a Canino d2016stag slides (20)

Learning LWF Chain Graphs: A Markov Blanket Discovery Approach
Learning LWF Chain Graphs: A Markov Blanket Discovery ApproachLearning LWF Chain Graphs: A Markov Blanket Discovery Approach
Learning LWF Chain Graphs: A Markov Blanket Discovery Approach
 
My Prize Winning Physics Poster from 2006
My Prize Winning Physics Poster from 2006My Prize Winning Physics Poster from 2006
My Prize Winning Physics Poster from 2006
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
 
FINGERPRINTS IMAGE COMPRESSION BY WAVE ATOMS
FINGERPRINTS IMAGE COMPRESSION BY WAVE ATOMSFINGERPRINTS IMAGE COMPRESSION BY WAVE ATOMS
FINGERPRINTS IMAGE COMPRESSION BY WAVE ATOMS
 
FINGERPRINTS IMAGE COMPRESSION BY WAVE ATOMS
FINGERPRINTS IMAGE COMPRESSION BY WAVE ATOMSFINGERPRINTS IMAGE COMPRESSION BY WAVE ATOMS
FINGERPRINTS IMAGE COMPRESSION BY WAVE ATOMS
 
Scalable Online Betweenness Centrality in Evolving Graphs
Scalable Online Betweenness Centrality in Evolving GraphsScalable Online Betweenness Centrality in Evolving Graphs
Scalable Online Betweenness Centrality in Evolving Graphs
 
Mathematical Hydraulic Models of One-Dimensional Unsteady Flow in Rivers
Mathematical Hydraulic Models of One-Dimensional Unsteady Flow in Rivers Mathematical Hydraulic Models of One-Dimensional Unsteady Flow in Rivers
Mathematical Hydraulic Models of One-Dimensional Unsteady Flow in Rivers
 
Graph
GraphGraph
Graph
 
3rd sem ppt for wavelet
3rd sem ppt for wavelet3rd sem ppt for wavelet
3rd sem ppt for wavelet
 
Investigation of repeated blasts at Aitik mine using waveform cross correlation
Investigation of repeated blasts at Aitik mine using waveform cross correlationInvestigation of repeated blasts at Aitik mine using waveform cross correlation
Investigation of repeated blasts at Aitik mine using waveform cross correlation
 
Link-wise Artificial Compressibility Method: a simple way to deal with comple...
Link-wise Artificial Compressibility Method: a simple way to deal with comple...Link-wise Artificial Compressibility Method: a simple way to deal with comple...
Link-wise Artificial Compressibility Method: a simple way to deal with comple...
 
FINGERPRINTS IMAGE COMPRESSION BY WAVE ATOMS
FINGERPRINTS IMAGE COMPRESSION BY WAVE ATOMSFINGERPRINTS IMAGE COMPRESSION BY WAVE ATOMS
FINGERPRINTS IMAGE COMPRESSION BY WAVE ATOMS
 
Development, Optimization, and Analysis of Cellular Automaton Algorithms to S...
Development, Optimization, and Analysis of Cellular Automaton Algorithms to S...Development, Optimization, and Analysis of Cellular Automaton Algorithms to S...
Development, Optimization, and Analysis of Cellular Automaton Algorithms to S...
 
Metastatistical Extreme Value distributions
Metastatistical Extreme Value distributionsMetastatistical Extreme Value distributions
Metastatistical Extreme Value distributions
 
Local Model Checking Algorithm Based on Mu-calculus with Partial Orders
Local Model Checking Algorithm Based on Mu-calculus with Partial OrdersLocal Model Checking Algorithm Based on Mu-calculus with Partial Orders
Local Model Checking Algorithm Based on Mu-calculus with Partial Orders
 
Slattery_SIAMCSE15
Slattery_SIAMCSE15Slattery_SIAMCSE15
Slattery_SIAMCSE15
 
Markov chain monte_carlo_methods_for_machine_learning
Markov chain monte_carlo_methods_for_machine_learningMarkov chain monte_carlo_methods_for_machine_learning
Markov chain monte_carlo_methods_for_machine_learning
 
Spacey random walks and higher-order data analysis
Spacey random walks and higher-order data analysisSpacey random walks and higher-order data analysis
Spacey random walks and higher-order data analysis
 
Automated Medical image segmentation for detection of abnormal masses using W...
Automated Medical image segmentation for detection of abnormal masses using W...Automated Medical image segmentation for detection of abnormal masses using W...
Automated Medical image segmentation for detection of abnormal masses using W...
 

Mais de David Canino

An Extensible Framework for Modeling Simplicial Complexes
An Extensible Framework for Modeling Simplicial ComplexesAn Extensible Framework for Modeling Simplicial Complexes
An Extensible Framework for Modeling Simplicial Complexes
David Canino
 

Mais de David Canino (7)

Tools for Modeling and Analysis of Non-manifold Shapes
Tools for Modeling and Analysis of Non-manifold ShapesTools for Modeling and Analysis of Non-manifold Shapes
Tools for Modeling and Analysis of Non-manifold Shapes
 
Representing Simplicial Complexes with Mangroves
Representing Simplicial Complexes with MangrovesRepresenting Simplicial Complexes with Mangroves
Representing Simplicial Complexes with Mangroves
 
A Dimension-Independent and Extensible Framework for Huge Geometric Models
A Dimension-Independent and Extensible Framework for Huge Geometric ModelsA Dimension-Independent and Extensible Framework for Huge Geometric Models
A Dimension-Independent and Extensible Framework for Huge Geometric Models
 
An Extensible Framework for Modeling Simplicial Complexes
An Extensible Framework for Modeling Simplicial ComplexesAn Extensible Framework for Modeling Simplicial Complexes
An Extensible Framework for Modeling Simplicial Complexes
 
A Decomposition-based Approach to Modeling and Understanding Arbitrary Shapes
A Decomposition-based Approach to Modeling and Understanding Arbitrary ShapesA Decomposition-based Approach to Modeling and Understanding Arbitrary Shapes
A Decomposition-based Approach to Modeling and Understanding Arbitrary Shapes
 
A Compact Representation for Topological Decompositions of Non-Manifold Shapes
A Compact Representation for Topological Decompositions of Non-Manifold ShapesA Compact Representation for Topological Decompositions of Non-Manifold Shapes
A Compact Representation for Topological Decompositions of Non-Manifold Shapes
 
Slides of my Master's Thesis
Slides of my Master's ThesisSlides of my Master's Thesis
Slides of my Master's Thesis
 

Último

Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.
Silpa
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Sérgio Sacani
 
Human genetics..........................pptx
Human genetics..........................pptxHuman genetics..........................pptx
Human genetics..........................pptx
Silpa
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformation
Areesha Ahmad
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
levieagacer
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
1301aanya
 
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
Scintica Instrumentation
 

Último (20)

Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 
Human genetics..........................pptx
Human genetics..........................pptxHuman genetics..........................pptx
Human genetics..........................pptx
 
An introduction on sequence tagged site mapping
An introduction on sequence tagged site mappingAn introduction on sequence tagged site mapping
An introduction on sequence tagged site mapping
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx
 
Chemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdfChemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdf
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.
 
Use of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptxUse of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptx
 
Exploring Criminology and Criminal Behaviour.pdf
Exploring Criminology and Criminal Behaviour.pdfExploring Criminology and Criminal Behaviour.pdf
Exploring Criminology and Criminal Behaviour.pdf
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformation
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
 
Stages in the normal growth curve
Stages in the normal growth curveStages in the normal growth curve
Stages in the normal growth curve
 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdf
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
 
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
 

Canino d2016stag slides

  • 1. Manipulating Topological Decompositions of Non-Manifold Shapes David Canino Independent Researcher in Computer Science PhD. in Computer Science canino.david@gmail.com October 3, 2016 David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 1 / 17
  • 2. The Problem (Automatic Editing of a Decomposition) #1 The Starting Point A (cell) complex Γ discretizes a digital shape, and may be: decomposed into the relevant components of any decomposition D(Γ), always computable (the Batch Approach); updated by an editing operator u = (u− , u+ ). The resulting complex is Γu = {Γ|u− } ∪ {u+ }. Objective of This Paper (the Interactive Approach) Updating automatically D(Γ) when applying an editing operator u on Γ. The Naive Approach Γ u −−−−−−−−−−−→ Γu D       D D(Γ) ??? −−−−−−−−−−−−→ D(Γu) This approach is always computable, and works in all cases (general solution) BUT the relation between D(Γ) and D(Γu) is not known and exploited. David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 2 / 17
  • 3. The Problem (Automatic Editing of a Decomposition) #2 In any case, the naive approach may be INEFFICIENT: an update u modifies only locally Γ (a local Region-Of-Influence, ROI); the components in D(Γ), related to the unchanged portions of Γ (NOT AFFECTED by u), may be reused directly in D(Γu); only the components of D(Γ), related to the portions of Γ, modified by u (AFFECTED by u), are recomputed, modified, and added to D(Γu). Consequences no need to recompute D from scratch after every u (expensive); this task is performed even if at interactive rate, when reusing the components from D(Γ). However ... a general solution does not exist; a solution depends on the update u and the decomposition D. David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 3 / 17
  • 4. The Structural Models for the Non-Manifold Shapes #1 Manifold Condition at a Point p Its neighborhood is locally homeomorphic to the ball, centered at p. The Non-Manifold Shapes some non-manifold singularities, where the manifold condition is violated; several subcomponents of different dimension, often (almost) manifold. vw f t Classic Approach (cell complexes in Ed ) The topological data structures (mangroves): cells (vertices, edges, 2-cells, . . .); the topological relations for each cell. Too many contributions: De Floriani and Hui, 2005 Botsch et. al., 2010 Canino, 2012 David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 4 / 17
  • 5. The Structural Models for the Non-Manifold Shapes #2 Drawbacks (wrt non-manifolds) the non-manifold singularities are not exposed directly (not always recognizable, Nabutovski, 1996); the subcomponents are not exposed. ONLY the local connectivity for a cell in a (non-manifold) shape The Structural Model the subcomponents are exposed explicitly; the connections along the non-manifold singularities. The global structure of a non-manifold shape Mesh Repairing (Result=manifold) Falcidieno and Ratto, 1992 Gueziec and Cardoze, 1998 Rossignac et all., 1999 Attene et all., 2009 / 2013 (Combinatorial) Stratifications Whitney, 1965 Lopes et all., 1999 De Floriani et all., 2003 Pesco et all., 2004 David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 5 / 17
  • 6. The Manifod-Connected (MC-) decomposition #1 The Manifold-Connected (MC)- decomposition (De Floriani and Hui, 2007) is extended here to any cell d-complex Γ (initially for simplicial complexes). Top k-cell γ (with 0 ≤ k ≤ d) Does not bound another cell in Γ. MC-adjacent top k-cells γ and γ They are the unique top cells in the star of a common (k − 1)-face τ. 2-cells c0 and c1 are MC-adjacent The MC-path from γ to γ a sequence of top k-cells, such that a pair of consecutive cells is MC-adjacent; all top k-cells in the MC-path are MC-equivalent. MC-path (always computable): q0 → q1 → q2 → q3 → q4 David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 6 / 17
  • 7. The Manifod-Connected (MC-) decomposition #2 The MC-connectivity relation ∼MC among top k-cells (equivalence relation) Here, γ ∼MC γ , iff γ and γ are MC-equivalent (always computable). It is the transitive closure of the MC-adjacency. MC-component [γ] (wrt ∼MC ) Maximal collection of all top cells, MC-equivalent to γ (equivalence class). MC-decomposition MCΓ (unique) Quotient space Γ/ ∼MC . A more formal description (and more details) in the paper For more details, see Canino, 2012 - Canino, De Floriani, 2013 David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 7 / 17
  • 8. How and When an Update affects the MC-components The Key Target in the Running Pipeline understanding how modifying any equivalence class [γ] (wrt ∼MC ) when applying an update u = (u− , u+ ); [γ] is affected by u, if it intersects the generalized neighborhood σh (u− ) for any order h (minimum order ¯h such that this happens). The Generalized Neighborhood σh (u− ) σ0 (u− ) ≡ all top cells in the star of vertices in u− ; σh (u− ) ≡ σ0 (σh−1 (u− )). By construction, σ∞(u−) ≡ Γ σ0 (v0) = {q1, q4} (yellow) σ1 (v0) = σ0 (v0) ∪ {q0, q2, q3} (light blue) David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 8 / 17
  • 9. How Updating the MC-decomposition Modifying the MC-decomposition MCΓ of a 2-complex Γ with: V vertices (i.e, 0-cells), E edges (i.e., 1-cells), F polygons (i.e., 2-cells); R connected regions and L hole loops (1-cycles). The Euler operators in Lee and Lee, 2001, satisfying the Euler formula: V − E + F = R − L This forms a basis for all updates on cell 2-complexes + MC-decompositions. Exploiting the Compact MC-graph (see Canino and De Floriani, 2013), where every operation is efficient. Defined on any mangrove (see Canino, 2012) [ nodes clustering ] Key Operation (Theoretical Validity) splitting and merging together the MC-paths of interest; ∼MC is an equivalence relation, thus is transitive. David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 9 / 17
  • 10. The MEV and the KEV Updates The Make-Edge-Vertex (MEV) Update adds a new vertex v to Γ; adds a new top edge e = (v, v ) between v and an existing vertex v. V=V+1, E=E+1 Key Idea candidate [e] is merged with an existing [e ] in MCΓ, iff a MC-adjacency occurs at v; otherwise, [e] is added, and [e ] may be (even) split. MC-components intersect σ0 (v) Time complexity: O(1) [best] #top edges in [e ] (worst) MEV KEV v' e e' e'' v e'' v e' The Kill-Edge-Vertex (KEV) Update The reverse wrt the MEV update. More details in the paper. David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 10 / 17
  • 11. The MEL and the KEL Updates The Make-Edge-Loop (MEL) Update Completes a hole loop with a new top edge e = (v, v ), connecting vertices v and v . E=E+1,L=L+1 The hole loops are not relevant for ∼MC . MC-components intersect σ0 (v) ∪ σ0 (v ) Key Idea candidate [e] is merged with the existing MC-components in MCΓ, iff a MC-adjacency occurs at v or/and v (also both, up to 2 fusions); otherwise, [e] is added, and the existing MC-components may be (even) split. e v v v e e' 1 1 2 2 3 v e 3 4 3 e v v e' v1 e1 2 2 33v4 e3 MEL KEL e The Kill-Edge-Loop (KEL) Update The reverse wrt the MEL update. Time complexity: #top edges in the star of v and v . David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 11 / 17
  • 12. The MEJR, KESR, MVR and KVR Updates The Make-Edge-Join-Region (MEJR) Update Creates a new top edge e = (v1, v2) between two existing vertices v1 and v2 in two distinct regions. E=E+1, R=R-1 The Kill-Edge-Split-Region (KESR) Update Removes a top edge e = (v1, v2), disconnecting two regions in Γ (connected only through e). E=E-1, R=R+1 MEJR KESR e v v 1 2 v v 1 2 Mutually reverse Similar to the MEL and KEL updates (without loops) The Make-Vertex-Region (MVR) Update Adds a new top vertex v, i.e., a new [v] to MCΓ (V = V + 1, R = R + 1). The Kill-Vertex-Region (KVR) Update Removes a top vertex v, i.e., an existing [v] from MCΓ (V = V − 1, R = R − 1). David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 12 / 17
  • 13. The MFKL and the KFML Updates The Make-Face-Kill-Loop (MFKL) Update Fills the void, bounded by a hole loop (ei )n i=1, with a new 2-cell γ F=F+1,L=L-1 MC-components in i σ0 (ei ) Time complexity: #2-cells in the star of all edges ei in the hole loop Key Idea candidate [γ] is merged with the existing MC-components in MCΓ, iff a MC-adjacency occurs at ei otherwise, [γ] is added, and the existing MC-components may be (even if) split e e e e e e 1 1 2 2 33 MFKL KFML The Kill-Face-Make-Loop (KFML) Update The reverse update wrt the MFKL update. David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 13 / 17
  • 14. Other Updates This forms a basis for manipulating MCΓ with any update. MC-equivalent Meshings Replacing a MC-path with another MC-path (with the same domain). MCΓ remains unchanged. Template-based and Stellar Updates Delaunay/Voronoi Mesh Generation Automatic Retopology Merging/Splitting MC-adjacent cells Collapsing a p-cell γ Removing γ and one of its border (p − 1)-faces. 1-cell γ: KEV + KVR 2-cell γ: KFML + KEL Collapsing an edge is an open problem - updates are propagated to the entire Γ. e v vv 33 3 44 4 EC VS e VS EC 1 2 e EC VS ∼ a template-based operator EC on a top edge EC on a not top edge David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 14 / 17
  • 15. Experimental Results Applying m updates on Γ and MCΓ. Average Running times (ms) on the non-manifold 2D shapes from http://ggg.disi.unige.it. T N m : the naive approach T B m : the batch approach T I m: the interactive approach m T N m T B m T I m T B m / T I m 10K 289.4K 36 5.5 6.5 40K − 85 22 3.9 100K − 196 58 3.3 500K − 1.1K 372 3.9 1M − 2.4K 746K 3 3M − 10.8K 2.1K 5.1 6M − 23.4K 4.3K 5.4 T N m > 10 minutes after only 40K updates; T B m ≈ 4 × T I m (on average). Consequences T N m is too high; MCΓ could be built interactively. Our implementations exploit the Mangrove TDS Library - http://mangrovetds.sourceforge.net David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 15 / 17
  • 16. The Future Work These idea are the basis for a very large number of applications: the random and the interactive manipulation for a non-manifold shape and its MC-decomposition (automatically) improving the internal meshing quality of the MC-components (e.g., optimal for the 3D printing, but not only) improving the efficiency for computing the simplicial homology (Constructive Homology Theory by F. Sergeraert, see Boltcheva, Canino, et. al., 2011) extension to the higher dimensional shapes defining a multiresolution structural model for the non-manifold shapes Main Consequence The internal meshing of the MC-components is not mandatory Generation at run-time, like the Catalogs, by Castelli Aleardi et. al., 2011 David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 16 / 17
  • 17. That’s All (for Now). But I hope not ... The source code of the implementations will be available as GPL v3 from: http://mangrovetds.sourceforge.net http://mangrovetds.github.io distributed as an Extra Program of the Mangrove TDS Library (new version 3.0). THANK YOU for YOUR ATTENTION! David Canino STAG, October 3-4, 2016, Genoa October 3, 2016 17 / 17