Class NoiseLevel

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

    public class NoiseLevel
    extends AlgorithmBase
    • Constructor Detail

      • NoiseLevel

        public NoiseLevel​(ModelImage destImg,
                          ModelImage srcImg,
                          int patchSize,
                          int decim,
                          double conf,
                          int itr)
    • 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
      • my_convmtx2

        private double[][] my_convmtx2​(double[][] H,
                                       int m,
                                       int n)
      • copyMakeBorder

        public double[][] copyMakeBorder​(double[][] src,
                                         int top,
                                         int bottom,
                                         int left,
                                         int right,
                                         int borderType,
                                         double borderValue)
      • filter2Same

        private double[][] filter2Same​(double[][] img,
                                       double[][] win)