Skip to content

Commit d1fd8fe

Browse files
author
Luis Ibanez
committed
ENH: Copied from version in the NAMIC Sandbox.
0 parents  commit d1fd8fe

27 files changed

+9238
-0
lines changed

Document/LaTeX/ArticleExample.tex

Lines changed: 270 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,270 @@
1+
%
2+
% Complete documentation on the extended LaTeX markup used for Insight
3+
% documentation is available in ``Documenting Insight'', which is part
4+
% of the standard documentation for Insight. It may be found online
5+
% at:
6+
%
7+
% http://www.itk.org/
8+
9+
\documentclass{InsightArticle}
10+
11+
\usepackage[dvips]{graphicx}
12+
13+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14+
%
15+
% hyperref should be the last package to be loaded.
16+
%
17+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
18+
\usepackage[dvips,
19+
bookmarks,
20+
bookmarksopen,
21+
backref,
22+
colorlinks,linkcolor={blue},citecolor={blue},urlcolor={blue},
23+
]{hyperref}
24+
25+
26+
% This is a template for Papers to the Insight Journal.
27+
% It is comparable to a technical report format.
28+
29+
% The title should be descriptive enough for people to be able to find
30+
% the relevant document.
31+
\title{The Importance of Open Access in Scientific Publications}
32+
33+
%
34+
% NOTE: This is the last number of the "handle" URL that
35+
% The Insight Journal assigns to your paper as part of the
36+
% submission process. Please replace the number "1338" with
37+
% the actual handle number that you get assigned.
38+
%
39+
\newcommand{\IJhandlerIDnumber}{1338}
40+
41+
% Increment the release number whenever significant changes are made.
42+
% The author and/or editor can define 'significant' however they like.
43+
\release{0.00}
44+
45+
% At minimum, give your name and an email address. You can include a
46+
% snail-mail address if you like.
47+
\author{Galileo Galilei$^{1}$, Giordano Bruno$^{2}$ and Anthony Leeuwenhoek$^{3}$}
48+
\authoraddress{$^{1}$Pisa University, Tower drive\\
49+
$^{2}$Rome University, Inquisition street\\
50+
$^{3}$Netherlands Pragmatic University, Port street}
51+
52+
\begin{document}
53+
54+
%
55+
% Add hyperlink to the web location and license of the paper.
56+
% The argument of this command is the handler identifier given
57+
% by the Insight Journal to this paper.
58+
%
59+
\IJhandlefooter{\IJhandlerIDnumber}
60+
61+
62+
\ifpdf
63+
\else
64+
%
65+
% Commands for including Graphics when using latex
66+
%
67+
\DeclareGraphicsExtensions{.eps,.jpg,.gif,.tiff,.bmp,.png}
68+
\DeclareGraphicsRule{.jpg}{eps}{.jpg.bb}{`convert #1 eps:-}
69+
\DeclareGraphicsRule{.gif}{eps}{.gif.bb}{`convert #1 eps:-}
70+
\DeclareGraphicsRule{.tiff}{eps}{.tiff.bb}{`convert #1 eps:-}
71+
\DeclareGraphicsRule{.bmp}{eps}{.bmp.bb}{`convert #1 eps:-}
72+
\DeclareGraphicsRule{.png}{eps}{.png.bb}{`convert #1 eps:-}
73+
\fi
74+
75+
76+
\maketitle
77+
78+
79+
\ifhtml
80+
\chapter*{Front Matter\label{front}}
81+
\fi
82+
83+
84+
% The abstract should be a paragraph or two long, and describe the
85+
% scope of the document.
86+
\begin{abstract}
87+
\noindent
88+
This document describes a new algorithm implemented using the Insight Toolkit
89+
ITK \url{www.itk.org}. The code of the algorithm is written following the
90+
ITK CodingStyle as described in the directory
91+
92+
\code{Insight/Documentation/Style.pdf}
93+
94+
This paper is accompanied with the source code, input data, parameters and
95+
output data that the authors used for validating the algorithm described in
96+
this paper. This adheres to the fundamental principle that scientific
97+
publications must facilitate reproducibility of the reported results.
98+
99+
\end{abstract}
100+
101+
\IJhandlenote{\IJhandlerIDnumber}
102+
103+
\tableofcontents
104+
105+
Using filters from the Insight Toolkit, we develop an algorithm for detecting
106+
and tracking thje movement of solar spots. As it is widely known, celestial
107+
objects such as the sun are ethereal and perfect, and therefore can not harbor
108+
artifacts such as spots. However, observations performed with our open source
109+
telescope have revealed the presence of such spots. The spots seems to continuously change positions on the solar surface.
110+
111+
Automatic detection and tracking of the solar spot movements are of fundamental
112+
importance for allowing the authors to dedicate more time to perfectioning
113+
optical instruments and less time to the supervised acquisition of reliable
114+
data.
115+
116+
The reader should be warned that direct observation of the sun without proper
117+
equipment may result in personal injury, loss of vision and burned brains.
118+
119+
\section{Principles of Solar Spot Detection}
120+
121+
Solar spots can be classified as the darkest objects present on an image of the
122+
solar surface. Algorithms such as watersheds, statistical classification and
123+
mathematical morphology are suitable for automatically detecting these features
124+
in images of the solar surface.
125+
126+
127+
\section{Why Image Processing Papers must include Source Code, Images and Parameters }
128+
129+
Modern Image Processing is most of the time performed with computers. An
130+
attempt to replicate the results of an algorithm described in a paper entails
131+
to reimplement the algorithm into source code. This task is far from trivial
132+
and consumes months of work. The final result can not be guarranted to be
133+
equivalent to the actual code that was used for testing the algorithm when the
134+
paper was written, and therefore it cannot be considered a baseline for
135+
comparing the algoritm with other algorithms availble to the reader.
136+
137+
Papers to the Insight Journal are written in the spirit of facilitating and
138+
encouraging readers to perform replication of work. In this sense, the Insight
139+
Journal is compliant with essential concepts of the scientific method.
140+
141+
Since the code is included with the paper, less time has to be spent in
142+
describing the code, and more time can be used for describing how to use the
143+
algorithm in particular types of images.
144+
145+
For questions on the basis of the scientific method the reader is refered to
146+
\cite{Popper2002,Popper1971}.
147+
148+
149+
150+
\section{Pointing to other material}
151+
152+
The format of this LaTeX file, allows authors to include code snippets, like
153+
the following
154+
155+
\small
156+
\begin{verbatim}
157+
typedef itk::Image< unsigned char, 3 > ImageType;
158+
159+
ImageType::Pointer image = ImageType::New();
160+
\end{verbatim}
161+
\normalsize
162+
163+
and to cite the online documentation of the Insitght Toolkit, for example, the
164+
link to the doxygen documentation of the ImageToImageFilter
165+
166+
\doxygen{ImageToImageFilter}
167+
168+
LaTeX macros are also available for typesetting code in familiar courier fonts.
169+
Like the following method of an ITK class.
170+
171+
\code{SetNumberOfIterations()}
172+
173+
174+
175+
\section{Software Requirements}
176+
177+
You need to have the following software installed:
178+
179+
% The {itemize} environment uses a bullet for each \item. If you want the
180+
% \item's numbered, use the {enumerate} environment instead.
181+
\begin{itemize}
182+
\item Insight Toolkit 2.4.
183+
\item CMake 2.2
184+
\end{itemize}
185+
186+
Note that other versions of the Insight Toolkit are also available in the
187+
testing framework of the Insight Journal. Please refere to the following page
188+
for details
189+
190+
\url{http://www.insightsoftwareconsortium.org/wiki/index.php/IJ-Testing-Environment}
191+
192+
193+
% The preceding sections will have been written in a gentler,
194+
% introductory style. You may also wish to include a reference
195+
% section, documenting all the functions/exceptions/constants.
196+
% Often, these will be placed in separate files and input like this:
197+
198+
199+
200+
\appendix
201+
202+
\section{This is an Appendix}
203+
204+
To create an appendix in a Insight HOWTO document, use markup like
205+
this:
206+
207+
\begin{verbatim}
208+
\appendix
209+
210+
\section{This is an Appendix}
211+
212+
To create an appendix in a Insight HOWTO document, ....
213+
214+
215+
\section{This is another}
216+
217+
Just add another \section{}, but don't say \appendix again.
218+
\end{verbatim}
219+
220+
221+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
222+
%
223+
% Example on how to insert a figure
224+
%
225+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
226+
227+
\begin{figure}
228+
\center
229+
\includegraphics[width=0.8\textwidth]{RegistrationComponentsDiagram.eps}
230+
\itkcaption[Registration Framework Components]{The basic components of the
231+
registration framework are two input images, a transform, a metric, an
232+
interpolator and an optimizer.}
233+
\label{fig:RegistrationComponents}
234+
\end{figure}
235+
236+
237+
238+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
239+
%
240+
% Example on how to insert an equation.
241+
% Never forget to put an equation in your paper.
242+
% They make them look professional and impress the reviewers.
243+
%
244+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
245+
246+
247+
To support shape-guidance, the generic level set equation
248+
(Eqn(~\ref{eqn:ShapeInfluenceTerm})) is extended to incorporate a shape guidance
249+
term:
250+
251+
\begin{equation}
252+
\label{eqn:ShapeInfluenceTerm}
253+
\xi \left(\psi^{*}(\mathbf{x}) - \psi(\mathbf{x})\right)
254+
\end{equation}
255+
256+
257+
258+
259+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
260+
%
261+
% Insert the bibliography using BibTeX
262+
%
263+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
264+
265+
\bibliographystyle{plain}
266+
\bibliography{InsightJournal}
267+
268+
269+
\end{document}
270+

0 commit comments

Comments
 (0)