public static void main(String[] args) {
        DWT _dwt = new DWT();

        /* ----------------- Test for zigzag --------------------*/
        double[][] _input = {{49, 61, 69, 61, 78, 89, 100, 112}
                            , {68, 60, 51, 42, 62, 69, 80, 89}
                            , {90, 81, 58, 49, 69, 72, 68, 69}
                            , {100, 91, 79, 72, 69, 68, 59, 58}
                            , {111, 100, 101, 91, 82, 71, 59, 49}
                            , {131, 119, 120, 102, 90, 90, 81, 59}
                            , {148, 140, 129, 99, 92, 78, 59, 39}
                            , {151, 140, 142, 119, 98, 90, 72, 39}};

        ArrayList<Double> _output = _dwt.DwtZigzag(_input, 8, 0, 0, 64);
        for (Double _tem : _output) {
            System.out.print(_tem + " ");
        }

        /*-----------------end Test for zigzag-----------------------*/


        /* ----------------- Test for Izigzag --------------------*/

        System.out.println("\n Output the Origin: \n");
        for (int i = 0; i < _input.length; i++) {
            System.out.print("\n");
            for (int j = 0; j < _input[0].length; j++) {
                System.out.print(_input[i][j] + " ");
            }
        }


        double[][] _IDWZout = _dwt.IDwtZigzag(_output, 8, 0);

        System.out.println("\n Output the matrix: \n");

        for (int i = 0; i < _IDWZout.length; i++) {
            System.out.print("\n");
            for (int j = 0; j < _IDWZout[0].length; j++) {
                System.out.print(_IDWZout[i][j] + " ");
            }
        }
    }