What is an image? Images and Displays. Representative display technologies. An image is:

Similar documents
Images and Displays. CS4620 Lecture 15

Images and Displays. Lecture Steve Marschner 1

Images and Display. Computer Graphics Fabio Pellacini and Steve Marschner

Images. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 38

Raster Images and Displays

Fundamentals of Multimedia

BBM 413 Fundamentals of Image Processing. Erkut Erdem Dept. of Computer Engineering Hacettepe University. Point Operations Histogram Processing

BBM 413 Fundamentals of Image Processing. Erkut Erdem Dept. of Computer Engineering Hacettepe University. Point Operations Histogram Processing

BBM 413! Fundamentals of! Image Processing!

Image Representations, Colors, & Morphing. Stephen J. Guy Comp 575

Color. Chapter 6. (colour) Digital Multimedia, 2nd edition

CD: (compact disc) A 4 3/4" disc used to store audio or visual images in digital form. This format is usually associated with audio information.

CS 450: COMPUTER GRAPHICS REVIEW: RASTER IMAGES SPRING 2016 DR. MICHAEL J. REALE

WORKING WITH COLOR Monitor Placement Place the monitor at roughly right angles to a window. Place the monitor at least several feet from any window

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06

Digital Images. CCST9015 Oct 13, 2010 Hayden Kwok-Hay So

Digital Images. Back to top-level. Digital Images. Back to top-level Representing Images. Dr. Hayden Kwok-Hay So ENGG st semester, 2010

ENGG1015 Digital Images

Chapter 3 Graphics and Image Data Representations

Image and Video Processing

Adobe Photoshop PS2, Part 3

Image Processing. Michael Kazhdan ( /657) HB Ch FvDFH Ch. 13.1

raw format format for capturing maximum continuous-tone color information. It preserves all information when photograph was taken.

IMAGE SIZING AND RESOLUTION. MyGraphicsLab: Adobe Photoshop CS6 ACA Certification Preparation for Visual Communication

Course Objectives & Structure

CPSC 4040/6040 Computer Graphics Images. Joshua Levine

Chapter 4. Incorporating Color Techniques

Lecture 9: Digital Images

Digital Imaging and Image Editing

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology

Human Vision, Color and Basic Image Processing

The worlds we live in. The worlds we live in

Chapter 11. Preparing a Document for Prepress and Printing Delmar, Cengage Learning

12 Color Models and Color Applications. Chapter 12. Color Models and Color Applications. Department of Computer Science and Engineering 12-1

Raster (Bitmap) Graphic File Formats & Standards

DIGITAL IMAGING FOUNDATIONS

Photoshop 01. Introduction to Computer Graphics UIC / AA/ AD / AD 205 / F05/ Sauter.../documents/photoshop_01.pdf

Computer Graphics: Graphics Output Primitives Primitives Attributes

Chapter 8. Representing Multimedia Digitally

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

Photoshop Domain 2: Identifying Design Elements When Preparing Images

CHAPTER 3 I M A G E S

Byte = More common: 8 bits = 1 byte Abbreviation:

Screening Basics Technology Report

The Technology of Duotone Color Transformations in a Color Managed Workflow

Chapter 3 Graphics and Image Data Representations

SCANNING GUIDELINES Peter Thompson (rev. 9/21/02) OVERVIEW

Color Reproduction. Chapter 6

CS 262 Lecture 01: Digital Images and Video. John Magee Some material copyright Jones and Bartlett

19 Setting Up Your Monitor for Color Management

Raster Graphics. Overview קורס גרפיקה ממוחשבת 2008 סמסטר ב' What is an image? What is an image? Image Acquisition. Image display 5/19/2008.

קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור

QUICK START (See following pages for detailed instructions.)

Colors in Images & Video

6. Graphics MULTIMEDIA & GRAPHICS 10/12/2016 CHAPTER. Graphics covers wide range of pictorial representations. Uses for computer graphics include:

Topic 3: Output Devices

CS101 Lecture 19: Digital Images. John Magee 18 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

CS 547 Digital Imaging Lecture 2

05 Color. Multimedia Systems. Color and Science

CS 465 Prelim 1. Tuesday 4 October hours. Problem 1: Image formats (18 pts)

Digital Imaging Rochester Institute of Technology

Additive Color Synthesis

Image Representation and Processing

3.1 Graphics/Image age Data Types. 3.2 Popular File Formats

Image Processing Computer Graphics I Lecture 20. Display Color Models Filters Dithering Image Compression

Digital Images. Digital Images. Digital Images fall into two main categories

Mahdi Amiri. March Sharif University of Technology

In order to manage and correct color photos, you need to understand a few

1 Li & Drew c Prentice Hall Li & Drew c Prentice Hall 2003

Lecture 8. Color Image Processing

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University

Lecture 3: Grey and Color Image Processing

4 Images and Graphics

Printing Devices. Lecture 10. Older Printing Devices. Ink Jet Printer. Thermal-Bubble Ink Jet Printer. Plotter. Dot Matrix Printer

Image processing. Image formation. Brightness images. Pre-digitization image. Subhransu Maji. CMPSCI 670: Computer Vision. September 22, 2016

Image Perception & 2D Images

Camera Image Processing Pipeline: Part II

15110 Principles of Computing, Carnegie Mellon University

The worlds we live in. The worlds we live in

H34: Putting Numbers to Colour: srgb

UNIT III - LINE AND HALFTONE PHOTOGRAPHY

Computers and Imaging

Color Science. What light is. Measuring light. CS 4620 Lecture 15. Salient property is the spectral power distribution (SPD)

Computer Graphics. Si Lu. Fall er_graphics.htm 10/02/2015

Camera Image Processing Pipeline: Part II

Understanding Image Formats And When to Use Them

18 1 Printing Techniques. 1.1 Basic Printing Techniques

Using Adobe Photoshop

Digital imaging requirements for offset print

PHOTOSHOP. pixel based image editing software (pixel=picture element) several small dots or pixels make up an image.

Chapter 2 Fundamentals of Digital Imaging

Digital Art Requirements for Submission

Printing Technology. Lecture 14 October 8, 2015 Imaging in the Electronic Age Donald P. Greenberg

Adding Dimension to Your Monochrome Images

excite the cones in the same way.

Image Processing COS 426

Digital Imaging & Photoshop

Prof. Feng Liu. Fall /04/2018

Q A bitmap file contains the binary on the left below. 1 is white and 0 is black. Colour in each of the squares. What is the letter that is reve

Welcome Back to Fundamentals of Multimedia (MR412) Fall, 2012 Chapter 3. ZHU Yongxin, Winson

Transcription:

What is an image? Images and Displays A photographic print A photographic negative? This projection screen Some numbers in RAM? CS465 Lecture 2 2005 Steve Marschner 1 2005 Steve Marschner 2 An image is: A 2D distribution of intensity or color A function defined on a two-dimensional plane Note: no mention of pixels yet To do graphics, must: represent images encode them numerically display images realize them as actual intensity distributions Representative display technologies Computer displays Raster CRT display LCD display Printers Laser printer Inkjet printer 2005 Steve Marschner 3 2005 Steve Marschner 4

Cathode ray tube Raster CRT display First widely used electronic display Scan pattern fixed in display hardware developed for TV in the 1920s 1930s Intensity modulated to produce image [H&B fig. 2-2] Originally for TV (continuous analog signal) For computer, intensity determined by contents of framebuffer [H&B fig. 2-7] 2005 Steve Marschner 5 2005 Steve Marschner 6 LCD flat panel or projection display Raster display system Principle: block or transmit light by twisting its polarization Intermediate intensity levels possible by partial twist Fundamentally raster technology Fixed format [H&B fig. 2-16] Screen image defined by a 2D array in RAM for CRT, read out and convert to analog in sync with scan In most systems today, it s in a separate memory The memory area that maps to the screen is called the frame buffer [H&B fig. 2-29] 2005 Steve Marschner 7 2005 Steve Marschner 8

Color displays Color displays Operating principle: humans are trichromatic match any color with blend of three therefore, problem reduces to producing 3 images and blending Additive color blend images by sum e.g. overlapping projection e.g. unresolved dots R, G, B make good primaries green yellow cyan white red blue magenta [cs417 S02 slides] CRT: phosphor dot pattern to produce finely interleaved color images LCD: interleaved R,G,B pixels [H&B fig. 2-10] 2005 Steve Marschner 9 2005 Steve Marschner 10 Laser printer Inkjet printer Xerographic process Liquid ink sprayed in small drops Like a photocopier but with laser-scanned raster as source image Key characteristics image is binary resolution is high very small, isolated dots are not possible [howstuffworks.com] very small measured in picoliters Head with many jets scans across paper Key characteristics: image is binary (drop or no drop; no partial drops) isolated dots are reproduced well [cs417 S02 slides] 2005 Steve Marschner 11 2005 Steve Marschner 12

Raster image representation All these devices suggest 2D arrays of numbers Big advantage: represent arbitrary images approximate arbitrary functions with increasing resolution works because memory is cheap (brute force approach!) Meaning of a raster image Meaning of a given array is a function on 2D Define meaning of array = result of output device? that is, piecewise constant for LCD, blurry for CRT but: we don t have just one output device but: want to use images we can t display (e.g. too big) Abstracting from device, problem is reconstruction image is a sampled representation pixel means this is the intensity around here LCD: intensity is constant over square regions CRT: intensity varies smoothly across pixel grid will discuss specifics of reconstruction later 2005 Steve Marschner 13 2005 Steve Marschner 14 Datatypes for raster images Datatypes for raster images Bitmaps: boolean per pixel (1 bpp): interp. = black and white; e.g. fax Grayscale: integer per pixel: interp. = shades of gray; e.g. black-and-white print precision: usually byte (8 bpp); sometimes 10, 12, or 16 bpp Color: 3 integers per pixel: interp. = full range of displayable color; e.g. color print precision: usually byte[3] (24 bpp) sometimes 16 (5+6+5) or 30 or 36 bpp indexed color: a fading idea Floating point: or more abstract, because no output device has infinite range provides high dynamic range (HDR) represent real scenes independent of display becoming the standard intermediate format in graphics processors Clipping and white point common to compute FP, then convert to integer full range of values may not fit in display s output range simplest solution: choose a maximum value, scale so that value becomes full intensity (2 n -1 in an n-bit integer image) 2005 Steve Marschner 15 2005 Steve Marschner 16

exposure: -8 stops image: Paul Debevec 2005 Steve Marschner 17 exposure: +0 stops image: Paul Debevec 2005 Steve Marschner 18 Datatypes for raster images For color or grayscale, sometimes add alpha channel describes transparency of images more on this in a few lectures exposure: +6 stops image: Paul Debevec 2005 Steve Marschner 19 without and with alpha [Adobe Photoshop sample] 2005 Steve Marschner 20

COLOR Storage requirements for images 1024x1024 image (1 megapixel) bitmap: 128KB grayscale 8bpp: 1MB grayscale 16bpp: 2MB color 24bpp: 3MB floating-point HDR color: 12MB Converting pixel formats Color to gray could take one channel (blue, say) leads to odd choices of gray value combination of channels is better but different colors contribute differently to lightness which is lighter, full blue or full green? good choice: gray = 0.2 R + 0.7 G + 0.1 B more on this in color, later on BLUE ONLY GRAY 2005 Steve Marschner 21 2005 Steve Marschner 22 Converting pixel precision Dithering Up is easy; down loses information be careful 8 7 bpp bpp 6 (256 (128 grays) 5 bpp (64 grays) 4 bpp bpp (32 grays) 3 (16 grays) 2 bpp (8 grays) 1 bpp bpp (4 grays) (2 grays) grays) When decreasing bpp, we quantize Make choices consistently: banding Instead, be inconsistent dither turn on some pixels but not others in gray regions a way of trading spatial for tonal resolution choose pattern based on output device laser, offset: clumped dots required (halftone) inkjet, screen: dispersed dots can be used 2005 Steve Marschner 23 2005 Steve Marschner 24

Dithering methods Ordered Dither example Ordered dither Produces regular grid of compact dots based on traditional, optically produced halftones produces larger dots Diffusion dither takes advantage of devices that can reproduce isolated dots the modern winner for desktop printing 2005 Steve Marschner 25 2005 Steve Marschner 26 Diffusion dither Intensity units in images Produces scattered dots with the right local density Say pixel value is 123 this means the intensity is 123. 123 what? look to devices to motivate definition transfer function of a display 100% like this? 0 0 255 2005 Steve Marschner 27 2005 Steve Marschner 28

Display transfer function Display transfer function (simulated) n = 64 n = 64 n = 128 n = 128 n = 192 n = 192 I = 0.25 I = 0.5 I = 0.75 I = 0.25 I = 0.5 I = 0.75 2005 Steve Marschner 29 2005 Steve Marschner 30 Intensity units in images Why nonlinear intensity? Say pixel value is 123 this means the intensity is 123. 123 what? look to devices to motivate definition transfer function of a display 100% usually more like this. like this? Original reason: CRTs are like that intensity on screen is proportional to voltage 2 Continuing reason: perceptual uniformity our eyes are sensitive to relative intensity differences this means we can see smaller steps in darker areas therefore we want to concentrate the available quantization levels towards the dark end of the scale for this reason gamma correction is important whenever storing low-precision integer pixel values 0 0 255 2005 Steve Marschner 31 2005 Steve Marschner 32

Why nonlinear intensity? Gamma correction ~0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 ~0.00 0.01 0.04 0.09 0.16 0.25 0.36 0.49 0.64 0.81 1.00 Sometimes (often, in graphics) we have computed intensities that we want to display linearly In the case of an ideal monitor with zero black level, (where N = 2 n 1 in n bits) so if we define we will get linear intensity out: Closer to ideal perceptually uniform exponential 2005 Steve Marschner 33 2005 Steve Marschner 34 Gamma correction corrected for lower than display OK corrected for higher than display 2005 Steve Marschner 35