18 #ifndef sitkChangeLabelLabelMapFilter_h
19 #define sitkChangeLabelLabelMapFilter_h
66 SITK_RETURN_SELF_TYPE_HEADER
SetChangeMap ( std::map<double,double> ChangeMap ) { this->m_ChangeMap = ChangeMap;
return *
this; }
70 std::map<double,double>
GetChangeMap()
const {
return this->m_ChangeMap; }
72 std::string
GetName()
const {
return std::string (
"ChangeLabelLabelMapFilter"); }
75 std::string ToString()
const;
83 Image Execute (
const Image& image1, std::map<double,double> changeMap );
90 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
91 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
97 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
std::map< double, double > GetChangeMap() const
#define SITKBasicFilters_EXPORT
typelist::MakeTypeList< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > >::Type LabelPixelIDTypeList
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image ChangeLabelLabelMap(const Image &image1, std::map< double, double > changeMap=std::map< double, double >())
Replace the label Ids of selected LabelObjects with new label Ids.
Replace the label Ids of selected LabelObjects with new label Ids.
Self & SetChangeMap(std::map< double, double > ChangeMap)
ChangeLabelLabelMapFilter Self
LabelPixelIDTypeList PixelIDTypeList
std::string GetName() const
The main Image class for SimpleITK.
The base interface for SimpleITK filters that take one input image.
std::map< double, double > m_ChangeMap