1 COMS 161 Introduction to Computing Title: Digital Images Date: November 12, 2004 Lecture Number: 32.

Slides:



Advertisements
Similar presentations
Pixels and Digital Images Yrd. Doc. Dr. Ahmet Sayar Kocaeli Universitesi Bilgisayar Muhendisligi Ileri Bilgisayar Grafikleri.
Advertisements

Video We will consider how electronic pictures (monochrome) are made up. Consider some important characteristics of electronic images. See how image are.
C HAPTER 18: E LECTRONIC S PECIAL E FFECTS. V OCABULARY : Chromakey: Type of key effect where a specific color can be blocked from the key camera’s input.
Digital Imaging and Image Analysis
Bit Depth and Spatial Resolution SIMG-201 Survey of Imaging Science © 2002 CIS/RIT.
School of Computing Science Simon Fraser University
Bits are Not just for Numbers Computers store characters as bits or binary digits. Characters from the English-language keyboard are represented in ASCII.
Media: Digital Image. Representing Digital Images ● Pixel ● Resolution ● Aspect ratio.
Vector vs. Bitmap SciVis V
V Obtained from a summer workshop in Guildford County July, 2014
Representing Images. Goals for Image Representation digitization & resolution digitization & resolution representing color representing color color depth.
WHAT IS IT AND WHY SHOULD I CARE? 2.0.  GRAPHICS  Draw-type graphics (also called vector graphics) represent an image as a geometric shape made up of.
1 Internet Graphics. 2 Representing Images  Raster Image: Images consist of “dots” of color, not lines  Pixel: Picture element-tiny rectangle  Resolution:
Digital Image Characteristic
Visual Representation of Information
HBCU-CUL Digital Imaging Workshop, November 2005
The Digital Image.
Digital Images Chapter 8 Exploring the Digital Domain.
Department of Physics and Astronomy DIGITAL IMAGE PROCESSING
Multimedia def. Many forms Multimedia Text Hyperlinks Images Audio Animation Video Text Hyperlinks Images Audio Animation Video.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
Objective Understand concepts used to create digital graphics. Course Weight : 15% Part Three : Concepts of Digital Graphics.
 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,
Vector vs. Bitmap
Resolution = the number of photosites (pixels) in the array of your sensor or the total number of buckets Bit Depth / Pixel Depth.
IT-101 Section 001 Lecture #7 Introduction to Information Technology.
Chapter 1 INTRODUCTION TO IMAGE PROCESSING Section – 1.2.
© 1999 Rochester Institute of Technology Introduction to Digital Imaging.
Images The Science of Images What is an Image on the computer? The Psychology of Images What do we use images for? What effect color has on our mood and.
Agenda Last class: Memory, Digitizing Numbers Today: Digitizing: Text
Chapter 1. Introduction. Goals of Image Processing “One picture is worth more than a thousand words” 1.Improvement of pictorial information for human.
Resolution = the number of photosites (pixels) in the array of your sensor or the total number of buckets Bit Depth / Pixel Depth.
A Simple Image Model Image: a 2-D light-intensity function f(x,y)
Digital Imaging. Digital image - definition Image = “a two-dimensional function, f(x,y), where x and y are spatial coordinates, and the amplitude of f.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
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.
Multimedia. What is a graphic?  A graphic can be a: Chart Drawing Painting Photograph Logo Navigation button Diagram.
Digital Imaging Fundamentals Ms. Hema C.R. School of Mechatronic Engineering.
Image Processing Ch2: Digital image Fundamentals Prepared by: Tahani Khatib.
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
Chapter 1 Background 1. In this lecture, you will find answers to these questions Computers store and transmit information using digital data. What exactly.
CS 101 – Sept. 14 Review Huffman code Image representation –B/W and color schemes –File size issues.
8 Graphics Digital Media I. What is a graphic? A graphic can be a:  Chart  Drawing  Painting  Photograph  Logo  Navigation button  Diagram.
HOW SCANNERS WORK A scanner is a device that uses a light source to electronically convert an image into binary data (0s and 1s). This binary data can.
Bitmap Graphics Graphics. Graphics L2 Bitmap Graphics Learning Objectives Understand how a bitmap graphic is made up of individual pixels Understand that.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Guilford County SciVis V104.03
infinity-project.org Engineering education for today’s classroom Outline Images Then and Now Digitizing Images Design Choices in Digital Images Better.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Graphics Basic Concepts 1.  A graphic is an image or visual representation of an object.  A visual representation such as a photo, illustration or diagram.
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging 1 GGC -- ITEC Digital Media.
Images Data Representation.
Graphics and image data representation
Computer Graphics Lecture 3 Computer Graphics Hardware
Sampling, Quantization, Color Models & Indexed Color
Binary Representation in Audio and Images
How to Convert Pictures into Numbers
Chapter I, Digital Imaging Fundamentals: Lesson II Capture
Chapter I Digital Imaging Fundamentals
Image quantization By Student Manar naji. quantization The values obtained by sampling a continuous function usually comprise of an infinite set or.
Digital Images.
LET’S LEARN ABOUT GRAPHICS!
COMS 161 Introduction to Computing
Images in Binary.
Representing Images 2.6 – Data Representation.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
COMS 161 Introduction to Computing
Visuals are analog signals...
Creating an Image Using a Text File
Presentation transcript:

1 COMS 161 Introduction to Computing Title: Digital Images Date: November 12, 2004 Lecture Number: 32

2 Announcements

3 Review Real numbers –Limitations

4 Outline The nature of images –Natural vs. artificial images How digital images are –Organized –Created –Stored –Processed

5 The Nature of Images Natural images –From common, analog sources Photos, drawings, paintings, TV, movies, etc. –Must be digitized for use with a computer Artificial images –Generated digitally

6 Representing Digital Images Natural images (such as a photograph, a frame of a video, etc.) typically consist of continuous or analog signals Digital images are composed of pixels (picture elements) For use in a computer, natural images must be digitized

7 Example of Digitization Consider a photograph of a penny –Pretend that this is a photograph To use this image in a computer, it must first be digitized

8 Example of Digitization The first step in digitizing this natural image is sampling This image is partitioned (sampled) into a 50×50 square grid of pixels The picture resolution of this digitized image will thus be 50×50

9 Example of Digitization An image’s aspect ratio is the ratio of the number of horizontal pixels to the number of vertical pixels –This 50×50 grid has an aspect ratio of 1:1 –Most computer screens are 1.33:1 (640×480, 1024×768, etc.) –Std. TV is 4:3 (or 1.33:1) –HDTV is 16:9 (or 1.78:1)

10 Example of Digitization The second step in digitizing the image is quantizing the pixels For each pixel, an average color is calculated This resolution (50×50) is ‘clearly’ insufficient to represent the detail of the original image

11 Resolution Picture resolution is a trade-off between image quality and file size This digitized image has a resolution of 272×416 –Minimum file size is then (272×416) × (bytes/pixel) –For 256 colors (one byte per pixel), minimum file size would be (272×416) × (1) = KB –For 16 million colors (3 bytes/pixel), it would be 331 KB

12 Resolution With the resolution reduced to 136×208, the picture loses detail File size is reduced to: –28.3 KB for 256 colors –84.8 KB for 16 million colors

13 Resolution With the resolution further reduced to 68×104, the picture becomes almost unrecognizable File size is greatly reduced to: –7.1 KB for 256 colors –21.2 KB for 16 million colors With large pictures and high color requirements, file size becomes very important –Digital cameras can easily create single pictures larger than 1 MB

14 Quantizing Digital Images Imagine a simple image: a bright object on a dark background Sample the image as before Consider just a single row of pixels across the center

15 Quantizing Digital Images Assign number values to the pixels: 0 = ‘black’ 1 = ‘white’ Plot the values of the pixels on the center row With this image, we only need two “colors”, black and white

16 Dynamic Range Most pictures are more complex than just black and white To adequately represent an image, we need enough levels of quantization to achieve the desired picture quality The range of values chosen for quantization is called the dynamic range of the digitized image

17 Dynamic Range Max value – min value Typically it is a power of 2 –256 gray values = 2 8, 8 bits / pixel How large should a dynamic range be? –Science says we can only distinguish between 40 different shades of gray!!

18 Dynamic Range Example This is a grayscale image quantized to 256 levels of gray –0 = ‘black’ –127 = ‘medium (50%) gray’ –255 = ‘white’ Dynamic range is sufficient for use in this presentation –Clear detail in highlights and shadows

19 Dynamic Range Example The same image, now quantized to 16 levels –0 = ‘black’ –7 = ‘medium (50%) gray’ –15 = ‘white’ Dynamic range is acceptable –Detail somewhat reduced in highlights and shadows –False contours becoming apparent (especially on chin and cheeks)

20 Dynamic Range Example The same image, now quantized to 4 levels –0 = ‘black’ –1 = ‘dark (67%) gray’ –2 = ‘light (33%) gray’ –3 = ‘white’ Dynamic range is marginal –Detail severely reduced –Shadows flattened –Extreme false contouring

21 Dynamic Range Example The same image, now quantized to 2 levels –0 = ‘black’ –1 = ‘white’ Dynamic range is unacceptable –Detail almost gone –But, this may be a desirable artistic effect

22 Dynamic Range Example