Optical Imaging System Modeling

Introduction to mathematical and physical modeling of optical imaging systems by OISL@CREOL, University of Central Florida.
Updated 9 Feb 2024



When I joined CREOL at the University of Central Florida as a new assistant professor in 2015, I started to teach a senior level undergraduate couse Imaging and Display (OSE4380). I inheritied ths course from Dr. Bahaa E. A. Saleh, the Dean of the College at the time. Like many fellas working in the field of optics, I read his book Fundamentals of Photonics before I met him in person. As a prolific author in optics and photonics, Bahaa has some very well-organized manuscripts for introductory chapters of this course. To help students get familiar with the materials, he also included some MATLAB codes along with the manuscripts for students to just 'play around'.

It turned out that the manuscripts with code format is very popular among students. I suppose all the students agree with Linus Torvalds's famous line: Talk is cheap; show me the code. So I started to implement the code for the rest of the materials of this course. After teaching this course for a couple of years, I have accumulated enough examples for teaching, but not more. As a researcher in optical imaging, I often draw inspirations from well-established imaging systems, such as phase contrast microscopy, OCT, CT, etc.. When I discussed these systems with graduate students whose backgrounds were in physics or computer vision, they often asked for more details about the data acquisition process and operating principles. I also found out that only sending them the classic papers was not the most efficient way to get them started, so I prepared these materials the same way as I did for the course.

In the beginning, I tried to compiled my own handouts with the code in the same manuscript style for the class. However, after a while, the research and other responsibilities stopped me from organizing this like a textbook. I started to use Jupyter notebooks and more recently with MATLAB live scripts. This is by no means a complete work in optical imaging system, but I hope this serves a quick and concise introduction to the mathematics and physics models of two- and higher dimensional imaging systems. It is suitable for senior undergraduate and first-year graduate students majoring in optical engineering, electrical engineering, computer science, biomedical engineering, and applied physics, or anyone with background in STEM who is just interested in learning about optical imaging.

Table of contents

The scripts are divided in to 3 parts: linear system fundamentals, optical image formation, and imaging system modeling.

Part 1 Fundamentals

  1. Image Representation
  2. Linear System
  3. Spectral Analysis
  4. Transfer Function and Filtering

Part 2 Optical Image Formation

  1. Geometric Optics
  2. Scalar Wave and Diffraction-Limited Imaging
  3. Diffraction-Limited 3D Imaging

Part 3 Imaging Systems

  1. Passive Optical Ranging
  2. Active Optical Ranging
  3. Interferometric Imaging
  4. Structured Illumnination Microscopy
  5. Computed Tomography
  6. Phase Retrieval in Coherent Imaging
  7. Synthetic Aperture and Ptychography (in progress)

YouTube Promo


Our excellent undergraduate researcher at OISL, Tamara Nelson, is instrumental in implmenting the livescripts, making sure the consistency of the style and code of the whole project. Dr. Zheyuan Zhu contributed to Lecture 13. Graduate students Andrew Klein and Zachary Erickson helped with the first round of proof reading.

Special thanks to Prof. Bahaa Saleh for his support to this project and allows me to use some of the figures from his lecture notes. I would also like to thank my PhD advisor Prof. Changhuei Yang and postdoc supervisor Prof. David Brady for introducing me to the field of imaging.

I would also like to thank my colleagues Prof. Peter Delfyett, Prof. Pieter Kik, Prof. Miguel Bandres, and Prof. Kyle Renshaw at CREOL for reviewing the scripts. Dr. Raktim Sarma (Sandia), Dr. Brandon Redding (NRL), Prof. Jian Ren (Harvard/MGH), Prof. Hong Liu (University of Oklahoma), Prof. Kenith Meissner (UT El Paso) also reviewed the scripts and provided their suggestions.

Cite As

Shuo Pang (2024). Optical Imaging System Modeling (https://github.com/optical-imaging/img-sys-modeling/releases/tag/v0.1.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2023b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.