18#ifndef itkChangeLabelLabelMapFilter_h
19#define itkChangeLabelLabelMapFilter_h
48template <
typename TImage>
69 static constexpr unsigned int ImageDimension = TImage::ImageDimension;
80#ifdef ITK_USE_CONCEPT_CHECKING
119#ifndef ITK_MANUAL_INSTANTIATION
120# include "itkChangeLabelLabelMapFilter.hxx"
Replace the label Ids of selected LabelObjects with new label Ids.
typename ChangeMapType::const_iterator ChangeMapIterator
typename ImageType::Pointer ImagePointer
void SetChange(const PixelType &oldLabel, const PixelType &newLabel)
ChangeLabelLabelMapFilter()=default
void SetChangeMap(const ChangeMapType &changeMap)
~ChangeLabelLabelMapFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
const ChangeMapType & GetChangeMap() const
typename ImageType::PixelType PixelType
typename ImageType::ConstPointer ImageConstPointer
void GenerateData() override
typename ImageType::LabelObjectType LabelObjectType
typename std::map< PixelType, PixelType > ChangeMapType
typename ImageType::IndexType IndexType
Base class for filters that takes an image as input and overwrites that image as the output.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::IndexType IndexType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....