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 parametersprotectedNeighborhoodConnectedImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSeed(VectorUInt32 point) Self& itk::simple::NeighborhoodConnectedImageFilter::AddSeed(std::vector< unsigned int > point) Add SeedList point.voidSelf& itk::simple::NeighborhoodConnectedImageFilter::ClearSeeds() Remove all SeedList points.voiddelete()virtual itk::simple::NeighborhoodConnectedImageFilter::~NeighborhoodConnectedImageFilter() DestructorImage itk::simple::NeighborhoodConnectedImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longdoublegetLower()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 mediandoubledouble 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.doublegetUpper()double itk::simple::NeighborhoodConnectedImageFilter::GetUpper() const Set/Get the upper threshold.voidsetLower(double Lower) Self& itk::simple::NeighborhoodConnectedImageFilter::SetLower(double Lower) Set/Get the lower threshold.voidsetRadius(long value) Self& itk::simple::NeighborhoodConnectedImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoidsetRadius(VectorUInt32 Radius) Self& itk::simple::NeighborhoodConnectedImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoidsetReplaceValue(double ReplaceValue) Self& itk::simple::NeighborhoodConnectedImageFilter::SetReplaceValue(double ReplaceValue) Set/Get value to replace thresholded pixels.voidsetSeedList(VectorUIntList SeedList) Self& itk::simple::NeighborhoodConnectedImageFilter::SetSeedList(std::vector< std::vector< unsigned int > > SeedList) Set list of image indexes for seeds.voidsetUpper(double Upper) Self& itk::simple::NeighborhoodConnectedImageFilter::SetUpper(double Upper) Set/Get the upper threshold.protected static longtoString()std::string itk::simple::NeighborhoodConnectedImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigReleaseMethods 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:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::NeighborhoodConnectedImageFilter::~NeighborhoodConnectedImageFilter() Destructor- Overrides:
deletein 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:
getNamein classProcessObject
-
toString
std::string itk::simple::NeighborhoodConnectedImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-