Class WalshHadamardTransform3

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

    public class WalshHadamardTransform3
    extends AlgorithmBase
    • Constructor Detail

      • WalshHadamardTransform3

        public WalshHadamardTransform3()
      • WalshHadamardTransform3

        public WalshHadamardTransform3​(ModelImage transformImage,
                                       ModelImage inverseImage,
                                       ModelImage srcImg,
                                       int type,
                                       int filterType,
                                       double filterVal1,
                                       double filterVal2)
    • 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
      • fhtseq2D

        public void fhtseq2D​(int yDim,
                             int xDim,
                             double[][] src,
                             double[][] dst,
                             boolean forwardTransform)
      • fhtdya2D

        public void fhtdya2D​(int yDim,
                             int xDim,
                             double[][] src,
                             double[][] dst,
                             boolean forwardTransform)
      • fhtnat2D

        public void fhtnat2D​(int yDim,
                             int xDim,
                             double[][] src,
                             double[][] dst,
                             boolean forwardTransform)
      • fhtseq

        public double[] fhtseq​(double[] data,
                               boolean forwardTransform)
      • fhtdya

        public double[] fhtdya​(double[] data,
                               boolean forwardTransform)
      • fhtnat

        public double[] fhtnat​(double[] data,
                               boolean forwardTransform)
      • bitrevorder

        private double[] bitrevorder​(double[] X)
      • test

        public void test()
      • fwht_sum_absolute_difference

        public double fwht_sum_absolute_difference​(int n,
                                                   double[] a,
                                                   double[] b)
      • filter

        private void filter​(double[] data,
                            int filterType,
                            double filterVal1,
                            double filterVal2)
      • soft

        public double[] soft​(double[] data,
                             double value,
                             double substitute)
      • nn_garrote

        public double[] nn_garrote​(double[] data,
                                   double value,
                                   double substitute)
      • hard

        public double[] hard​(double[] data,
                             double value,
                             double substitute)
      • hard

        public double[][] hard​(double[][] data,
                               double value,
                               double substitute)
      • greater

        public double[] greater​(double[] data,
                                double value,
                                double substitute)
      • less

        public double[] less​(double[] data,
                             double value,
                             double substitute)
      • threshold_firm

        public double[] threshold_firm​(double[] data,
                                       double value_low,
                                       double value_high)