plenopticam icon indicating copy to clipboard operation
plenopticam copied to clipboard

Depth of Field Control

Open st599 opened this issue 2 years ago • 4 comments

Is it possible to control (or estimate) the depth of field of the output images? e.g. is it possible to request an image that would be equivalent of a lens operating at f/8? or is it possible to estimate the equivalent f-stop of an output image?

st599 avatar Aug 08 '22 11:08 st599

Making a synthetically refocused depth of field equivalent to an f-stop generally involves knowing the optics parameters of a light-field camera. If you have the parameters available, you can use the project https://github.com/hahnec/plenoptisign to find to the right rendering options for plenopticam (e.g., micro image cropping size) to mimic the f/8.

hahnec avatar Aug 08 '22 22:08 hahnec

Many Thanks - is there any method of requesting a certain number of focal point steps between zero and the focal point of the lens assembly?

st599 avatar Aug 15 '22 13:08 st599

0_3_0 0_18_0 I've attempted to create an f/3.6 and an f/18.0 image using an image and config file from the hosted dataset and can see little, if any, difference in depth of field. The only difference/parameter I could see to micro image cropping size. Is there anything else I need to do?

st599 avatar Aug 16 '22 09:08 st599

Hi again,

I am also surprised to see no obvious difference in the above images. At least f/18 should have only little blur in the front. What were the equivalent micro images sizes? Also, can you provide the method how you converted the f-stop to micro image size? In general, this requires to know the focal length in mm, which is not given for the photo you provided?

Have you tried to lower the micro image size, e.g. to 3 pixels? This should have an impact on the depth field.

hahnec avatar Sep 26 '22 09:09 hahnec