public int[][] directHoaar(int f[][]) {
        int c[] = zigZag.getHideZigZagArray(f, N);
        int result[] = new int[N * N];
        for (int i = 0; i < N * N / 2; i++) {
            result[2 * i] = ((c[2 * i] + c[2 * i + 1]));
            result[2 * i + 1] = ((c[2 * i] - c[2 * i + 1]));
        }
        int array[][] = zigZag1.getIntegerArray(result); // there was c
        return array;
    }