Functions | |
| template<typename S > | |
| unsigned | card (const Site_Set< S > &s_) |
| template<typename A , typename S > | |
| A::result | compute (const Accumulator< A > &a_, const Site_Set< S > &s_) |
| template<typename A , typename I > | |
| A::result | compute_with_weights (const Accumulator< A > &a_, const Image< I > &w_) |
| Generic implementation that Computes 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) |
| Generic implementation that computes an accumulator on every labeled sub-site-sets. | |
| unsigned mln::set::impl::generic::card | ( | const Site_Set< S > & | s_ | ) |
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::set::s.
| A ::result mln::set::impl::generic::compute | ( | const Accumulator< A > & | a_, | |
| const Site_Set< S > & | s_ | |||
| ) | [inline] |
References mln::trace::entering(), mln::exact(), and mln::trace::exiting().
Referenced by mln::set::compute().
| A ::result mln::set::impl::generic::compute_with_weights | ( | const Accumulator< A > & | a_, | |
| const Image< I > & | w_ | |||
| ) | [inline] |
Generic implementation that Computes 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::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::set::w.
Referenced by mln::set::compute_with_weights().
| util::array<typename A ::result> mln::set::impl::generic::compute_with_weights | ( | const Accumulator< A > & | a_, | |
| const Image< I > & | w_, | |||
| const Image< L > & | label_, | |||
| const typename L::value & | nlabels | |||
| ) |
Generic implementation that computes 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::internal::compute_with_weights_tests(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::convert::from_to(), and mln::set::w.
1.7.1