Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depth of Field Control #29

Open
st599 opened this issue Aug 8, 2022 · 4 comments
Open

Depth of Field Control #29

st599 opened this issue Aug 8, 2022 · 4 comments
Labels
question Further information is requested

Comments

@st599
Copy link

st599 commented Aug 8, 2022

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?

@hahnec hahnec added the question Further information is requested label Aug 8, 2022
@hahnec
Copy link
Owner

hahnec commented Aug 8, 2022

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.

@st599
Copy link
Author

st599 commented Aug 15, 2022

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
Copy link
Author

st599 commented Aug 16, 2022

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?

@hahnec
Copy link
Owner

hahnec commented Sep 26, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants