21 #ifndef otbChangeLabelImageFilter_hxx
22 #define otbChangeLabelImageFilter_hxx
32 template <
class TInputImage,
class TOutputImage>
40 template <
class TInputImage,
class TOutputImage>
44 if (current != result)
46 this->GetFunctor().SetChange(original, result);
55 template <
class TInputImage,
class TOutputImage>
59 this->GetFunctor().SetChangeMap(changeMap);
67 template <
class TInputImage,
class TOutputImage>
71 this->GetFunctor().ClearChangeMap();
79 template <
class TInputImage,
class TOutputImage>
82 Superclass::GenerateOutputInformation();
84 this->GetOutput()->SetNumberOfComponentsPerPixel(m_NumberOfComponentsPerPixel);
90 template <
class TInputImage,
class TOutputImage>
93 Superclass::PrintSelf(os, indent);
94 os << indent <<
"Number of components per pixel: " << m_NumberOfComponentsPerPixel;