Class GaussianEdgeDetector

    • Field Detail

      • edges

        protected boolean[][] edges
        Data structures
      • threshold

        protected double threshold
      • L1norm

        protected boolean L1norm
    • Constructor Detail

      • GaussianEdgeDetector

        public GaussianEdgeDetector()
    • Method Detail

      • getXkernel

        protected abstract double[][] getXkernel()
        Abstract methods to implement
      • getYkernel

        protected abstract double[][] getYkernel()
      • findEdges

        protected void findEdges​(double[][] image,
                                 boolean L1norm)
        Find beautiful edges.
        Parameters:
        image -
      • getEdges

        public boolean[][] getEdges()
        Returns:
        detected edges
      • getThreshold

        public double getThreshold()
        Returns:
        threshold compared with sgradient magnitudes to find edges
      • getL1norm

        public boolean getL1norm()
        Returns:
        whether used L1 or L2 distance norm