1 Computer Science 631 Lecture 5: From photons to pixels Ramin Zabih Computer Science Department CORNELL UNIVERSITY.

Slides:



Advertisements
Similar presentations
Charge Couple Devices Charge Couple Devices, or CCDs operate in the charge domain, rather than the current domain, which speeds up their response time.
Advertisements

Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
Fundamental concepts in video
What We Must Understand
Video enhances, dramatizes, and gives impact to your multimedia application. Your audience will better understand the message of your application.
Digital Image Processing: Digital Imaging Fundamentals.
Imaging Science Fundamentals
Chapter 2 Computer Imaging Systems. Content Computer Imaging Systems.
SWE 423: Multimedia Systems Chapter 5: Video Technology (1)
Comp :: Fall 2003 Video As A Datatype Ketan Mayer-Patel.
Digital Audio, Image and Video Hao Jiang Computer Science Department Sept. 6, 2007.
1 Computer Science 631 Lecture 6: Color Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
Fundamentals of Multimedia Chapter 5 Fundamental Concepts in Video Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
Digital Images The nature and acquisition of a digital image.
The Camera Chapter 4.
Digital Technology 14.2 Data capture; Digital imaging using charge-coupled devices (CCDs)
(Very)Basic Video Terminology Not exciting….but good to know.
Image Formation and Digital Video
1 CCTV SYSTEMS CCTV MONITORS. 2 CCTV SYSTEMS A monitor simply allows remote viewing of cameras in a CCTV system from a control room or other location.
Digital Photography Fundamentals Rule One - all digital cameras capture information at 72 dots per inch (DPI) regardless of their total pixel count and.
Chapter 5 Fundamental Concepts in Video
1 CCTV SYSTEMS CCD VERSUS CMOS COMPARISON CCD (charge coupled device) and CMOS (complementary metal oxide semiconductor) image sensors are two different.
School of Computer Science & Information Technology G6DPMM - Lecture 10 Analogue Video.
Multimedia Specification Design and Production 2012 / Semester 1 / L2 Lecturer: Dr. Nikos Gazepidis
Digital Images Chapter 8 Exploring the Digital Domain.
Multimedia Data Video Compression The MPEG-1 Standard
Fundamentals of video.
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.
Multimedia Basics (2) Hongli luo Fall 2010 CEIT, IPFW.
The Television Camera The television camera is still the most important piece of production equipment. In fact, you can produce and show an impressive.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 6: Video.
Lecture No. 3.  Screen resolution  Color  Blank space between the pixels  Intentional image degradation  Brightness  Contrast  Refresh rate  Sensitivity.
 Refers to sampling the gray/color level in the picture at MXN (M number of rows and N number of columns )array of points.  Once points are sampled,
Computer Science 631 Lecture 7: Colorspace, local operations
VIDEO FORMATS Prof Oakes. Compression CODECS COMPRESSOR/DECOMPRESSOR A codec provides specific instructions on how to compress video to reduce its size,
© 1999 Rochester Institute of Technology Introduction to Digital Imaging.
ITBIS351 Multimedia Systems and Hypermedia Yaqoob Al-Slaise
Computer Graphics Lecture 04 Fasih ur Rehman. Last Class Overview of Graphics Systems – Display Devices Colors and colored displays Raster displays and.
Video Video.
DIGITAL Video. Video Creation Video captures the real world therefore video cannot be created in the same sense that images can be created video must.
Color in image and video Mr.Nael Aburas. outline  Color Science  Color Models in Images  Color Models in Video.
Control room High resolution flat screen monitors CCD image intensifiers are easily identified by their shape A modern fluoroscopic suite.
1 CP586 © Peter Lo 2003 Multimedia Communication Video Fundamentals.
1 COMS 161 Introduction to Computing Title: Digital Images Date: November 12, 2004 Lecture Number: 32.
Ch5: TELEVISION.
What Exactly is Television?  A process of transmitting images through a signal from one place or another.
DIGITAL CAMERAS Prof Oakes. Overview Camera history Digital Cameras/Digital Images Image Capture Image Display Frame Rate Progressive and Interlaced scans.
March 2004 Charles A. DiMarzio, Northeastern University ECEG287 Optical Detection Course Notes Part 15: Introduction to Array Detectors Profs.
Lecture 7: Intro to Computer Graphics. Remember…… DIGITAL - Digital means discrete. DIGITAL - Digital means discrete. Digital representation is comprised.
Computer Vision Introduction to Digital Images.
CCD Imaging in amateur & professional astronomy What is a CCD?
Sounds of Old Technology IB Assessment Statements Topic 14.2., Data Capture and Digital Imaging Using Charge-Coupled Devices (CCDs) Define capacitance.
University of Kurdistan Digital Image Processing (DIP) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Digital Video Digital video is basically a sequence of digital images  Processing of digital video has much in common with digital image processing First.
Visual Computing Computer Vision 2 INFO410 & INFO350 S2 2015
Inside the Digital Camera. Digital Camera Cross Section The digital camera is a complex device The only part that is the same as film cameras is the lens.
ISAN-DSP GROUP Digital Image Fundamentals ISAN-DSP GROUP What is Digital Image Processing ? Processing of a multidimensional pictures by a digital computer.
1 Basics of Video Multimedia Systems (Module 1 Lesson 3) Summary: r Types of Video r Analog vs. Digital Video r Digital Video m Chroma Sub-sampling m HDTV.
Chapter 5 Fundamental Concepts in Video
Fundamental concepts in video
Electronics Lecture 5 By Dr. Mona Elneklawi.
CSI-447 : Multimedia Systems
EXPLAINING PICTURE FORMATION SYSTEM
Chapter I, Digital Imaging Fundamentals: Lesson II Capture
Chapter 6: Video.
Signals and Systems Networks and Communication Department Chapter (1)
COMS 161 Introduction to Computing
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Faculty of Science Information Technology Safeen Hasan Assist Lecturer
Presentation transcript:

1 Computer Science 631 Lecture 5: From photons to pixels Ramin Zabih Computer Science Department CORNELL UNIVERSITY

2 Outline n Today's lesson: cameras were designed to make pictures that look good to humans Not to hook up to computers! n The relationship between photons and pixels has lots of quirks n We’ll look at black and white (grayscale) cameras first n Color has all these headaches And a few more besides!

3 What is a camera? n Important parts: a lens, and an imaging array The job of the lens is to focus light on the imaging array –That’s all we will say about lenses in CS631 The imaging array is a 2-D array of imaging elements By far the most common kind is a Charge-Coupled Device (CCD) –Trivia question: who invented it?

4 CCD arrays n A CCD captures photons and turns them into electrical charge As long as the photons are in a certain range of energies (wavelength) Visible light is about nanometers –1 nanometer = meter You might think that a CCD counts the number of photons, and the intensity of that CCD’s pixel reflects this count straightforwardly –You’d be wildly optimistic…

5 CCD’s come in various flavors n Few main manufacturers Philips, Sony Standard physical sizes –1/2 or 1/3 inch Standard resolutions –768 by 494 (good) to around 300 by 300 (cheap) –Individual cells are under 10 microns on a side n Digital cameras are causing new types to be built

6 Problem: different responses n CCD’s have a non-linear response to light at different frequencies So does the human visual system –About which more later The non-linear responses are different Cameras thus “see” quite differently than people –Obviously, it’s fairly similar or they wouldn’t be very useful For example, CCD’s tend to be quite sensitive to sunlight

7 Human response curve

8 Typical camera response curve

9 Reading the output of a CCD n CCD values themselves are corrupted by noise due to (e.g. thermal effects) n The process by which CCD values are read out introduces further anomalies One row at a time is read out by repeated shifting (bucket brigade style) This does a certain amount of left-right averaging

10 Cameras transmit pictures in analog format n A CCD is basically a digital device Various manufacturers are looking into hooking them up to computers in a purely digital manner The major issue is bandwidth n To get from a (digital) CCD to a (digital) computer, we go through an analog stage The world of video is fundamentally an analog world TV special effects used to be analog!

11 Digitization general issues n An analog signal specifies voltage as a function of time - both continuous! We need to discretize both quantities Video is read out as a sequence of rows (scan lines) A digitizer samples an individual scan line some number of times –Generally not synchronized with the CCD’s –Expensive cameras and digitizers can solve this problem using a pixel clock (camera output, digitizer input)

12 Analog television standards n Televisions draw pictures very strangely Take advantage of some peculiarities of the human visual system The analog standard are designed to drive televisions, and not for any other purpose US standard is NTSC, sometimes called RS-170 –60 hertz, sort of… –Europe uses PAL or SECAM 50 hertz

13 Interlacing n 60 times a second an NTSC signal sends a picture called a field The fields alternate, even and odd Two consecutive fields make up a frame n The even and odd fields are quite different Temporally, off by 1/60 second –Significant things happen in 1/60 of a second! Spatially shifted as well!

14 Even versus odd fields n Think of the even frame as consisting of the even rows from the CCD array While the odd frame consists of the odd rows This yields some very weird effects when you look closely at the two fields From a digital processing point of view, it’s usually best to simply ignore one field –Drop half the data on the floor Analog users like interlacing, digital prefer “progressive scan”

15 Interlacing example: swinging pendulum

16 A real example of interlacing

17 Interlacing and CCD’s n The real story is actually worse than this A line in a single field does not correspond to a row of CCD’s Line 0 (even field) is the average of rows 0 and 1 Line 1 (odd field) is the average of rows 1 and 2 Line 2 (even field) is the average of rows 2 and 3 This effectively does vertical averaging

18 The NTSC standard n NTSC is an analog standard Describes voltage as a function of time Timing information is a value below the lowest allowed pixel value (blacker than back) There is a timing signal, horizontal sync, at the end of each line that says that the line is over Similarly, there is a timing signal vertical sync that says the last row is over

19 Hiding information in an NTSC signal n There is room to transmit additional information besides the signal And still obey the NTSC standard! n For example, a scan line lasts 64 microseconds, but there is only 52 microseconds of data n Similarly there is room “between” frames After the vsync, before the first row of the next field

20 Square pixels n NTSC specifies 483 lines per frame per field Televisions have a 4:3 aspect ratio n If we sample a line 644 times, a pixel will have the same aspect ratio as the picture n What about synchronization with the individual CCD elements?

21 Analog video formats (ways to store NTSC) n Critical difference is the number of samples per line VHS is 240, which is why it looks so bad Regular 8 is 300 Super VHS is Hi-8 is 425, which is about laserdisk also Beta-SP is 500+ n There are also a bunch of digital formats used by studios (like D-1)

22 Never Twice the Same Color n Color is encoded in an NTSC signal in a manner that is too EE-like to explain Essentially to allow black and white TV’s to be happy with color signals One consequence is that color information is spatially low-pass filtered –This makes some sense, because the human visual system is not spatially accurate about color –Example: colorized movies