Functions | |
template<typename A, typename I, typename L> | |
util::array< typename A::result > | compute (util::array< A > &accus, const Image< I > &input_, const Image< L > &label_, const typename L::value &nlabels) |
Generic implementation of labeling::compute. | |
template<typename A, typename I, typename L> | |
util::array< typename A::result > | compute (const Accumulator< A > &a_, const Image< I > &input_, const Image< L > &label_, const typename L::value &nlabels) |
Generic implementation of labeling::compute. | |
template<typename A, typename L> | |
util::array< typename A::result > | compute (const Accumulator< A > &a_, const Image< L > &label_, const typename L::value &nlabels) |
Generic implementation of labeling::compute. |
util::array<typename A ::result> mln::labeling::impl::generic::compute | ( | util::array< A > & | accus, | |
const Image< I > & | input_, | |||
const Image< L > & | label_, | |||
const typename L::value & | nlabels | |||
) | [inline] |
Generic implementation of labeling::compute.
Compute an accumulator onto the pixel values of the image input
.
[in] | accus | An array of accumulators. |
[in] | input_ | The input image. |
[in] | label_ | The labeled image. |
[in] | nlabels | The number of labels in label . |
Referenced by mln::labeling::compute(), mln::labeling::compute_image(), mln::labeling::fill_holes(), mln::make::p_edges_with_mass_centers(), and mln::make::p_vertices_with_mass_centers().
util::array<typename A ::result> mln::labeling::impl::generic::compute | ( | const Accumulator< A > & | a_, | |
const Image< I > & | input_, | |||
const Image< L > & | label_, | |||
const typename L::value & | nlabels | |||
) | [inline] |
Generic implementation of labeling::compute.
Compute an accumulator onto the pixel values of the image input
.
[in] | a_ | An accumulator. |
[in] | input_ | The input image. |
[in] | label_ | The labeled image. |
[in] | nlabels | The number of labels in label . |
util::array<typename A ::result> mln::labeling::impl::generic::compute | ( | const Accumulator< A > & | a_, | |
const Image< L > & | label_, | |||
const typename L::value & | nlabels | |||
) | [inline] |
Generic implementation of labeling::compute.
Compute an accumulator onto the pixel sites of each component domain of label
.
[in] | a_ | An accumulator. |
[in] | label_ | The labeled image. |
[in] | nlabels | The number of labels in label . |