Namespaces | |
namespace | impl |
Implementation namespace of arith namespace. | |
Functions | |
template<typename I> | |
mln::trait::concrete< I >::ret | diff_abs (const Image< I > &lhs, const Image< I > &rhs) |
Point-wise absolute difference of images lhs and rhs . | |
template<typename L, typename R, typename O> | |
void | div (const Image< L > &lhs, const Image< R > &rhs, Image< O > &output) |
Point-wise division of images lhs and rhs . | |
template<typename I, typename V, typename O> | |
void | div_cst (const Image< I > &input, const V &val, Image< O > &output) |
Point-wise division of the value val to image input . | |
template<typename L, typename R> | |
void | div_inplace (Image< L > &lhs, const Image< R > &rhs) |
Point-wise division of image rhs in image lhs . | |
template<typename L, typename R> | |
mln::trait::concrete< L >::ret | min (const Image< L > &lhs, const Image< R > &rhs) |
Point-wise min of images lhs and rhs . | |
template<typename L, typename R> | |
void | min_inplace (Image< L > &lhs, const Image< R > &rhs) |
Point-wise min of image lhs in image 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) |
Point-wise addition of images lhs and rhs . | |
template<typename L, typename R> | |
mln::trait::op::minus< L, R >::ret | minus (const Image< L > &lhs, const Image< R > &rhs) |
Point-wise addition of images lhs and rhs . | |
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) |
Point-wise addition of the value val to image input . | |
template<typename I, typename V> | |
mln::trait::op::minus< I, V >::ret | minus_cst (const Image< I > &input, const V &val) |
Point-wise addition of the value val to image input . | |
template<typename I, typename V> | |
I & | minus_cst_inplace (Image< I > &input, const V &val) |
Point-wise addition of the value val to image input . | |
template<typename L, typename R> | |
void | minus_inplace (Image< L > &lhs, const Image< R > &rhs) |
Point-wise addition of image rhs in image lhs . | |
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) |
Point-wise addition of images lhs and rhs . | |
template<typename L, typename R> | |
mln::trait::op::plus< L, R >::ret | plus (const Image< L > &lhs, const Image< R > &rhs) |
Point-wise addition of images lhs and rhs . | |
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) |
Point-wise addition of the value val to image input . | |
template<typename I, typename V> | |
mln::trait::op::plus< I, V >::ret | plus_cst (const Image< I > &input, const V &val) |
Point-wise addition of the value val to image input . | |
template<typename I, typename V> | |
I & | plus_cst_inplace (Image< I > &input, const V &val) |
Point-wise addition of the value val to image input . | |
template<typename L, typename R> | |
void | plus_inplace (Image< L > &lhs, const Image< R > &rhs) |
Point-wise addition of image rhs in image lhs . | |
template<typename I> | |
mln::trait::concrete< I >::ret | revert (const Image< I > &input) |
Point-wise reversion of image input . | |
template<typename I> | |
void | revert_inplace (Image< I > &input) |
Point-wise in-place reversion of image input . | |
template<typename L, typename R, typename O> | |
void | times (const Image< L > &lhs, const Image< R > &rhs, Image< O > &output) |
Point-wise addition of images lhs and rhs . | |
template<typename I, typename V, typename O> | |
void | times_cst (const Image< I > &input, const V &val, Image< O > &output) |
Point-wise addition of the value val to image input . | |
template<typename L, typename R> | |
void | times_inplace (Image< L > &lhs, const Image< R > &rhs) |
Point-wise addition of image rhs in image lhs . |
mln::trait::concrete< I >::ret mln::arith::diff_abs | ( | const Image< I > & | lhs, | |
const Image< I > & | rhs | |||
) | [inline] |
Point-wise absolute difference of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
lhs.domain
== rhs.domain
References mln::data::transform().
void mln::arith::div | ( | const Image< L > & | lhs, | |
const Image< R > & | rhs, | |||
Image< O > & | output | |||
) | [inline] |
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 | |||
) | [inline] |
void mln::arith::div_inplace | ( | Image< L > & | lhs, | |
const Image< R > & | rhs | |||
) | [inline] |
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 ). |
rhs.domain
<= lhs.domain
References div_inplace().
Referenced by div_inplace().
mln::trait::concrete< L >::ret mln::arith::min | ( | const Image< L > & | lhs, | |
const Image< R > & | rhs | |||
) | [inline] |
Point-wise min of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
lhs.domain
== rhs.domain
References mln::initialize().
void mln::arith::min_inplace | ( | Image< L > & | lhs, | |
const Image< R > & | rhs | |||
) | [inline] |
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::ch_value< L, typename F::result >::ret mln::arith::minus | ( | const Image< L > & | lhs, | |
const Image< R > & | rhs, | |||
const Function_v2v< F > & | f | |||
) | [inline] |
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
References mln::initialize().
mln::trait::ch_value< L, V >::ret mln::arith::minus | ( | const Image< L > & | lhs, | |
const Image< R > & | rhs | |||
) | [inline] |
Point-wise addition of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
lhs.domain
== rhs.domain
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
V
sets the destination value type.
lhs.domain
== rhs.domain
References mln::initialize().
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 | |||
) | [inline] |
mln::trait::op::minus< I, V >::ret mln::arith::minus_cst | ( | const Image< I > & | input, | |
const V & | val | |||
) | [inline] |
I & mln::arith::minus_cst_inplace | ( | Image< I > & | input, | |
const V & | val | |||
) | [inline] |
Point-wise addition of the value val
to image input
.
[in,out] | input | The image. |
[in] | val | The value. |
input.is_valid
References minus_cst_inplace(), and minus_inplace().
Referenced by minus_cst_inplace().
void mln::arith::minus_inplace | ( | Image< L > & | lhs, | |
const Image< R > & | rhs | |||
) | [inline] |
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 ). |
rhs.domain
== lhs.domain
References minus_inplace().
Referenced by minus_cst_inplace(), and minus_inplace().
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 | |||
) | [inline] |
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
References mln::initialize().
mln::trait::ch_value< L, V >::ret mln::arith::plus | ( | const Image< L > & | lhs, | |
const Image< R > & | rhs | |||
) | [inline] |
Point-wise addition of images lhs
and rhs
.
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
lhs.domain
== rhs.domain
[in] | lhs | First operand image. |
[in] | rhs | Second operand image. |
V
sets the destination value type.
lhs.domain
== rhs.domain
References mln::initialize().
Referenced by mln::morpho::contrast().
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 | |||
) | [inline] |
mln::trait::ch_value< I, W >::ret mln::arith::plus_cst | ( | const Image< I > & | input, | |
const V & | val | |||
) | [inline] |
I & mln::arith::plus_cst_inplace | ( | Image< I > & | input, | |
const V & | val | |||
) | [inline] |
Point-wise addition of the value val
to image input
.
[in,out] | input | The image. |
[in] | val | The value. |
input.is_valid
References plus_cst_inplace(), and plus_inplace().
Referenced by plus_cst_inplace().
void mln::arith::plus_inplace | ( | Image< L > & | lhs, | |
const Image< R > & | rhs | |||
) | [inline] |
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 ). |
rhs.domain
== lhs.domain
Referenced by plus_cst_inplace().
mln::trait::concrete< I >::ret mln::arith::revert | ( | const Image< I > & | input | ) | [inline] |
Point-wise reversion of image input
.
[in] | input | the input image. |
input.is_valid
References mln::initialize().
void mln::arith::revert_inplace | ( | Image< I > & | input | ) | [inline] |
Point-wise in-place reversion of image input
.
[in,out] | input | The target image. |
input.is_valid
void mln::arith::times | ( | const Image< L > & | lhs, | |
const Image< R > & | rhs, | |||
Image< O > & | output | |||
) | [inline] |
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 | |||
) | [inline] |
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
References times_cst().
Referenced by times_cst().
void mln::arith::times_inplace | ( | Image< L > & | lhs, | |
const Image< R > & | rhs | |||
) | [inline] |
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 ). |
rhs.domain
<= lhs.domain
References times_inplace().
Referenced by times_inplace().