Engineering Math Physics (EMP)

Slides:



Advertisements
Similar presentations
Digital Camera Essential Elements Part 1 Sept
Advertisements

Module 1 Digital Cameras. Image Capture Instead of film, a digital camera uses a device called a CCD (charge coupled device).
Digital Imaging and Image Analysis
DIGITAL IMAGE PROCESSING CMSC 150: Lecture 14. Conventional Cameras  Entirely chemical and mechanical processes  Film: records a chemical record of.
Camera Basics How cameras work Film vs Digital Taking control.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2006 Some figures from Steve Seitz, Steve Palmer, Paul Debevec,
1 Data Compression Engineering Math Physics (EMP) Steve Lyon Electrical Engineering.
Imaging Techniques in Digital Cameras Presented by Jinyun Ren Jan
1 Digital Cameras Engineering Math Physics (EMP) Jennifer Rexford
T.Sharon-A.Frank 1 Multimedia Image Compression 2 T.Sharon-A.Frank Coding Techniques – Hybrid.
Digital Images The nature and acquisition of a digital image.
Digital Technology 14.2 Data capture; Digital imaging using charge-coupled devices (CCDs)
1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction to computer vision Chapter 2:
Digital Cameras Basic Info on Operations Class Web Quest.
I Power Multimedia Technology Video Data. Video data Video is a sequence of individual pictures or frames, taken one after another. These are played back.
+ Video Compression Rudina Alhamzi, Danielle Guir, Scott Hansen, Joe Jiang, Jason Ostroski.
Zinnia Bell. RAWimages are image files that have not yet processed, they contain minimally processed data from the image sensor of either a image scanner,
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Chpater 3 Resolution, File Formats and Storage. Introduction There are two factors that determine the quality of the picture you take; The resolution.
1 Digital Cameras Consumer digital cameras have been around since 1995 What features make a good camera? How do we optimize good features with a limited.
Measurements in Fluid Mechanics 058:180 (ME:5180) Time & Location: 2:30P - 3:20P MWF 3315 SC Office Hours: 4:00P – 5:00P MWF 223B-5 HL Instructor: Lichuan.
CSCI-235 Micro-Computers in Science Hardware Part II.
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
How A Camera Works Image Sensor Shutter Mirror Lens.
Comparing Regular Film to Digital Photography
FYS 100 Creative Discovery in Digital Art Forms Fall 2008 Burg Digital Photography Assignment.
Bit-Mapped Graphic Data: Input (Capture) Hardware Multimedia – Section 2.
© 1999 Rochester Institute of Technology Introduction to Digital Imaging.
Digital Cameras And Digital Information. How a Camera works Light passes through the lens Shutter opens for an instant Film is exposed to light Film is.
Chapter 2 : Business Information Business Data Communications, 6e.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
776 Computer Vision Jan-Michael Frahm Fall Last class.
The Physics of Photography
DIGITAL CAMERAS Prof Oakes. Overview Camera history Digital Cameras/Digital Images Image Capture Image Display Frame Rate Progressive and Interlaced scans.
How digital cameras work The Exposure The big difference between traditional film cameras and digital cameras is how they capture the image. Instead of.
FYS 100 Creative Discovery in Digital Art Forms Spring 2007 Burg Digital Photography Assignment.
Sounds of Old Technology IB Assessment Statements Topic 14.2., Data Capture and Digital Imaging Using Charge-Coupled Devices (CCDs) Define capacitance.
Digital Camera TAVITA SU’A. Overview ◦Digital Camera ◦Image Sensor ◦CMOS ◦CCD ◦Color ◦Aperture ◦Shutter Speed ◦ISO.
CSCI-100 Introduction to Computing Hardware Part II.
Digital Imaging. Introduction Digital Imaging is used every day in life. Has become less expensive and easier to use than film.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
DIGITAL CAMERAS THE IMAGE SENSORS. CCD: Charged Coupled Device CMOS: Complementary Metal Oxide Semiconductor The differences between these two sensors.
In the Know … Technological Vocabulary. Beginning Terms 1. Aperture – the mechanical opening in the lens that lets light in. 2. ASA / ISO – rating given.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
CSE 185 Introduction to Computer Vision
Digital Image -M.V.Ramachandranwww.youtube.com/postmanchandru
DIGITAL MEDIA FOUNDATIONS
ART 147 DIGITAL MATERIALS & PROCESSES Powerpoint No
Electronics Lecture 5 By Dr. Mona Elneklawi.
Unit 1 The History of Photography & The Camera
Capturing Light… in man and machine
A tool for Graphic Design
Digital Image Formation
Data Compression.
A basic look at the mechanics
Chapter I, Digital Imaging Fundamentals: Lesson II Capture
Introduction to Digital Photography
Engineering Math Physics (EMP)
Software Equipment Survey
Digital Image Processing
Why Compress? To reduce the volume of data to be transmitted (text, fax, images) To reduce the bandwidth required for transmission and to reduce storage.
Representing Images 2.6 – Data Representation.
Jan-Michael Frahm Fall 2016
Capturing Light… in man and machine
Projection Readings Nalwa 2.1.
Basic Concepts of Digital Imaging
A tool for Graphic Design
Photographic Image Formation I
Presentation transcript:

Engineering Math Physics (EMP) Digital Cameras Engineering Math Physics (EMP) Jennifer Rexford http://www.cs.princeton.edu/~jrex

Image Transmission Over Wireless Networks Image capture and compression Inner-workings of a digital camera Manipulating & transforming a matrix of pixels Implementing a variant of JPEG compression Wireless networks Wireless technology Acoustic waves and electrical signals Radios Video over wireless networks Video compression and quality Transmitting video over wireless Controlling a car over a radio link

Traditional Photography A chemical process, little changed from 1826 Taken in France on a pewter plate … with 8-hour exposure Taken by Joseph Nicéphore Niépce in France. It is on a pewter plate, and used a petroleum-based compound similar to asphalt as the photographic medium. The parts of the picture exposed to light hardened, and after an eight-hour exposure (!), the areas not exposed to light were washed away with chemicals. There is a very informative website discussing this picture at http://www.hrc.utexas.edu/exhibitions/permanent/wfp/. It’s from the University of Texas at Austin, where this photograph (or “heliograph”, as Niépce called it) currently resides. The world's first photograph

Digital Photography Digital photography is an electronic process Only widely available in the last ten years Digital cameras now surpass film cameras in sales

Image Formation Digital Camera Film Eye

Aperture and Exposure Aperture Shutter speed Diameter of the hole allowing light to enter E.g., the pupil of the eye Higher aperture leads to more light entering … though poorer focus across a wider depth of field Shutter speed Time for light to enter the camera Longer times lead to more light … though blurring of moving subjects Together, determine the exposure The amount of light allowed to enter the camera

Image Formation in a Pinhole Camera Light enters a darkened chamber through pinhole opening and forms an image on the further surface

Image Formation in a Digital Camera Photon +10V + + + + + +        + CCD sensor Array of sensors Light-sensitive diodes that convert photons to electrons Each cell corresponds to a picture element (pixel) Sensor technologies Charge Coupled Device (CCD) Complementary Metal Oxide Semiconductor (CMOS)

Sensor Array: Image Sampling

Sensor Array: Reading Out the Pixels Transfer the charge from one row to the next Transfer charge in the serial register one cell at a time Perform digital to analog conversion one cell at a time Store digital representation Digital-to-analog conversion

Sensor Array: Reading Out the Pixels

More Pixels Mean More Detail Three pictures were taken of the previous scene. Three different resolutions were used. This sample from the center of the picture shows the differences in detail at the four resolutions. 1600 x 1400 is 2.1 megapixels; 1280 x 960 is 1.1 megapixels; 640 x 480 is .3 megapixels, or old Sony Mavica resolution. 640 x 480

The 2272 x 1704 hand The 320 x 240 hand

Representing Color Light receptors in the human eye RGB color model Rods: sensitive in low light, mostly at periphery of eye Cones: only at higher light levels, provide color vision Different types of cones for red, green, and blue RGB color model A color is some combination of red, green, and blue E.g., eight bits for each color With 28 = 256 values Corresponding to intensity Leading to 24 bits per pixel Red: 255, 0, 0 Green: 0, 255, 0 Yellow: 255, 255, 0

Number of Bits Per Pixel More bits can represent a wider range of colors 24 bits can capture 224 = 16,777,216 colors Most humans can distinguish around 10 million colors 8 bits / pixel / color 4 bits / pixel / color

Separate Sensors Per Color Expensive cameras A prism to split the light into three colors Three CCD arrays, one per RGB color

Practical Color Sensing: Bayer Grid Place a small color filter over each sensor Each cell captures intensity of a single color More green pixels, since human eye is better at resolving green

Practical Color Sensing: Interpolating Challenge: estimating pixels we do not know for certain For a non-green cell, look at the neighboring green cells And, interpolate the value Accuracy of interpolation Good in low-contrast areas Poor with sharp edges (e.g., text) Estimate “RGB” at the “G” cells from neighboring values

Digital Images Require a Lot of Storage Three dimensional object Width (e.g., 640 pixels) Height (e.g., 480 pixels) Bits per pixel (e.g., 24-bit color) Storage is the product Pixel width * pixel height * bits/pixel Divided by 8 to convert from bits to bytes Common sizes 640 x 480: 1 Megabyte 800 x 600: 1.5 Megabytes 1600 x 1200: 6 Megabytes

Compression Benefits of reducing the size Redundancy in the image Consume less storage space and network bandwidth Reduce the time to load, store, and transmit the image Redundancy in the image Neighboring pixels often the same, or at least similar E.g., the blue sky Human perception factors Human eye is not sensitive to high frequencies

Contrast Sensitivity Curve

Lossy vs. Lossless Compression Only exploits redundancy in the data So, the data can be reconstructed exactly Necessary for most text documents (e.g., legal documents, computer programs, and books) Lossy Exploits both data redundancy and human perception So, some of the information is lost forever Acceptable for digital audio, images, and video

Examples of Lossless Compression Huffman encoding Assign fewer bits to less-popular symbols E.g., “a” occurs more often than “i” … so encode “a” as “000” and “i” as “00111” Efficient when probabilities vary widely Run-length encoding Identify repeated occurrences of the same symbol Capture the symbol and the number of repetitions E.g., “eeeeeee”  “@e7” E.g., “eeeeetnnnnnn”  “@e5t@n6”

Joint Photographic Experts Group Lossy compression of images Starts with an array of pixels in RGB format With one number per pixel for each of the three colors Outputs a smaller file with some loss in quality Exploits both redundancy and human perception Transforms the data to identify parts that humans notice less More about transforming the data in Wednesday’s class Uncompressed: 167 KB Good quality: 46 KB Poor quality: 9 KB

Conclusion Digital cameras Digital images Image compression Light and a optical lens Charge and electronic devices Pixels and a digital computer Digital images A two-dimensional array of pixels Red, green, and blue intensities for each picture Image compression Raw images are very large Compression reduces the image size substantially By exploiting redundancy and human perception