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 >
144 void SetChange(
const InputPixelType & original,
const OutputPixelType & result);
152 #ifdef ITK_USE_CONCEPT_CHECKING 164 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
168 void operator=(
const Self &) ITK_DELETE_FUNCTION;
172 #ifndef ITK_MANUAL_INSTANTIATION 173 #include "itkChangeLabelImageFilter.hxx"
TOutputImage::PixelType OutputPixelType
std::map< TInput, TOutput > ChangeMapType
SmartPointer< const Self > ConstPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
TInputImage::PixelType InputPixelType
void SetChangeMap(const ChangeMapType &changeMap)
void SetChange(const TInput &original, const TOutput &result)
TOutput operator()(const TInput &A) const
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.
Control indentation during Print() invocation.
virtual ~ChangeLabelImageFilter()
#define itkConceptMacro(name, concept)
bool operator==(const ChangeLabel &other) const
bool operator!=(const ChangeLabel &other) const
std::map< InputPixelType, OutputPixelType > ChangeMapType