08ba6aa535885b76ce4075c188d09f2cdf261250
[ctsim.git] / doc / ctsim-web.tex
1 \chapter{The Web Interface}\label{webinterface}\index{Web Interface}%
2 \setheader{{\it CHAPTER \thechapter}}{}{}{\ctsimheadtitle}{}{{\it CHAPTER \thechapter}}%
3 \ctsimfooter%
4
5 \section{Overview}
6 \ctsim\ can also be executed via a web browser. The Perl program
7 \texttt{ctsim.cgi} takes projections of a standard phantom object,
8 performs reconstruction, and then compares the rasterized phantom
9 object with the reconstruction. The comparison is performed both
10 visually by an image subtraction as well as by statistical
11 analysis.
12
13 The \texttt{ctsim.cgi} program is invoked from the HTML file
14 \texttt{simulate.html}.
15
16 \section{Requirements}
17    \begin{itemize}\itemsep=0pt
18       \item \urlref{Apache}{http://www.apache.org} or other CGI-compatible web server
19
20       \item Perl (version 4.0 or higher)
21
22       \item A client web browser than can display PNG files. Most
23       current web browsers support PNG.
24
25       \item A knowledgable system administrator. It is beyond the
26       scope of this manual to explain the configuration a web server.
27   \end{itemize}
28
29 \section{Installation}
30 Installation is rather automatic on Linux and UNIX systems. The
31 \texttt{configure} script needs to be given options that specify
32 the directory for web pages and for CGI programs.