| 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. |
| 26 |
\end{itemize} |
| 27 |
|
| 28 |
\section{Installation} |
| 29 |
Installation is rather automatic on Linux and UNIX systems. The |
| 30 |
\texttt{configure} script needs to be given options that specify |
| 31 |
the directory for web pages and for CGI programs. |