Post

Replies

Boosts

Views

Activity

Comment on Help understanding CIImage filter chain
Thanks. I tried to enable "dump intermediates" but I couldn't get any to show, or any timings. Here's the output from the xcode log on start up: CI_PRINT_TREE options flags: 1 initial graph 2 optimized graph 4 program graph (set) dump-inputs dump-intermediates (set) dump-raw-intermediates (set) dump-bmtl-intermediates (set) dump-outputs dump-timing (set) context==<name|number> context!=<name|number> frame- <dot|pdf|png>
Jan ’25
Comment on How to access HDRGainMap from AVCapturePhoto
Here are the two gain maps I have accessed from taking phots on the default camera app on the two devices. However like I explained, I can't seem to access the 13s HDRGainMap from an AVCapturePhoto using the above method https://gist.github.com/kiding/fa4876ab4ddc797e3f18c71b3c2eeb3a?permalink_comment_id=5398481#gistcomment-5398481
Replies
Boosts
Views
Activity
Jan ’25
Comment on How to access HDRGainMap from AVCapturePhoto
Thank you, that resolved the issue. I can now access the gain map on my iPhone 16 Pro, however it's still nil on my iPhone 13 (iOS 18.0.1). Images captured via the iPhone Camera on the 13 do have a gain map, though it appears different, with dark colours, as though it is a different format. Is there any documentation on this? Thank you.
Replies
Boosts
Views
Activity
Jan ’25
Comment on How to access HDRGainMap from AVCapturePhoto
Thank you so much! I have a follow up question - how do you configure "AVCapturePhotoSettings" to capture the HDRGainMap? I have an iPhone 16 Pro which using the default camera app produces images that have embedded HDRGainMaps, so my hardware is capable. However using the code above, the CIImage returned is "nil".
Replies
Boosts
Views
Activity
Jan ’25
Comment on Help understanding CIImage filter chain
Thanks. I tried to enable "dump intermediates" but I couldn't get any to show, or any timings. Here's the output from the xcode log on start up: CI_PRINT_TREE options flags: 1 initial graph 2 optimized graph 4 program graph (set) dump-inputs dump-intermediates (set) dump-raw-intermediates (set) dump-bmtl-intermediates (set) dump-outputs dump-timing (set) context==<name|number> context!=<name|number> frame- <dot|pdf|png>
Replies
Boosts
Views
Activity
Jan ’25