-
Notifications
You must be signed in to change notification settings - Fork 8
Camera lightfield
- t_cameraLightField.mlx - Illustrates how to build a light field camera with microlenses.
- Lightfield Tutorial Video - A video walkthrough of the Lightfield Tutorial.
- t_cameraDPAF.mlx - Illustrates how to construct a dual-pixel camera and calculate focus.
We can simulate light field cameras based on a microlens array with multiple pixels behind each microlens. This relies on the omni camera model and special tools for combining a microlens array to the lens model. It will run on the GPU (Thomas Goossens implemented this).
Note: We updated the methods for combining a lens with a microlens array. It now relies on this function. How to set this up is described in the light field script t_cameraLightField (not the video) above.
[combinedLensFile, info] = piMicrolensInsert(uLens,iLens,...
'n microlens',nMicrolens, 'offset method','linear', ...
'max offset',maxMLXY);
The new methods allow us to create arrays that are shifted with respect to the pixel center, and that are displaced a few microns (or more) from the sensor itself. There are only a few methods now, but we intend to implement additional methods that start with the chief ray angle to define the shift. This is possible.
Have a look at the scripts s_sensorDPAFOffset.m and s_sensorDPAFMicrolens.m, s_sensorDPAF.m for more (overlapping) examples.
ISET3d development is led by Brian Wandell's Vistalab group at Stanford University and supported by contributors from other research institutions and industry.