Namespace of logic. More...
Namespaces | |
| namespace | impl |
Implementation namespace of logical namespace. | |
Functions | |
| template<typename L , typename R > | |
| void | and_inplace (Image< L > &lhs, const Image< R > &rhs) |
| template<typename L , typename R > | |
| mln::trait::ch_value< L, typename mln::fun::vv2v::land_not < typename L::value, typename R::value >::result >::ret | and_not (const Image< L > &lhs, const Image< R > &rhs) |
| template<typename L , typename R > | |
| void | and_not_inplace (Image< L > &lhs, const Image< R > &rhs) |
| template<typename I > | |
| void | not_inplace (Image< I > &input) |
| template<typename L , typename R > | |
| void | or_inplace (Image< L > &lhs, const Image< R > &rhs) |
| template<typename L , typename R > | |
| void | xor_inplace (Image< L > &lhs, const Image< R > &rhs) |
Namespace of logic.
| void mln::logical::and_inplace | ( | Image< L > & | lhs, | |
| const Image< R > & | rhs | |||
| ) | [inline] |
Point-wise in-place "logical and" of image rhs in image lhs.
| [in,out] | lhs | First operand image. |
| [in] | rhs | Second operand image. |
It performs:
for all p of rhs.domain
lhs(p) = lhs(p) and rhs(p)
rhs.domain >= lhs.domain Definition at line 91 of file logical/and.hh.
References mln::data::transform_inplace().
| mln::trait::ch_value< L, typename mln::fun::vv2v::land_not< typename L::value, typename R::value >::result >::ret mln::logical::and_not | ( | const Image< L > & | lhs, | |
| const Image< R > & | rhs | |||
| ) | [inline] |
Point-wise "logical and-not" between images lhs and rhs.
| [in] | lhs | First operand image. |
| [in] | rhs | Second operand image. |
lhs.domain == rhs.domain Definition at line 76 of file and_not.hh.
References mln::data::transform().
| void mln::logical::and_not_inplace | ( | Image< L > & | lhs, | |
| const Image< R > & | rhs | |||
| ) | [inline] |
Point-wise in-place "logical and-not" of image rhs in image lhs.
| [in,out] | lhs | First operand image. |
| [in] | rhs | Second operand image. |
It performs:
for all p of rhs.domain
lhs(p) = lhs(p) and not rhs(p)
rhs.domain >= lhs.domain Definition at line 91 of file and_not.hh.
References mln::data::transform_inplace().
| void mln::logical::not_inplace | ( | Image< I > & | input | ) | [inline] |
Point-wise in-place "logical not" of image input.
| [in,out] | input | The target image. |
It performs:
for all p of input.domain
input(p) = not input(p)
input.is_valid Definition at line 88 of file logical/not.hh.
References mln::data::transform_inplace().
| void mln::logical::or_inplace | ( | Image< L > & | lhs, | |
| const Image< R > & | rhs | |||
| ) | [inline] |
Point-wise in-place "logical or" of image rhs in image lhs.
| [in,out] | lhs | First operand image. |
| [in] | rhs | Second operand image. |
It performs:
for all p of rhs.domain
lhs(p) = lhs(p) or rhs(p)
rhs.domain >= lhs.domain Definition at line 91 of file logical/or.hh.
References mln::data::transform_inplace().
| void mln::logical::xor_inplace | ( | Image< L > & | lhs, | |
| const Image< R > & | rhs | |||
| ) | [inline] |
Point-wise in-place "logical xor" of image rhs in image lhs.
| [in,out] | lhs | First operand image. |
| [in] | rhs | Second operand image. |
It performs:
for all p of rhs.domain
lhs(p) = lhs(p) xor rhs(p)
rhs.domain >= lhs.domain Definition at line 91 of file logical/xor.hh.
References mln::data::transform_inplace().
1.7.1