Re: SceneLinear to LogC into an ICC profile
toggle quoted message Show quoted text
The --inputspace/--outputspace arguments are only required when using an OCIO config. The --lut argument is used, alone, for "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"?)
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: