18 #ifndef sitkChangeLabelLabelMapFilter_h
19 #define sitkChangeLabelLabelMapFilter_h
68 SITK_RETURN_SELF_TYPE_HEADER
SetChangeMap ( std::map<double,double> ChangeMap ) { this->m_ChangeMap = ChangeMap;
return *
this; }
72 std::map<double,double>
GetChangeMap()
const {
return this->m_ChangeMap; }
74 std::string
GetName()
const {
return std::string (
"ChangeLabelLabelMapFilter"); }
77 std::string ToString()
const;
85 Image Execute (
const Image& image1, std::map<double,double> changeMap );
91 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
92 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 Image class for SimpleITK.
The base interface for SimpleITK filters that take one input image.
std::map< double, double > m_ChangeMap