$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
scribo::primitive::link::internal::link_single_dmax_base< L, E > Class Template Reference

#include <scribo/primitive/link/internal/link_single_dmax_base.hh>

Public Types

typedef Object< void > category
typedef component_set< L > component_set_t
typedef mln::util::couple
< anchor::Type, P > 
couple_t
typedef E exact_t
typedef L::site P
typedef L support

Public Member Functions

 link_single_dmax_base (const component_set< L > &components, unsigned neighb_max_distance, anchor::Direction direction)
const component_set< L > & components () const
void compute_next_site (P &p)
void compute_next_site_ (P &p)
couple_t finalize_link (unsigned current_object)
couple_t finalize_link_ (unsigned current_object)
void initialize_link (unsigned current_object)
void initialize_link_ (unsigned current_object)
void invalidate_link (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor)
void invalidate_link (unsigned current_object, const P &start_point, const P &p)
void invalidate_link_ (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor)
bool is_potential_link (unsigned current_object, const P &start_point, const P &p) const
bool is_potential_link_ (unsigned current_object, const P &start_point, const P &p) const
const L & labeled_image () const
unsigned link (unsigned object) const
const object_links< L > & links () const
L::site start_point (unsigned current_object, anchor::Type anchor)
L::site start_point (unsigned current_object)
L::site start_point_ (unsigned current_object, anchor::Type anchor)
void start_processing_object (unsigned current_object)
void start_processing_object_ (unsigned current_object)
bool valid_link (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor)
bool valid_link_ (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor)
void validate_link (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor)
void validate_link (unsigned current_object, const P &start_point, const P &p)
void validate_link_ (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor)
bool verify_link_criterion (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor) const
bool verify_link_criterion_ (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor) const

Protected Attributes

const component_set< L > components_
const L & labeled_image_
object_links< L > links_

Detailed Description

template<typename L, typename E>
class scribo::primitive::link::internal::link_single_dmax_base< L, E >

Base class for link functors using mass centers and a given max distance.

Definition at line 69 of file link_single_dmax_base.hh.

Member Function Documentation

template<typename L, typename E>
void scribo::primitive::link::internal::link_functor_base< L, E >::invalidate_link ( unsigned  current_object,
const P &  start_point,
const P &  p 
)
inherited

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.anchor is set to anchor::MassCenter.

template<typename L, typename E>
L ::site scribo::primitive::link::internal::link_functor_base< L, E >::start_point ( unsigned  current_object)
inherited

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.anchor is set to anchor::MassCenter.

template<typename L, typename E>
void scribo::primitive::link::internal::link_functor_base< L, E >::validate_link ( unsigned  current_object,
const P &  start_point,
const P &  p 
)
inherited

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.anchor is set to anchor::MassCenter.