Class IsolatedWatershedImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.IsolatedWatershedImageFilter
Isolate watershed basins using two seeds.
IsolatedWatershedImageFilter labels pixels with ReplaceValue1 that are in the same watershed basin
as Seed1 AND NOT the same as Seed2. The filter adjusts the waterlevel
until the two seeds are not in different basins. The user supplies a
Watershed threshold. The algorithm uses a binary search to adjust the
upper waterlevel, starting at UpperValueLimit. UpperValueLimit
defaults to the 1.0.
See:
 itk::simple::IsolatedWatershed for the procedural interface
 itk::IsolatedWatershedImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkIsolatedWatershedImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::IsolatedWatershedImageFilter::IsolatedWatershedImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedIsolatedWatershedImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::IsolatedWatershedImageFilter::~IsolatedWatershedImageFilter() DestructorImage itk::simple::IsolatedWatershedImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longdoubledouble itk::simple::IsolatedWatershedImageFilter::GetIsolatedValueTolerance() const Set/Get the precision required for the intensity threshold value.getName()std::string itk::simple::IsolatedWatershedImageFilter::GetName() const Name of this classshortuint8_t itk::simple::IsolatedWatershedImageFilter::GetReplaceValue1() const Set/Get value to replace Seed1(Seed2) pixels, pixels that are within the basin that contains Seed1(Seed2) this value.shortuint8_t itk::simple::IsolatedWatershedImageFilter::GetReplaceValue2() const Set/Get value to replace Seed1(Seed2) pixels, pixels that are within the basin that contains Seed1(Seed2) this value.getSeed1()std::vector<uint32_t> itk::simple::IsolatedWatershedImageFilter::GetSeed1() const Set seed point 1.getSeed2()std::vector<uint32_t> itk::simple::IsolatedWatershedImageFilter::GetSeed2() const Set seed point 2.doubledouble itk::simple::IsolatedWatershedImageFilter::GetThreshold() const Set/Get the Watershed threshold.doubledouble itk::simple::IsolatedWatershedImageFilter::GetUpperValueLimit() const Set/Get the limit on the upper waterlevel value.voidsetIsolatedValueTolerance(double IsolatedValueTolerance) Self& itk::simple::IsolatedWatershedImageFilter::SetIsolatedValueTolerance(double IsolatedValueTolerance) Set/Get the precision required for the intensity threshold value.voidsetReplaceValue1(short ReplaceValue1) Self& itk::simple::IsolatedWatershedImageFilter::SetReplaceValue1(uint8_t ReplaceValue1) Set/Get value to replace Seed1(Seed2) pixels, pixels that are within the basin that contains Seed1(Seed2) this value.voidsetReplaceValue2(short ReplaceValue2) Self& itk::simple::IsolatedWatershedImageFilter::SetReplaceValue2(uint8_t ReplaceValue2) Set/Get value to replace Seed1(Seed2) pixels, pixels that are within the basin that contains Seed1(Seed2) this value.voidsetSeed1(VectorUInt32 Seed1) Self& itk::simple::IsolatedWatershedImageFilter::SetSeed1(std::vector< uint32_t > Seed1) Set seed point 1.voidsetSeed2(VectorUInt32 Seed2) Self& itk::simple::IsolatedWatershedImageFilter::SetSeed2(std::vector< uint32_t > Seed2) Set seed point 2.voidsetThreshold(double Threshold) Self& itk::simple::IsolatedWatershedImageFilter::SetThreshold(double Threshold) Set/Get the Watershed threshold.voidsetUpperValueLimit(double UpperValueLimit) Self& itk::simple::IsolatedWatershedImageFilter::SetUpperValueLimit(double UpperValueLimit) Set/Get the limit on the upper waterlevel value.protected static longtoString()std::string itk::simple::IsolatedWatershedImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
- 
Constructor Details- 
IsolatedWatershedImageFilterprotected IsolatedWatershedImageFilter(long cPtr, boolean cMemoryOwn) 
- 
IsolatedWatershedImageFilterpublic IsolatedWatershedImageFilter()itk::simple::IsolatedWatershedImageFilter::IsolatedWatershedImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::IsolatedWatershedImageFilter::~IsolatedWatershedImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setSeed1Self& itk::simple::IsolatedWatershedImageFilter::SetSeed1(std::vector< uint32_t > Seed1) Set seed point 1. This seed will be isolated from Seed2 (if possible). All pixels connected to this seed will be replaced with ReplaceValue1.
- 
getSeed1std::vector<uint32_t> itk::simple::IsolatedWatershedImageFilter::GetSeed1() const Set seed point 1. This seed will be isolated from Seed2 (if possible). All pixels connected to this seed will be replaced with ReplaceValue1.
- 
setSeed2Self& itk::simple::IsolatedWatershedImageFilter::SetSeed2(std::vector< uint32_t > Seed2) Set seed point 2. This seed will be isolated from Seed1 (if possible). All pixels connected to this seed will be replaced with ReplaceValue2.
- 
getSeed2std::vector<uint32_t> itk::simple::IsolatedWatershedImageFilter::GetSeed2() const Set seed point 2. This seed will be isolated from Seed1 (if possible). All pixels connected to this seed will be replaced with ReplaceValue2.
- 
setThresholdpublic void setThreshold(double Threshold) Self& itk::simple::IsolatedWatershedImageFilter::SetThreshold(double Threshold) Set/Get the Watershed threshold. The default is 0.
- 
getThresholdpublic double getThreshold()double itk::simple::IsolatedWatershedImageFilter::GetThreshold() const Set/Get the Watershed threshold. The default is 0.
- 
setUpperValueLimitpublic void setUpperValueLimit(double UpperValueLimit) Self& itk::simple::IsolatedWatershedImageFilter::SetUpperValueLimit(double UpperValueLimit) Set/Get the limit on the upper waterlevel value. The default is 1.0.
- 
getUpperValueLimitpublic double getUpperValueLimit()double itk::simple::IsolatedWatershedImageFilter::GetUpperValueLimit() const Set/Get the limit on the upper waterlevel value. The default is 1.0.
- 
setIsolatedValueTolerancepublic void setIsolatedValueTolerance(double IsolatedValueTolerance) Self& itk::simple::IsolatedWatershedImageFilter::SetIsolatedValueTolerance(double IsolatedValueTolerance) Set/Get the precision required for the intensity threshold value. The default is .001.
- 
getIsolatedValueTolerancepublic double getIsolatedValueTolerance()double itk::simple::IsolatedWatershedImageFilter::GetIsolatedValueTolerance() const Set/Get the precision required for the intensity threshold value. The default is .001.
- 
setReplaceValue1public void setReplaceValue1(short ReplaceValue1) Self& itk::simple::IsolatedWatershedImageFilter::SetReplaceValue1(uint8_t ReplaceValue1) Set/Get value to replace Seed1(Seed2) pixels, pixels that are within the basin that contains Seed1(Seed2) this value. The default is 1(0).
- 
getReplaceValue1public short getReplaceValue1()uint8_t itk::simple::IsolatedWatershedImageFilter::GetReplaceValue1() const Set/Get value to replace Seed1(Seed2) pixels, pixels that are within the basin that contains Seed1(Seed2) this value. The default is 1(0).
- 
setReplaceValue2public void setReplaceValue2(short ReplaceValue2) Self& itk::simple::IsolatedWatershedImageFilter::SetReplaceValue2(uint8_t ReplaceValue2) Set/Get value to replace Seed1(Seed2) pixels, pixels that are within the basin that contains Seed1(Seed2) this value. The default is 1(0).
- 
getReplaceValue2public short getReplaceValue2()uint8_t itk::simple::IsolatedWatershedImageFilter::GetReplaceValue2() const Set/Get value to replace Seed1(Seed2) pixels, pixels that are within the basin that contains Seed1(Seed2) this value. The default is 1(0).
- 
getNamestd::string itk::simple::IsolatedWatershedImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::IsolatedWatershedImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-