Class LaplacianImageFilter


public class LaplacianImageFilter extends ImageFilter
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
  • 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

      protected static long getCPtr(LaplacianImageFilter obj)
    • swigRelease

      protected static long swigRelease(LaplacianImageFilter obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class ImageFilter
    • delete

      public void delete()
      virtual itk::simple::LaplacianImageFilter::~LaplacianImageFilter() Destructor
      Overrides:
      delete in class ImageFilter
    • 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

      public String getName()
      std::string itk::simple::LaplacianImageFilter::GetName() const Name of this class
      Overrides:
      getName in class ProcessObject
    • toString

      public String toString()
      std::string itk::simple::LaplacianImageFilter::ToString() const Print ourselves out
      Overrides:
      toString in class ProcessObject
    • execute

      public Image execute(Image image1)
      Image itk::simple::LaplacianImageFilter::Execute(const Image &image1) Execute the filter on the input image