Go to the documentation of this file.
18 #ifndef sitkMergeLabelMapFilter_h
19 #define sitkMergeLabelMapFilter_h
71 typedef enum {Keep,Aggregate,Pack,Strict} MethodType;\
76 SITK_RETURN_SELF_TYPE_HEADER
SetMethod (
MethodType Method ) { this->m_Method = Method;
return *
this ; }
84 std::string
GetName ()
const {
return std::string (
"MergeLabelMapFilter" ); }
87 std::string ToString()
const ;
105 template <
class TImageType>
Image ExecuteInternal (
const std::vector<Image> &
images );
117 bool m_InPlace{
false };
The Image class for SimpleITK.
MethodType GetMethod() const
LabelPixelIDTypeList PixelIDTypeList
std::string GetName() const
Image MergeLabelMap(const std::vector< Image > &images, MergeLabelMapFilter::MethodType method=itk::simple::MergeLabelMapFilter::Keep)
Merges several Label Maps.
Merges several Label Maps.
Image(Self::*)(const std::vector< Image > &) MemberFunctionType
#define SITKBasicFilters_EXPORT
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
typelist2::typelist< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > > LabelPixelIDTypeList
The base interface for SimpleITK filters that take one input image.
Self & SetMethod(MethodType Method)
*par Constraints *The filter requires an image with at least two dimensions and a vector *length of at least The theory supports extension to scalar images