Class LaplacianSegmentationLevelSetImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.LaplacianSegmentationLevelSetImageFilter
Segments structures in images based on a second derivative image
features.
IMPORTANT
The SegmentationLevelSetImageFilter class and the LaplacianSegmentationLevelSetFunction class contain additional information necessary to the full
understanding of how to use this filter.
OVERVIEW
This class is a level set method segmentation filter. It constructs a
speed function which is zero at image edges as detected by a Laplacian
filter. The evolving level set front will therefore tend to lock onto
zero crossings in the image. The level set front moves fastest near
edges.
The Laplacian segmentation filter is intended primarily as a tool for
refining existing segmentations. The initial isosurface (as given in
the seed input image) should ideally be very close to the segmentation
boundary of interest. The idea is that a rough segmentation can be
refined by allowing the isosurface to deform slightly to achieve a
better fit to the edge features of an image. One example of such an
application is to refine the output of a hand segmented image.
Because values in the Laplacian feature image will tend to be low
except near edge features, this filter is not effective for segmenting
large image regions from small seed surfaces.
INPUTS
This filter requires two inputs. The first input is a seed image. This
seed image must contain an isosurface that you want to use as the seed
for your segmentation. It can be a binary, graylevel, or floating
point image. The only requirement is that it contain a closed
isosurface that you will identify as the seed by setting the
IsosurfaceValue parameter of the filter. For a binary image you will
want to set your isosurface value halfway between your on and off
values (i.e. for 0's and 1's, use an isosurface value of 0.5).
The second input is the feature image. This is the image from which
the speed function will be calculated. For most applications, this is
the image that you want to segment. The desired isosurface in your
seed image should lie within the region of your feature image that you
are trying to segment.
 Note that this filter does no preprocessing of the feature image
before thresholding. Because second derivative calculations are highly
sensitive to noise, isotropic or anisotropic smoothing of the feature
image can dramatically improve the results.
See SegmentationLevelSetImageFilter for more information on Inputs.
OUTPUTS
The filter outputs a single, scalar, real-valued image. Positive
values in the output image are inside the segmented region and
negative *values in the image are outside of the inside region. The
zero crossings of *the image correspond to the position of the level
set front.
See SparseFieldLevelSetImageFilter and SegmentationLevelSetImageFilter for more information.
PARAMETERS
This filter has no parameters other than those described in SegmentationLevelSetImageFilter .
See:
 SegmentationLevelSetImageFilter
 LaplacianSegmentationLevelSetFunction ,
 SparseFieldLevelSetImageFilter
 itk::simple::LaplacianSegmentationLevelSet for the procedural interface
 itk::LaplacianSegmentationLevelSetImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkLaplacianSegmentationLevelSetImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::LaplacianSegmentationLevelSetImageFilter::LaplacianSegmentationLevelSetImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedLaplacianSegmentationLevelSetImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::LaplacianSegmentationLevelSetImageFilter::~LaplacianSegmentationLevelSetImageFilter() DestructorImage itk::simple::LaplacianSegmentationLevelSetImageFilter::Execute(Image &&initialImage, const Image &featureImage) Execute the filter on the input imageprotected voidfinalize()protected static longdoubledouble itk::simple::LaplacianSegmentationLevelSetImageFilter::GetCurvatureScaling() constlonguint32_t itk::simple::LaplacianSegmentationLevelSetImageFilter::GetElapsedIterations() const Number of iterations run.doubledouble itk::simple::LaplacianSegmentationLevelSetImageFilter::GetMaximumRMSError() constgetName()std::string itk::simple::LaplacianSegmentationLevelSetImageFilter::GetName() const Name of this classlonguint32_t itk::simple::LaplacianSegmentationLevelSetImageFilter::GetNumberOfIterations() constdoubledouble itk::simple::LaplacianSegmentationLevelSetImageFilter::GetPropagationScaling() constbooleanbool itk::simple::LaplacianSegmentationLevelSetImageFilter::GetReverseExpansionDirection() constdoubledouble itk::simple::LaplacianSegmentationLevelSetImageFilter::GetRMSChange() const The Root Mean Square of the levelset upon termination.voidSelf& itk::simple::LaplacianSegmentationLevelSetImageFilter::ReverseExpansionDirectionOff()voidSelf& itk::simple::LaplacianSegmentationLevelSetImageFilter::ReverseExpansionDirectionOn() Set the value of ReverseExpansionDirection to true or false respectfully.voidsetCurvatureScaling(double CurvatureScaling) Self& itk::simple::LaplacianSegmentationLevelSetImageFilter::SetCurvatureScaling(double CurvatureScaling)voidsetMaximumRMSError(double MaximumRMSError) Self& itk::simple::LaplacianSegmentationLevelSetImageFilter::SetMaximumRMSError(double MaximumRMSError)voidsetNumberOfIterations(long NumberOfIterations) Self& itk::simple::LaplacianSegmentationLevelSetImageFilter::SetNumberOfIterations(uint32_t NumberOfIterations)voidsetPropagationScaling(double PropagationScaling) Self& itk::simple::LaplacianSegmentationLevelSetImageFilter::SetPropagationScaling(double PropagationScaling)voidsetReverseExpansionDirection(boolean ReverseExpansionDirection) Self& itk::simple::LaplacianSegmentationLevelSetImageFilter::SetReverseExpansionDirection(bool ReverseExpansionDirection)protected static longtoString()std::string itk::simple::LaplacianSegmentationLevelSetImageFilter::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- 
LaplacianSegmentationLevelSetImageFilterprotected LaplacianSegmentationLevelSetImageFilter(long cPtr, boolean cMemoryOwn) 
- 
LaplacianSegmentationLevelSetImageFilterpublic LaplacianSegmentationLevelSetImageFilter()itk::simple::LaplacianSegmentationLevelSetImageFilter::LaplacianSegmentationLevelSetImageFilter() 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::LaplacianSegmentationLevelSetImageFilter::~LaplacianSegmentationLevelSetImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setMaximumRMSErrorpublic void setMaximumRMSError(double MaximumRMSError) Self& itk::simple::LaplacianSegmentationLevelSetImageFilter::SetMaximumRMSError(double MaximumRMSError)
- 
getMaximumRMSErrorpublic double getMaximumRMSError()double itk::simple::LaplacianSegmentationLevelSetImageFilter::GetMaximumRMSError() const
- 
setPropagationScalingpublic void setPropagationScaling(double PropagationScaling) Self& itk::simple::LaplacianSegmentationLevelSetImageFilter::SetPropagationScaling(double PropagationScaling)
- 
getPropagationScalingpublic double getPropagationScaling()double itk::simple::LaplacianSegmentationLevelSetImageFilter::GetPropagationScaling() const
- 
setCurvatureScalingpublic void setCurvatureScaling(double CurvatureScaling) Self& itk::simple::LaplacianSegmentationLevelSetImageFilter::SetCurvatureScaling(double CurvatureScaling)
- 
getCurvatureScalingpublic double getCurvatureScaling()double itk::simple::LaplacianSegmentationLevelSetImageFilter::GetCurvatureScaling() const
- 
setNumberOfIterationspublic void setNumberOfIterations(long NumberOfIterations) Self& itk::simple::LaplacianSegmentationLevelSetImageFilter::SetNumberOfIterations(uint32_t NumberOfIterations)
- 
getNumberOfIterationspublic long getNumberOfIterations()uint32_t itk::simple::LaplacianSegmentationLevelSetImageFilter::GetNumberOfIterations() const
- 
setReverseExpansionDirectionpublic void setReverseExpansionDirection(boolean ReverseExpansionDirection) Self& itk::simple::LaplacianSegmentationLevelSetImageFilter::SetReverseExpansionDirection(bool ReverseExpansionDirection)
- 
reverseExpansionDirectionOnpublic void reverseExpansionDirectionOn()Self& itk::simple::LaplacianSegmentationLevelSetImageFilter::ReverseExpansionDirectionOn() Set the value of ReverseExpansionDirection to true or false respectfully.
- 
reverseExpansionDirectionOffpublic void reverseExpansionDirectionOff()Self& itk::simple::LaplacianSegmentationLevelSetImageFilter::ReverseExpansionDirectionOff()
- 
getReverseExpansionDirectionpublic boolean getReverseExpansionDirection()bool itk::simple::LaplacianSegmentationLevelSetImageFilter::GetReverseExpansionDirection() const
- 
getElapsedIterationspublic long getElapsedIterations()uint32_t itk::simple::LaplacianSegmentationLevelSetImageFilter::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::LaplacianSegmentationLevelSetImageFilter::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::LaplacianSegmentationLevelSetImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::LaplacianSegmentationLevelSetImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-