21 #ifndef mia_2d_morphshape_hh 22 #define mia_2d_morphshape_hh 50 typedef std::shared_ptr<C2DMorphShape>
Pointer;
75 void add_pixel(
const value_type& pixel,
bool foreground);
84 void add_pixel(
int x,
int y,
bool foreground);
88 const C2DShape& get_foreground_mask()
const;
91 const C2DShape& get_background_mask()
const;
C2DImage plugin_data
helper type for plug-in handling
T< int > value_type
the actual value type of the mask coordinates
std::shared_ptr< C2DMorphShape > Pointer
The pointer type of the class.
size_t EXPORT_2D morph_thinning_2d(C2DBitImage &target, const C2DBitImage &source, const C2DMorphShape &shape)
C2DMorphShape::Pointer P2DMorphShape
The pointer type for the morp shape class.
This is the template version of a 2D image that is used for holding real data.
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
a class for advanced morphological filter masks
std::shared_ptr< C2DShape > P2DShape
Pointer type of the C2DShape.
a generic class for morphological shapes
C2DMorphShape plugin_type
helper type for plug-in handling
static const char * type_descr
helper string for plug-in handling
The base class for all plug-in created object.
C2DShape::value_type value_type
the value type based on the shape representation
This is the base class for 2D images that can hold generic pixel data.
size_t EXPORT_2D morph_hit_and_miss_2d(C2DBitImage &target, const C2DBitImage &source, const C2DMorphShape &shape)
#define NS_MIA_END
conveniance define to end the mia namespace