Package org.itk.simple
Class ConnectedThresholdImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.ConnectedThresholdImageFilter
Label pixels that are connected to a seed and lie within a range of values.
ConnectedThresholdImageFilter labels pixels with ReplaceValue that are connected to an initial Seed
AND lie within a Lower and Upper threshold range.
See:
itk::simple::ConnectedThreshold for the procedural interface
itk::ConnectedThresholdImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkConnectedThresholdImageFilter.h
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::ConnectedThresholdImageFilter::ConnectedThresholdImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
ConnectedThresholdImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSeed
(VectorUInt32 point) Self& itk::simple::ConnectedThresholdImageFilter::AddSeed(std::vector< unsigned int > point) Add SeedList point.void
Self& itk::simple::ConnectedThresholdImageFilter::ClearSeeds() Remove all SeedList points.void
delete()
virtual itk::simple::ConnectedThresholdImageFilter::~ConnectedThresholdImageFilter() DestructorImage itk::simple::ConnectedThresholdImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
ConnectivityType itk::simple::ConnectedThresholdImageFilter::GetConnectivity() const Type of connectivity to use (fully connected OR 4(2D), 6(3D), 2*N(ND) connectivity).protected static long
double
getLower()
double itk::simple::ConnectedThresholdImageFilter::GetLower() const Get Upper and Lower Threshold inputs as values.getName()
std::string itk::simple::ConnectedThresholdImageFilter::GetName() const Name of this classshort
uint8_t itk::simple::ConnectedThresholdImageFilter::GetReplaceValue() const Set/Get value to replace thresholded pixels.std::vector< std::vector< unsigned int > > itk::simple::ConnectedThresholdImageFilter::GetSeedList() const Get list of seeds.double
getUpper()
double itk::simple::ConnectedThresholdImageFilter::GetUpper() const Get Upper and Lower Threshold inputs as values.void
Self& itk::simple::ConnectedThresholdImageFilter::SetConnectivity(ConnectivityType Connectivity) Type of connectivity to use (fully connected OR 4(2D), 6(3D), 2*N(ND) connectivity).void
setLower
(double Lower) Self& itk::simple::ConnectedThresholdImageFilter::SetLower(double Lower) Set Upper and Lower Threshold inputs as valuesvoid
setReplaceValue
(short ReplaceValue) Self& itk::simple::ConnectedThresholdImageFilter::SetReplaceValue(uint8_t ReplaceValue) Set/Get value to replace thresholded pixels.void
setSeedList
(VectorUIntList SeedList) Self& itk::simple::ConnectedThresholdImageFilter::SetSeedList(std::vector< std::vector< unsigned int > > SeedList) Set list of image indexes for seeds.void
setUpper
(double Upper) Self& itk::simple::ConnectedThresholdImageFilter::SetUpper(double Upper) Set Upper and Lower Threshold inputs as valuesprotected static long
toString()
std::string itk::simple::ConnectedThresholdImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods inherited from class org.itk.simple.ProcessObject
abort, 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
-
ConnectedThresholdImageFilter
protected ConnectedThresholdImageFilter(long cPtr, boolean cMemoryOwn) -
ConnectedThresholdImageFilter
public ConnectedThresholdImageFilter()itk::simple::ConnectedThresholdImageFilter::ConnectedThresholdImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::ConnectedThresholdImageFilter::~ConnectedThresholdImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setSeedList
Self& itk::simple::ConnectedThresholdImageFilter::SetSeedList(std::vector< std::vector< unsigned int > > SeedList) Set list of image indexes for seeds. -
getSeedList
std::vector< std::vector< unsigned int > > itk::simple::ConnectedThresholdImageFilter::GetSeedList() const Get list of seeds. -
addSeed
Self& itk::simple::ConnectedThresholdImageFilter::AddSeed(std::vector< unsigned int > point) Add SeedList point. -
clearSeeds
public void clearSeeds()Self& itk::simple::ConnectedThresholdImageFilter::ClearSeeds() Remove all SeedList points. -
setLower
public void setLower(double Lower) Self& itk::simple::ConnectedThresholdImageFilter::SetLower(double Lower) Set Upper and Lower Threshold inputs as values -
getLower
public double getLower()double itk::simple::ConnectedThresholdImageFilter::GetLower() const Get Upper and Lower Threshold inputs as values. -
setUpper
public void setUpper(double Upper) Self& itk::simple::ConnectedThresholdImageFilter::SetUpper(double Upper) Set Upper and Lower Threshold inputs as values -
getUpper
public double getUpper()double itk::simple::ConnectedThresholdImageFilter::GetUpper() const Get Upper and Lower Threshold inputs as values. -
setReplaceValue
public void setReplaceValue(short ReplaceValue) Self& itk::simple::ConnectedThresholdImageFilter::SetReplaceValue(uint8_t ReplaceValue) Set/Get value to replace thresholded pixels. Pixels that lie * within Lower and Upper (inclusive) will be replaced with this value. The default is 1. -
getReplaceValue
public short getReplaceValue()uint8_t itk::simple::ConnectedThresholdImageFilter::GetReplaceValue() const Set/Get value to replace thresholded pixels. Pixels that lie * within Lower and Upper (inclusive) will be replaced with this value. The default is 1. -
setConnectivity
Self& itk::simple::ConnectedThresholdImageFilter::SetConnectivity(ConnectivityType Connectivity) Type of connectivity to use (fully connected OR 4(2D), 6(3D), 2*N(ND) connectivity). -
getConnectivity
ConnectivityType itk::simple::ConnectedThresholdImageFilter::GetConnectivity() const Type of connectivity to use (fully connected OR 4(2D), 6(3D), 2*N(ND) connectivity). -
getName
std::string itk::simple::ConnectedThresholdImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::ConnectedThresholdImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::ConnectedThresholdImageFilter::Execute(const Image &image1) Execute the filter on the input image
-