\chapter{Concepts}\index{Concepts}%
-\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
+\setheader{{\it CHAPTER \thechapter}}{}{}{\ctsimheadtitle}{}{{\it CHAPTER \thechapter}}%
\ctsimfooter%
\section{Overview}\label{conceptoverview}\index{Concepts,Overview}%
To compare two images, $A$ and $B$, each of which has $n$ columns and $m$ rows,
these values are calculated as below.
+
+\latexonly{
\begin{equation}
d = \frac{\sum_{i=0}^{n}{\sum_{j=0}^{m}{(A_{ij} - B_{ij})^2}}}{m n}
\end{equation}
\begin{equation}
-r = max(|A_{ij} - B{ij}|)
+r = \max(|A_{ij} - B{ij}|)
\end{equation}
+}