\hypertarget{a02529}{
\section{mln::data::impl Namespace Reference}
\label{dd/dd9/a02529}\index{mln::data::impl@{mln::data::impl}}
}


Implementation namespace of data namespace.  


\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
namespace \hyperlink{a02530}{generic}


\begin{DoxyCompactList}\small\item\em Generic implementation namespace of data namespace. \item\end{DoxyCompactList}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename I , typename J $>$ }\\void \hyperlink{a02529_af415923fc9f020f8d4c47df15538593a}{paste\_\-without\_\-localization\_\-fast} (const \hyperlink{a00044}{Image}$<$ I $>$ \&input\_\-, \hyperlink{a00044}{Image}$<$ J $>$ \&output\_\-)
\begin{DoxyCompactList}\small\item\em Paste data to an image without using localization. Performs a point-\/wise copy. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename J $>$ }\\void \hyperlink{a02529_a92f8fe35dc2da129c80d2b45f49af7ad}{paste\_\-without\_\-localization\_\-fastest} (const \hyperlink{a00044}{Image}$<$ I $>$ \&input\_\-, \hyperlink{a00044}{Image}$<$ J $>$ \&output\_\-)
\begin{DoxyCompactList}\small\item\em Paste data to an image without using localization. Performs a one-\/block memory copy. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename J $>$ }\\void \hyperlink{a02529_a2ba05845de4fe5d4dcd0703a0d3add9f}{paste\_\-without\_\-localization\_\-lines} (const \hyperlink{a00044}{Image}$<$ I $>$ \&input\_\-, \hyperlink{a00044}{Image}$<$ J $>$ \&output\_\-)
\begin{DoxyCompactList}\small\item\em Paste data to an image without using localization. Performs a line-\/per-\/line memory copy. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename V , typename I $>$ }\\mln::trait::ch\_\-value$<$ I, V $>$::ret \hyperlink{a02529_a8ae1e41d994748d683ac4b065761aa87}{stretch} (const V \&v, const \hyperlink{a00044}{Image}$<$ I $>$ \&input)
\begin{DoxyCompactList}\small\item\em Generic implementation of \hyperlink{a00651_a5135255ba4b69c9a12ce5500f42f0afc}{data::stretch}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename F $>$ }\\void \hyperlink{a02529_ab4d00baf640e8d80ee22ba66c088970a}{transform\_\-inplace\_\-lowq} (\hyperlink{a00044}{Image}$<$ I $>$ \&input\_\-, const \hyperlink{a00034}{Function\_\-v2v}$<$ F $>$ \&f\_\-)
\begin{DoxyCompactList}\small\item\em Specialized implementation. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename A , typename I $>$ }\\A::result \hyperlink{a02529_aa3171ac7442eba1a6350672f3d9741de}{update\_\-fastest} (\hyperlink{a00026}{Accumulator}$<$ A $>$ \&a\_\-, const \hyperlink{a00044}{Image}$<$ I $>$ \&input\_\-)
\begin{DoxyCompactList}\small\item\em Fastest implementation of \hyperlink{a00651_a8816158c44f6fc968b6cef0368c0110d}{data::update}. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Implementation namespace of data namespace. 

\subsection{Function Documentation}
\hypertarget{a02529_af415923fc9f020f8d4c47df15538593a}{
\index{mln::data::impl@{mln::data::impl}!paste\_\-without\_\-localization\_\-fast@{paste\_\-without\_\-localization\_\-fast}}
\index{paste\_\-without\_\-localization\_\-fast@{paste\_\-without\_\-localization\_\-fast}!mln::data::impl@{mln::data::impl}}
\subsubsection[{paste\_\-without\_\-localization\_\-fast}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename J $>$ void mln::data::impl::paste\_\-without\_\-localization\_\-fast (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ input\_\-, }
\item[{Image$<$ J $>$ \&}]{ output\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dd/dd9/a02529_af415923fc9f020f8d4c47df15538593a}


Paste data to an image without using localization. Performs a point-\/wise copy. 

{\ttfamily input} and {\ttfamily output} must have both the following properties:


\begin{DoxyItemize}
\item mln::trait::image::value\_\-alignment::with\_\-grid
\item mln::trait::image::value\_\-storage::one\_\-block
\item mln::trait::image::value\_\-access::direct
\item mln::trait::image::ext\_\-domain::some
\end{DoxyItemize}

They must also fulfill the following conditions:


\begin{DoxyItemize}
\item Same domain size. 
\end{DoxyItemize}

Definition at line 220 of file paste\_\-without\_\-localization.hh.

\hypertarget{a02529_a92f8fe35dc2da129c80d2b45f49af7ad}{
\index{mln::data::impl@{mln::data::impl}!paste\_\-without\_\-localization\_\-fastest@{paste\_\-without\_\-localization\_\-fastest}}
\index{paste\_\-without\_\-localization\_\-fastest@{paste\_\-without\_\-localization\_\-fastest}!mln::data::impl@{mln::data::impl}}
\subsubsection[{paste\_\-without\_\-localization\_\-fastest}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename J $>$ void mln::data::impl::paste\_\-without\_\-localization\_\-fastest (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ input\_\-, }
\item[{Image$<$ J $>$ \&}]{ output\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dd/dd9/a02529_a92f8fe35dc2da129c80d2b45f49af7ad}


Paste data to an image without using localization. Performs a one-\/block memory copy. 

{\ttfamily input} and {\ttfamily output} must have both the following properties:


\begin{DoxyItemize}
\item mln::trait::image::value\_\-alignment::with\_\-grid
\item mln::trait::image::value\_\-storage::one\_\-block
\item mln::trait::image::value\_\-access::direct
\item mln::trait::image::ext\_\-domain::some
\end{DoxyItemize}

They must also fulfill the following conditions:


\begin{DoxyItemize}
\item Same border size.
\item Same domain size.
\item Same value type. 
\end{DoxyItemize}

Definition at line 142 of file paste\_\-without\_\-localization.hh.

\hypertarget{a02529_a2ba05845de4fe5d4dcd0703a0d3add9f}{
\index{mln::data::impl@{mln::data::impl}!paste\_\-without\_\-localization\_\-lines@{paste\_\-without\_\-localization\_\-lines}}
\index{paste\_\-without\_\-localization\_\-lines@{paste\_\-without\_\-localization\_\-lines}!mln::data::impl@{mln::data::impl}}
\subsubsection[{paste\_\-without\_\-localization\_\-lines}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename J $>$ void mln::data::impl::paste\_\-without\_\-localization\_\-lines (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ input\_\-, }
\item[{Image$<$ J $>$ \&}]{ output\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dd/dd9/a02529_a2ba05845de4fe5d4dcd0703a0d3add9f}


Paste data to an image without using localization. Performs a line-\/per-\/line memory copy. 

{\ttfamily input} and {\ttfamily output} must have both the following properties:


\begin{DoxyItemize}
\item mln::trait::image::value\_\-alignment::with\_\-grid
\item mln::trait::image::value\_\-storage::one\_\-block
\item mln::trait::image::value\_\-access::direct
\item mln::trait::image::ext\_\-domain::some
\end{DoxyItemize}

They must also fulfill the following conditions:


\begin{DoxyItemize}
\item Same domain size.
\item Same value type. 
\end{DoxyItemize}

Definition at line 179 of file paste\_\-without\_\-localization.hh.

\hypertarget{a02529_a8ae1e41d994748d683ac4b065761aa87}{
\index{mln::data::impl@{mln::data::impl}!stretch@{stretch}}
\index{stretch@{stretch}!mln::data::impl@{mln::data::impl}}
\subsubsection[{stretch}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename I $>$ mln::trait::ch\_\-value$<$ I , V $>$::ret mln::data::impl::stretch (
\begin{DoxyParamCaption}
\item[{const V \&}]{ v, }
\item[{const Image$<$ I $>$ \&}]{ input}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dd/dd9/a02529_a8ae1e41d994748d683ac4b065761aa87}


Generic implementation of \hyperlink{a00651_a5135255ba4b69c9a12ce5500f42f0afc}{data::stretch}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em v}]A value to set the output value type. \item[\mbox{\tt[in]} {\em input}]The input image.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stretch image with values of the same type as {\ttfamily v}. 
\end{DoxyReturn}


Definition at line 83 of file stretch.hh.



References mln::initialize(), mln::estim::min\_\-max(), and mln::data::transform().



Referenced by mln::data::stretch().

\hypertarget{a02529_ab4d00baf640e8d80ee22ba66c088970a}{
\index{mln::data::impl@{mln::data::impl}!transform\_\-inplace\_\-lowq@{transform\_\-inplace\_\-lowq}}
\index{transform\_\-inplace\_\-lowq@{transform\_\-inplace\_\-lowq}!mln::data::impl@{mln::data::impl}}
\subsubsection[{transform\_\-inplace\_\-lowq}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename F $>$ void mln::data::impl::transform\_\-inplace\_\-lowq (
\begin{DoxyParamCaption}
\item[{Image$<$ I $>$ \&}]{ input\_\-, }
\item[{const Function\_\-v2v$<$ F $>$ \&}]{ f\_\-}
\end{DoxyParamCaption}
)}}
\label{dd/dd9/a02529_ab4d00baf640e8d80ee22ba66c088970a}


Specialized implementation. 



Definition at line 203 of file transform\_\-inplace.hh.

\hypertarget{a02529_aa3171ac7442eba1a6350672f3d9741de}{
\index{mln::data::impl@{mln::data::impl}!update\_\-fastest@{update\_\-fastest}}
\index{update\_\-fastest@{update\_\-fastest}!mln::data::impl@{mln::data::impl}}
\subsubsection[{update\_\-fastest}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename A , typename I $>$ A ::result mln::data::impl::update\_\-fastest (
\begin{DoxyParamCaption}
\item[{Accumulator$<$ A $>$ \&}]{ a\_\-, }
\item[{const Image$<$ I $>$ \&}]{ input\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dd/dd9/a02529_aa3171ac7442eba1a6350672f3d9741de}


Fastest implementation of \hyperlink{a00651_a8816158c44f6fc968b6cef0368c0110d}{data::update}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em a\_\-}]The accumulator. \item[\mbox{\tt[in]} {\em input\_\-}]The input image.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The accumulator result. 
\end{DoxyReturn}


Definition at line 129 of file update.hh.

