21 #ifndef mia_template_labelmap_hh 22 #define mia_template_labelmap_hh 30 template <
class Image>
32 std::map<size_t, size_t> m_map;
39 template <
class TImage>
47 template <
class Image>
52 virtual const std::string do_get_descr()
const;
TLabelMapFilter(const CLabelMap &lmap)
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
Image Image
defines the image type handled by the image filter
TLabelMapFilter< Image >::result_type operator()(const TImage &data) const
Generic image filter plugin base.
TDataFilter< Image >::result_type result_type
Generic interface class to data filters.
#define NS_END
conveniance define to end a namespace
A simple class to add loadind and storeing to a map of labels.