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