test report : junctions modified

This commit is contained in:
Marion Lenfant 2015-03-12 19:24:52 +01:00
parent 903d7f538e
commit 0c35af9f3b
4 changed files with 17 additions and 32 deletions

View File

@ -5,6 +5,7 @@
\usepackage{amsmath}
\usepackage{array}
\usepackage{float}
\usepackage{xcolor}
% Title Page
\title{Tests report}
@ -550,56 +551,40 @@ in input.
\section{Meshing the junctions}
\paragraph{} Meshing junctions was the most difficult part of the meshing.
It is due to the fact that it depends a lot on the 3D skeleton given in input and the quality of it.
It is due to the fact that it depends a lot on the 3D-skeleton given in input and particularly quality of it in line with the theory.
In fact to give a good result it needs to respect some rules that are not completely respected because of the numbers' precision possible on computers and the approximation that come with it.
In theory to mesh a junction we get the last circle of each spline that join on that point and then we cut the circles in two and mesh the upper points of the circles with the center of the sphere corresponding to the junction projected on the up side of the sphere, idem for the down points.
In theory to mesh a junction we get the last circle of each spline that join on that point and then we cut the circles in two and mesh the upper points of the circles with the center of the sphere corresponding to the junction projected on the up side of the sphere, idem for the down points. This is possible because consecutive circles are tangent. In reality circles are not tangent there is a little shift or they crossed themselves and we need to link the circles between them.
:
\paragraph{} The circles need to be apart to have a good looking junction. In practice the circles can crossed themselves.
That is why we have created some simple examples of junction with three or four circles to join to be sure that our algorithm is working, it is easier to see than in a complete skeleton with the rest of the mesh.
\paragraph{} However the circles need to be apart to have a good looking junction and in the real skeletons that we have it is not the case.
That is why we have created some simple examples of junction with three or four circles to join to be sure that our algorithm is working, it is easier to see than in a complete skeleton with the rest of the mesh.
Here \ref{3junction} you can see the result with 3 circles not tangent mesh with our algorithm.
\begin{figure}[H]
\centering
\includegraphics[scale=0.3]{images/junctions/img/test1/capture0.png}
\caption{Junction with three parts to join}
\end{figure}
\begin{figure}[H]
\centering
\includegraphics[scale=0.3]{images/junctions/img/test1/capture1.png}
\caption{Junction with three parts to join}
\end{figure}
\begin{figure}[H]
\centering
\includegraphics[scale=0.3]{images/junctions/img/test1/capture2.png}
\caption{Junction with three parts to join}
\end{figure}
\begin{figure}[H]
\centering
\includegraphics[scale=0.3]{images/junctions/img/test1/capture3.png}
\caption{Junction with three parts to join}
\caption{\label{3junction}Junction with three parts to join show from different angles}
\end{figure}
Because junctions are not always between three branches but can be between four or more branches, we need to have a algorithm that work for all possible cases. Here \ref{4junction} the result of a 4-branches' junction meshing.
\begin{figure}[H]
\centering
\includegraphics[scale=0.3]{images/junctions/img/capture0.png}
\caption{Junction with four parts to join}
\includegraphics[scale=0.25]{images/junctions/junction4/capture0.png}
\includegraphics[scale=0.25]{images/junctions/junction4/capture1.png}
\includegraphics[scale=0.15]{images/junctions/junction4/capture2.png}
\caption{\label{4junction}Junction with four parts to join show from different angles}
\end{figure}
\begin{figure}[H]
\centering
\includegraphics[scale=0.3]{images/junctions/img/capture1.png}
\caption{Junction with four parts to join}
\end{figure}
With the skeleton made by ourself the geometrical properties that allow the circles to join without crossing themselves is not respected that is why the result is not pretty good. So the results obtained are not particularly good looking but respect the algorithm.
\begin{figure}[H]
\centering
\includegraphics[scale=0.3]{images/junctions/test2/capture0.png}
\colorbox{black}{
\includegraphics[scale=0.1]{images/junctions/test2/capture1.png}
\includegraphics[scale=0.1]{images/junctions/test2/capture2.png}
}
\caption{Result of meshing junction on Dino.skl}
\end{figure}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 16 KiB