18 #ifndef sitkChangeLabelImageFilter_h
19 #define sitkChangeLabelImageFilter_h
69 SITK_RETURN_SELF_TYPE_HEADER
SetChangeMap ( std::map<double,double> ChangeMap ) { this->m_ChangeMap = ChangeMap;
return *
this; }
73 std::map<double,double>
GetChangeMap()
const {
return this->m_ChangeMap; }
75 std::string
GetName()
const {
return std::string (
"ChangeLabelImageFilter"); }
78 std::string ToString()
const;
86 Image Execute (
const Image& image1, std::map<double,double> changeMap );
92 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
93 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
98 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > >::Type IntegerPixelIDTypeList
#define SITKBasicFilters_EXPORT
Self & SetChangeMap(std::map< double, double > ChangeMap)
std::map< double, double > GetChangeMap() const
The Image class for SimpleITK.
std::string GetName() const
Image ChangeLabel(const Image &image1, std::map< double, double > changeMap=std::map< double, double >())
Change Sets of Labels.
std::map< double, double > m_ChangeMap
ChangeLabelImageFilter Self
The base interface for SimpleITK filters that take one input image.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
IntegerPixelIDTypeList PixelIDTypeList