Class AlgorithmSobel

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.WindowListener, java.lang.Runnable, java.util.EventListener

    public class AlgorithmSobel
    extends AlgorithmBase
    • Field Detail

      • kernelSize

        private int kernelSize
        5 x 5 Sobel template found in Feature Extraction & Image Processing for Computer Vision Third Edition by Mark S. Nixon and Alberto S. Aguado Section 4.2.1.4. Sobel edge-detection operator pp. 146-153. Formulas for deriving 7 x 7 Sobel template also found there. smoothx_win = (winsize - 1)!/((winsize - 1 - x_win)! * x_win!) Pascal(k, n) = n!/((n-k)! * k!) if ((k >= 0) && (k
        • Constructor Detail

          • AlgorithmSobel

            public AlgorithmSobel​(ModelImage destImg,
                                  ModelImage srcImg,
                                  boolean image25D,
                                  int kernelSize)
        • Method Detail

          • runAlgorithm

            public void runAlgorithm()
            Description copied from class: AlgorithmBase
            Actually runs the algorithm. Implemented by inheriting algorithms.
            Specified by:
            runAlgorithm in class AlgorithmBase
          • run2D

            public void run2D()
          • run3D

            public void run3D()