\hypertarget{a02496}{
\section{mln::arith Namespace Reference}
\label{d1/df5/a02496}\index{mln::arith@{mln::arith}}
}


Namespace of arithmetic.  


\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
namespace \hyperlink{a02497}{impl}


\begin{DoxyCompactList}\small\item\em Implementation namespace of arith namespace. \item\end{DoxyCompactList}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename I $>$ }\\mln::trait::concrete$<$ I $>$::ret \hyperlink{a02496_a9089ce6da0a3575fa9ce55fbc37c879e}{diff\_\-abs} (const \hyperlink{a00044}{Image}$<$ I $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ I $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Point-\/wise absolute difference of images {\ttfamily lhs} and {\ttfamily rhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename L , typename R , typename O $>$ }\\void \hyperlink{a02496_a00f0b63848fc8bb446820cac687ef4ec}{div} (const \hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs, \hyperlink{a00044}{Image}$<$ O $>$ \&output)
\begin{DoxyCompactList}\small\item\em Point-\/wise division of images {\ttfamily lhs} and {\ttfamily rhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename V , typename O $>$ }\\void \hyperlink{a02496_a01ab813567e52fe267026472adbd302c}{div\_\-cst} (const \hyperlink{a00044}{Image}$<$ I $>$ \&input, const V \&val, \hyperlink{a00044}{Image}$<$ O $>$ \&output)
\begin{DoxyCompactList}\small\item\em Point-\/wise division of the value {\ttfamily val} to image {\ttfamily input}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename L , typename R $>$ }\\void \hyperlink{a02496_ae19049335be202ebb7e18c938ea3879b}{div\_\-inplace} (\hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Point-\/wise division of image {\ttfamily rhs} in image {\ttfamily lhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename L , typename R $>$ }\\mln::trait::concrete$<$ L $>$::ret \hyperlink{a02496_a050de64a725d448e453b5b8298e1c39b}{min} (const \hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Point-\/wise min of images {\ttfamily lhs} and {\ttfamily rhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename L , typename R $>$ }\\void \hyperlink{a02496_af12ab464d680c39275d72e498d63eb48}{min\_\-inplace} (\hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Point-\/wise min of image {\ttfamily lhs} in image {\ttfamily rhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename L , typename R $>$ }\\mln::trait::op::minus$<$ L, R $>$::ret \hyperlink{a02496_a0a97d81c77c1a1bd035b1b932d334ec6}{minus} (const \hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename L , typename R , typename F $>$ }\\mln::trait::ch\_\-value$<$ L, typename F::result $>$::ret \hyperlink{a02496_affd8e9e7bae4a48c000601060c2f6000}{minus} (const \hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs, const \hyperlink{a00034}{Function\_\-v2v}$<$ F $>$ \&f)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename V , typename L , typename R $>$ }\\mln::trait::ch\_\-value$<$ L, V $>$::ret \hyperlink{a02496_a9978ea29577857903b07c911b226061f}{minus} (const \hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename V $>$ }\\mln::trait::op::minus$<$ I, V $>$::ret \hyperlink{a02496_a9ee6518a4a5dd5c1d63d75e8a30e112c}{minus\_\-cst} (const \hyperlink{a00044}{Image}$<$ I $>$ \&input, const V \&val)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename V , typename F $>$ }\\mln::trait::ch\_\-value$<$ I, typename F::result $>$::ret \hyperlink{a02496_a8231a3b54b1ed105d244077d9de746de}{minus\_\-cst} (const \hyperlink{a00044}{Image}$<$ I $>$ \&input, const V \&val, const \hyperlink{a00034}{Function\_\-v2v}$<$ F $>$ \&f)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename V $>$ }\\I \& \hyperlink{a02496_acea337b02510991b87ebbae14e50f5e7}{minus\_\-cst\_\-inplace} (\hyperlink{a00044}{Image}$<$ I $>$ \&input, const V \&val)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename L , typename R $>$ }\\void \hyperlink{a02496_a786a052f3b8b30564311d3601a82d79a}{minus\_\-inplace} (\hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of image {\ttfamily rhs} in image {\ttfamily lhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename L , typename R , typename F $>$ }\\mln::trait::ch\_\-value$<$ L, typename F::result $>$::ret \hyperlink{a02496_a51cf8799de6611bc998985f32275221d}{plus} (const \hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs, const \hyperlink{a00034}{Function\_\-v2v}$<$ F $>$ \&f)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename V , typename L , typename R $>$ }\\mln::trait::ch\_\-value$<$ L, V $>$::ret \hyperlink{a02496_afa1fe476d05b56cda597364615acfc8a}{plus} (const \hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename L , typename R $>$ }\\mln::trait::op::plus$<$ L, R $>$::ret \hyperlink{a02496_a0f1a5b629da0a2d8bacb4a49f3259d12}{plus} (const \hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename V $>$ }\\mln::trait::op::plus$<$ I, V $>$::ret \hyperlink{a02496_ac540b6ab447d07636809c49913c5b61c}{plus\_\-cst} (const \hyperlink{a00044}{Image}$<$ I $>$ \&input, const V \&val)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename V , typename F $>$ }\\mln::trait::ch\_\-value$<$ I, typename F::result $>$::ret \hyperlink{a02496_a16e71ff39ba437f5b2ca850e90b04267}{plus\_\-cst} (const \hyperlink{a00044}{Image}$<$ I $>$ \&input, const V \&val, const \hyperlink{a00034}{Function\_\-v2v}$<$ F $>$ \&f)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename W , typename I , typename V $>$ }\\mln::trait::ch\_\-value$<$ I, W $>$::ret \hyperlink{a02496_ada342a1172381a50c1fbf3f274e317b9}{plus\_\-cst} (const \hyperlink{a00044}{Image}$<$ I $>$ \&input, const V \&val)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename V $>$ }\\I \& \hyperlink{a02496_a2e1d78977199127ef86fa8853aa6e7e6}{plus\_\-cst\_\-inplace} (\hyperlink{a00044}{Image}$<$ I $>$ \&input, const V \&val)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename L , typename R $>$ }\\void \hyperlink{a02496_aee24470bab236f6b3fded5f836e1e1c0}{plus\_\-inplace} (\hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of image {\ttfamily rhs} in image {\ttfamily lhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I $>$ }\\mln::trait::concrete$<$ I $>$::ret \hyperlink{a02496_a9133c8120d58b99feabd1e365cc0e90d}{revert} (const \hyperlink{a00044}{Image}$<$ I $>$ \&input)
\begin{DoxyCompactList}\small\item\em Point-\/wise reversion of image {\ttfamily input}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I $>$ }\\void \hyperlink{a02496_ae5de0644c7d8f434587dc13c9dc0ea9a}{revert\_\-inplace} (\hyperlink{a00044}{Image}$<$ I $>$ \&input)
\begin{DoxyCompactList}\small\item\em Point-\/wise in-\/place reversion of image {\ttfamily input}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename L , typename R , typename O $>$ }\\void \hyperlink{a02496_a9c2de5050f5d89a002472aadb32f52eb}{times} (const \hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs, \hyperlink{a00044}{Image}$<$ O $>$ \&output)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename V , typename O $>$ }\\void \hyperlink{a02496_a99772097fbad94506c1d85496e1e152d}{times\_\-cst} (const \hyperlink{a00044}{Image}$<$ I $>$ \&input, const V \&val, \hyperlink{a00044}{Image}$<$ O $>$ \&output)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename L , typename R $>$ }\\void \hyperlink{a02496_adebc70d8c2772bf832b839055ed52db9}{times\_\-inplace} (\hyperlink{a00044}{Image}$<$ L $>$ \&lhs, const \hyperlink{a00044}{Image}$<$ R $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Point-\/wise addition of image {\ttfamily rhs} in image {\ttfamily lhs}. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Namespace of arithmetic. 

\subsection{Function Documentation}
\hypertarget{a02496_a9089ce6da0a3575fa9ce55fbc37c879e}{
\index{mln::arith@{mln::arith}!diff\_\-abs@{diff\_\-abs}}
\index{diff\_\-abs@{diff\_\-abs}!mln::arith@{mln::arith}}
\subsubsection[{diff\_\-abs}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ mln::trait::concrete$<$ I $>$::ret mln::arith::diff\_\-abs (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ lhs, }
\item[{const Image$<$ I $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a9089ce6da0a3575fa9ce55fbc37c879e}


Point-\/wise absolute difference of images {\ttfamily lhs} and {\ttfamily rhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em lhs}]First operand image. \item[\mbox{\tt[in]} {\em rhs}]Second operand image. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
\begin{DoxyPrecond}{Precondition}
{\ttfamily lhs.domain} == {\ttfamily rhs.domain} 
\end{DoxyPrecond}


Definition at line 63 of file arith/diff\_\-abs.hh.



References mln::data::transform().

\hypertarget{a02496_a00f0b63848fc8bb446820cac687ef4ec}{
\index{mln::arith@{mln::arith}!div@{div}}
\index{div@{div}!mln::arith@{mln::arith}}
\subsubsection[{div}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename L , typename R , typename O $>$ void mln::arith::div (
\begin{DoxyParamCaption}
\item[{const Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs, }
\item[{Image$<$ O $>$ \&}]{ output}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a00f0b63848fc8bb446820cac687ef4ec}


Point-\/wise division of images {\ttfamily lhs} and {\ttfamily rhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em lhs}]First operand image. \item[\mbox{\tt[in]} {\em rhs}]Second operand image. \item[\mbox{\tt[out]} {\em output}]The result image.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily output.domain} == {\ttfamily lhs.domain} == {\ttfamily rhs.domain} 
\end{DoxyPrecond}


Definition at line 227 of file arith/div.hh.

\hypertarget{a02496_a01ab813567e52fe267026472adbd302c}{
\index{mln::arith@{mln::arith}!div\_\-cst@{div\_\-cst}}
\index{div\_\-cst@{div\_\-cst}!mln::arith@{mln::arith}}
\subsubsection[{div\_\-cst}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename V , typename O $>$ void mln::arith::div\_\-cst (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ input, }
\item[{const V \&}]{ val, }
\item[{Image$<$ O $>$ \&}]{ output}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a01ab813567e52fe267026472adbd302c}


Point-\/wise division of the value {\ttfamily val} to image {\ttfamily input}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em input}]The image. \item[\mbox{\tt[in]} {\em val}]The value. \item[\mbox{\tt[out]} {\em output}]The result image.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily output.domain} == {\ttfamily input.domain} 
\end{DoxyPrecond}


Definition at line 242 of file arith/div.hh.



References div\_\-cst().



Referenced by div\_\-cst().

\hypertarget{a02496_ae19049335be202ebb7e18c938ea3879b}{
\index{mln::arith@{mln::arith}!div\_\-inplace@{div\_\-inplace}}
\index{div\_\-inplace@{div\_\-inplace}!mln::arith@{mln::arith}}
\subsubsection[{div\_\-inplace}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename L , typename R $>$ void mln::arith::div\_\-inplace (
\begin{DoxyParamCaption}
\item[{Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_ae19049335be202ebb7e18c938ea3879b}


Point-\/wise division of image {\ttfamily rhs} in image {\ttfamily lhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em lhs}]First operand image (subject to division). \item[\mbox{\tt[in,out]} {\em rhs}]Second operand image (to div {\ttfamily lhs}).\end{DoxyParams}
This addition performs: \par
 for all p of rhs.domain \par
 lhs(p) /= rhs(p)

\begin{DoxyPrecond}{Precondition}
{\ttfamily rhs.domain} $<$= {\ttfamily lhs.domain} 
\end{DoxyPrecond}


Definition at line 255 of file arith/div.hh.



References div\_\-inplace().



Referenced by div\_\-inplace().

\hypertarget{a02496_a050de64a725d448e453b5b8298e1c39b}{
\index{mln::arith@{mln::arith}!min@{min}}
\index{min@{min}!mln::arith@{mln::arith}}
\subsubsection[{min}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename L , typename R $>$ mln::trait::concrete$<$ L $>$::ret mln::arith::min (
\begin{DoxyParamCaption}
\item[{const Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a050de64a725d448e453b5b8298e1c39b}


Point-\/wise min of images {\ttfamily lhs} and {\ttfamily rhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em lhs}]First operand image. \item[\mbox{\tt[in]} {\em rhs}]Second operand image. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
\begin{DoxyPrecond}{Precondition}
{\ttfamily lhs.domain} == {\ttfamily rhs.domain} 
\end{DoxyPrecond}


Definition at line 112 of file arith/min.hh.



References mln::initialize().

\hypertarget{a02496_af12ab464d680c39275d72e498d63eb48}{
\index{mln::arith@{mln::arith}!min\_\-inplace@{min\_\-inplace}}
\index{min\_\-inplace@{min\_\-inplace}!mln::arith@{mln::arith}}
\subsubsection[{min\_\-inplace}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename L , typename R $>$ void mln::arith::min\_\-inplace (
\begin{DoxyParamCaption}
\item[{Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_af12ab464d680c39275d72e498d63eb48}


Point-\/wise min of image {\ttfamily lhs} in image {\ttfamily rhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in,out]} {\em lhs}]First operand image. \item[\mbox{\tt[in]} {\em rhs}]Second operand image.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily rhs.domain} == {\ttfamily lhs.domain} 
\end{DoxyPrecond}


Definition at line 128 of file arith/min.hh.

\hypertarget{a02496_a0a97d81c77c1a1bd035b1b932d334ec6}{
\index{mln::arith@{mln::arith}!minus@{minus}}
\index{minus@{minus}!mln::arith@{mln::arith}}
\subsubsection[{minus}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename L , typename R $>$ mln::trait::op::minus$<$ L, R $>$::ret mln::arith::minus (
\begin{DoxyParamCaption}
\item[{const Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a0a97d81c77c1a1bd035b1b932d334ec6}


Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em lhs}]First operand image. \item[\mbox{\tt[in]} {\em rhs}]Second operand image. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
\begin{DoxyPrecond}{Precondition}
{\ttfamily lhs.domain} == {\ttfamily rhs.domain} 
\end{DoxyPrecond}


Definition at line 331 of file arith/minus.hh.



References mln::initialize().

\hypertarget{a02496_affd8e9e7bae4a48c000601060c2f6000}{
\index{mln::arith@{mln::arith}!minus@{minus}}
\index{minus@{minus}!mln::arith@{mln::arith}}
\subsubsection[{minus}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename L , typename R , typename F $>$ mln::trait::ch\_\-value$<$ L, typename F::result $>$::ret mln::arith::minus (
\begin{DoxyParamCaption}
\item[{const Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs, }
\item[{const Function\_\-v2v$<$ F $>$ \&}]{ f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_affd8e9e7bae4a48c000601060c2f6000}


Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em lhs}]First operand image. \item[\mbox{\tt[in]} {\em rhs}]Second operand image. \item[\mbox{\tt[in]} {\em f}]\hyperlink{a00031}{Function}. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
\begin{DoxyPrecond}{Precondition}
{\ttfamily lhs.domain} == {\ttfamily rhs.domain} 
\end{DoxyPrecond}


Definition at line 350 of file arith/minus.hh.



References mln::initialize().

\hypertarget{a02496_a9978ea29577857903b07c911b226061f}{
\index{mln::arith@{mln::arith}!minus@{minus}}
\index{minus@{minus}!mln::arith@{mln::arith}}
\subsubsection[{minus}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename L , typename R $>$ mln::trait::ch\_\-value$<$ L, V $>$::ret mln::arith::minus (
\begin{DoxyParamCaption}
\item[{const Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a9978ea29577857903b07c911b226061f}


Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em lhs}]First operand image. \item[\mbox{\tt[in]} {\em rhs}]Second operand image. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
The free parameter {\ttfamily V} sets the destination value type.

\begin{DoxyPrecond}{Precondition}
{\ttfamily lhs.domain} == {\ttfamily rhs.domain} 
\end{DoxyPrecond}


Definition at line 369 of file arith/minus.hh.

\hypertarget{a02496_a9ee6518a4a5dd5c1d63d75e8a30e112c}{
\index{mln::arith@{mln::arith}!minus\_\-cst@{minus\_\-cst}}
\index{minus\_\-cst@{minus\_\-cst}!mln::arith@{mln::arith}}
\subsubsection[{minus\_\-cst}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename V $>$ mln::trait::op::minus$<$ I, V $>$::ret mln::arith::minus\_\-cst (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ input, }
\item[{const V \&}]{ val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a9ee6518a4a5dd5c1d63d75e8a30e112c}


Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em input}]The image. \item[\mbox{\tt[in]} {\em val}]The value. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
\begin{DoxyPrecond}{Precondition}
{\ttfamily input.is\_\-valid} 
\end{DoxyPrecond}


Definition at line 387 of file arith/minus.hh.

\hypertarget{a02496_a8231a3b54b1ed105d244077d9de746de}{
\index{mln::arith@{mln::arith}!minus\_\-cst@{minus\_\-cst}}
\index{minus\_\-cst@{minus\_\-cst}!mln::arith@{mln::arith}}
\subsubsection[{minus\_\-cst}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename V , typename F $>$ mln::trait::ch\_\-value$<$ I, typename F::result $>$::ret mln::arith::minus\_\-cst (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ input, }
\item[{const V \&}]{ val, }
\item[{const Function\_\-v2v$<$ F $>$ \&}]{ f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a8231a3b54b1ed105d244077d9de746de}


Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em input}]The image. \item[\mbox{\tt[in]} {\em val}]The value. \item[\mbox{\tt[in]} {\em f}]\hyperlink{a00031}{Function}. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
\begin{DoxyPrecond}{Precondition}
{\ttfamily input.is\_\-valid} 
\end{DoxyPrecond}


Definition at line 405 of file arith/minus.hh.

\hypertarget{a02496_acea337b02510991b87ebbae14e50f5e7}{
\index{mln::arith@{mln::arith}!minus\_\-cst\_\-inplace@{minus\_\-cst\_\-inplace}}
\index{minus\_\-cst\_\-inplace@{minus\_\-cst\_\-inplace}!mln::arith@{mln::arith}}
\subsubsection[{minus\_\-cst\_\-inplace}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename V $>$ I \& mln::arith::minus\_\-cst\_\-inplace (
\begin{DoxyParamCaption}
\item[{Image$<$ I $>$ \&}]{ input, }
\item[{const V \&}]{ val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_acea337b02510991b87ebbae14e50f5e7}


Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in,out]} {\em input}]The image. \item[\mbox{\tt[in]} {\em val}]The value.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily input.is\_\-valid} 
\end{DoxyPrecond}


Definition at line 440 of file arith/minus.hh.



References minus\_\-cst\_\-inplace(), and minus\_\-inplace().



Referenced by minus\_\-cst\_\-inplace().

\hypertarget{a02496_a786a052f3b8b30564311d3601a82d79a}{
\index{mln::arith@{mln::arith}!minus\_\-inplace@{minus\_\-inplace}}
\index{minus\_\-inplace@{minus\_\-inplace}!mln::arith@{mln::arith}}
\subsubsection[{minus\_\-inplace}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename L , typename R $>$ void mln::arith::minus\_\-inplace (
\begin{DoxyParamCaption}
\item[{Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a786a052f3b8b30564311d3601a82d79a}


Point-\/wise addition of image {\ttfamily rhs} in image {\ttfamily lhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in,out]} {\em lhs}]First operand image (subject to addition). \item[\mbox{\tt[in]} {\em rhs}]Second operand image (to be added to {\ttfamily lhs}).\end{DoxyParams}
This addition performs: \par
 for all p of rhs.domain \par
 lhs(p) -\/= rhs(p)

\begin{DoxyPrecond}{Precondition}
{\ttfamily rhs.domain} == {\ttfamily lhs.domain} 
\end{DoxyPrecond}


Definition at line 424 of file arith/minus.hh.



References minus\_\-inplace().



Referenced by minus\_\-cst\_\-inplace(), and minus\_\-inplace().

\hypertarget{a02496_a51cf8799de6611bc998985f32275221d}{
\index{mln::arith@{mln::arith}!plus@{plus}}
\index{plus@{plus}!mln::arith@{mln::arith}}
\subsubsection[{plus}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename L , typename R , typename F $>$ mln::trait::ch\_\-value$<$ L, typename F::result $>$::ret mln::arith::plus (
\begin{DoxyParamCaption}
\item[{const Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs, }
\item[{const Function\_\-v2v$<$ F $>$ \&}]{ f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a51cf8799de6611bc998985f32275221d}


Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em lhs}]First operand image. \item[\mbox{\tt[in]} {\em rhs}]Second operand image. \item[\mbox{\tt[in]} {\em f}]\hyperlink{a00031}{Function}. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
\begin{DoxyPrecond}{Precondition}
{\ttfamily lhs.domain} == {\ttfamily rhs.domain} 
\end{DoxyPrecond}


Definition at line 367 of file arith/plus.hh.



References mln::initialize().

\hypertarget{a02496_afa1fe476d05b56cda597364615acfc8a}{
\index{mln::arith@{mln::arith}!plus@{plus}}
\index{plus@{plus}!mln::arith@{mln::arith}}
\subsubsection[{plus}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename L , typename R $>$ mln::trait::ch\_\-value$<$ L, V $>$::ret mln::arith::plus (
\begin{DoxyParamCaption}
\item[{const Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_afa1fe476d05b56cda597364615acfc8a}


Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em lhs}]First operand image. \item[\mbox{\tt[in]} {\em rhs}]Second operand image. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
The free parameter {\ttfamily V} sets the destination value type.

\begin{DoxyPrecond}{Precondition}
{\ttfamily lhs.domain} == {\ttfamily rhs.domain} 
\end{DoxyPrecond}


Definition at line 386 of file arith/plus.hh.

\hypertarget{a02496_a0f1a5b629da0a2d8bacb4a49f3259d12}{
\index{mln::arith@{mln::arith}!plus@{plus}}
\index{plus@{plus}!mln::arith@{mln::arith}}
\subsubsection[{plus}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename L , typename R $>$ mln::trait::op::plus$<$ L, R $>$::ret mln::arith::plus (
\begin{DoxyParamCaption}
\item[{const Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a0f1a5b629da0a2d8bacb4a49f3259d12}


Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em lhs}]First operand image. \item[\mbox{\tt[in]} {\em rhs}]Second operand image. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
\begin{DoxyPrecond}{Precondition}
{\ttfamily lhs.domain} == {\ttfamily rhs.domain} 
\end{DoxyPrecond}


Definition at line 348 of file arith/plus.hh.



References mln::initialize().

\hypertarget{a02496_ac540b6ab447d07636809c49913c5b61c}{
\index{mln::arith@{mln::arith}!plus\_\-cst@{plus\_\-cst}}
\index{plus\_\-cst@{plus\_\-cst}!mln::arith@{mln::arith}}
\subsubsection[{plus\_\-cst}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename V $>$ mln::trait::op::plus$<$ I, V $>$::ret mln::arith::plus\_\-cst (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ input, }
\item[{const V \&}]{ val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_ac540b6ab447d07636809c49913c5b61c}


Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em input}]The image. \item[\mbox{\tt[in]} {\em val}]The value. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
\begin{DoxyPrecond}{Precondition}
{\ttfamily input.is\_\-valid} 
\end{DoxyPrecond}


Definition at line 404 of file arith/plus.hh.



Referenced by plus\_\-cst().

\hypertarget{a02496_a16e71ff39ba437f5b2ca850e90b04267}{
\index{mln::arith@{mln::arith}!plus\_\-cst@{plus\_\-cst}}
\index{plus\_\-cst@{plus\_\-cst}!mln::arith@{mln::arith}}
\subsubsection[{plus\_\-cst}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename V , typename F $>$ mln::trait::ch\_\-value$<$ I, typename F::result $>$::ret mln::arith::plus\_\-cst (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ input, }
\item[{const V \&}]{ val, }
\item[{const Function\_\-v2v$<$ F $>$ \&}]{ f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a16e71ff39ba437f5b2ca850e90b04267}


Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em input}]The image. \item[\mbox{\tt[in]} {\em val}]The value. \item[\mbox{\tt[in]} {\em f}]\hyperlink{a00031}{Function}. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
\begin{DoxyPrecond}{Precondition}
{\ttfamily input.is\_\-valid} 
\end{DoxyPrecond}


Definition at line 422 of file arith/plus.hh.

\hypertarget{a02496_ada342a1172381a50c1fbf3f274e317b9}{
\index{mln::arith@{mln::arith}!plus\_\-cst@{plus\_\-cst}}
\index{plus\_\-cst@{plus\_\-cst}!mln::arith@{mln::arith}}
\subsubsection[{plus\_\-cst}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename W , typename I , typename V $>$ mln::trait::ch\_\-value$<$ I, W $>$::ret mln::arith::plus\_\-cst (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ input, }
\item[{const V \&}]{ val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_ada342a1172381a50c1fbf3f274e317b9}


Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em input}]The image. \item[\mbox{\tt[in]} {\em val}]The value. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
\begin{DoxyPrecond}{Precondition}
{\ttfamily input.is\_\-valid} 
\end{DoxyPrecond}


Definition at line 441 of file arith/plus.hh.



References plus\_\-cst().

\hypertarget{a02496_a2e1d78977199127ef86fa8853aa6e7e6}{
\index{mln::arith@{mln::arith}!plus\_\-cst\_\-inplace@{plus\_\-cst\_\-inplace}}
\index{plus\_\-cst\_\-inplace@{plus\_\-cst\_\-inplace}!mln::arith@{mln::arith}}
\subsubsection[{plus\_\-cst\_\-inplace}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename V $>$ I \& mln::arith::plus\_\-cst\_\-inplace (
\begin{DoxyParamCaption}
\item[{Image$<$ I $>$ \&}]{ input, }
\item[{const V \&}]{ val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a2e1d78977199127ef86fa8853aa6e7e6}


Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in,out]} {\em input}]The image. \item[\mbox{\tt[in]} {\em val}]The value.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily input.is\_\-valid} 
\end{DoxyPrecond}


Definition at line 475 of file arith/plus.hh.



References plus\_\-cst\_\-inplace(), and plus\_\-inplace().



Referenced by plus\_\-cst\_\-inplace().

\hypertarget{a02496_aee24470bab236f6b3fded5f836e1e1c0}{
\index{mln::arith@{mln::arith}!plus\_\-inplace@{plus\_\-inplace}}
\index{plus\_\-inplace@{plus\_\-inplace}!mln::arith@{mln::arith}}
\subsubsection[{plus\_\-inplace}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename L , typename R $>$ void mln::arith::plus\_\-inplace (
\begin{DoxyParamCaption}
\item[{Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_aee24470bab236f6b3fded5f836e1e1c0}


Point-\/wise addition of image {\ttfamily rhs} in image {\ttfamily lhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in,out]} {\em lhs}]First operand image (subject to addition). \item[\mbox{\tt[in]} {\em rhs}]Second operand image (to be added to {\ttfamily lhs}).\end{DoxyParams}
This addition performs: \par
 for all p of rhs.domain \par
 lhs(p) += rhs(p)

\begin{DoxyPrecond}{Precondition}
{\ttfamily rhs.domain} == {\ttfamily lhs.domain} 
\end{DoxyPrecond}


Definition at line 459 of file arith/plus.hh.



References plus\_\-inplace().



Referenced by plus\_\-cst\_\-inplace(), and plus\_\-inplace().

\hypertarget{a02496_a9133c8120d58b99feabd1e365cc0e90d}{
\index{mln::arith@{mln::arith}!revert@{revert}}
\index{revert@{revert}!mln::arith@{mln::arith}}
\subsubsection[{revert}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ mln::trait::concrete$<$ I $>$::ret mln::arith::revert (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ input}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a9133c8120d58b99feabd1e365cc0e90d}


Point-\/wise reversion of image {\ttfamily input}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em input}]the input image. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result image.
\end{DoxyReturn}
\begin{DoxyPrecond}{Precondition}
{\ttfamily input.is\_\-valid} 
\end{DoxyPrecond}
It performs: \par
 for all p of input.domain \par
 output(p) = min + (max -\/ input(p)) 

Definition at line 158 of file revert.hh.



References mln::initialize().

\hypertarget{a02496_ae5de0644c7d8f434587dc13c9dc0ea9a}{
\index{mln::arith@{mln::arith}!revert\_\-inplace@{revert\_\-inplace}}
\index{revert\_\-inplace@{revert\_\-inplace}!mln::arith@{mln::arith}}
\subsubsection[{revert\_\-inplace}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void mln::arith::revert\_\-inplace (
\begin{DoxyParamCaption}
\item[{Image$<$ I $>$ \&}]{ input}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_ae5de0644c7d8f434587dc13c9dc0ea9a}


Point-\/wise in-\/place reversion of image {\ttfamily input}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in,out]} {\em input}]The target image.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily input.is\_\-valid} 
\end{DoxyPrecond}
It performs: \par
 for all p of input.domain \par
 input(p) = min + (max -\/ input(p)) 

Definition at line 174 of file revert.hh.

\hypertarget{a02496_a9c2de5050f5d89a002472aadb32f52eb}{
\index{mln::arith@{mln::arith}!times@{times}}
\index{times@{times}!mln::arith@{mln::arith}}
\subsubsection[{times}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename L , typename R , typename O $>$ void mln::arith::times (
\begin{DoxyParamCaption}
\item[{const Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs, }
\item[{Image$<$ O $>$ \&}]{ output}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a9c2de5050f5d89a002472aadb32f52eb}


Point-\/wise addition of images {\ttfamily lhs} and {\ttfamily rhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em lhs}]First operand image. \item[\mbox{\tt[in]} {\em rhs}]Second operand image. \item[\mbox{\tt[out]} {\em output}]The result image.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily output.domain} == {\ttfamily lhs.domain} == {\ttfamily rhs.domain} 
\end{DoxyPrecond}


Definition at line 226 of file arith/times.hh.

\hypertarget{a02496_a99772097fbad94506c1d85496e1e152d}{
\index{mln::arith@{mln::arith}!times\_\-cst@{times\_\-cst}}
\index{times\_\-cst@{times\_\-cst}!mln::arith@{mln::arith}}
\subsubsection[{times\_\-cst}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename V , typename O $>$ void mln::arith::times\_\-cst (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ input, }
\item[{const V \&}]{ val, }
\item[{Image$<$ O $>$ \&}]{ output}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_a99772097fbad94506c1d85496e1e152d}


Point-\/wise addition of the value {\ttfamily val} to image {\ttfamily input}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em input}]The image. \item[\mbox{\tt[in]} {\em val}]The value. \item[\mbox{\tt[out]} {\em output}]The result image.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily output.domain} == {\ttfamily input.domain} 
\end{DoxyPrecond}


Definition at line 241 of file arith/times.hh.



References times\_\-cst().



Referenced by times\_\-cst().

\hypertarget{a02496_adebc70d8c2772bf832b839055ed52db9}{
\index{mln::arith@{mln::arith}!times\_\-inplace@{times\_\-inplace}}
\index{times\_\-inplace@{times\_\-inplace}!mln::arith@{mln::arith}}
\subsubsection[{times\_\-inplace}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename L , typename R $>$ void mln::arith::times\_\-inplace (
\begin{DoxyParamCaption}
\item[{Image$<$ L $>$ \&}]{ lhs, }
\item[{const Image$<$ R $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d1/df5/a02496_adebc70d8c2772bf832b839055ed52db9}


Point-\/wise addition of image {\ttfamily rhs} in image {\ttfamily lhs}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em lhs}]First operand image (subject to addition). \item[\mbox{\tt[in,out]} {\em rhs}]Second operand image (to be added to {\ttfamily lhs}).\end{DoxyParams}
This addition performs: \par
 for all p of rhs.domain \par
 lhs(p) $\ast$= rhs(p)

\begin{DoxyPrecond}{Precondition}
{\ttfamily rhs.domain} $<$= {\ttfamily lhs.domain} 
\end{DoxyPrecond}


Definition at line 254 of file arith/times.hh.



References times\_\-inplace().



Referenced by times\_\-inplace().

