18 #ifndef itkChangeLabelLabelMapFilter_h
19 #define itkChangeLabelLabelMapFilter_h
43 template<
typename TImage >
71 typedef typename std::map< PixelType, PixelType >
ChangeMapType;
74 #ifdef ITK_USE_CONCEPT_CHECKING
107 void operator=(const Self &);
111 #ifndef ITK_MANUAL_INSTANTIATION
112 #include "itkChangeLabelLabelMapFilter.hxx"
const ChangeMapType & GetChangeMap() const
ImageType::IndexType IndexType
Light weight base class for most itk classes.
static const unsigned int ImageDimension
ImageType::LabelObjectType LabelObjectType
void GenerateData() override
void SetChange(const PixelType &oldLabel, const PixelType &newLabel)
InPlaceLabelMapFilter< TImage > Superclass
SmartPointer< Self > Pointer
ImageType::Pointer ImagePointer
ChangeLabelLabelMapFilter()
Base class for filters that takes an image as input and overwrites that image as the output...
ImageType::ConstPointer ImageConstPointer
ImageType::PixelType PixelType
ChangeLabelLabelMapFilter Self
Replace the label Ids of selected LabelObjects with new label Ids.
void PrintSelf(std::ostream &os, Indent indent) const override
~ChangeLabelLabelMapFilter()
ChangeMapType m_MapOfLabelToBeReplaced
void SetChangeMap(const ChangeMapType &changeMap)
ChangeMapType::const_iterator ChangeMapIterator
Control indentation during Print() invocation.
std::map< PixelType, PixelType > ChangeMapType
SmartPointer< const Self > ConstPointer