HDR with AVFoundation
Asked Answered
H

1

6

I'm like to get both a real-time and post-processed HDR effect with AVFoundation and/or CoreImage. I'm assuming this is relatively easy with CoreImage once a full-frame still image is captured, but does anybody know how to achieve an HDR-like effect using AVCaptureVideoPreviewLayer?

Halfbound answered 16/11, 2011 at 0:31 Comment(1)
What you mean "relatively easy"? You know a simple way to generate hdr image with iOS image frameworks? Could you please share this?Keikokeil
N
4

You can use AVCaptureVideoOutput class and above mentioned delegate method (captureOutput:didOutputSampleBuffer:fromConnection:) to get each live frame from camera. From that frame, you can create CIImage and make changes using CoreImage framework; After that just draw output using drawRect: method

Nathanielnathanil answered 2/11, 2012 at 7:23 Comment(1)
Do you have an example how to implement HDR?Expel

© 2022 - 2024 — McMap. All rights reserved.