% skriver i 'book'-dokumentklassen vil du kanskje bytte ut
% \section med \chapter, \subsection med \section, osv...
-\section{C++ implementation}
+\section{\cpp\ implementation}
\label{app:c++implementation}
+The files \texttt{graph.hpp} and \texttt{graph.cpp} contains the code
+related to the graph datastructure and the minimum cut algorithms. The
+code for the highest label and FIFO selection rules are in
+\texttt{selecitonrule.hpp} and \texttt{selectionrule.cpp}, while the
+neighborhood stencil is stored in a datastructure defined in
+\texttt{neighborhood.hpp}. The files \texttt{image.hpp} and
+\texttt{image.cpp} handle the connection between the digital image and
+the flow network, while command line input is handled in
+\texttt{main.cpp}. A digital copy of the code can be found at
+\url{http://github.com/burk/image-restoration}.
+
\subsection{\texttt{graph.hpp}}
\lstinputlisting[language=C++]{../image-restoration/graph.hpp}
\subsection{\texttt{graph.cpp}}
% Enkel forside som bruker latex sin \titlepage kommando:
% NB: Bruken av \and mellom navn!
+\newgeometry{margin=1in}
\begin{titlepage}
\centering
\vfill
-\LARGE{Total variation based image restoration using graph cuts} \\[2cm]
-\large{Bjørn Rustad} \\[1cm]
+\LARGE{Total variation based image restoration using graph
+cuts} \\[2cm]
-\today \\[4cm]
+\large{Bjørn Rustad} \\[0.2cm]
+
+\today \\[2cm]
%\includegraphics[width=0.5\textwidth]{lena512.png}
\centering
\end{pgfonlayer}
}
}
-\end{tikzpicture}
+\end{tikzpicture}\\[2cm]
+
+\large{Supervisor:}\\[0.1cm]
+Markus Grasmair, Department of Mathematical Sciences, NTNU
+
\end{titlepage}
+\restoregeometry
+
% Local Variables:
% TeX-master: "master"
% End: