Replies: 5 comments 7 replies
|
Furthermore, does this code confirm my suspicion that the metadata.cfg supplied when using API - 4 has no effect on the output? |
5 replies
|
@gregbenz Did you mean "the default min prevents the HDR from being darker than the SDR." |
0 replies
|
@ram-mohan yes, sorry for that confusion. I've edited my original post to correct that. |
2 replies
|
@ram-mohan Thank you for adding support, the results look great. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
For some images, it would be ideal to have control over minContentBoost and maxContentBoost. It would be ideal to be able to pass a float value to ultrahdr_app to override the defaults (
libultrahdr/lib/src/jpegr.cpp
Line 953 in 0f97353
For example, the default min prevents the HDR from being darker than the SDR. While that sounds reasonable, there are reasons not to enforce such a clip. If the two images are derived independently, this may be a real scenario where some HDR pixels are a bit darker and enforcing a minimum would result in unexpected lifting of HDR shadows (ie loss of contrast/detail in the rendered result).
If a range check is needed for these values, I would propose allowing any positive float value to offer maximum flexibility (unless I'm overlooking the impact of future cases where the base image is HDR and the gain logic is flipped). There are a wide range of useful values for some niche applications.
All reactions