17 #ifndef __itkWatershedEquivalenceRelabeler_txx
18 #define __itkWatershedEquivalenceRelabeler_txx
26 template <
class TScalarType,
unsigned int TImageDimension>
35 output->SetBufferedRegion(output->GetRequestedRegion());
54 SegmenterType::RelabelImage(output, output->GetRequestedRegion(), eqT);
57 template <
class TScalarType,
unsigned int VImageDimension>
62 Superclass::GenerateInputRequestedRegion();
66 ImageType *outputPtr = this->GetOutputImage();
68 if ( !inputPtr || !outputPtr )
80 template <
class TScalarType,
unsigned int TImageDimension>
94 std::vector<ProcessObject::DataObjectPointer>::size_type idx;
95 for (idx = 0; idx < this->GetOutputs().size(); ++idx)
97 if (this->GetOutputs()[idx] && this->GetOutputs()[idx] != output)
106 template <
class TScalarType,
unsigned int TImageDimension>
110 Superclass::PrintSelf(os,indent);
113 template <
class TScalarType,
unsigned int TImageDimension>
118 return static_cast<DataObject*
>(ImageType::New().GetPointer());