Re: SceneLinear to LogC into an ICC profile


Kai-Uwe Behrmann <ku...@...>
 

There are at least two open source CMM's around, which support float style lookup tables. One is used in Krita, which in turn links to OCIO.
The involved Lcms CMM has since version 2.4 a option to apply pre and post linearisation curves to ICC transforms, which greatly improves linear to gamma conversion quality.

kind regards
Kai-Uwe
--
www.oyranos.org

Am 29.11.2012 14:35, schrieb dbr/Ben:

The --inputspace/--outputspace arguments are only required when using an OCIO config. The --lut argument is used, alone, for "Config-free baking":

http://opencolorio.org/userguide/baking_luts.html#config-free-baking

So you would just do something like:

ociobakelut --lut ln_1_logC.3dl --format icc mynewlut.icc

..which will make an ICC which applies the same transform as the 3dl.


However, I suspect there's a bigger problem with what you are trying to do - the .3dl and .icc profiles don't tend to work well with scene-linear values:

- 3dl only works with integer values (usually print-denstity-space scans or Rec709 video), it would clamp scene-linear values over 1.0 (to about 0.6 in LogC)

- ICC probably can, there was an update to the ICC spec to support their equivalent to a floating-point shaper LUT ("unbounded Device-side encoding"?)

http://www.color.org/ICCSpecRevision_02_11_06_Float.pdf

However this requires that the host application supports that version of ICC (Photoshop CS4 doesn't, and pretty sure neither does CS5). Also I'd guess OCIO's baker would need updated also.

On 28/11/2012, at 12:52 PM, Andrew Britton wrote:

A question about converting from scene linear to ARRI LogC via an icc profile:

when I use ociobakelut I'm wondering how to create an icc file that will be a viewing profile for a scenelinear image, to view it in LogC. My assumptions are as follows with a question about the direction of a LUT.

First I'm assuming this will be the proper command for creating said ICC profile:
ociobakelut --inputspace lnf --lut ln_2_logC.3dl --format icc /path/finalPath/LogC_Viewer.icc

So the question I have when making the ln_2_logC.3dl is which direction should the LUT be created? ie... should the .cube be created to convert from SceneLinear to LogC or vice versa? My apologies if this seems obvious, and my assumption is that the .cube should be from SceneLinear to LogC, but I'm confused as to why there would need to be an --inputspace predefined if it's already in the .3dl LUT. In this case of converting a .3dl to a .icc, I would expect the command to only need one .3dl file.

Thank you,
Andrew

Join ocio-dev@lists.aswf.io to automatically receive all group messages.