Wavefront optics toolbox: Difference between revisions

From Psych 221 Image Systems Engineering
Jump to navigation Jump to search
imported>Psych2012
No edit summary
imported>Psych2012
No edit summary
Line 1: Line 1:
Back to [[Psych221-Projects-2012|Psych221-Projects-2012]]
Back to [[Psych221-Projects-2012|Psych221-Projects-2012]]


Our project scope has been to work with the WavefrontOpticsToolbox, located in a SVN repository at https://platypus.psych.upenn.edu/repos/toolboxes/WavefrontOpticsToolbox/trunk.  This toolbox models the optics of the human eye using scalar diffraction theory from Fourier Optics.  In particular, the aberrations of the human cornea, pupil, and lens, as well as the Stiles-Crawford effect from the retinal cone cells, are modeled by the amplitude and phase of the eye's pupil function.  This pupil function is then Fourier transformed to compute the eye's point spread function (PSF).
During this project, we have worked with the WavefrontOpticsToolbox, located in a SVN repository at https://platypus.psych.upenn.edu/repos/toolboxes/WavefrontOpticsToolbox/trunk.  This toolbox models the optics of the human eye using scalar diffraction theory from Fourier Optics.  In particular, the aberrations of the human cornea, pupil, and lens, as well as the Stiles-Crawford effect from the retinal cone cells, are modeled by the amplitude and phase of the eye's pupil function.  This pupil function is then Fourier transformed to compute the eye's point spread function (PSF).


The project has been split into two phases: 1) toolbox code clean-up and commenting and 2) the creation of a MATLAB tutorial to demonstrate some of the features of the toolbox.
The project is split into two phases: 1) code clean-up and commenting and 2) the creation of a MATLAB tutorial to demonstrate some of the features of the toolbox.


<gallery widths=300px heights=300px perrow=7 caption="Would be cool to have intro pics">
<gallery widths=300px heights=300px perrow=7 caption="Would be cool to have intro pics">
File:example1.jpg |Example pic 1
File:example1.jpg|Example pic 1
File:example2.jpg |Example pic 2
File:example2.jpg|Example pic 2
</gallery>
</gallery>



Revision as of 00:49, 19 March 2012

Back to Psych221-Projects-2012

During this project, we have worked with the WavefrontOpticsToolbox, located in a SVN repository at https://platypus.psych.upenn.edu/repos/toolboxes/WavefrontOpticsToolbox/trunk. This toolbox models the optics of the human eye using scalar diffraction theory from Fourier Optics. In particular, the aberrations of the human cornea, pupil, and lens, as well as the Stiles-Crawford effect from the retinal cone cells, are modeled by the amplitude and phase of the eye's pupil function. This pupil function is then Fourier transformed to compute the eye's point spread function (PSF).

The project is split into two phases: 1) code clean-up and commenting and 2) the creation of a MATLAB tutorial to demonstrate some of the features of the toolbox.


Background

text text text


Subheading

text text text


Toolbox code clean-up

text text text

File:ExampleEmbedImg.jpg
Example embedded image


Subheading

text text text


Subsubheading

text text text

OIFk=n=13𝐱n𝐱¯n)|𝐱1T𝐱2|+|𝐱1T𝐱3|+|𝐱2T𝐱3|


Tutorial

text text text


Zernike polynomials

text text text


Stiles-Crawford effect

text text text


Human eye aberrations and correction using eyeglasses

text text text


Conclusions and future directions

text text text


References

ref ref ref


Appendix I - Code and Data

Code

File:T Zernike.m


Data

Wavefront measurements of human eyes are part of the SVN repository. Wavefront optics toolbox


Appendix II - Work partition

Matthew Lew - Heavily edited wvfComputePupilFunction.m to remove unnecessary nested loops; removed sizeOfFieldPixels field of the wvf struct so that all parameters are defined in terms of physical dimensions, not pixels; constructed sections of tutorial dealing with SCE and vision correction with eyeglasses

Kevin Phuong - Constructed core of t_Zernike.m to demonstrate Zernike polynomials and their effect on PSFs; updated various functions of the toolbox to use wvfGet() and wvfSet().