Package org.itk.simple
Class IsoContourDistanceImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.IsoContourDistanceImageFilter
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
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::IsoContourDistanceImageFilter::IsoContourDistanceImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
IsoContourDistanceImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::IsoContourDistanceImageFilter::~IsoContourDistanceImageFilter() DestructorImage itk::simple::IsoContourDistanceImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
protected static long
double
double itk::simple::IsoContourDistanceImageFilter::GetFarValue() const Set/Get the value of the level set to be located.double
double itk::simple::IsoContourDistanceImageFilter::GetLevelSetValue() const Set/Get the value of the level set to be located.getName()
std::string itk::simple::IsoContourDistanceImageFilter::GetName() const Name of this classvoid
setFarValue
(double FarValue) Self& itk::simple::IsoContourDistanceImageFilter::SetFarValue(double FarValue) Set/Get the value of the level set to be located.void
setLevelSetValue
(double LevelSetValue) Self& itk::simple::IsoContourDistanceImageFilter::SetLevelSetValue(double LevelSetValue) Set/Get the value of the level set to be located.protected static long
toString()
std::string itk::simple::IsoContourDistanceImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods 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
-
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
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::IsoContourDistanceImageFilter::~IsoContourDistanceImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
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
std::string itk::simple::IsoContourDistanceImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::IsoContourDistanceImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::IsoContourDistanceImageFilter::Execute(const Image &image1) Execute the filter on the input image
-