$extrastylesheet
#include <scribo/fun/v2b/objects_large_filter.hh>
Public Types | |
typedef accu::math::count < typename L::psite > | card_t |
typedef Function_v2b< void > | category |
typedef components_large_filter< L > | exact_t |
typedef void | mutable_result |
typedef bool | result |
Public Member Functions | |
components_large_filter (const component_set< L > &components, unsigned max_size) | |
bool | operator() (const typename L::value &l) const |
Public Attributes | |
const component_set< L > | components_ |
mln::util::array< bool > | marked_ |
unsigned | max_size_ |
L::value | nlabels_ |
Filter Functor.
Return false for all components which are too large.
Definition at line 62 of file objects_large_filter.hh.
scribo::fun::v2b::components_large_filter< L >::components_large_filter | ( | const component_set< L > & | components, |
unsigned | max_size | ||
) |
Constructor.
[in] | components | Component bounding boxes. |
[in] | max_size | Maximum component size. |
bool scribo::fun::v2b::components_large_filter< L >::operator() | ( | const typename L::value & | l | ) | const |
Check if the component is large enough.
l | A label. |
max_size_
. const component_set<L> scribo::fun::v2b::components_large_filter< L >::components_ |
The component set to filter.
Definition at line 89 of file objects_large_filter.hh.
|
mutable |
Has already been taken into account.
Definition at line 95 of file objects_large_filter.hh.
unsigned scribo::fun::v2b::components_large_filter< L >::max_size_ |
The minimum area.
Definition at line 86 of file objects_large_filter.hh.
|
mutable |
The number of labels remaining after filtering.
Definition at line 92 of file objects_large_filter.hh.