18 #ifndef __itkWatershedSegmentTreeGenerator_h
19 #define __itkWatershedSegmentTreeGenerator_h
77 template<
class TScalarType >
114 if ( st != this->GetInput(0) )
116 m_HighestCalculatedFloodLevel = 0.0;
149 itkSetMacro(Merge,
bool);
150 itkGetConstMacro(Merge,
bool);
158 void SetFloodLevel(
double);
160 itkGetConstMacro(FloodLevel,
double);
165 itkSetMacro(HighestCalculatedFloodLevel,
double);
166 itkGetConstMacro(HighestCalculatedFloodLevel,
double);
174 itkSetMacro(ConsumeInput,
bool);
175 itkGetConstMacro(ConsumeInput,
bool);
180 static void MergeSegments(SegmentTableTypePointer,
181 OneWayEquivalencyTableTypePointer,
187 static void PruneMergeSegments(SegmentTableTypePointer,
188 OneWayEquivalencyTableTypePointer,
195 using Superclass::MakeOutput;
203 void PrintSelf(std::ostream & os,
Indent indent)
const;
207 void CompileMergeList(SegmentTableTypePointer, SegmentTreeTypePointer);
211 void ExtractMergeHierarchy(SegmentTableTypePointer, SegmentTreeTypePointer);
213 void MergeEquivalencies();
216 void GenerateOutputRequestedRegion(
DataObject *output);
218 void GenerateInputRequestedRegion();
239 #ifndef ITK_MANUAL_INSTANTIATION
240 #include "itkWatershedSegmentTreeGenerator.hxx"