private int[][] getLay(int numberLay) {
        int lay[][] = new int[HEIGHT][HEIGHT];
        for (int i = 0; i < HEIGHT; i++) {
            for (int j = 0; j < HEIGHT; j++) {
                lay[i][j] = yCbCr[i][j][numberLay];
            }
        }
        return lay;
    }