$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::accu::site_set::rectangularity< P > Class Template Reference

#include <mln/accu/site_set/rectangularity.hh>

Public Member Functions

 rectangularity ()
A2::result area () const
A1::result bbox () const
accu::shape::bbox< P > & first ()
const accu::shape::bbox< P > & first () const
bool is_valid () const
typedef mln_argument (accu::shape::bbox< P >) argument
accu::math::count< P > & second ()
const accu::math::count< P > & second () const
subj_ ()
template<typename T >
void take_as_init (const T &t)
template<typename T >
void take_as_init_ (const T &t)
template<typename T >
void take_n_times (unsigned n, const T &t)
template<typename T >
void take_n_times_ (unsigned n, const T &t)
result to_result () const
void init ()
void take_as_init (const argument &t)
void take (const argument &t)
void take (const rectangularity< P > &other)

Protected Attributes

accu::shape::bbox< P > a1_
accu::math::count< P > a2_

Public Types

typedef accu::shape::bbox< P > A1
typedef accu::math::count< P > A2
typedef Accumulator< void > category
typedef E exact_t
typedef R q_result
typedef float result
typedef accu::internal::couple
< accu::shape::bbox< P >
, accu::math::count< P >
, float, rectangularity< P > > 
super_

Detailed Description

template<typename P>
class mln::accu::site_set::rectangularity< P >

Compute the rectangularity of a site set.

Definition at line 51 of file rectangularity.hh.

Constructor & Destructor Documentation

template<typename P>
mln::accu::site_set::rectangularity< P >::rectangularity ( )

Constructor.

Member Function Documentation

template<typename P>
A2 ::result mln::accu::site_set::rectangularity< P >::area ( ) const

Return the site set area.

template<typename P>
A1 ::result mln::accu::site_set::rectangularity< P >::bbox ( ) const

Return the site set bounding box.

const accu::shape::bbox< P > & mln::accu::internal::couple< accu::shape::bbox< P > , accu::math::count< P > , float , rectangularity< P > >::first ( ) const
inherited
void mln::accu::internal::couple< accu::shape::bbox< P > , accu::math::count< P > , float , rectangularity< P > >::init ( )
inherited

Manipulators.

bool mln::accu::internal::couple< accu::shape::bbox< P > , accu::math::count< P > , float , rectangularity< P > >::is_valid ( ) const
inherited

Check whether this accu is able to return a result.

Always true here.

typedef mln::accu::internal::couple< accu::shape::bbox< P > , accu::math::count< P > , float , rectangularity< P > >::mln_argument ( accu::shape::bbox< P >  )
inherited
const accu::math::count< P > & mln::accu::internal::couple< accu::shape::bbox< P > , accu::math::count< P > , float , rectangularity< P > >::second ( ) const
inherited
template<typename R, typename E>
R mln::accu::internal::base< R, E >::subj_ ( )
inherited
void mln::accu::internal::couple< accu::shape::bbox< P > , accu::math::count< P > , float , rectangularity< P > >::take ( const argument &  t)
inherited
void mln::accu::internal::couple< accu::shape::bbox< P > , accu::math::count< P > , float , rectangularity< P > >::take ( const rectangularity< P > &  other)
inherited
void mln::accu::internal::couple< accu::shape::bbox< P > , accu::math::count< P > , float , rectangularity< P > >::take_as_init ( const argument &  t)
inherited
template<typename E>
template<typename T >
void mln::Accumulator< E >::take_as_init ( const T t)
inherited

Take as initialization the value t.

Reimplemented in mln::accu::stat::variance< T, S, R >.

template<typename E>
template<typename T >
void mln::Accumulator< E >::take_as_init_ ( const T t)
inherited
template<typename E>
template<typename T >
void mln::Accumulator< E >::take_n_times ( unsigned  n,
const T t 
)
inherited

Take n times the value t.

template<typename E>
template<typename T >
void mln::Accumulator< E >::take_n_times_ ( unsigned  n,
const T t 
)
inherited

INTERNAL_API

Default implementation of "take n times".

Reimplemented in mln::accu::stat::var< T >.

template<typename P>
result mln::accu::site_set::rectangularity< P >::to_result ( ) const

Return the rectangularity value.

Member Data Documentation

Definition at line 87 of file accu/internal/couple.hh.

Definition at line 88 of file accu/internal/couple.hh.

Member Typedef Documentation

template<typename P>
typedef accu::shape::bbox<P> mln::accu::site_set::rectangularity< P >::A1

Definition at line 65 of file rectangularity.hh.

template<typename P>
typedef accu::math::count<P> mln::accu::site_set::rectangularity< P >::A2

Definition at line 66 of file rectangularity.hh.

template<typename E>
typedef Accumulator<void> mln::Accumulator< E >::category
inherited

Definition at line 64 of file accumulator.hh.

template<typename E>
typedef E mln::Object< E >::exact_t
inherited

Definition at line 105 of file object.hh.

template<typename R, typename E>
typedef R mln::accu::internal::base< R, E >::q_result
inherited

Definition at line 58 of file base.hh.

template<typename P>
typedef float mln::accu::site_set::rectangularity< P >::result

Definition at line 68 of file rectangularity.hh.