© 1999 Rochester Institute of Technology Introduction to Digital Imaging.

Slides:



Advertisements
Similar presentations
1 Chapter 2 The Digital World. 2 Digital Data Representation.
Advertisements

Eee116j1 1 Digital Information Engineering Science EEE116J1 Prof Paul Maguire w.
Digital Imaging and Image Analysis
1 DIGITAL RADIOGRAPHY. 2 Digital Radiography A “filmless” imaging system introduced in 1987 Digital radiography uses an electronic sensor, instead of.
HOW A SILICON CHIP CAPTURES AN IMAGE
Chapter 10 Digital Imaging: Capture. Digital imaging – electronically producing, viewing, or reproducing an image Pixel – a square with a uniform brightness.
DIGITAL IMAGE PROCESSING CMSC 150: Lecture 14. Conventional Cameras  Entirely chemical and mechanical processes  Film: records a chemical record of.
Bit Depth and Spatial Resolution SIMG-201 Survey of Imaging Science © 2002 CIS/RIT.
The eyes have three different kinds of color receptors; One kind is most sensitive to short wavelengths, one to middle wavelengths, and one to long wavelengths.
Capturing and optimising digital images for research Gilles Couzin.
Color Mixing There are two ways to control how much red, green, and blue light reaches the eye: “Additive Mixing” Starting with black, the right amount.
Bits are Not just for Numbers or Characters Computers store characters as bits or binary digits. Characters from the English-language keyboard can be represented.
Bits are Not just for Numbers Computers store characters as bits or binary digits. Characters from the English-language keyboard are represented in ASCII.
Imaging Science Fundamentals
Digital Imaging. What Is A Digital Image? A digital image is an array of numbers laid out in a grid. Each array element is known as a “pixel” or picture.
March 2006Taner Erig - EMU2-1 Metamorphosis of Information How is information represented and how do computers store information?
Digital Images The nature and acquisition of a digital image.
Digital Technology 14.2 Data capture; Digital imaging using charge-coupled devices (CCDs)
CS110: Computers and the Internet Color and Image Representation.
Visual Representation of Information
Photographics 10 Introduction to Digital Photography
Digital Images The digital representation of visual information.
Higher Computing Data Representation.
Color Names All standards-compliant browsers should handle these color names These color names can be used with the CSS properties of color and background-color.
Technology and digital images. Objectives Describe how the characteristics and behaviors of white light allow us to see colored objects. Describe the.
CSCI-235 Micro-Computers in Science Hardware Part II.
Georgia Institute of Technology Introduction to Media Computation Barb Ericson Georgia Institute of Technology May 2006.
© 1999 Rochester Institute of Technology Color. Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Color Images.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
07: Color in Interactive Digital Media
COSC 1P02 Intro. to Computer Science 6.1 Cosc 1P02 Week 6 Lecture slides "To succeed, jump as quickly at opportunities as you do at conclusions." --Benjamin.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Data Representation Int 2 Computing Unit 1 – Computer Systems St Kentigern’s Academy.
Chapter 2 Computer Hardware
Foundations of Computer Science Computing …it is all about Data Representation, Storage, Processing, and Communication of Data 10/4/20151CS 112 – Foundations.
Images Data Representation. Objectives  Understand the terms bitmap & pixel  Understand how bitmap images are stored using binary in a computer system.
Logical Circuit Design Week 2,3: Fundamental Concepts in Computer Science, Binary Logic, Number Systems Mentor Hamiti, MSc Office: ,
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.
Digital Cameras, Digital Video and Scanners Vince DiNoto
Imaging Science FundamentalsChester F. Carlson Center for Imaging Science.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
1 COMS 161 Introduction to Computing Title: The Digital Domain Date: September 6, 2004 Lecture Number: 6.
Computer Vision Introduction to Digital Images.
How digital cameras work The Exposure The big difference between traditional film cameras and digital cameras is how they capture the image. Instead of.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Digital Imaging Fundamentals Ms. Hema C.R. School of Mechatronic Engineering.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
Intelligent Robotics Today: Vision & Time & Space Complexity.
Fundamentals of Digital Images & Photography. Pixels & Colors The pixel (a word invented from "picture element") is the basic unit of programmable color.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
Information in Computers. Remember Computers Execute algorithms Need to be told what to do And to whom to do it.
infinity-project.org Engineering education for today’s classroom Outline Images Then and Now Digitizing Images Design Choices in Digital Images Better.
An Introduction to Digital Image Processing Dr.Amnach Khawne Department of Computer Engineering, KMITL.
Digital Cameras A digital camera ( or digital) is a camera that takes video or still photographs, or both, digitally by recording images by an electronic.
Digital Image -M.V.Ramachandranwww.youtube.com/postmanchandru
Unit 1 The History of Photography & The Camera
Images Data Representation.
Data Representation Images.
Image Processing Objectives To understand pixel based image processing
Data Representation.
Binary 4 File Sizes.
Intermediate 2 Computing
Chapter I Digital Imaging Fundamentals
Representing Images 2.6 – Data Representation.
Summer Term Year 10 Slides
Chapter Four Data Representation in Computers By Bezawit E.
Visuals are analog signals...
WJEC GCSE Computer Science
Presentation transcript:

© 1999 Rochester Institute of Technology Introduction to Digital Imaging

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT What is a Digital Image? u Just an array of numbers!

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Pixel u Each picture element in the array is called a pixel. u Each pixel is represented by a number The “32” could represent a color, or a gray level

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Capturing Images u How do we capture images digitally?

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Traditional vs. Digital Photography Chemical processing Detector: Photographic film Digital processing Detector: Electronic sensor (CCD)

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Goal of Charge Coupled Device (CCD) u Capture electrons formed by interaction of photons with the silicon u Measure the electrons from each picture element as a voltage CCD Photons Electronic Signal

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Charge Coupled Device (CCD) u CCD chip replaces silver halide film u No wet chemistry processing u Image available for immediate feedback

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Magnified View of a CCD Array Individual pixel element Close-up of a CCD Imaging Array CCD

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Charge Coupled Device (CCD) u Lens projects image onto the CCD u CCD ‘samples’ the image, creating different voltages based on the amount of light at each pixel u Voltages are converted to digital signals and stored

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Spatial Sampling u When a scene is imaged onto the CCD by the lens, the continuous image is ‘sampled’ and divided into discrete picture elements, or ‘pixels’ Scene Grid over sceneSpatially sampled scene

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Quantization u The spatially sampled image is then converted into an ordered set of integers (0, 1, 2, 3, …) according to how much light fell on each element Spatially sampled scene Numerical representation

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Basic structure of CCD Divided into small elements called pixels (picture elements). preamplifier ImageCaptureArea Shift Register Voltage out Columns Rows

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Fundamentals: Digital Images u A digital image is an ordered collection of numbers u To be useful, the collection of numbers must be in a known, pre-defined format. u The rules of English let us ‘parse’ letters into words Introductiontodigitalimagingforgearupstudentsfromnewyork

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Fundamentals: Digital Images u There is no ‘universal rule’ to decode the string of 0s and 1s in a digital file into an image u Image Formats provide the definitions that allow a string of numbers to be understood as an image

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Fundamentals: Digital Images u Once we know the format, each number can be read and used to describe the lightness or color of a specific picture element (“pixel”)

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Image quality factors u Two major factors which determine image quality are: u Bit depth -- controlled by number of colors or grey levels allocated for each pixel u Spatial resolution -- controlled by spatial sampling. u Increasing either of these factors results in a larger image file size, which requires more storage space and more processing/display time.

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Fundamentals: Digital Images u The simplest kind of digital image is known as a “binary image” because the image contains only two ‘colors’ - white and black

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Binary Images u Because binary images contain only two colors, we can encode the image using just two numbers, for example: u 0 = black u 1 = white

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 2 shades of gray

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 4 shades of gray

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 8 shades of gray

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 16 shades of gray

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 32 shades of gray

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 256 shades of gray

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Bit depth: bits per pixel u The number of possible gray levels is controlled by the number of bits/pixel, or the ‘bit depth’ of the image gray levels Bit depth; bits/pixel

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Digital images: Fundamentals u A digital image is an ‘ordered array of numbers’ u Each pixel (picture element) in a grayscale digital image is a number that describe the pixel’s lightness (e.g., 0 = black 255 = white)

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Color Images u In most cases, we also want to capture color information u The way that we capture, store, view, and print color digital images is based on the way that humans perceive color

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Color Perception u The eyes have three different kinds of color receptors (‘cones’); one type each for blue, green, and red light. u Color perception is based on how much light is detected by each of the three ‘primary’ cone types (red, green, and blue)

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Color Perception u Because we have three kinds of cones, every color that we can see can be made up by combining red, green, and blue light - the three “additive primaries”

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Additive Color Mixing: u Mixing the three additive primaries together is known as “additive mixing” to distinguish it from mixing paints or dyes (“subtractive mixing”)

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Additive Color Mixing: u Remember that we are discussing “additive color mixing.” The mixing happens in the visual system, not on the screen. u You can verify this by examining a TV or computer screen at high magnification. Color monitors and LCD displays only make red, green, and blue light. All other colors are synthesized in the visual system.

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Additive Color Mixing: u By recording and playing back the amount of Red, Green, and Blue at each pixel, a digital camera can capture the colors in a scene.

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT RGB Color Images u Each one of the color images (‘planes’) is like a grayscale image, but is displayed in R, G, or B = u The most straightforward way to capture a color image is to capture three images; one to record how much red is at each point, another for the green, and a third for the blue.

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT RGB Color Images u To capture a color image we record how much red, green, and blue light there is at each pixel. u To view the image, we use a display (monitor or print) to reproduce the color mixture we captured. Q) How many different colors can a display produce? A) It depends on how many bits per pixel we’ve got. For a system with 8 bits/pixel in each of the red, green, and blue (a ‘24-bit image’):

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT RGB Color Images: 24-bit color u Every pixel in each of the three 8-bit color planes can have 256 different values (0-255) u If we start with just the blue image plane, we can make 256 different “colors of blue” 0 255

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT RGB Color Images: 24-bit color u Every pixel in each of the three 8-bit color planes can have 256 different values (0-255) u If we start with just the blue image plane, we can make 256 different “colors of blue” u If we add red (which alone gives us 256 different reds):

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT RGB Color Images: 24-bit color u Every pixel in each of the three 8-bit color planes can have 256 different values (0-255) u If we start with just the blue image plane, we can make 256 different “colors of blue” u If we add red (which alone gives us 256 different reds): u We can make 256 x 256 = 65,536 combination colors because for every one of the 256 reds, we can have 256 blues

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT RGB Color Images: 24-bit color for each one u When we have all three colors together, there are 256 possible values of green for each one of the 65,536 combinations of red and blue: u 256 x 256 x 256 = 16,777,216 (“> 16.7 million colors”)

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT RGB Color Images: 24-bit color u The numbers stored for each pixel in a color image contain the color of that pixel

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Color Image = Red + Green + Blue = u In a 24-bit image, each pixel has R, G, & B values u When viewed on a color display, the three images are combined to make the color image

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Bit Depth: Review u The color, or value of each pixel in an image is specified by a string of binary digits, or bits u The more bits available for each pixel, the greater the number of possible values each pixel can show: bits/pixelvalues ,777,216

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Image quality factors u Two major factors which determine image quality are: u Bit depth -- controlled by number of colors or grey levels allocated for each pixel u Spatial resolution -- controlled by spatial sampling. u Increasing either of these factors results in a larger image file size, which requires more storage space and more processing/display time.

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 25

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 49

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 64

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 100

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 169

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 400

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 841

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 1600

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 2500

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 10,000

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT 1,000,000

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT File Size Calculation 100 pixels Bit depth = 8 bits per pixel (256 gray levels) File size (in bits) = Height x Width x Bit Depth 100 x 100 x 8 bits/pixel = 80,000 bits/image 80,000 bits or 10,000 bytes u How much memory is necessary to store an image that is 100 x 100 pixels with 8 bits/pixel?

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT File Size Calculation 1280 pixels 960 pixels Bit depth = 24 bits per pixel (RGB color) File size (in bits) = Height x Width x Bit Depth 960 x 1280 x 8 bits/pixel = 29,491,200 bits/image 29,491,200 bits = 3,686,400 bytes = 3.5 MB u How much memory is necessary to store an image that is 1280 x 960 pixels with 24 bits/pixel?

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Computer Memory & Storage u Unlike analog instruments (and people) that work with continuously variable signals, computers are inherently binary systems u Instead of ten distinct values (a decimal system), computers use only two values, e.g., u RAM memory: 0 or +5 volts u Disk drives: N or S magnetization u CD/DVD-ROM: ‘land’ or ‘pit’ u By convention, binary digits (bits) are labeled ‘0’ & ‘1’

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Binary Arithmetic u In binary arithmetic, we can only count from 0 to 1 with a single bit, giving two different values binary decimal 1 bit

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Binary Arithmetic u In binary arithmetic, we can only count from 0 to 1 with a single bit, giving two different values. u To get more than two values, we have to increase the number of bits. With two bits it is possible to count from 0 through 3 (decimal), giving four different values binary decimal bit 2 bits

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Binary Arithmetic u Each added bit allows us to double the number of values we can represent with a binary number. u The number of values that can be represented is given by 2 N bits e.g., 4 bits provides 2 4 = 16 different values u A bit is a value, a position, and an amount of information binary decimal 1 bit 2 bits 3 bits 4 bits

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Computer Memory & Storage u Because of the internal design of early computers, 8 bits were grouped together and called a ‘byte’ 8 bits  1 byte u One byte can represent any one of ( 2 8 = 256) different values;  (binary) 0  255 (decimal)

Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Computer Memory & Storage u 1 bit (‘binary digit’) u 1 byte = 8 bits u 1 kilobyte (KB) = 1,024 bytes (2 10 = 1024) (  1,000 bytes) u 1 megabyte (MB) = 1,048,576 bytes ( 2 20 ) (  1,000,000 bytes) u 1 gigabyte (GB) = 1,073,741,824 bytes ( 2 30 ) (  1,000,000,000 bytes)