$extrastylesheet
Namespaces | |
namespace | impl |
Functions | |
template<typename I > | |
mln::trait::concrete< I >::ret | diff_abs (const Image< I > &lhs, const Image< I > &rhs) |
template<typename L , typename R , typename O > | |
void | div (const Image< L > &lhs, const Image< R > &rhs, Image< O > &output) |
template<typename I , typename V , typename O > | |
void | div_cst (const Image< I > &input, const V &val, Image< O > &output) |
template<typename L , typename R > | |
void | div_inplace (Image< L > &lhs, const Image< R > &rhs) |
template<typename L , typename R > | |
mln::trait::concrete< L >::ret | min (const Image< L > &lhs, const Image< R > &rhs) |
template<typename L , typename R > | |
void | min_inplace (Image< L > &lhs, const Image< R > &rhs) |
template<typename L , typename R > | |
mln::trait::op::minus< L, R >::ret | minus (const Image< L > &lhs, const Image< R > &rhs) |
template<typename L , typename R , typename F > | |
mln::trait::ch_value< L, typename F::result >::ret | minus (const Image< L > &lhs, const Image< R > &rhs, const Function_v2v< F > &f) |
template<typename V , typename L , typename R > | |
mln::trait::ch_value< L, V >::ret | minus (const Image< L > &lhs, const Image< R > &rhs) |
template<typename I , typename V > | |
mln::trait::op::minus< I, V >::ret | minus_cst (const Image< I > &input, const V &val) |
template<typename I , typename V , typename F > | |
mln::trait::ch_value< I, typename F::result >::ret | minus_cst (const Image< I > &input, const V &val, const Function_v2v< F > &f) |
template<typename I , typename V > | |
I & | minus_cst_inplace (Image< I > &input, const V &val) |
template<typename L , typename R > | |
void | minus_inplace (Image< L > &lhs, const Image< R > &rhs) |
template<typename L , typename R > | |
mln::trait::op::plus< L, R >::ret | plus (const Image< L > &lhs, const Image< R > &rhs) |
template<typename L , typename R , typename F > | |
mln::trait::ch_value< L, typename F::result >::ret | plus (const Image< L > &lhs, const Image< R > &rhs, const Function_v2v< F > &f) |
template<typename V , typename L , typename R > | |
mln::trait::ch_value< L, V >::ret | plus (const Image< L > &lhs, const Image< R > &rhs) |
template<typename I , typename V > | |
mln::trait::op::plus< I, V >::ret | plus_cst (const Image< I > &input, const V &val) |
template<typename I , typename V , typename F > | |
mln::trait::ch_value< I, typename F::result >::ret | plus_cst (const Image< I > &input, const V &val, const Function_v2v< F > &f) |
template<typename W , typename I , typename V > | |
mln::trait::ch_value< I, W >::ret | plus_cst (const Image< I > &input, const V &val) |
template<typename I , typename V > | |
I & | plus_cst_inplace (Image< I > &input, const V &val) |
template<typename L , typename R > | |
void | plus_inplace (Image< L > &lhs, const Image< R > &rhs) |
template<typename I > | |
mln::trait::concrete< I >::ret | revert (const Image< I > &input) |
template<typename I > | |
void | revert_inplace (Image< I > &input) |
template<typename L , typename R , typename O > | |
void | times (const Image< L > &lhs, const Image< R > &rhs, Image< O > &output) |
template<typename I , typename V , typename O > | |
void | times_cst (const Image< I > &input, const V &val, Image< O > &output) |
template<typename L , typename R > | |
void | times_inplace (Image< L > &lhs, const Image< R > &rhs) |
template<typename I > | |
mln::trait::op::uminus< I >::ret | uminus (const Image< I > &ima) |
Namespace of arithmetic.
mln::trait::concrete< I >::ret mln::arith::diff_abs | ( | const Image< I > & | lhs, |
const Image< I > & | rhs | ||
) |
Point-wise absolute difference of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
lhs.domain
== rhs.domain
void mln::arith::div | ( | const Image< L > & | lhs, |
const Image< R > & | rhs, | ||
Image< O > & | output | ||
) |
Point-wise division of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
[out] | output | The result image. |
output.domain
== lhs.domain
== rhs.domain
void mln::arith::div_cst | ( | const Image< I > & | input, |
const V & | val, | ||
Image< O > & | output | ||
) |
Point-wise division of the value val
to image input
.
[in] | input | The image. |
[in] | val | The value. |
[out] | output | The result image. |
output.domain
== input.domain
void mln::arith::div_inplace | ( | Image< L > & | lhs, |
const Image< R > & | rhs | ||
) |
Point-wise division of image rhs
in image lhs
.
[in] | lhs | First operand image (subject to division). |
[in,out] | rhs | Second operand image (to div lhs ). |
This addition performs:
for all p of rhs.domain
lhs(p) /= rhs(p)
rhs.domain
<= lhs.domain
mln::trait::concrete< L >::ret mln::arith::min | ( | const Image< L > & | lhs, |
const Image< R > & | rhs | ||
) |
Point-wise min of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
lhs.domain
== rhs.domain
void mln::arith::min_inplace | ( | Image< L > & | lhs, |
const Image< R > & | rhs | ||
) |
Point-wise min of image lhs
in image rhs
.
[in,out] | lhs | First operand image. |
[in] | rhs | Second operand image. |
rhs.domain
== lhs.domain
mln::trait::op::minus< L , R >::ret mln::arith::minus | ( | const Image< L > & | lhs, |
const Image< R > & | rhs | ||
) |
Point-wise subtraction of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
lhs.domain
== rhs.domain
mln::trait::ch_value< L , typename F ::result >::ret mln::arith::minus | ( | const Image< L > & | lhs, |
const Image< R > & | rhs, | ||
const Function_v2v< F > & | f | ||
) |
Point-wise subtraction of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
[in] | f | Function. |
lhs.domain
== rhs.domain
mln::trait::ch_value< L , V >::ret mln::arith::minus | ( | const Image< L > & | lhs, |
const Image< R > & | rhs | ||
) |
Point-wise subtraction of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
The free parameter V
sets the destination value type.
lhs.domain
== rhs.domain
mln::trait::op::minus< I , V >::ret mln::arith::minus_cst | ( | const Image< I > & | input, |
const V & | val | ||
) |
Point-wise subtraction of the value val
to image input
.
[in] | input | The image. |
[in] | val | The value. |
input.is_valid
mln::trait::ch_value< I , typename F ::result >::ret mln::arith::minus_cst | ( | const Image< I > & | input, |
const V & | val, | ||
const Function_v2v< F > & | f | ||
) |
Point-wise subtraction of the value val
to image input
.
[in] | input | The image. |
[in] | val | The value. |
[in] | f | Function. |
input.is_valid
I& mln::arith::minus_cst_inplace | ( | Image< I > & | input, |
const V & | val | ||
) |
Point-wise subtraction of the value val
to image input
.
[in,out] | input | The image. |
[in] | val | The value. |
input.is_valid
void mln::arith::minus_inplace | ( | Image< L > & | lhs, |
const Image< R > & | rhs | ||
) |
Point-wise subtraction of image rhs
in image lhs
.
[in,out] | lhs | First operand image (subject to subtraction). |
[in] | rhs | Second operand image (to be subtracted to lhs ). |
This subtraction performs:
for all p of rhs.domain
lhs(p) -= rhs(p)
rhs.domain
== lhs.domain
mln::trait::op::plus< L , R >::ret mln::arith::plus | ( | const Image< L > & | lhs, |
const Image< R > & | rhs | ||
) |
Point-wise addition of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
lhs.domain
== rhs.domain
mln::trait::ch_value< L , typename F ::result >::ret mln::arith::plus | ( | const Image< L > & | lhs, |
const Image< R > & | rhs, | ||
const Function_v2v< F > & | f | ||
) |
Point-wise addition of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
[in] | f | Function. |
lhs.domain
== rhs.domain
mln::trait::ch_value< L , V >::ret mln::arith::plus | ( | const Image< L > & | lhs, |
const Image< R > & | rhs | ||
) |
Point-wise addition of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
The free parameter V
sets the destination value type.
lhs.domain
== rhs.domain
mln::trait::op::plus< I , V >::ret mln::arith::plus_cst | ( | const Image< I > & | input, |
const V & | val | ||
) |
Point-wise addition of the value val
to image input
.
[in] | input | The image. |
[in] | val | The value. |
input.is_valid
mln::trait::ch_value< I , typename F ::result >::ret mln::arith::plus_cst | ( | const Image< I > & | input, |
const V & | val, | ||
const Function_v2v< F > & | f | ||
) |
Point-wise addition of the value val
to image input
.
[in] | input | The image. |
[in] | val | The value. |
[in] | f | Function. |
input.is_valid
mln::trait::ch_value< I , W >::ret mln::arith::plus_cst | ( | const Image< I > & | input, |
const V & | val | ||
) |
Point-wise addition of the value val
to image input
.
[in] | input | The image. |
[in] | val | The value. |
input.is_valid
I& mln::arith::plus_cst_inplace | ( | Image< I > & | input, |
const V & | val | ||
) |
Point-wise addition of the value val
to image input
.
[in,out] | input | The image. |
[in] | val | The value. |
input.is_valid
void mln::arith::plus_inplace | ( | Image< L > & | lhs, |
const Image< R > & | rhs | ||
) |
Point-wise addition of image rhs
in image lhs
.
[in,out] | lhs | First operand image (subject to addition). |
[in] | rhs | Second operand image (to be added to lhs ). |
This addition performs:
for all p of rhs.domain
lhs(p) += rhs(p)
rhs.domain
== lhs.domain
mln::trait::concrete< I >::ret mln::arith::revert | ( | const Image< I > & | input | ) |
Point-wise reversion of image input
.
[in] | input | the input image. |
input.is_valid
It performs:
for all p of input.domain
output(p) = min + (max - input(p))
void mln::arith::revert_inplace | ( | Image< I > & | input | ) |
Point-wise in-place reversion of image input
.
[in,out] | input | The target image. |
input.is_valid
It performs:
for all p of input.domain
input(p) = min + (max - input(p))
void mln::arith::times | ( | const Image< L > & | lhs, |
const Image< R > & | rhs, | ||
Image< O > & | output | ||
) |
Point-wise addition of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
[out] | output | The result image. |
output.domain
== lhs.domain
== rhs.domain
void mln::arith::times_cst | ( | const Image< I > & | input, |
const V & | val, | ||
Image< O > & | output | ||
) |
Point-wise addition of the value val
to image input
.
[in] | input | The image. |
[in] | val | The value. |
[out] | output | The result image. |
output.domain
== input.domain
void mln::arith::times_inplace | ( | Image< L > & | lhs, |
const Image< R > & | rhs | ||
) |
Point-wise addition of image rhs
in image lhs
.
[in] | lhs | First operand image (subject to addition). |
[in,out] | rhs | Second operand image (to be added to lhs ). |
This addition performs:
for all p of rhs.domain
lhs(p) *= rhs(p)
rhs.domain
<= lhs.domain
mln::trait::op::uminus< I >::ret mln::arith::uminus | ( | const Image< I > & | ima | ) |
Negation (unary minus operation) of image ima
.
[in] | ima | Sole operand image. |