Package org.itk.simple
Class LaplacianImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.LaplacianImageFilter
This filter computes the Laplacian of a scalar-valued image.
The Laplacian is an isotropic measure of the 2nd spatial derivative of
an image. The Laplacian of an image highlights regions of rapid
intensity change and is therefore often used for edge detection.
Often, the Laplacian is applied to an image that has first been
smoothed with a Gaussian filter in order to reduce its sensitivity to
noise.
The Laplacian at each pixel location is computed by convolution with
the itk::LaplacianOperator .
Inputs and Outputs
The input to this filter is a scalar-valued itk::Image of arbitrary dimension. The output is a scalar-valued itk::Image .
WARNING:
The pixel type of the input and output images must be of real type
(float or double). ConceptChecking is used here to enforce the input
pixel type. You will get a compilation error if the pixel type of the
input and output images is not float or double.
See:
Image
Neighborhood
NeighborhoodOperator
NeighborhoodIterator
LaplacianOperator
itk::simple::Laplacian for the procedural interface
itk::LaplacianImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkLaplacianImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::LaplacianImageFilter::LaplacianImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
LaplacianImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::LaplacianImageFilter::~LaplacianImageFilter() DestructorImage itk::simple::LaplacianImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
protected static long
getName()
std::string itk::simple::LaplacianImageFilter::GetName() const Name of this classboolean
bool itk::simple::LaplacianImageFilter::GetUseImageSpacing() const Set/Get whether or not the filter will use the spacing of the input image in its calculationsvoid
setUseImageSpacing
(boolean UseImageSpacing) Self& itk::simple::LaplacianImageFilter::SetUseImageSpacing(bool UseImageSpacing) Set/Get whether or not the filter will use the spacing of the input image in its calculationsprotected static long
toString()
std::string itk::simple::LaplacianImageFilter::ToString() const Print ourselves outvoid
Self& itk::simple::LaplacianImageFilter::UseImageSpacingOff()void
Self& itk::simple::LaplacianImageFilter::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
-
LaplacianImageFilter
protected LaplacianImageFilter(long cPtr, boolean cMemoryOwn) -
LaplacianImageFilter
public LaplacianImageFilter()itk::simple::LaplacianImageFilter::LaplacianImageFilter() 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::LaplacianImageFilter::~LaplacianImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setUseImageSpacing
public void setUseImageSpacing(boolean UseImageSpacing) Self& itk::simple::LaplacianImageFilter::SetUseImageSpacing(bool UseImageSpacing) Set/Get whether or not the filter will use the spacing of the input image in its calculations -
useImageSpacingOn
public void useImageSpacingOn()Self& itk::simple::LaplacianImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully. -
useImageSpacingOff
public void useImageSpacingOff()Self& itk::simple::LaplacianImageFilter::UseImageSpacingOff() -
getUseImageSpacing
public boolean getUseImageSpacing()bool itk::simple::LaplacianImageFilter::GetUseImageSpacing() const Set/Get whether or not the filter will use the spacing of the input image in its calculations -
getName
std::string itk::simple::LaplacianImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::LaplacianImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::LaplacianImageFilter::Execute(const Image &image1) Execute the filter on the input image
-