HDR -> SDR conversion

These CUDA filters are packaged into DGDecodeNV, which is part of DGDecNV.
User avatar
Rocky
Posts: 221
Joined: Fri Sep 06, 2019 12:57 pm

Re: HDR -> SDR conversion

Post by Rocky » Wed Sep 18, 2019 9:42 am

Umm, OK.

I fixed a small bug in DGIndexNV in the test package, so please re-download and update for testing.

User avatar
Rocky
Posts: 221
Joined: Fri Sep 06, 2019 12:57 pm

Re: HDR -> SDR conversion

Post by Rocky » Wed Sep 18, 2019 9:49 am

Found some more bugs. Temporarily withdrawing. Standby...

User avatar
Rocky
Posts: 221
Joined: Fri Sep 06, 2019 12:57 pm

Re: HDR -> SDR conversion

Post by Rocky » Wed Sep 18, 2019 9:54 am

OK, hlg_test.rar is back online so re-download and update DGIndexNV. Have at it!

User avatar
DJATOM
Posts: 58
Joined: Fri Oct 16, 2015 6:14 pm

Re: HDR -> SDR conversion

Post by DJATOM » Wed Sep 18, 2019 10:57 am

I've tuned Meari sample to match mpv's output (slightly brighter, but looks better for me)
Image
RTX 2070 | Ryzen R9 3900X (no OC) | 32 GB RAM

User avatar
Rocky
Posts: 221
Joined: Fri Sep 06, 2019 12:57 pm

Re: HDR -> SDR conversion

Post by Rocky » Wed Sep 18, 2019 11:31 am

Ah, good to hear. Thank you.

You probably noticed most of the goodness for PQ is at the top end of the range for white and it is nonlinear. HLG in contrast works much better and feels linear. I'm going to try linearizing the PQ parameter range, it's a GUI issue and a functional one, because we are lacking granularity at the top end.

User avatar
Bullwinkle
Posts: 53
Joined: Thu Sep 05, 2019 6:37 pm

Re: HDR -> SDR conversion

Post by Bullwinkle » Wed Sep 18, 2019 11:49 am

Gonna tonemap the white parameter space, eh, Rock? Whoop.

User avatar
Rocky
Posts: 221
Joined: Fri Sep 06, 2019 12:57 pm

Re: HDR -> SDR conversion

Post by Rocky » Sun Sep 22, 2019 10:21 am

Everything released in slipstream 188. Note that the PQ white range is now 1-3000 to give some more granularity at the top end (PQ white range not yet linearized).

User avatar
zys4416
Posts: 9
Joined: Fri Jul 29, 2011 9:04 pm

Re: HDR -> SDR conversion

Post by zys4416 » Mon Sep 23, 2019 1:28 am

Cool!!!!

I have tested my HLG sources, the result is pretty perfect by now.

I will try more samples, this is very exciting!

btw, new 'Enable HDR to SDR' GUI is easy to use ;-)

User avatar
Rocky
Posts: 221
Joined: Fri Sep 06, 2019 12:57 pm

Re: HDR -> SDR conversion

Post by Rocky » Mon Sep 23, 2019 8:35 am

Thrilled that you like it! Thank you for the feedback.

User avatar
Bullwinkle
Posts: 53
Joined: Thu Sep 05, 2019 6:37 pm

Re: HDR -> SDR conversion

Post by Bullwinkle » Wed Sep 25, 2019 8:12 pm

Hey Rocky, are you sure you are implementing the BT.2390 EETF correctly (see Figure 20)? That's how we should scale for target brightness in PQ, not just change the multiplier for the EOTF. Perhaps that would give a more linear feel. People say I have that linear feel. Meese rule, and, you know, hoomans drool! You know it's true.

Post Reply