The most obvious way would be to create a transform with lcms in the usual
way. You may use proofings multiprofile transforms with all bells and
whistles and convert into a device link. This profile should include a 3D
LUT to use later, possibly after some conversions, in your cg shader.
HDR is only possibly with matrix profiles, best without gamma and outside
the above described way.
If you consider going open source, the final application could be of
general interesst.
regards
Kai-Uwe Behrmann
--
development for color management
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.
>
> 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.
>
> 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.
>
> 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).
>
>
>
> --
> Gonzalo Garramuño
> [EMAIL PROTECTED]
>
> AMD4400 - ASUS48N-E
> GeForce7300GT
> Kubuntu Edgy
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user