Go to the documentation of this file.
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 );
92 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
97 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
The main Image class for SimpleITK.
std::map< double, double > GetChangeMap() const
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.
std::map< double, double > m_ChangeMap
std::string GetName() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetChangeMap(std::map< double, double > ChangeMap)
#define SITKBasicFilters_EXPORT
The base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.
LabelPixelIDTypeList PixelIDTypeList
Replace the label Ids of selected LabelObjects with new label Ids.
typelist::MakeTypeList< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > >::Type LabelPixelIDTypeList
ChangeLabelLabelMapFilter Self