18 #ifndef sitkMergeLabelMapFilter_h
19 #define sitkMergeLabelMapFilter_h
70 typedef enum {Keep,Aggregate,Pack,Strict} MethodType;
75 SITK_RETURN_SELF_TYPE_HEADER
SetMethod (
MethodType Method ) { this->m_Method = Method;
return *
this; }
82 std::string
GetName()
const {
return std::string (
"MergeLabelMapFilter"); }
85 std::string ToString()
const;
88 Image Execute (
const std::vector<Image> &images);
112 typedef Image (Self::*MemberFunctionType)(
const std::vector<Image> & );
113 template <
class TImageType>
Image ExecuteInternal (
const std::vector<Image> &images );
#define SITKBasicFilters_EXPORT
MethodType GetMethod() const
Self & SetMethod(MethodType Method)
typelist::MakeTypeList< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > >::Type LabelPixelIDTypeList
Image MergeLabelMap(const std::vector< Image > &images, MergeLabelMapFilter::MethodType method=itk::simple::MergeLabelMapFilter::Keep)
Merges several Label Maps.
std::string GetName() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
LabelPixelIDTypeList PixelIDTypeList
The main Image class for SimpleITK.
The base interface for SimpleITK filters that take one input image.
Merges several Label Maps.