$extrastylesheet
#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 |
R | 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_ |
Compute the rectangularity of a site set.
Definition at line 51 of file rectangularity.hh.
mln::accu::site_set::rectangularity< P >::rectangularity | ( | ) |
Constructor.
A2 ::result mln::accu::site_set::rectangularity< P >::area | ( | ) | const |
Return the site set area.
A1 ::result mln::accu::site_set::rectangularity< P >::bbox | ( | ) | const |
Return the site set bounding box.
|
inherited |
|
inherited |
|
inherited |
Manipulators.
|
inherited |
Check whether this accu is able to return a result.
Always true here.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Take as initialization the value t
.
Reimplemented in mln::accu::stat::variance< T, S, R >.
|
inherited |
INTERNAL_API
Default implementation of "take as initialization".
Reimplemented in mln::accu::math::sum< T, S >, mln::accu::stat::min< T >, mln::accu::stat::max< T >, mln::accu::math::sumpow< n, T, S >, mln::accu::minus< A1, A2, T >, mln::accu::and_not< A1, A2, T >, mln::accu::pair< A1, A2, T >, mln::accu::stat::var< T >, mln::accu::stat::rank_high_quant< T >, and mln::accu::rms< T, V >.
|
inherited |
Take n
times the value t
.
|
inherited |
result mln::accu::site_set::rectangularity< P >::to_result | ( | ) | const |
Return the rectangularity value.
|
protectedinherited |
Definition at line 87 of file accu/internal/couple.hh.
|
protectedinherited |
Definition at line 88 of file accu/internal/couple.hh.
typedef accu::shape::bbox<P> mln::accu::site_set::rectangularity< P >::A1 |
Definition at line 65 of file rectangularity.hh.
typedef accu::math::count<P> mln::accu::site_set::rectangularity< P >::A2 |
Definition at line 66 of file rectangularity.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |
|
inherited |
typedef float mln::accu::site_set::rectangularity< P >::result |
Definition at line 68 of file rectangularity.hh.
typedef accu::internal::couple<accu::shape::bbox<P>, accu::math::count<P>, float, rectangularity<P> > mln::accu::site_set::rectangularity< P >::super_ |
Definition at line 63 of file rectangularity.hh.