Package org.itk.simple
Class ScalarChanAndVeseDenseLevelSetImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.ScalarChanAndVeseDenseLevelSetImageFilter
Dense implementation of the Chan and Vese multiphase level set image
filter.
This code was adapted from the paper: "An active contour model
without edges" T. Chan and L. Vese. In Scale-Space Theories in
Computer Vision, pages 141-151, 1999.
Mosaliganti K., Smith B., Gelas A., Gouaillard A., Megason S.
This code was taken from the Insight Journal paper: "Cell Tracking
using Coupled Active Surfaces for Nuclei and Membranes" https://www.insight-journal.org/browse/publication/642 https://hdl.handle.net/10380/3055 That is based on the papers: "Level Set Segmentation: Active
Contours without edge" https://www.insight-journal.org/browse/publication/322 https://hdl.handle.net/1926/1532
and
"Level set segmentation using coupled active surfaces" https://www.insight-journal.org/browse/publication/323 https://hdl.handle.net/1926/1533
See:
itk::simple::ScalarChanAndVeseDenseLevelSet for the procedural interface
itk::ScalarChanAndVeseDenseLevelSetImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkScalarChanAndVeseDenseLevelSetImageFilter.h
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::ScalarChanAndVeseDenseLevelSetImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
ScalarChanAndVeseDenseLevelSetImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::~ScalarChanAndVeseDenseLevelSetImageFilter() DestructorImage itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::Execute(const Image &initialImage, const Image &featureImage) Execute the filter on the input imageprotected void
finalize()
double
double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetAreaWeight() constprotected static long
double
double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetCurvatureWeight() constlong
uint32_t itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetElapsedIterations() const Number of iterations run.double
double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetEpsilon() constHeavisideStepFunctionType itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetHeavisideStepFunction() constdouble
double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetLambda1() constdouble
double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetLambda2() constdouble
double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetMaximumRMSError() constgetName()
std::string itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetName() const Name of this classlong
uint32_t itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetNumberOfIterations() constdouble
double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetReinitializationSmoothingWeight() constdouble
double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetRMSChange() const The Root Mean Square of the levelset upon termination.boolean
bool itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetUseImageSpacing() const Use the image spacing information in calculations.double
double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetVolume() constdouble
double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetVolumeMatchingWeight() constvoid
setAreaWeight
(double AreaWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetAreaWeight(double AreaWeight)void
setCurvatureWeight
(double CurvatureWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetCurvatureWeight(double CurvatureWeight)void
setEpsilon
(double Epsilon) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetEpsilon(double Epsilon)void
setHeavisideStepFunction
(ScalarChanAndVeseDenseLevelSetImageFilter.HeavisideStepFunctionType HeavisideStepFunction) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetHeavisideStepFunction(HeavisideStepFunctionType HeavisideStepFunction)void
setLambda1
(double Lambda1) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetLambda1(double Lambda1)void
setLambda2
(double Lambda2) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetLambda2(double Lambda2)void
setMaximumRMSError
(double MaximumRMSError) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetMaximumRMSError(double MaximumRMSError)void
setNumberOfIterations
(long NumberOfIterations) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetNumberOfIterations(uint32_t NumberOfIterations)void
setReinitializationSmoothingWeight
(double ReinitializationSmoothingWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetReinitializationSmoothingWeight(double ReinitializationSmoothingWeight)void
setUseImageSpacing
(boolean UseImageSpacing) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetUseImageSpacing(bool UseImageSpacing) Use the image spacing information in calculations.void
setVolume
(double Volume) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetVolume(double Volume)void
setVolumeMatchingWeight
(double VolumeMatchingWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetVolumeMatchingWeight(double VolumeMatchingWeight)protected static long
toString()
std::string itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::ToString() const Print ourselves outvoid
Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::UseImageSpacingOff()void
Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully.Methods 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
-
ScalarChanAndVeseDenseLevelSetImageFilter
protected ScalarChanAndVeseDenseLevelSetImageFilter(long cPtr, boolean cMemoryOwn) -
ScalarChanAndVeseDenseLevelSetImageFilter
public ScalarChanAndVeseDenseLevelSetImageFilter()itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::ScalarChanAndVeseDenseLevelSetImageFilter() 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::ScalarChanAndVeseDenseLevelSetImageFilter::~ScalarChanAndVeseDenseLevelSetImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setMaximumRMSError
public void setMaximumRMSError(double MaximumRMSError) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetMaximumRMSError(double MaximumRMSError) -
getMaximumRMSError
public double getMaximumRMSError()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetMaximumRMSError() const -
setNumberOfIterations
public void setNumberOfIterations(long NumberOfIterations) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetNumberOfIterations(uint32_t NumberOfIterations) -
getNumberOfIterations
public long getNumberOfIterations()uint32_t itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetNumberOfIterations() const -
setLambda1
public void setLambda1(double Lambda1) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetLambda1(double Lambda1) -
getLambda1
public double getLambda1()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetLambda1() const -
setLambda2
public void setLambda2(double Lambda2) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetLambda2(double Lambda2) -
getLambda2
public double getLambda2()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetLambda2() const -
setEpsilon
public void setEpsilon(double Epsilon) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetEpsilon(double Epsilon) -
getEpsilon
public double getEpsilon()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetEpsilon() const -
setCurvatureWeight
public void setCurvatureWeight(double CurvatureWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetCurvatureWeight(double CurvatureWeight) -
getCurvatureWeight
public double getCurvatureWeight()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetCurvatureWeight() const -
setAreaWeight
public void setAreaWeight(double AreaWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetAreaWeight(double AreaWeight) -
getAreaWeight
public double getAreaWeight()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetAreaWeight() const -
setReinitializationSmoothingWeight
public void setReinitializationSmoothingWeight(double ReinitializationSmoothingWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetReinitializationSmoothingWeight(double ReinitializationSmoothingWeight) -
getReinitializationSmoothingWeight
public double getReinitializationSmoothingWeight()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetReinitializationSmoothingWeight() const -
setVolume
public void setVolume(double Volume) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetVolume(double Volume) -
getVolume
public double getVolume()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetVolume() const -
setVolumeMatchingWeight
public void setVolumeMatchingWeight(double VolumeMatchingWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetVolumeMatchingWeight(double VolumeMatchingWeight) -
getVolumeMatchingWeight
public double getVolumeMatchingWeight()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetVolumeMatchingWeight() const -
setHeavisideStepFunction
public void setHeavisideStepFunction(ScalarChanAndVeseDenseLevelSetImageFilter.HeavisideStepFunctionType HeavisideStepFunction) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetHeavisideStepFunction(HeavisideStepFunctionType HeavisideStepFunction) -
getHeavisideStepFunction
public ScalarChanAndVeseDenseLevelSetImageFilter.HeavisideStepFunctionType getHeavisideStepFunction()HeavisideStepFunctionType itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetHeavisideStepFunction() const -
setUseImageSpacing
public void setUseImageSpacing(boolean UseImageSpacing) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetUseImageSpacing(bool UseImageSpacing) Use the image spacing information in calculations. Use this option if you want derivatives in physical space. Default is UseImageSpacingOn. -
useImageSpacingOn
public void useImageSpacingOn()Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully. -
useImageSpacingOff
public void useImageSpacingOff()Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::UseImageSpacingOff() -
getUseImageSpacing
public boolean getUseImageSpacing()bool itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetUseImageSpacing() const Use the image spacing information in calculations. Use this option if you want derivatives in physical space. Default is UseImageSpacingOn. -
getElapsedIterations
public long getElapsedIterations()uint32_t itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetElapsedIterations() const Number of iterations run. This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution. -
getRMSChange
public double getRMSChange()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetRMSChange() const The Root Mean Square of the levelset upon termination. This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution. -
getName
std::string itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::Execute(const Image &initialImage, const Image &featureImage) Execute the filter on the input image
-