From: Kai-Uwe B. <ku...@gm...> - 2007-03-05 12:03:18
|
The most obvious way would be to create a transform with lcms in the usual= =20 way. You may use proofings multiprofile transforms with all bells and=20 whistles and convert into a device link. This profile should include a 3D= =20 LUT to use later, possibly after some conversions, in your cg shader. HDR is only possibly with matrix profiles, best without gamma and outside= =20 the above described way. If you consider going open source, the final application could be of=20 general interesst. regards Kai-Uwe Behrmann -- development for color management=20 www.behrmann.name + www.oyranos.org + www.cinepaint.org Am 05.03.07, 08:34 -0300 schrieb gga: > I am currently using LCMS for ICC profile reading and color correction. > All is fine. >=20 > However, for speed purposes, I am now trying to use LCMS just as an ICC > profile reader, leaving the color correction to be done on the gfx card > with Cg shaders. >=20 > Therefore, I am looking into LCMS api to see if it can give me the > profile data in raw form. > Ideally, I would like to call some lcms functions that would tell me how > many 2d/3d luts are used, if there is any matrix transform, etc. and > then obtain the values of those, so I can use them to feed my shader. >=20 > However, the docs for the API seem somewhat incomplete. Can anyone > roughly point me out to how could I do this? (btw, I will be dealing > mainly with RGB->RGB transforms, so I really don't need to handle CMYK > and similar transforms). >=20 >=20 >=20 > --=20 > Gonzalo Garramu=C3=B1o > gg...@ad... >=20 > AMD4400 - ASUS48N-E > GeForce7300GT > Kubuntu Edgy >=20 |