18#ifndef sitkChangeLabelLabelMapFilter_h
19#define sitkChangeLabelLabelMapFilter_h
67 SITK_RETURN_SELF_TYPE_HEADER
SetChangeMap ( std::map<double,double> ChangeMap ) { this->
m_ChangeMap = ChangeMap;
return *
this; }
74 std::string
GetName()
const {
return std::string (
"ChangeLabelLabelMapFilter"); }
96 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
99 std::map<double,double>
m_ChangeMap{std::map<double,double>()};
Image Execute(const Image &image1)
Image Execute(Image &&image1)
Image(Self::*)(const Image &image1) MemberFunctionType
std::string ToString() const
Self & SetChangeMap(std::map< double, double > ChangeMap)
virtual ~ChangeLabelLabelMapFilter()
LabelPixelIDTypeList PixelIDTypeList
ChangeLabelLabelMapFilter()
ChangeLabelLabelMapFilter Self
Image ExecuteInternal(const Image &image1)
std::map< double, double > m_ChangeMap
std::map< double, double > GetChangeMap() const
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
The Image class for SimpleITK.
Image ChangeLabelLabelMap(Image &&image1, std::map< double, double > changeMap=std::map< double, double >())
Replace the label Ids of selected LabelObjects with new label Ids.
typelist2::typelist< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > > LabelPixelIDTypeList
#define SITKBasicFilters_EXPORT