Class LaplacianEdgeDetector


  • public class LaplacianEdgeDetector
    extends Object
    This class detects the edges of grayscale images using Laplacian convolution kernel.
    Note: The final matrix of edges is slightly smaller than the original image. The difference depends on the size of the kernel matrix.
    Author:
    Jason Altschuler, modified by Azim Ahmadzadeh and Dustin Kempton of Data Mining Lab, Georgia State University
    See Also:
    ImageConvolution
    • Constructor Detail

      • LaplacianEdgeDetector

        public LaplacianEdgeDetector​(String filePath)
        All work is done in the constructor.
        Parameters:
        filePath - path to image
      • LaplacianEdgeDetector

        public LaplacianEdgeDetector​(double[][] image)
        Find beautiful edges.

        All work is done in the constructor.

        Parameters:
        image -
    • Method Detail

      • getEdges

        public boolean[][] getEdges()
      • getThreshold

        public double getThreshold()