Skip to content
Snippets Groups Projects
Commit adbf741f authored by Jan Schnathmeier's avatar Jan Schnathmeier
Browse files

Improve Initialization pipeline

parent 7c693076
No related branches found
No related tags found
No related merge requests found
......@@ -22,18 +22,18 @@ $\mathcal{M}=\mathcal{B}$. Thus, the initialization immediately terminates by co
In our implementation we decide for an initialization with input parameters ''$\mathcal{B}, V_\mathcal{M}\subset V_\mathcal{B}$'', since this is the easiest for the user. We also implement a way to randomly select $V_\mathcal{M}$ by giving either a ratio or a total number of vertices in $V_\mathcal{B}$ to be selected. An initialization with inputs ''$\mathcal{B}, \Phi, \mathcal{M}$'' is implicitly supported as it already defines the whole embedding and needs no further work. And an initialization of the type ''$\mathcal{B}, \mathcal{M}$'' can be simulated by inputting $\mathcal{B}, V_\mathcal{M}\in\mathcal{M}$ and then flipping edges of $\mathcal{M}$ until it reaches the desired connectivity.
\begin{wrapfigure}[41]{r}{0.33\textwidth}
\def\svgwidth{0.33\textwidth}
\begin{wrapfigure}[41]{r}{0.23\textwidth}
\vspace{-20pt}
\def\svgwidth{0.23\textwidth}
{\centering
\input{img/RockerarmTriangulation.pdf_tex}\par
}
\caption{Delaunay triangulation pipeline}
\label{fig:RockerarmTriangulation}
\end{wrapfigure}
Now the task is creating a meta mesh $\mathcal{M}$ and an embedding $\Phi$ on the base mesh $\mathcal{B}$ given an inpute of $\mathcal{B}$ and $V_\mathcal{M}\subset V_\mathcal{B}$. This can be done using Delaunay Triangulation \cite{delaunay1934sphere} on $\mathcal{B}$ with $V_\mathcal{M}$ as feature points to grow Voronoi regions from.
Figure \ref{fig:RockerarmTriangulation} illustrates the entire process. (a) shows the input, a base mesh $\mathcal{B}$ with selected feature vertices $V_\mathcal{M}$ marked in red. In the second step (b) Voronoi regions are grown around each feature point. This is done by growing regions outwardly from each feature vertex, and assigning each base vertex to the feature vertex it is closest to (by navigating over surface edges). Lastly, these regions can be used to derive connectivity for $\mathcal{M}$ as seen in Figure \ref{fig:RockerarmTriangulation}.(c).
The Delaunay Triangulation process is illustrated on the right. (a) shows the input, a base mesh $\mathcal{B}$ with selected feature vertices $V_\mathcal{M}$ marked in red. In the second step (b) Voronoi regions are grown around each feature point. This is done by growing regions outwardly from each feature vertex, and assigning each base vertex to the feature vertex it is closest to (by navigating over surface edges). In the next step, the edges $E_\mashcal{M}$ and thus the whole connectivity of $\mathcal{M}$ are derived; (c) shows the meta mesh $\mathcal{M}$. Lastly, $\mathcal{M}$ is embedded onto $\mathcal{B}$ creating the meta mesh embedding $\Phi(\mathcal{M})$, shown as the colored edges in (d).
In practice, we derive the connectivity from the Voronoi regions by iterating over the faces of $\mathcal{B}$. Since $\mathcal{B}$ is a triangle mesh, there has to be one unique face in $\mathcal{B}$ for which the Voronoi regions of each of its three vertices differ, per face in $V_\mathcal{M}$. Thus we derive the edges $E_\mathcal{M}$ of $\mathcal{M}$.
......
No preview for this file type
......@@ -50,12 +50,13 @@
\global\let\svgwidth\undefined%
\global\let\svgscale\undefined%
\makeatother%
\begin{picture}(1,4.51275265)%
\begin{picture}(1,6.69352169)%
\lineheight{1}%
\setlength\tabcolsep{0pt}%
\put(0.01075236,5.15667685){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}(a) $\mathcal{B}$ with feature \\points $V_\mathcal{M}$ (red)\end{tabular}}}}%
\put(0.01486673,3.39435432){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}(b) Voronoi regions \\of $V_\mathcal{M}$ on $\mathcal{B}$\end{tabular}}}}%
\put(0.01220955,1.63084599){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}(c) $\mathcal{M}$\end{tabular}}}}%
\put(0,0){\includegraphics[width=\unitlength,page=1]{img/RockerarmTriangulation.pdf}}%
\put(0.00096008,3.01227942){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}(a) selected feature points\end{tabular}}}}%
\put(0.00367551,1.53554985){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}(b) Created Voronoi Regions\end{tabular}}}}%
\put(0.00661394,0.00794562){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}(c) Delaunay Triangulation\end{tabular}}}}%
\put(0.00253664,0.05397902){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}(d) Embedding \\$\Phi(\mathcal{M})$ on $\mathcal{B}$\end{tabular}}}}%
\end{picture}%
\endgroup%
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment