470 likes | 482 Views
Camera Simulation. References Photography, B. London and J. Upton Optics in Photography, R. Kingslake The Camera, The Negative, The Print, A. Adams. Topics. Ray tracing lenses Focus Field of view Depth of focus / depth of field Exposure. Lenses. Snell’s Law. Refraction.
E N D
Camera Simulation References Photography, B. London and J. Upton Optics in Photography, R. Kingslake The Camera, The Negative, The Print, A. Adams University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Topics • Ray tracing lenses • Focus • Field of view • Depth of focus / depth of field • Exposure University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Snell’s Law Refraction University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Paraxial Approximation Rays deviate only slightly from the axis University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Incident Ray Angles: ccw is positive; cw is negative The sum of the interior angles is equal to the exterior angle. University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Refracted Ray University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Derivation • Paraxial approximation University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Derivation • Paraxial approximation • Snell’s Law University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Ray Coordinates University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Gauss’ Formula • Paraxial approximation to Snell’s Law • Ray coordinates • Thin lens equation Holds for any height, any ray! University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Vergence Diverging Converging • Vergence • Thin lens equation • Surface Power equation University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Lens-makers Formula Refractive Power Diverging Converging University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Conjugate Points • To focus: move lens relative to backplane • Horizontal rays converge on focal point in the focal plane University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Gauss’ Ray Tracing Construction Parallel Ray Focal Ray Chief Ray Image Object University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Ray Tracing: Finite Aperture Focal Plane Aperture Plane Back Plane University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Real Lens Cutaway section of a Vivitar Series 1 90mm f/2.5 lens Cover photo, Kingslake, Optics in Photography University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Double Gauss Data from W. Smith, Modern Lens Design, p 312 University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Ray Tracing Through Lenses 35 mm wide-angle 200 mm telephoto 16 mm fisheye 50 mm double-gauss From Kolb, Mitchell and Hanrahan (1995) University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Thick Lenses Equivalent Lens Refraction occurs at the principal planes University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Field of View From London and Upton University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Field of View From London and Upton University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Field of View Redrawn from Kingslake, Optics in Photography • Field of view • Types of lenses • Normal 26º Film diagonal focal length • Wide-angle 75-90º • Narrow-angle 10º University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Perspective Transformation • Thin lens equation • Represent transformation as a 4x4 matrix University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Depth of Field From London and Upton University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Circle of Confusion Focal Plane Back Plane Circle of confusion proportional to the size of the aperture University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Depth of Focus [Image Space] • Depth of focus Equal circles of confusion • Two planes: near and far University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Depth of Focus [Image Space] • Depth of focus Equal circles of confusion University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Depth of Focus [Image Space] • Depth of focus Equal circles of confusion University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Depth of Field [Object Space] • Depth of field Equal circles of confusion University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Hyperfocal Distance When H is the hyperfocal distance University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Depth of Field Scale University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Factors Affecting DOF From http://www.kodak.com/global/en/consumer/pictureTaking/cameraCare/cameCar6.shtml University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Resolving Power • Diffraction limit • 35mm film (Leica standard) • CCD/CMOS pixel aperture University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Image Irradiance University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Image Irradiance Solid angle subtended by the lens, as seen by the patch dA Power from patch dA through the lens Irradiance at the sensor element University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Image Irradiance University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Image Irradiance On axis University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Relative Aperture or F-Stop • F-Number and exposure: • Fstops: 1.4 2 2.8 4.0 5.6 8 11 16 22 32 45 64 • 1 stop doubles exposure University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Camera Exposure • Exposure • Exposure overdetermined Aperture: f-stop - 1 stop doubles H Decreases depth of field Shutter: Doubling the open time doubles H Increases motion blur University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Aperture vs Shutter f/4 1/125s f/2 1/500s f/16 1/8s From London and Upton University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
High Dynamic Range • Sixteen photographs of the Stanford Memorial Church taken at 1-stop increments from 30s to 1/1000s. • From Debevec and Malik, High dynamic range photographs. University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Simulated Photograph Adaptive histogram With glare, contrast, blur University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell
Camera Simulation Sensor response Lens Shutter Scene radiance University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2007 Don Fussell