Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th February 2023, 00:23   #1  |  Link
groucho86
Registered User
 
Join Date: Apr 2016
Posts: 85
Help converting formula to RPN (LogC4 <> Linear)

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/2...ation-data.pdf (page 9 under 'Reference CTL Implementation')

Thanks in advance!
groucho86 is offline   Reply With Quote
Old 16th February 2023, 15:21   #2  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
No, not sure whether it helps, but https://www.arri.com/en/learn-help/l.../lut-generator has a link with a 3D LUT Package for LogC4.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th February 2023, 15:51   #3  |  Link
groucho86
Registered User
 
Join Date: Apr 2016
Posts: 85
Thanks Selur, but a LUT cannot handle values out of 0.0-1.0 range, so it needs to be formula-based.
groucho86 is offline   Reply With Quote
Old 16th February 2023, 21:59   #4  |  Link
Julek
Registered User
 
Julek's Avatar
 
Join Date: Dec 2020
Posts: 88
I rewrote the example on page 10 to Expr here: https://gist.github.com/dnjulek/58a2...929fd9ce151eca
__________________
CPU: AMD 3700X | GPU: RTX 3070Ti | RAM: 32GB 3200MHz
GitHub
Julek is offline   Reply With Quote
Old 16th February 2023, 22:13   #5  |  Link
groucho86
Registered User
 
Join Date: Apr 2016
Posts: 85
Quote:
Originally Posted by Julek View Post
I rewrote the example on page 10 to Expr here: https://gist.github.com/dnjulek/58a2...929fd9ce151eca
Much appreciated Julek! Will compare against Resolve's implementation asap.
groucho86 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.