18 #ifndef itkChangeLabelImageFilter_h
19 #define itkChangeLabelImageFilter_h
52 template<
typename TInput,
typename TOutput >
72 return !( *
this != other );
80 void SetChange(
const TInput & original,
const TOutput & result)
97 const typename ChangeMapType::const_iterator it =
m_ChangeMap.find(A);
110 template<
typename TInputImage,
typename TOutputImage >
114 Functor::ChangeLabel<
115 typename TInputImage::PixelType,
116 typename TOutputImage::PixelType > >
123 typename TInputImage::PixelType,
124 typename TOutputImage::PixelType >
152 #ifdef ITK_USE_CONCEPT_CHECKING
172 #ifndef ITK_MANUAL_INSTANTIATION
173 #include "itkChangeLabelImageFilter.hxx"
TOutputImage::PixelType OutputPixelType
std::map< TInput, TOutput > ChangeMapType
SmartPointer< const Self > ConstPointer
TInputImage::PixelType InputPixelType
void operator=(const Self &)
void SetChangeMap(const ChangeMapType &changeMap)
Base class for all process objects that output image data.
void SetChange(const TInput &original, const TOutput &result)
TOutput operator()(const TInput &A) const
void SetChangeMap(const ChangeMapType &changeMap)
ChangeMapType m_ChangeMap
ChangeLabelImageFilter Self
TOutput GetChange(const TInput &original)
SmartPointer< Self > Pointer
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ChangeLabel< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
Implements pixel-wise generic operation on one image.
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
virtual ~ChangeLabelImageFilter()
void SetChange(const InputPixelType &original, const OutputPixelType &result)
#define itkConceptMacro(name, concept)
bool operator==(const ChangeLabel &other) const
bool operator!=(const ChangeLabel &other) const
std::map< InputPixelType, OutputPixelType > ChangeMapType