\hypertarget{a00350}{
\section{mln::slice\_\-image$<$ I $>$ Struct Template Reference}
\label{db/d10/a00350}\index{mln::slice\_\-image@{mln::slice\_\-image}}
}


2D image extracted from a slice of a 3D image.  




{\ttfamily \#include $<$slice\_\-image.hh$>$}



Inherits image\_\-domain\_\-morpher$<$ I, box2d, slice\_\-image$<$ I $>$ $>$.

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef \hyperlink{a00350}{slice\_\-image}$<$ tag::image\_\-$<$ I $>$ $>$ \hyperlink{a00350_a7799f0e7cda4b76a98fd005c8793e4ab}{skeleton}
\begin{DoxyCompactList}\small\item\em Skeleton. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
const \hyperlink{a00135}{box2d} \& \hyperlink{a00350_a5eca40c2eb1c7899355a62d5652303b9}{domain} () const 
\begin{DoxyCompactList}\small\item\em Give the definition domain. \item\end{DoxyCompactList}\item 
\hyperlink{a00350_a661162b5e63165fd93c91961c070d6fc}{operator slice\_\-image$<$ const I $>$} () const 
\begin{DoxyCompactList}\small\item\em Const promotion via conversion. \item\end{DoxyCompactList}\item 
I::rvalue \hyperlink{a00350_af792a15c9e8f8cd569f771341e172dc9}{operator()} (const \hyperlink{a00330}{point2d} \&p) const 
\begin{DoxyCompactList}\small\item\em Read-\/only access to the image value located at point {\ttfamily p}. \item\end{DoxyCompactList}\item 
internal::morpher\_\-lvalue\_\-$<$ I $>$::ret \hyperlink{a00350_a7a0481cb0bd32665e495d2524e6b6ec2}{operator()} (const \hyperlink{a00330}{point2d} \&p)
\begin{DoxyCompactList}\small\item\em Read-\/write access to the image value located at point {\ttfamily p}. \item\end{DoxyCompactList}\item 
\hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} \hyperlink{a00350_ab629c61fa529d5ccaad3dadea0b56236}{sli} () const 
\begin{DoxyCompactList}\small\item\em Give the slice number. \item\end{DoxyCompactList}\item 
\hyperlink{a00350_a4ff6068a54c098972725e17ab138222f}{slice\_\-image} ()
\begin{DoxyCompactList}\small\item\em Constructor without argument. \item\end{DoxyCompactList}\item 
\hyperlink{a00350_a4e471f6d54ed07a9768642b89be7da33}{slice\_\-image} (I \&ima, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} sli)
\begin{DoxyCompactList}\small\item\em Constructor from an image {\ttfamily ima} and a predicate {\ttfamily f}. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename I$>$ struct mln::slice\_\-image$<$ I $>$}

2D image extracted from a slice of a 3D image. 

Definition at line 95 of file slice\_\-image.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00350_a7799f0e7cda4b76a98fd005c8793e4ab}{
\index{mln::slice\_\-image@{mln::slice\_\-image}!skeleton@{skeleton}}
\index{skeleton@{skeleton}!mln::slice_image@{mln::slice\_\-image}}
\subsubsection[{skeleton}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I$>$ typedef {\bf slice\_\-image}$<$ tag::image\_\-$<$I$>$ $>$ {\bf mln::slice\_\-image}$<$ I $>$::{\bf skeleton}}}
\label{db/d10/a00350_a7799f0e7cda4b76a98fd005c8793e4ab}


Skeleton. 



Definition at line 100 of file slice\_\-image.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00350_a4ff6068a54c098972725e17ab138222f}{
\index{mln::slice\_\-image@{mln::slice\_\-image}!slice\_\-image@{slice\_\-image}}
\index{slice\_\-image@{slice\_\-image}!mln::slice_image@{mln::slice\_\-image}}
\subsubsection[{slice\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::slice\_\-image}$<$ I $>$::{\bf slice\_\-image} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d10/a00350_a4ff6068a54c098972725e17ab138222f}


Constructor without argument. 



Definition at line 193 of file slice\_\-image.hh.

\hypertarget{a00350_a4e471f6d54ed07a9768642b89be7da33}{
\index{mln::slice\_\-image@{mln::slice\_\-image}!slice\_\-image@{slice\_\-image}}
\index{slice\_\-image@{slice\_\-image}!mln::slice_image@{mln::slice\_\-image}}
\subsubsection[{slice\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::slice\_\-image}$<$ I $>$::{\bf slice\_\-image} (
\begin{DoxyParamCaption}
\item[{I \&}]{ ima, }
\item[{{\bf def::coord}}]{ sli}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d10/a00350_a4e471f6d54ed07a9768642b89be7da33}


Constructor from an image {\ttfamily ima} and a predicate {\ttfamily f}. 



Definition at line 199 of file slice\_\-image.hh.



\subsection{Member Function Documentation}
\hypertarget{a00350_a5eca40c2eb1c7899355a62d5652303b9}{
\index{mln::slice\_\-image@{mln::slice\_\-image}!domain@{domain}}
\index{domain@{domain}!mln::slice_image@{mln::slice\_\-image}}
\subsubsection[{domain}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ const {\bf box2d} \& {\bf mln::slice\_\-image}$<$ I $>$::domain (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d10/a00350_a5eca40c2eb1c7899355a62d5652303b9}


Give the definition domain. 



Definition at line 216 of file slice\_\-image.hh.

\hypertarget{a00350_a661162b5e63165fd93c91961c070d6fc}{
\index{mln::slice\_\-image@{mln::slice\_\-image}!operator slice\_\-image$<$ const I $>$@{operator slice\_\-image$<$ const I $>$}}
\index{operator slice\_\-image$<$ const I $>$@{operator slice\_\-image$<$ const I $>$}!mln::slice_image@{mln::slice\_\-image}}
\subsubsection[{operator slice\_\-image$<$ const I $>$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::slice\_\-image}$<$ I $>$::operator {\bf slice\_\-image}$<$ const I $>$ (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d10/a00350_a661162b5e63165fd93c91961c070d6fc}


Const promotion via conversion. 



Definition at line 255 of file slice\_\-image.hh.

\hypertarget{a00350_a7a0481cb0bd32665e495d2524e6b6ec2}{
\index{mln::slice\_\-image@{mln::slice\_\-image}!operator()@{operator()}}
\index{operator()@{operator()}!mln::slice_image@{mln::slice\_\-image}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ internal::morpher\_\-lvalue\_\-$<$ I $>$::ret {\bf mln::slice\_\-image}$<$ I $>$::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf point2d} \&}]{ p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d10/a00350_a7a0481cb0bd32665e495d2524e6b6ec2}


Read-\/write access to the image value located at point {\ttfamily p}. 



Definition at line 245 of file slice\_\-image.hh.

\hypertarget{a00350_af792a15c9e8f8cd569f771341e172dc9}{
\index{mln::slice\_\-image@{mln::slice\_\-image}!operator()@{operator()}}
\index{operator()@{operator()}!mln::slice_image@{mln::slice\_\-image}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ I::rvalue {\bf mln::slice\_\-image}$<$ I $>$::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf point2d} \&}]{ p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d10/a00350_af792a15c9e8f8cd569f771341e172dc9}


Read-\/only access to the image value located at point {\ttfamily p}. 



Definition at line 234 of file slice\_\-image.hh.

\hypertarget{a00350_ab629c61fa529d5ccaad3dadea0b56236}{
\index{mln::slice\_\-image@{mln::slice\_\-image}!sli@{sli}}
\index{sli@{sli}!mln::slice_image@{mln::slice\_\-image}}
\subsubsection[{sli}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf def::coord} {\bf mln::slice\_\-image}$<$ I $>$::sli (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d10/a00350_ab629c61fa529d5ccaad3dadea0b56236}


Give the slice number. 



Definition at line 225 of file slice\_\-image.hh.

