$extrastylesheet
#include <mln/accu/max_site.hh>
Public Member Functions | |
max_site () | |
bool | is_valid () const |
operator typename I::psite () const | |
I::psite | subj_ () |
void | take_as_init (const T &t) |
void | take_as_init_ (const T &t) |
void | take_n_times (unsigned n, const T &t) |
void | take_n_times_ (unsigned n, const T &t) |
I::psite | to_result () const |
I::value | value_ () const |
void | init () |
void | take (const argument &t) |
void | take (const max_site< I > &other) |
Protected Attributes | |
bool | is_valid_ |
I::psite | max_p_ |
I::value | max_v_ |
Public Types | |
typedef mln::util::pix< I > | argument |
typedef Accumulator< void > | category |
typedef max_site< I > | exact_t |
typedef I::psite | q_result |
typedef I::psite | result |
Define an accumulator that computes the first site with the maximum value in an image.
Definition at line 53 of file max_site.hh.
mln::accu::max_site< I >::max_site | ( | ) |
void mln::accu::max_site< I >::init | ( | ) |
Manipulators.
bool mln::accu::max_site< I >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
mln::accu::max_site< I >::operator typename I::psite | ( | ) | const |
|
inherited |
void mln::accu::max_site< I >::take | ( | const argument & | t | ) |
void mln::accu::max_site< I >::take | ( | const max_site< I > & | other | ) |
|
inherited |
Take as initialization the value t
.
|
inherited |
INTERNAL_API
Default implementation of "take as initialization".
|
inherited |
Take n
times the value t
.
|
inherited |
INTERNAL_API
Default implementation of "take n times".
I ::psite mln::accu::max_site< I >::to_result | ( | ) | const |
Get the value of the accumulator.
I ::value mln::accu::max_site< I >::value_ | ( | ) | const |
Underlying value.
|
protected |
Definition at line 79 of file max_site.hh.
|
protected |
Definition at line 80 of file max_site.hh.
|
protected |
Definition at line 81 of file max_site.hh.
typedef mln::util::pix<I> mln::accu::max_site< I >::argument |
Definition at line 55 of file max_site.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |
|
inherited |
typedef I ::psite mln::accu::max_site< I >::result |
Definition at line 56 of file max_site.hh.