\hypertarget{a00326}{
\section{mln::pixel$<$ I $>$ Struct Template Reference}
\label{d8/d23/a00326}\index{mln::pixel@{mln::pixel}}
}


Generic pixel class.  




{\ttfamily \#include $<$pixel.hh$>$}



Inheritance diagram for mln::pixel$<$ I $>$:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{d0/d92/a03585}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00326_a0b71658eacc1b6465add6fa35424ff57}{change\_\-to} (const typename I::psite \&p)
\begin{DoxyCompactList}\small\item\em Change the pixel to the one at point {\ttfamily p}. \item\end{DoxyCompactList}\item 
bool \hyperlink{a00326_a9a3b64a1267d3aecca622842286967e2}{is\_\-valid} () const 
\begin{DoxyCompactList}\small\item\em Test if this pixel is valid. \item\end{DoxyCompactList}\item 
\hyperlink{a00326_ae9a0af737811fee0cac83025bf6eacf3}{pixel} (I \&image)
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hyperlink{a00326_ada752f8231df994e770fa5eb15e4f7d3}{pixel} (I \&image, const typename I::psite \&p)
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename I$>$ struct mln::pixel$<$ I $>$}

Generic pixel class. The parameter is {\ttfamily I} the type of the image it belongs to. 

Definition at line 50 of file core/pixel.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00326_ae9a0af737811fee0cac83025bf6eacf3}{
\index{mln::pixel@{mln::pixel}!pixel@{pixel}}
\index{pixel@{pixel}!mln::pixel@{mln::pixel}}
\subsubsection[{pixel}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::pixel}$<$ I $>$::{\bf pixel} (
\begin{DoxyParamCaption}
\item[{I \&}]{ image}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d23/a00326_ae9a0af737811fee0cac83025bf6eacf3}


Constructor. 



Definition at line 75 of file core/pixel.hh.

\hypertarget{a00326_ada752f8231df994e770fa5eb15e4f7d3}{
\index{mln::pixel@{mln::pixel}!pixel@{pixel}}
\index{pixel@{pixel}!mln::pixel@{mln::pixel}}
\subsubsection[{pixel}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::pixel}$<$ I $>$::{\bf pixel} (
\begin{DoxyParamCaption}
\item[{I \&}]{ image, }
\item[{const typename I::psite \&}]{ p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d23/a00326_ada752f8231df994e770fa5eb15e4f7d3}


Constructor. 



Definition at line 82 of file core/pixel.hh.



References mln::pixel$<$ I $>$::change\_\-to().



\subsection{Member Function Documentation}
\hypertarget{a00326_a0b71658eacc1b6465add6fa35424ff57}{
\index{mln::pixel@{mln::pixel}!change\_\-to@{change\_\-to}}
\index{change\_\-to@{change\_\-to}!mln::pixel@{mln::pixel}}
\subsubsection[{change\_\-to}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void {\bf mln::pixel}$<$ I $>$::change\_\-to (
\begin{DoxyParamCaption}
\item[{const typename I::psite \&}]{ p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d23/a00326_a0b71658eacc1b6465add6fa35424ff57}


Change the pixel to the one at point {\ttfamily p}. 



Definition at line 92 of file core/pixel.hh.



Referenced by mln::pixel$<$ I $>$::pixel().

\hypertarget{a00326_a9a3b64a1267d3aecca622842286967e2}{
\index{mln::pixel@{mln::pixel}!is\_\-valid@{is\_\-valid}}
\index{is\_\-valid@{is\_\-valid}!mln::pixel@{mln::pixel}}
\subsubsection[{is\_\-valid}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ bool {\bf mln::pixel}$<$ I $>$::is\_\-valid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d23/a00326_a9a3b64a1267d3aecca622842286967e2}


Test if this pixel is valid. 



Definition at line 101 of file core/pixel.hh.

