\documentclass{InsightArticle} \usepackage[dvips]{graphicx} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % hyperref should be the last package to be loaded. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[dvips, bookmarks, bookmarksopen, backref, colorlinks,linkcolor={blue},citecolor={blue},urlcolor={blue}, ]{hyperref} \title{Generating a Deformation Field from an itk::Transform} % % NOTE: This is the last number of the "handle" URL that % The Insight Journal assigns to your paper as part of the % submission process. Please replace the number "1338" with % the actual handle number that you get assigned. % \newcommand{\IJhandlerIDnumber}{1338} % Increment the release number whenever significant changes are made. % The author and/or editor can define 'significant' however they like. \release{0.00} % At minimum, give your name and an email address. You can include a % snail-mail address if you like. \author{Marius Staring$^{1}$} \authoraddress{$^{1}$Leiden University Medical Center, The Netherlands} \begin{document} % % Add hyperlink to the web location and license of the paper. % The argument of this command is the handler identifier given % by the Insight Journal to this paper. % \IJhandlefooter{\IJhandlerIDnumber} \ifpdf \else % % Commands for including Graphics when using latex % \DeclareGraphicsExtensions{.eps,.jpg,.gif,.tiff,.bmp,.png} \DeclareGraphicsRule{.jpg}{eps}{.jpg.bb}{`convert #1 eps:-} \DeclareGraphicsRule{.gif}{eps}{.gif.bb}{`convert #1 eps:-} \DeclareGraphicsRule{.tiff}{eps}{.tiff.bb}{`convert #1 eps:-} \DeclareGraphicsRule{.bmp}{eps}{.bmp.bb}{`convert #1 eps:-} \DeclareGraphicsRule{.png}{eps}{.png.bb}{`convert #1 eps:-} \fi \maketitle \ifhtml \chapter*{Front Matter\label{front}} \fi % The abstract should be a paragraph or two long, and describe the % scope of the document. \begin{abstract} \noindent This document describes a new class that takes an itk::Transform and evaluates the deformation at points in a user-defined region. The class is implemented using the Insight Toolkit \url{www.itk.org}. \\ This paper is accompanied with the source code, input data, parameters and output data that the authors used for validating the algorithm described in this paper. \end{abstract} \IJhandlenote{\IJhandlerIDnumber} \tableofcontents intro \section{sec} code snippets \small \begin{verbatim} typedef itk::Image< unsigned char, 3 > ImageType; ImageType::Pointer image = ImageType::New(); \end{verbatim} \normalsize \doxygen{ImageToImageFilter} \code{SetNumberOfIterations()} \appendix \section{This is an Appendix} To create an appendix in a Insight HOWTO document, use markup like this: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Example on how to insert a figure % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{figure} \center \includegraphics[width=0.8\textwidth]{RegistrationComponentsDiagram.eps} \itkcaption[Registration Framework Components]{The basic components of the registration framework are two input images, a transform, a metric, an interpolator and an optimizer.} \label{fig:RegistrationComponents} \end{figure} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Insert the bibliography using BibTeX % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \bibliographystyle{plain} \bibliography{InsightJournal} \end{document}