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 91 void SetChange(
const PixelType & oldLabel,
const PixelType & newLabel);
107 void operator=(const Self &) ITK_DELETE_FUNCTION;
111 #ifndef ITK_MANUAL_INSTANTIATION 112 #include "itkChangeLabelLabelMapFilter.hxx" const ChangeMapType & GetChangeMap() const
ImageType::IndexType IndexType
static const unsigned int ImageDimension
ImageType::LabelObjectType LabelObjectType
void GenerateData() override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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.
~ChangeLabelLabelMapFilter()
ChangeMapType m_MapOfLabelToBeReplaced
void SetChangeMap(const ChangeMapType &changeMap)
ChangeMapType::const_iterator ChangeMapIterator
Control indentation during Print() invocation.
std::map< PixelType, PixelType > ChangeMapType
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< const Self > ConstPointer