private int[] getMinimizedData(int size) {
		int w = getWidth() / size;
		int h = getHeight() / size;
		int[] temp = new int[w * h];
		int count = 0;
		for(int y = 0; y < h; y++) {
			for(int x = 0; x < w; x++) {
				temp[count++] = getAverage(x * size, y * size, size);
			}
		}
		return temp;
	}