Hello Tyler,

It seems that your problem is that you are using non-normalized colors in your 
transformations. You should replace your code with following one:

...
            SinglePixel[0] = red/255.0;
            SinglePixel[1] = green/255.0;
            SinglePixel[2] = blue/255.0;

            float[] xyzValues = colorspaceInput.toCIEXYZ(SinglePixel);
            float[] opValues = colorspaceOutput.fromCIEXYZ(xyzValues);
...

And don't forget to convert normalized result into non-normalized one.

Best Regards,
Alexey
[Message sent by forum member 'alex2d' (alex2d)]

http://forums.java.net/jive/thread.jspa?messageID=204137

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to