17 #ifndef __itkWatershedBoundaryResolver_txx
18 #define __itkWatershedBoundaryResolver_txx
28 template <
class TPixelType,
unsigned int TDimension>
47 idxA.first = this->GetFace();
48 idxB.first = this->GetFace();
72 boundaryA->GetFace(idxA)->GetRequestedRegion());
75 boundaryB->GetFace(idxB)->GetRequestedRegion());
77 for (itA = itA.Begin(), itB = itB.Begin(); !itA.IsAtEnd(); ++itA, ++itB )
79 if ( itA.Get().flow != SegmenterType::NULL_FLOW )
81 equivTable->Add(itA.Get().label, itB.Get().label);
83 if ( itB.Get().flow != SegmenterType::NULL_FLOW )
85 equivTable->Add(itA.Get().label, itB.Get().label);
89 equivTable->Flatten();
95 template <
class TPixelType,
unsigned int TDimension>
101 template<
class TPixelType,
unsigned int TDimension>
109 template<
class TPixelType,
unsigned int TDimension>
114 Superclass::PrintSelf(os,indent);
116 os << indent <<
"Face = " << m_Face << std::endl;