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, 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 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 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 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 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 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 |
unsigned mln::set::card | ( | const Site_Set< S > & | s | ) | [inline] |
Compute the cardinality of the site set s
.
Definition at line 134 of file set/card.hh.
References mln::set::internal::card_dispatch(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), and s.
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. |
Definition at line 112 of file set/compute.hh.
References mln::set::impl::generic::compute(), mln::trace::entering(), mln::exact(), and mln::trace::exiting().
Referenced by compute(), and mln::registration::icp().
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 | |||
) | [inline] |
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 . |
[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 . |
Definition at line 232 of file compute_with_weights.hh.
References mln::set::impl::generic::compute_with_weights(), mln::set::internal::compute_with_weights_tests(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::convert::from_to(), and w.
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). |
[in] | a_ | An accumulator. |
[in] | w_ | An image of weights (a site -> a weight). |
Definition at line 215 of file compute_with_weights.hh.
References mln::set::impl::generic::compute_with_weights(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), and w.
Referenced by compute_with_weights().
p_set<typename Sl ::site> mln::set::diff | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
Definition at line 66 of file set/diff.hh.
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 | |||
) | [inline] |
FIXME.
Definition at line 56 of file set/get.hh.
References mln::trace::entering(), mln::exact(), and mln::trace::exiting().
bool mln::set::has | ( | const Site_Set< S > & | s, | |
const typename S::site & | e | |||
) | [inline] |
FIXME.
Definition at line 56 of file set/has.hh.
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] |
Definition at line 62 of file set/inter.hh.
References mln::trace::entering(), mln::trace::exiting(), mln::convert::from_to(), and s.
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). |
mln::set::mln_meta_accu_result | ( | A | , | |
typename S::site | ||||
) | const [inline] |
p_set<typename Sl ::site> mln::set::sym_diff | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
Definition at line 65 of file sym_diff.hh.
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] |
Definition at line 61 of file uni.hh.
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] |
Definition at line 61 of file unique.hh.
References mln::trace::entering(), mln::trace::exiting(), and mln::convert::from_to().
const Site_Set<S>& mln::set::s |
Definition at line 63 of file set/compute.hh.
Referenced by mln::set::impl::generic::card(), diff(), inter(), sym_diff(), and uni().
const Image<I>& mln::set::w |
Definition at line 84 of file compute_with_weights.hh.
Referenced by mln::set::impl::generic::compute_with_weights().