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://doi.org/10.54294/wvwmf8 That is based on the papers: "Level Set Segmentation: Active
Contours without edge" https://doi.org/10.54294/8jk6oy
and
"Level set segmentation using coupled active surfaces" https://doi.org/10.54294/23ugmy
See:
 itk::simple::ScalarChanAndVeseDenseLevelSet for the procedural interface
 itk::ScalarChanAndVeseDenseLevelSetImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkScalarChanAndVeseDenseLevelSetImageFilter.h
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final class
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::ScalarChanAndVeseDenseLevelSetImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedScalarChanAndVeseDenseLevelSetImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::~ScalarChanAndVeseDenseLevelSetImageFilter() DestructorImage itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::Execute(const Image &initialImage, const Image &featureImage) Execute the filter on the input imageprotected voidfinalize()doubledouble itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetAreaWeight() constprotected static longdoubledouble itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetCurvatureWeight() constlonguint32_t itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetElapsedIterations() const Number of iterations run.doubledouble itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetEpsilon() constHeavisideStepFunctionType itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetHeavisideStepFunction() constdoubledouble itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetLambda1() constdoubledouble itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetLambda2() constdoubledouble itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetMaximumRMSError() constgetName()std::string itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetName() const Name of this classlonguint32_t itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetNumberOfIterations() constdoubledouble itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetReinitializationSmoothingWeight() constdoubledouble itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetRMSChange() const The Root Mean Square of the levelset upon termination.booleanbool itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetUseImageSpacing() const Use the image spacing information in calculations.doubledouble itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetVolume() constdoubledouble itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetVolumeMatchingWeight() constvoidsetAreaWeight(double AreaWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetAreaWeight(double AreaWeight)voidsetCurvatureWeight(double CurvatureWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetCurvatureWeight(double CurvatureWeight)voidsetEpsilon(double Epsilon) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetEpsilon(double Epsilon)voidsetHeavisideStepFunction(ScalarChanAndVeseDenseLevelSetImageFilter.HeavisideStepFunctionType HeavisideStepFunction) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetHeavisideStepFunction(HeavisideStepFunctionType HeavisideStepFunction)voidsetLambda1(double Lambda1) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetLambda1(double Lambda1)voidsetLambda2(double Lambda2) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetLambda2(double Lambda2)voidsetMaximumRMSError(double MaximumRMSError) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetMaximumRMSError(double MaximumRMSError)voidsetNumberOfIterations(long NumberOfIterations) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetNumberOfIterations(uint32_t NumberOfIterations)voidsetReinitializationSmoothingWeight(double ReinitializationSmoothingWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetReinitializationSmoothingWeight(double ReinitializationSmoothingWeight)voidsetUseImageSpacing(boolean UseImageSpacing) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetUseImageSpacing(bool UseImageSpacing) Use the image spacing information in calculations.voidsetVolume(double Volume) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetVolume(double Volume)voidsetVolumeMatchingWeight(double VolumeMatchingWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetVolumeMatchingWeight(double VolumeMatchingWeight)protected static longtoString()std::string itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::ToString() const Print ourselves outvoidSelf& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::UseImageSpacingOff()voidSelf& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully.Methods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, 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- 
ScalarChanAndVeseDenseLevelSetImageFilterprotected ScalarChanAndVeseDenseLevelSetImageFilter(long cPtr, boolean cMemoryOwn) 
- 
ScalarChanAndVeseDenseLevelSetImageFilterpublic ScalarChanAndVeseDenseLevelSetImageFilter()itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::ScalarChanAndVeseDenseLevelSetImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::~ScalarChanAndVeseDenseLevelSetImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setMaximumRMSErrorpublic void setMaximumRMSError(double MaximumRMSError) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetMaximumRMSError(double MaximumRMSError)
- 
getMaximumRMSErrorpublic double getMaximumRMSError()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetMaximumRMSError() const
- 
setNumberOfIterationspublic void setNumberOfIterations(long NumberOfIterations) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetNumberOfIterations(uint32_t NumberOfIterations)
- 
getNumberOfIterationspublic long getNumberOfIterations()uint32_t itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetNumberOfIterations() const
- 
setLambda1public void setLambda1(double Lambda1) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetLambda1(double Lambda1)
- 
getLambda1public double getLambda1()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetLambda1() const
- 
setLambda2public void setLambda2(double Lambda2) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetLambda2(double Lambda2)
- 
getLambda2public double getLambda2()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetLambda2() const
- 
setEpsilonpublic void setEpsilon(double Epsilon) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetEpsilon(double Epsilon)
- 
getEpsilonpublic double getEpsilon()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetEpsilon() const
- 
setCurvatureWeightpublic void setCurvatureWeight(double CurvatureWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetCurvatureWeight(double CurvatureWeight)
- 
getCurvatureWeightpublic double getCurvatureWeight()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetCurvatureWeight() const
- 
setAreaWeightpublic void setAreaWeight(double AreaWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetAreaWeight(double AreaWeight)
- 
getAreaWeightpublic double getAreaWeight()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetAreaWeight() const
- 
setReinitializationSmoothingWeightpublic void setReinitializationSmoothingWeight(double ReinitializationSmoothingWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetReinitializationSmoothingWeight(double ReinitializationSmoothingWeight)
- 
getReinitializationSmoothingWeightpublic double getReinitializationSmoothingWeight()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetReinitializationSmoothingWeight() const
- 
setVolumepublic void setVolume(double Volume) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetVolume(double Volume)
- 
getVolumepublic double getVolume()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetVolume() const
- 
setVolumeMatchingWeightpublic void setVolumeMatchingWeight(double VolumeMatchingWeight) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetVolumeMatchingWeight(double VolumeMatchingWeight)
- 
getVolumeMatchingWeightpublic double getVolumeMatchingWeight()double itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetVolumeMatchingWeight() const
- 
setHeavisideStepFunctionpublic void setHeavisideStepFunction(ScalarChanAndVeseDenseLevelSetImageFilter.HeavisideStepFunctionType HeavisideStepFunction) Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::SetHeavisideStepFunction(HeavisideStepFunctionType HeavisideStepFunction)
- 
getHeavisideStepFunctionpublic ScalarChanAndVeseDenseLevelSetImageFilter.HeavisideStepFunctionType getHeavisideStepFunction()HeavisideStepFunctionType itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetHeavisideStepFunction() const
- 
setUseImageSpacingpublic 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.
- 
useImageSpacingOnpublic void useImageSpacingOn()Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully.
- 
useImageSpacingOffpublic void useImageSpacingOff()Self& itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::UseImageSpacingOff()
- 
getUseImageSpacingpublic 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.
- 
getElapsedIterationspublic 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.
- 
getRMSChangepublic 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.
- 
getNamestd::string itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::ScalarChanAndVeseDenseLevelSetImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-