Class FastMarchingBaseImageFilter


public class FastMarchingBaseImageFilter extends ImageFilter
Apply the Fast Marching method to solve an Eikonal equation on an image. The speed function can be specified as a speed image or a speed constant. The speed image is set using the method SetInput(). If the speed image is nullptr, a constant speed function is used and is specified using method the SetSpeedConstant() . If the speed function is constant and of value one, fast marching results is an approximate distance function from the initial alive points. There are two ways to specify the output image information (LargestPossibleRegion, Spacing, Origin): it is copied directly from the input speed image it is specified by the user. Default values are used if the user does not specify all the information. The output information is computed as follows. If the speed image is nullptr or if the OverrideOutputInformation is set to true, the output information is set from user specified parameters. These parameters can be specified using methods FastMarchingImageFilterBase::SetOutputRegion() , FastMarchingImageFilterBase::SetOutputSpacing() , FastMarchingImageFilterBase::SetOutputDirection() , FastMarchingImageFilterBase::SetOutputOrigin() . Else the output information is copied from the input speed image. Implementation of this class is based on Chapter 8 of "Level Set Methods and Fast Marching Methods", J.A. Sethian, Cambridge Press, Second edition, 1999. For an alternative implementation, see itk::FastMarchingImageFilter . TTraits traits See: FastMarchingImageFilter ImageFastMarchingTraits ImageFastMarchingTraits2 itk::simple::FastMarchingBase for the procedural interface itk::FastMarchingImageFilterBase for the Doxygen on the original ITK class. C++ includes: sitkFastMarchingBaseImageFilter.h
  • Constructor Details

    • FastMarchingBaseImageFilter

      protected FastMarchingBaseImageFilter(long cPtr, boolean cMemoryOwn)
    • FastMarchingBaseImageFilter

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

    • getCPtr

      protected static long getCPtr(FastMarchingBaseImageFilter obj)
    • swigRelease

      protected static long swigRelease(FastMarchingBaseImageFilter obj)
    • finalize

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

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

      public void setTrialPoints(VectorUIntList TrialPoints)
      Self& itk::simple::FastMarchingBaseImageFilter::SetTrialPoints(std::vector< std::vector< unsigned int > > TrialPoints) Set the container of Trial Points representing the initial front. Trial points are represented as a VectorContainer of LevelSetNodes.
    • getTrialPoints

      public VectorUIntList getTrialPoints()
      std::vector< std::vector< unsigned int > > itk::simple::FastMarchingBaseImageFilter::GetTrialPoints() const Get the container of Trial Points representing the initial front.
    • addTrialPoint

      public void addTrialPoint(VectorUInt32 point)
      Self& itk::simple::FastMarchingBaseImageFilter::AddTrialPoint(std::vector< unsigned int > point) Add TrialPoints point.
    • clearTrialPoints

      public void clearTrialPoints()
      Self& itk::simple::FastMarchingBaseImageFilter::ClearTrialPoints() Remove all TrialPoints points.
    • setNormalizationFactor

      public void setNormalizationFactor(double NormalizationFactor)
      Self& itk::simple::FastMarchingBaseImageFilter::SetNormalizationFactor(double NormalizationFactor) Set/Get the Normalization Factor for the Speed Image . The values in the Speed Image is divided by this factor. This allows the use of images with integer pixel types to represent the speed.
    • getNormalizationFactor

      public double getNormalizationFactor()
      double itk::simple::FastMarchingBaseImageFilter::GetNormalizationFactor() const Set/Get the Normalization Factor for the Speed Image . The values in the Speed Image is divided by this factor. This allows the use of images with integer pixel types to represent the speed.
    • setStoppingValue

      public void setStoppingValue(double StoppingValue)
      Self& itk::simple::FastMarchingBaseImageFilter::SetStoppingValue(double StoppingValue) Set the Fast Marching algorithm Stopping Value. The Fast Marching algorithm is terminated when the value of the smallest trial point is greater than the stopping value.
    • getStoppingValue

      public double getStoppingValue()
      double itk::simple::FastMarchingBaseImageFilter::GetStoppingValue() const Get the Fast Marching algorithm Stopping Value.
    • setTopologyCheck

      public void setTopologyCheck(FastMarchingBaseImageFilter.TopologyCheckType TopologyCheck)
      Self& itk::simple::FastMarchingBaseImageFilter::SetTopologyCheck(TopologyCheckType TopologyCheck)
    • getTopologyCheck

      TopologyCheckType itk::simple::FastMarchingBaseImageFilter::GetTopologyCheck() const
    • setInitialTrialValues

      public void setInitialTrialValues(VectorDouble InitialTrialValues)
      Self& itk::simple::FastMarchingBaseImageFilter::SetInitialTrialValues(std::vector< double > InitialTrialValues) Set the initial seed values for corresponding trial point.
    • getInitialTrialValues

      public VectorDouble getInitialTrialValues()
      std::vector<double> itk::simple::FastMarchingBaseImageFilter::GetInitialTrialValues() const
    • getName

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

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

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