Class ConnectedThresholdImageFilter

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

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

      protected static long getCPtr(ConnectedThresholdImageFilter obj)
    • swigRelease

      protected static long swigRelease(ConnectedThresholdImageFilter obj)
    • finalize

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

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

      public void setSeedList(VectorUIntList SeedList)
      Self& itk::simple::ConnectedThresholdImageFilter::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::ConnectedThresholdImageFilter::GetSeedList() const Get list of seeds.
    • addSeed

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

      public void setConnectivity(ConnectedThresholdImageFilter.ConnectivityType Connectivity)
      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

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

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

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