Color getPixel(int x, int y) {
		int i = image.getRGB(x,  y);
		double r = ((i >> 16) & 0xff) / 255.0;
		double g = ((i >>  8) & 0xff) / 255.0;
		double b = ((i >>  0) & 0xff) / 255.0;
		return new Color(r, g, b);
	}