Namespace of image processing routines related to pixel sets. More...
Namespaces | |
namespace | impl |
namespace | internal |
Functions | |
template<typename S > | |
unsigned | card (const Site_Set< S > &s) |
Compute the cardinality of the site set s . | |
template<typename A , typename S > | |
A::result | compute (const Accumulator< A > &a, const Site_Set< S > &s) |
Compute an accumulator onto a site set. | |
template<typename A , typename I > | |
A::result | compute_with_weights (const Accumulator< A > &a, const Image< I > &w) |
Compute an accumulator on a site set described by an image. | |
template<typename A , typename I , typename L > | |
util::array< typename A::result > | compute_with_weights (const Accumulator< A > &a, const Image< I > &w, const Image< L > &label, const typename L::value &nlabels) |
Compute an accumulator on every labeled sub-site-sets. | |
template<typename Sl , typename Sr > | |
p_set< typename Sl::site > | diff (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
template<typename S > | |
S::site | get (const Site_Set< S > &s, size_t index) |
FIXME. | |
template<typename S > | |
bool | has (const Site_Set< S > &s, const typename S::site &e) |
FIXME. | |
template<typename Sl , typename Sr > | |
p_set< typename Sl::site > | inter (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
template<typename A , typename S > | |
mln_meta_accu_result (A, typename S::site) compute(const Meta_Accumulator< A > &a | |
Compute an accumulator onto a site set. | |
template<typename A , typename I > | |
mln_meta_accu_result (A, typename I::site) compute_with_weights(const Meta_Accumulator< A > &a | |
Compute an accumulator on a site set described by an image. | |
template<typename Sl , typename Sr > | |
p_set< typename Sl::site > | sym_diff (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
template<typename Sl , typename Sr > | |
p_set< typename Sl::site > | uni (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
template<typename S > | |
p_set< typename S::site > | unique (const Site_Set< S > &s) |
Variables | |
const Site_Set< S > & | s |
const Image< I > & | w |
Namespace of image processing routines related to pixel sets.
unsigned mln::set::card | ( | const Site_Set< S > & | s | ) | [inline] |
Compute the cardinality of the site set s
.
References mln::set::internal::card_dispatch(), mln::trace::entering(), mln::exact(), and mln::trace::exiting().
Referenced by mln::set::internal::card_dispatch().
A::result mln::set::compute | ( | const Accumulator< A > & | a, | |
const Site_Set< S > & | s | |||
) | [inline] |
Compute an accumulator onto a site set.
[in] | a | An accumulator. |
[in] | s | A site set. |
References mln::set::impl::generic::compute(), mln::trace::entering(), and mln::trace::exiting().
Referenced by mln::registration::icp().
A::result mln::set::compute_with_weights | ( | const Accumulator< A > & | a, | |
const Image< I > & | w | |||
) | [inline] |
Compute an accumulator on a site set described by an image.
[in] | a | An accumulator. |
[in] | w | An image of weights (a site -> a weight). |
References mln::set::impl::generic::compute_with_weights(), mln::trace::entering(), mln::exact(), and mln::trace::exiting().
util::array< typename A::result > mln::set::compute_with_weights | ( | const Accumulator< A > & | a, | |
const Image< I > & | w, | |||
const Image< L > & | label, | |||
const typename L::value & | nlabels | |||
) |
Compute an accumulator on every labeled sub-site-sets.
[in] | a | An accumulator. |
[in] | w | An image of weights (a site -> a weight). |
[in] | label | A label image. |
[in] | nlabels | The number of labels in label . |
References mln::set::impl::generic::compute_with_weights(), mln::set::internal::compute_with_weights_tests(), mln::trace::entering(), and mln::trace::exiting().
p_set<typename Sl ::site> mln::set::diff | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
References mln::trace::entering(), mln::trace::exiting(), mln::convert::from_to(), and s.
S::site mln::set::get | ( | const Site_Set< S > & | s, | |
size_t | index | |||
) |
FIXME.
References mln::trace::entering(), mln::exact(), and mln::trace::exiting().
bool mln::set::has | ( | const Site_Set< S > & | s, | |
const typename S::site & | e | |||
) |
FIXME.
References mln::trace::entering(), mln::exact(), and mln::trace::exiting().
p_set<typename Sl ::site> mln::set::inter | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
References mln::trace::entering(), mln::trace::exiting(), mln::convert::from_to(), and s.
mln::set::mln_meta_accu_result | ( | A | , | |
typename S::site | ||||
) | const |
Compute an accumulator onto a site set.
[in] | a | A meta-accumulator. |
[in] | s | A site set. |
mln::set::mln_meta_accu_result | ( | A | , | |
typename I::site | ||||
) | const [inline] |
Compute an accumulator on a site set described by an image.
[in] | a | A meta-accumulator. |
[in] | w | An image of weights (a site -> a weight). |
p_set<typename Sl ::site> mln::set::sym_diff | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
References mln::trace::entering(), mln::trace::exiting(), mln::convert::from_to(), and s.
p_set<typename Sl ::site> mln::set::uni | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
References mln::trace::entering(), mln::trace::exiting(), mln::convert::from_to(), and s.
p_set<typename S ::site> mln::set::unique | ( | const Site_Set< S > & | s | ) | [related] |
References mln::trace::entering(), mln::trace::exiting(), and mln::convert::from_to().
const Site_Set<S>& mln::set::s |
Referenced by mln::set::impl::generic::card(), diff(), inter(), sym_diff(), and uni().
const Image<I>& mln::set::w |
Referenced by mln::set::impl::generic::compute_with_weights().