wm_elimination visuals

This commit is contained in:
Motiejus Jakštys 2021-05-08 18:14:07 +03:00
parent ba10dffd0f
commit f32f4ed99e
2 changed files with 34 additions and 4 deletions

View File

@ -18,6 +18,9 @@ LISTINGS = aggregate-rivers.sql wm.sql extract-and-generate
FIGURES = \ FIGURES = \
test-figures \ test-figures \
fig8-definition-of-a-bend \ fig8-definition-of-a-bend \
fig8-elimination-gen1 \
fig8-elimination-gen2 \
fig8-elimination-gen3 \
fig5-gentle-inflection-before \ fig5-gentle-inflection-before \
fig5-gentle-inflection-after \ fig5-gentle-inflection-after \
inflection-1-gentle-inflection-before \ inflection-1-gentle-inflection-before \
@ -97,6 +100,13 @@ test-figures_1SELECT = wm_figures
fig8-definition-of-a-bend_1SELECT = wm_debug where name='fig8' AND stage='bbends' AND gen=1 fig8-definition-of-a-bend_1SELECT = wm_debug where name='fig8' AND stage='bbends' AND gen=1
fig8-definition-of-a-bend_2SELECT = wm_debug where name='fig8' AND stage='bbends-polygon' AND gen=1 fig8-definition-of-a-bend_2SELECT = wm_debug where name='fig8' AND stage='bbends-polygon' AND gen=1
fig8-elimination-gen1_1SELECT = wm_debug where name='fig8' AND stage='bbends' AND gen=1
fig8-elimination-gen1_2SELECT = wm_debug where name='fig8' AND stage='bbends-polygon' AND gen=1
fig8-elimination-gen2_1SELECT = wm_debug where name='fig8' AND stage='bbends' AND gen=2
fig8-elimination-gen2_2SELECT = wm_debug where name='fig8' AND stage='bbends-polygon' AND gen=2
fig8-elimination-gen3_1SELECT = wm_debug where name='fig8' AND stage='bbends' AND gen=3
fig8-elimination-gen3_2SELECT = wm_debug where name='fig8' AND stage='bbends-polygon' AND gen=3
fig5-gentle-inflection-before_WITHDIV = 2 fig5-gentle-inflection-before_WITHDIV = 2
fig5-gentle-inflection-before_1SELECT = wm_debug where name='fig5' AND stage='bbends' AND gen=1 fig5-gentle-inflection-before_1SELECT = wm_debug where name='fig5' AND stage='bbends' AND gen=1
fig5-gentle-inflection-before_2SELECT = wm_debug where name='fig5' AND stage='bbends-polygon' AND gen=1 fig5-gentle-inflection-before_2SELECT = wm_debug where name='fig5' AND stage='bbends-polygon' AND gen=1
@ -129,6 +139,7 @@ selfcrossing-1-after_1SELECT = wm_debug where name='selfcrossing-1' AND stage='d
selfcrossing-1-after_2SELECT = wm_debug where name='selfcrossing-1' AND stage='bbends' AND gen=1 selfcrossing-1-after_2SELECT = wm_debug where name='selfcrossing-1' AND stage='bbends' AND gen=1
selfcrossing-1-after_2LINESTYLE = invisible selfcrossing-1-after_2LINESTYLE = invisible
salvis-25k_1SELECT = wm_visuals where name='salvis' salvis-25k_1SELECT = wm_visuals where name='salvis'
salvis-25k_WIDTHDIV = 1 salvis-25k_WIDTHDIV = 1

View File

@ -1049,9 +1049,9 @@ Two conditions must be true to claim that a bend is isolated:
To find out whether two bends are similar, they are compared by 3 components: To find out whether two bends are similar, they are compared by 3 components:
\begin{enumerate} \begin{enumerate}
\item \textsc{adjusted size} $A_{adj}$ \item \textsc{adjusted size} $A_{adj}$.
\item \textsc{compactness index} $c$ \item \textsc{compactness index} $c$.
\item \textsc{baseline length} $l$ \item \textsc{baseline length} $l$.
\end{enumerate} \end{enumerate}
Components 1, 2 and 3 represent a point in a 3-dimensional space, and Euclidean Components 1, 2 and 3 represent a point in a 3-dimensional space, and Euclidean
@ -1068,7 +1068,26 @@ The smaller the distance $d$, the more similar the bends are.
\subsection{Elimination Operator} \subsection{Elimination Operator}
NOTE: implemented, explain. Elimination was explained reasonably well in the original paper. Figure X
illustrates steps of Figure 8 from the original paper.
\begin{figure}[ht]
\centering
\begin{subfigure}[b]{.7\textwidth}
\includegraphics[width=\textwidth]{fig8-elimination-gen1}
\caption{Original}
\end{subfigure}
\begin{subfigure}[b]{.7\textwidth}
\includegraphics[width=\textwidth]{fig8-elimination-gen2}
\caption{Iteration 1}
\end{subfigure}
\begin{subfigure}[b]{.7\textwidth}
\includegraphics[width=\textwidth]{fig8-elimination-gen3}
\caption{Iteration 2 (result)}
\end{subfigure}
\caption{Bend elimination through iterations.}
\label{fig:elimination-through-iterations}
\end{figure}
\subsection{Combination Operator} \subsection{Combination Operator}