Class GeodesicActiveContourLevelSetImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.GeodesicActiveContourLevelSetImageFilter
Segments structures in images based on a user supplied edge potential
map.
IMPORTANT
The SegmentationLevelSetImageFilter class and the GeodesicActiveContourLevelSetFunction class contain additional information necessary to gain full
understanding of how to use this filter.
OVERVIEW
This class is a level set method segmentation filter. An initial
contour is propagated outwards (or inwards) until it ''sticks'' to the
shape boundaries. This is done by using a level set speed function
based on a user supplied edge potential map.
INPUTS
This filter requires two inputs. The first input is a initial level
set. The initial level set is a real image which contains the initial
contour/surface as the zero level set. For example, a signed distance
function from the initial contour/surface is typically used. Unlike
the simpler ShapeDetectionLevelSetImageFilter the initial contour does not have to lie wholly within the shape to
be segmented. The initial contour is allow to overlap the shape
boundary. The extra advection term in the update equation behaves like
a doublet and attracts the contour to the boundary. This approach for
segmentation follows that of Caselles et al (1997).
The second input is the feature image. For this filter, this is the
edge potential map. General characteristics of an edge potential map
is that it has values close to zero in regions near the edges and
values close to one inside the shape itself. Typically, the edge
potential map is compute from the image gradient, for example:
\\[ g(I) = 1 / ( 1 + | (\\nabla * G)(I)| ) \\] \\[ g(I) = \\exp^{-|(\\nabla * G)(I)|} \\]
where $ I $ is image intensity and $ (\\nabla * G) $ is the derivative of Gaussian operator.
See SegmentationLevelSetImageFilter and SparseFieldLevelSetImageFilter for more information on Inputs.
PARAMETERS
The PropagationScaling parameter can be used to switch from
propagation outwards (POSITIVE scaling parameter) versus propagating
inwards (NEGATIVE scaling parameter).
 This implementation allows the user to set the weights between the
propagation, advection and curvature term using methods SetPropagationScaling() , SetAdvectionScaling() , SetCurvatureScaling() . In general, the larger the CurvatureScaling, the smoother the
resulting contour. To follow the implementation in Caselles et al
paper, set the PropagationScaling to $ c $ (the inflation or balloon force) and AdvectionScaling and
CurvatureScaling both to 1.0.
OUTPUTS
The filter outputs a single, scalar, real-valued image. Negative
values in the output image represent the inside of the segmented
region and positive values in the image represent the outside of the
segmented region. The zero crossings of the image correspond to the
position of the propagating front.
See SparseFieldLevelSetImageFilter and SegmentationLevelSetImageFilter for more information.
REFERENCES
"Geodesic Active Contours", V. Caselles, R. Kimmel and G. Sapiro.
International Journal on Computer Vision, Vol 22, No. 1, pp 61-97,
1997
See:
 SegmentationLevelSetImageFilter
 GeodesicActiveContourLevelSetFunction
 SparseFieldLevelSetImageFilter
 itk::simple::GeodesicActiveContourLevelSet for the procedural interface
 itk::GeodesicActiveContourLevelSetImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkGeodesicActiveContourLevelSetImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::GeodesicActiveContourLevelSetImageFilter::GeodesicActiveContourLevelSetImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedGeodesicActiveContourLevelSetImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::GeodesicActiveContourLevelSetImageFilter::~GeodesicActiveContourLevelSetImageFilter() DestructorImage itk::simple::GeodesicActiveContourLevelSetImageFilter::Execute(Image &&initialImage, const Image &featureImage) Execute the filter on the input imageprotected voidfinalize()doubledouble itk::simple::GeodesicActiveContourLevelSetImageFilter::GetAdvectionScaling() constprotected static longdoubledouble itk::simple::GeodesicActiveContourLevelSetImageFilter::GetCurvatureScaling() constlonguint32_t itk::simple::GeodesicActiveContourLevelSetImageFilter::GetElapsedIterations() const Number of iterations run.doubledouble itk::simple::GeodesicActiveContourLevelSetImageFilter::GetMaximumRMSError() constgetName()std::string itk::simple::GeodesicActiveContourLevelSetImageFilter::GetName() const Name of this classlonguint32_t itk::simple::GeodesicActiveContourLevelSetImageFilter::GetNumberOfIterations() constdoubledouble itk::simple::GeodesicActiveContourLevelSetImageFilter::GetPropagationScaling() constbooleanbool itk::simple::GeodesicActiveContourLevelSetImageFilter::GetReverseExpansionDirection() constdoubledouble itk::simple::GeodesicActiveContourLevelSetImageFilter::GetRMSChange() const The Root Mean Square of the levelset upon termination.voidSelf& itk::simple::GeodesicActiveContourLevelSetImageFilter::ReverseExpansionDirectionOff()voidSelf& itk::simple::GeodesicActiveContourLevelSetImageFilter::ReverseExpansionDirectionOn() Set the value of ReverseExpansionDirection to true or false respectfully.voidsetAdvectionScaling(double AdvectionScaling) Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::SetAdvectionScaling(double AdvectionScaling)voidsetCurvatureScaling(double CurvatureScaling) Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::SetCurvatureScaling(double CurvatureScaling)voidsetMaximumRMSError(double MaximumRMSError) Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::SetMaximumRMSError(double MaximumRMSError)voidsetNumberOfIterations(long NumberOfIterations) Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::SetNumberOfIterations(uint32_t NumberOfIterations)voidsetPropagationScaling(double PropagationScaling) Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::SetPropagationScaling(double PropagationScaling)voidsetReverseExpansionDirection(boolean ReverseExpansionDirection) Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::SetReverseExpansionDirection(bool ReverseExpansionDirection)protected static longtoString()std::string itk::simple::GeodesicActiveContourLevelSetImageFilter::ToString() const Print ourselves outMethods 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- 
GeodesicActiveContourLevelSetImageFilterprotected GeodesicActiveContourLevelSetImageFilter(long cPtr, boolean cMemoryOwn) 
- 
GeodesicActiveContourLevelSetImageFilterpublic GeodesicActiveContourLevelSetImageFilter()itk::simple::GeodesicActiveContourLevelSetImageFilter::GeodesicActiveContourLevelSetImageFilter() 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::GeodesicActiveContourLevelSetImageFilter::~GeodesicActiveContourLevelSetImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setMaximumRMSErrorpublic void setMaximumRMSError(double MaximumRMSError) Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::SetMaximumRMSError(double MaximumRMSError)
- 
getMaximumRMSErrorpublic double getMaximumRMSError()double itk::simple::GeodesicActiveContourLevelSetImageFilter::GetMaximumRMSError() const
- 
setPropagationScalingpublic void setPropagationScaling(double PropagationScaling) Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::SetPropagationScaling(double PropagationScaling)
- 
getPropagationScalingpublic double getPropagationScaling()double itk::simple::GeodesicActiveContourLevelSetImageFilter::GetPropagationScaling() const
- 
setCurvatureScalingpublic void setCurvatureScaling(double CurvatureScaling) Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::SetCurvatureScaling(double CurvatureScaling)
- 
getCurvatureScalingpublic double getCurvatureScaling()double itk::simple::GeodesicActiveContourLevelSetImageFilter::GetCurvatureScaling() const
- 
setAdvectionScalingpublic void setAdvectionScaling(double AdvectionScaling) Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::SetAdvectionScaling(double AdvectionScaling)
- 
getAdvectionScalingpublic double getAdvectionScaling()double itk::simple::GeodesicActiveContourLevelSetImageFilter::GetAdvectionScaling() const
- 
setNumberOfIterationspublic void setNumberOfIterations(long NumberOfIterations) Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::SetNumberOfIterations(uint32_t NumberOfIterations)
- 
getNumberOfIterationspublic long getNumberOfIterations()uint32_t itk::simple::GeodesicActiveContourLevelSetImageFilter::GetNumberOfIterations() const
- 
setReverseExpansionDirectionpublic void setReverseExpansionDirection(boolean ReverseExpansionDirection) Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::SetReverseExpansionDirection(bool ReverseExpansionDirection)
- 
reverseExpansionDirectionOnpublic void reverseExpansionDirectionOn()Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::ReverseExpansionDirectionOn() Set the value of ReverseExpansionDirection to true or false respectfully.
- 
reverseExpansionDirectionOffpublic void reverseExpansionDirectionOff()Self& itk::simple::GeodesicActiveContourLevelSetImageFilter::ReverseExpansionDirectionOff()
- 
getReverseExpansionDirectionpublic boolean getReverseExpansionDirection()bool itk::simple::GeodesicActiveContourLevelSetImageFilter::GetReverseExpansionDirection() const
- 
getElapsedIterationspublic long getElapsedIterations()uint32_t itk::simple::GeodesicActiveContourLevelSetImageFilter::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::GeodesicActiveContourLevelSetImageFilter::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::GeodesicActiveContourLevelSetImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::GeodesicActiveContourLevelSetImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-