Class IsoContourDistanceImageFilter

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

public class IsoContourDistanceImageFilter extends ImageFilter
Compute an approximate distance from an interpolated isocontour to the close grid points. For standard level set algorithms, it is useful to periodically reinitialize the evolving image to prevent numerical accuracy problems in computing derivatives. This reinitialization is done by computing a signed distance map to the current level set. This class provides the first step in this reinitialization by computing an estimate of the distance from the interpolated isocontour to the pixels (or voxels) that are close to it, i.e. for which the isocontour crosses a segment between them and one of their direct neighbors. This class supports narrowbanding. If the input narrowband is provided, the algorithm will only locate the level set within the input narrowband. Implementation of this class is based on Fast and Accurate Redistancing for Level Set Methods Krissian K. and Westin C.F., EUROCAST NeuroImaging Workshop Las Palmas Spain, Ninth International Conference on Computer Aided Systems Theory , pages 48-51, Feb 2003. See: itk::simple::IsoContourDistance for the procedural interface itk::IsoContourDistanceImageFilter for the Doxygen on the original ITK class. C++ includes: sitkIsoContourDistanceImageFilter.h
  • Constructor Details

    • IsoContourDistanceImageFilter

      protected IsoContourDistanceImageFilter(long cPtr, boolean cMemoryOwn)
    • IsoContourDistanceImageFilter

      public IsoContourDistanceImageFilter()
      itk::simple::IsoContourDistanceImageFilter::IsoContourDistanceImageFilter() Default Constructor that takes no arguments and initializes default parameters
  • Method Details

    • getCPtr

      protected static long getCPtr(IsoContourDistanceImageFilter obj)
    • swigRelease

      protected static long swigRelease(IsoContourDistanceImageFilter obj)
    • finalize

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

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

      public void setLevelSetValue(double LevelSetValue)
      Self& itk::simple::IsoContourDistanceImageFilter::SetLevelSetValue(double LevelSetValue) Set/Get the value of the level set to be located. The default value is 0.
    • getLevelSetValue

      public double getLevelSetValue()
      double itk::simple::IsoContourDistanceImageFilter::GetLevelSetValue() const Set/Get the value of the level set to be located. The default value is 0.
    • setFarValue

      public void setFarValue(double FarValue)
      Self& itk::simple::IsoContourDistanceImageFilter::SetFarValue(double FarValue) Set/Get the value of the level set to be located. The default value is 0.
    • getFarValue

      public double getFarValue()
      double itk::simple::IsoContourDistanceImageFilter::GetFarValue() const Set/Get the value of the level set to be located. The default value is 0.
    • getName

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

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

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