View Full Version : Help converting formula to RPN (LogC4 <> Linear)
groucho86
16th February 2023, 00:23
Hello! Is anyone able to translate to RPN/Expr ARRI's LogC4 to Linear and Linear to LogC4 formulas found here?
https://www.arri.com/resource/blob/278790/bea879ac0d041a925bed27a096ab3ec2/2022-05-arri-logc4-specification-data.pdf (page 9 under 'Reference CTL Implementation')
Thanks in advance!
Selur
16th February 2023, 15:21
No, not sure whether it helps, but https://www.arri.com/en/learn-help/learn-help-camera-system/tools/lut-generator has a link with a 3D LUT Package for LogC4.
groucho86
16th February 2023, 15:51
Thanks Selur, but a LUT cannot handle values out of 0.0-1.0 range, so it needs to be formula-based.
Julek
16th February 2023, 21:59
I rewrote the example on page 10 to Expr here: https://gist.github.com/dnjulek/58a252948adbe63fd4929fd9ce151eca
groucho86
16th February 2023, 22:13
I rewrote the example on page 10 to Expr here: https://gist.github.com/dnjulek/58a252948adbe63fd4929fd9ce151eca
Much appreciated Julek! Will compare against Resolve's implementation asap.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.