private static void dct(double coefficient) {
		ImageData imageData = original.getImageData();
		double[][] data1 = new double[imageData.height][imageData.width];
		System.out.println("原图开始");
		for (int row = 0; row < data1.length; row++) {// height
			for (int col = 0; col < data1[0].length; col++) {// width
				int pixel = imageData.getPixel(col, row);
				data1[row][col] = pixel;
				System.out.print(pixel + "\t");
			}
			System.out.println();
		}
		System.out.println("原图结束");
		DCT2 dct2 = new DCT2(1);
		double[][] data2 = dct2.dctTrans(data1, imageData.width, imageData.height,8, 1);
		
		dct2 = new DCT2(coefficient);
		double[][] data3 = dct2.dctTrans(data2, imageData.width, imageData.height, 8, 0);
		
		System.out.println("复原开始");
		for (int row = 0; row < data3.length; row++) {// height
			for (int col = 0; col < data3[0].length; col++) {// width
				int pixel = (int)data3[row][col];
				System.out.print(pixel + "\t");
				imageData.setPixel(col, row, pixel);
			}
			System.out.println();
		}
		System.out.println("复原结束");
		dct = new Image(original.getDevice(), imageData);
		dctHisto = ImageUtils.analyzeHistogram(imageData);
		
		int[][] data4 = ImageUtils.diff(data1, data3);
		for (int row = 0; row < data4.length; row++) {// height
			for (int col = 0; col < data4[0].length; col++) {// width
				int pixel = (int)data4[row][col];
				System.out.print(pixel + "\t");
				imageData.setPixel(col, row, pixel);
			}
			System.out.println();
		}
		diff = new Image(original.getDevice(), imageData);
		diffHisto = ImageUtils.analyzeHistogram(imageData);
	}