Sign in
Module 1 · Part 1 of 12 · free to read

Part 1

Chapter 1: The Lost Photon...--–- Before a computer can recognize a face, drive a car, or detect a tumor, it must first answer a deceptively simple question: What is light, and how does it become a number? This chapter follows the journey of a single photon—from the moment it leaves a light source, bounces off a physical surface, travels through a glass lens, and finally gets trapped by a silicon sensor. Along the way, that photon loses information: depth becomes color, continuous reality becomes discrete pixels, and the three-dimensional world collapses into a two-dimensional grid of numbers. Understanding what is lost is the first and most important step in building any computer vision system.

Without this knowledge, every algorithm you write—no matter how sophisticated—will fail in ways you cannot predict.The Journey of a Single PhotonImagine a photon leaving the sun. Eight minutes later, it strikes a red apple sitting on a wooden table. The apple absorbs most of the light but reflects specific wavelengths—those our eyes and cameras perceive as "red." That reflected photon now travels toward a camera lens. What happens next determines everything.Reflection is not perfect. The apple's surface is not perfectly smooth. Microscopic irregularities scatter light in many directions. Some photons bounce directly into the lens (specular reflection), creating bright highlights.

Others penetrate the apple's skin, bounce around inside, and emerge from different points (diffuse reflection), giving the apple its soft, matte appearance. A camera cannot tell these paths apart. It only records the total light arriving at each sensor pixel.The photon's journey is probabilistic. In low light, a camera might capture only a few photons from the apple. In bright sunlight, it captures millions. The difference between "enough photons" and "not enough" determines whether your vision system sees an apple or just noise. This is not a minor implementation detail—it is a fundamental physical limit.The Pinhole Camera: The Ideal That Does Not ExistThe simplest possible camera has no lens.

Keep reading — free

Sign in with your SamEnrico account to read the whole of part 1.

Sign in