Package org.itk.simple
Class NeighborhoodConnectedImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.NeighborhoodConnectedImageFilter
Label pixels that are connected to a seed and lie within a neighborhood.
NeighborhoodConnectedImageFilter labels pixels with ReplaceValue that are connected to an initial Seed
AND whose neighbors all lie within a Lower and Upper threshold range.
See:
itk::simple::NeighborhoodConnected for the procedural interface
itk::NeighborhoodConnectedImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkNeighborhoodConnectedImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::NeighborhoodConnectedImageFilter::NeighborhoodConnectedImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
NeighborhoodConnectedImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSeed
(VectorUInt32 point) Self& itk::simple::NeighborhoodConnectedImageFilter::AddSeed(std::vector< unsigned int > point) Add SeedList point.void
Self& itk::simple::NeighborhoodConnectedImageFilter::ClearSeeds() Remove all SeedList points.void
delete()
virtual itk::simple::NeighborhoodConnectedImageFilter::~NeighborhoodConnectedImageFilter() DestructorImage itk::simple::NeighborhoodConnectedImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
protected static long
double
getLower()
double itk::simple::NeighborhoodConnectedImageFilter::GetLower() const Set/Get the lower threshold.getName()
std::string itk::simple::NeighborhoodConnectedImageFilter::GetName() const Name of this classstd::vector<unsigned int> itk::simple::NeighborhoodConnectedImageFilter::GetRadius() const Get the radius of the neighborhood used to compute the mediandouble
double itk::simple::NeighborhoodConnectedImageFilter::GetReplaceValue() const Set/Get value to replace thresholded pixels.std::vector< std::vector< unsigned int > > itk::simple::NeighborhoodConnectedImageFilter::GetSeedList() const Get list of seeds.double
getUpper()
double itk::simple::NeighborhoodConnectedImageFilter::GetUpper() const Set/Get the upper threshold.void
setLower
(double Lower) Self& itk::simple::NeighborhoodConnectedImageFilter::SetLower(double Lower) Set/Get the lower threshold.void
setRadius
(long value) Self& itk::simple::NeighborhoodConnectedImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoid
setRadius
(VectorUInt32 Radius) Self& itk::simple::NeighborhoodConnectedImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoid
setReplaceValue
(double ReplaceValue) Self& itk::simple::NeighborhoodConnectedImageFilter::SetReplaceValue(double ReplaceValue) Set/Get value to replace thresholded pixels.void
setSeedList
(VectorUIntList SeedList) Self& itk::simple::NeighborhoodConnectedImageFilter::SetSeedList(std::vector< std::vector< unsigned int > > SeedList) Set list of image indexes for seeds.void
setUpper
(double Upper) Self& itk::simple::NeighborhoodConnectedImageFilter::SetUpper(double Upper) Set/Get the upper threshold.protected static long
toString()
std::string itk::simple::NeighborhoodConnectedImageFilter::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
-
NeighborhoodConnectedImageFilter
protected NeighborhoodConnectedImageFilter(long cPtr, boolean cMemoryOwn) -
NeighborhoodConnectedImageFilter
public NeighborhoodConnectedImageFilter()itk::simple::NeighborhoodConnectedImageFilter::NeighborhoodConnectedImageFilter() 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::NeighborhoodConnectedImageFilter::~NeighborhoodConnectedImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setSeedList
Self& itk::simple::NeighborhoodConnectedImageFilter::SetSeedList(std::vector< std::vector< unsigned int > > SeedList) Set list of image indexes for seeds. -
getSeedList
std::vector< std::vector< unsigned int > > itk::simple::NeighborhoodConnectedImageFilter::GetSeedList() const Get list of seeds. -
addSeed
Self& itk::simple::NeighborhoodConnectedImageFilter::AddSeed(std::vector< unsigned int > point) Add SeedList point. -
clearSeeds
public void clearSeeds()Self& itk::simple::NeighborhoodConnectedImageFilter::ClearSeeds() Remove all SeedList points. -
setLower
public void setLower(double Lower) Self& itk::simple::NeighborhoodConnectedImageFilter::SetLower(double Lower) Set/Get the lower threshold. The default is 0. -
getLower
public double getLower()double itk::simple::NeighborhoodConnectedImageFilter::GetLower() const Set/Get the lower threshold. The default is 0. -
setUpper
public void setUpper(double Upper) Self& itk::simple::NeighborhoodConnectedImageFilter::SetUpper(double Upper) Set/Get the upper threshold. The default is the largest possible value for the InputPixelType. -
getUpper
public double getUpper()double itk::simple::NeighborhoodConnectedImageFilter::GetUpper() const Set/Get the upper threshold. The default is the largest possible value for the InputPixelType. -
setRadius
Self& itk::simple::NeighborhoodConnectedImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value -
setRadius
public void setRadius(long value) Self& itk::simple::NeighborhoodConnectedImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value -
getRadius
std::vector<unsigned int> itk::simple::NeighborhoodConnectedImageFilter::GetRadius() const Get the radius of the neighborhood used to compute the median -
setReplaceValue
public void setReplaceValue(double ReplaceValue) Self& itk::simple::NeighborhoodConnectedImageFilter::SetReplaceValue(double 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 double getReplaceValue()double itk::simple::NeighborhoodConnectedImageFilter::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. -
getName
std::string itk::simple::NeighborhoodConnectedImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::NeighborhoodConnectedImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::NeighborhoodConnectedImageFilter::Execute(const Image &image1) Execute the filter on the input image
-