Support compensation for Canon's Highlight tone priority#21371
Support compensation for Canon's Highlight tone priority#21371piratenpanda wants to merge 3 commits into
Conversation
Checked independently of ALO since both tags can be set simultaneously on modern Canon bodies. On My R5m2 with HTP on, ALO doesn't seem to affect the raw files. +1 EV yielded perfect compensation for D+ and in my scene as well for D+2 but results may vary for different scenes. +1 EV is a good starting point still and better than the nothing we currently have.
ralfbrown
left a comment
There was a problem hiding this comment.
LGTM. As written, if both HTP and ALO are active, ALO overrides the HTP setting. Is that what you intended? If you add an "else" to the start of the "if" checking for LightingOpt, then HTP will take priority when both are present.
|
I dont't think ALO overrides HTP in the camera. I tried with both and the HTP correction value was the right one. I'll do more tests but it seemed fine here. But good to double check that. But I understand what you mean and rn I'm unsure. |
|
How would this effect shooting in HDR PQ mode? One of the recommendations in the camera manual is to turn on HTP when shooting HDR PQ. |
|
you're right. My testing was obviously flawed. But wouldn't be better? HTP should always be preferred to my testing. I manually shot a neutral grey and compared exposure changes needed to keep it the same exposure |
I'll need to try that as well |
|
The PQ RAW looks fine with +1 EV to me. Completely the same exposure as D+ without PQ. Don't know if I should see a difference in darktable tbh |
|
So best way would be to have ALO first and the let HTP override right? |
|
I updated my firmware to 1.8.0 and now I have some new settings including Highlight Tone Priority 😁 Tested with ALO set to low and HTP set to D+. The correction to the raw was 0.3 EV EDIT: Tomorrow I'll shoot sets of images with all the combinations and see what I get. |
with the current darktable? That's expected. Also with the current version of my PR because it's wrong I think. The test you need to do is take a picture without ALO or HTP and use this as reference. Now enable ALO and or HTP and check how much EV you have to change to make the exposure the same. For me it's always 1 EV when HTP is on. |
|
I've updated the PR to my findings. please test with other cams. For me this gives the same exposure for ALO and HTP off, HTP on, ALO + HTP on. ALO alone results in higher exposures which maybe should be discussed too. Or maybe that's expected behaviour. |
|
You'll note the comments that say "estimated strength". I'd be happy to have someone supply better numbers based on actual analyses. |
|
I'll run some tests. For my indoor grey card tests it was 0 EV difference for none, low, standard and high. Will test outdoor tomorrow. |
|
My testing was flawed as ALO doesn't work in manual mode. Yet manual mode has to be excluded from the corrections then. Will redo the patch and do more testing before |
|
I just did more reading. So ALO does not affect raw data. Why are we even applying exposure compensation then? |
|
Because it does affect the overall (perceived) brightness of the image. This can involve just a tone-curve change without an actual exposure change, but matching that will be both more difficult to determine and to implement. |
|
Ok, then HTP needs to be additive. Ready from my side I guess |
Checked independently of ALO since both tags can be set simultaneously on modern Canon bodies. On my R5m2 with HTP on, ALO doesn't seem to affect the raw files though.
+1 EV yielded perfect compensation for D+ and in my scene as well for D+2 but results may vary for different scenes. +1 EV is a good starting point still and better than the nothing we currently have.