protected Color getPixel(double[] raster, int index) {
return new XYZColor(raster[index], raster[index + 1], raster[index + 2], MultiXYZColorModel.this);
}
protected void addPixel(double[] raster, int index, Color pixel) {
CIEXYZ xyz = pixel.toXYZ();
raster[index] += xyz.X();
raster[index + 1] += xyz.Y();
raster[index + 2] += xyz.Z();
}
protected void setPixel(double[] raster, int index, Color pixel) {
CIEXYZ xyz = pixel.toXYZ();