private void process() {
		int picsize = source.length;
		result = new int[picsize];
		for (int i = 0; i < picsize; i++) {
			int p = source[i];
			int r = (p & 0xff0000) >> 16;
			int g = (p & 0xff00) >> 8;
			int b = p & 0xff;
			result[i] = luminance(r, g, b);
		}
	}