Class NeighborhoodConnectedImageFilter

java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.NeighborhoodConnectedImageFilter

public class NeighborhoodConnectedImageFilter extends ImageFilter
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
  • 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

      protected static long getCPtr(NeighborhoodConnectedImageFilter obj)
    • swigRelease

      protected static long swigRelease(NeighborhoodConnectedImageFilter obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class ImageFilter
    • delete

      public void delete()
      virtual itk::simple::NeighborhoodConnectedImageFilter::~NeighborhoodConnectedImageFilter() Destructor
      Overrides:
      delete in class ImageFilter
    • setSeedList

      public void setSeedList(VectorUIntList SeedList)
      Self& itk::simple::NeighborhoodConnectedImageFilter::SetSeedList(std::vector< std::vector< unsigned int > > SeedList) Set list of image indexes for seeds.
    • getSeedList

      public VectorUIntList getSeedList()
      std::vector< std::vector< unsigned int > > itk::simple::NeighborhoodConnectedImageFilter::GetSeedList() const Get list of seeds.
    • addSeed

      public void addSeed(VectorUInt32 point)
      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

      public void setRadius(VectorUInt32 Radius)
      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

      public VectorUInt32 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

      public String getName()
      std::string itk::simple::NeighborhoodConnectedImageFilter::GetName() const Name of this class
      Overrides:
      getName in class ProcessObject
    • toString

      public String toString()
      std::string itk::simple::NeighborhoodConnectedImageFilter::ToString() const Print ourselves out
      Overrides:
      toString in class ProcessObject
    • execute

      public Image execute(Image image1)
      Image itk::simple::NeighborhoodConnectedImageFilter::Execute(const Image &image1) Execute the filter on the input image