\hypertarget{a00226}{
\section{mln::fun::x2x::linear$<$ I $>$ Struct Template Reference}
\label{dc/d55/a00226}\index{mln::fun::x2x::linear@{mln::fun::x2x::linear}}
}


Represent a linear interolation of values from an underlying image.  




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



Inheritance diagram for mln::fun::x2x::linear$<$ I $>$:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{de/d6c/a03873}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00226_a65edda336fa7db13e85152f9ef02f792}{linear} (const I \&\hyperlink{a00226_ac44d81f323d3112241584630a70169ea}{ima})
\begin{DoxyCompactList}\small\item\em Constructor with the underlying image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename C $>$ }\\I::value \hyperlink{a00226_a483cbca48e03dc4dfbc3218b855ce1ab}{operator()} (const algebra::vec$<$ 1, C $>$ \&v) const 
\begin{DoxyCompactList}\small\item\em Return the interpolated value in the underlying image at the given 'point' v. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
const I \& \hyperlink{a00226_ac44d81f323d3112241584630a70169ea}{ima}
\begin{DoxyCompactList}\small\item\em Underlying image. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


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

Represent a linear interolation of values from an underlying image. 

Definition at line 53 of file x2v/linear.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00226_a65edda336fa7db13e85152f9ef02f792}{
\index{mln::fun::x2x::linear@{mln::fun::x2x::linear}!linear@{linear}}
\index{linear@{linear}!mln::fun::x2x::linear@{mln::fun::x2x::linear}}
\subsubsection[{linear}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::fun::x2x::linear}$<$ I $>$::{\bf linear} (
\begin{DoxyParamCaption}
\item[{const I \&}]{ ima}
\end{DoxyParamCaption}
)}}
\label{dc/d55/a00226_a65edda336fa7db13e85152f9ef02f792}


Constructor with the underlying image. 



Definition at line 77 of file x2v/linear.hh.



\subsection{Member Function Documentation}
\hypertarget{a00226_a483cbca48e03dc4dfbc3218b855ce1ab}{
\index{mln::fun::x2x::linear@{mln::fun::x2x::linear}!operator()@{operator()}}
\index{operator()@{operator()}!mln::fun::x2x::linear@{mln::fun::x2x::linear}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ template$<$typename C $>$ I::value {\bf mln::fun::x2x::linear}$<$ I $>$::operator() (
\begin{DoxyParamCaption}
\item[{const algebra::vec$<$ 1, C $>$ \&}]{ v}
\end{DoxyParamCaption}
) const}}
\label{dc/d55/a00226_a483cbca48e03dc4dfbc3218b855ce1ab}


Return the interpolated value in the underlying image at the given 'point' v. 



Definition at line 85 of file x2v/linear.hh.



\subsection{Member Data Documentation}
\hypertarget{a00226_ac44d81f323d3112241584630a70169ea}{
\index{mln::fun::x2x::linear@{mln::fun::x2x::linear}!ima@{ima}}
\index{ima@{ima}!mln::fun::x2x::linear@{mln::fun::x2x::linear}}
\subsubsection[{ima}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ const I\& {\bf mln::fun::x2x::linear}$<$ I $>$::{\bf ima}}}
\label{dc/d55/a00226_ac44d81f323d3112241584630a70169ea}


Underlying image. 



Definition at line 70 of file x2v/linear.hh.

