CS 414 - Spring 2012 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2012.

Slides:



Advertisements
Similar presentations
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Advertisements

Digital Image Processing
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Color & Light, Digitalization, Storage. Vision Rods work at low light levels and do not see color –That is, their response depends only on how many photons,
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
COLORCOLOR A SET OF CODES GENERATED BY THE BRAİN How do you quantify? How do you use?
Color Image Processing
School of Computing Science Simon Fraser University
Digital Image Processing: Digital Imaging Fundamentals.
Display Issues Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
1 Perception. 2 “The consciousness or awareness of objects or other data through the medium of the senses.”
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Human Visual System 4c8 Handout 2. Image and Video Compression We have already seen the need for compression We can use what we have learned in information.
ECE 472/572 – Digital Image Processing Lecture 2 – Elements of Visual Perception and Image Formation 08/25/11.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2011.
Multimedia Specification Design and Production 2012 / Semester 1 / L2 Lecturer: Dr. Nikos Gazepidis
Image Processing Lecture 2 - Gaurav Gupta - Shobhit Niranjan.
Klara Nahrstedt Spring 2009
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 5 – Digital Video Representation Klara Nahrstedt Spring 2014.
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.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
© 1999 Rochester Institute of Technology Introduction to Digital Imaging.
Images, Sound, and Multimedia. No Surprises Images, Sound, Music, and Movies – It’s all numbers – Binary Numbers Today we’ll discuss how multimedia is.
.  Sensation: process by which our sensory receptors and nervous system receive and represent stimulus energy  Perception: process of organizing and.
VISION From Light to Sight. Objective To describe how the receptor cells for vision respond to the physical energy of light waves and are located in the.
Week 6 Colour. 2 Overview By the end of this lecture you will be familiar with: –Human visual system –Foundations of light and colour –HSV and user-oriented.
1 Lecture 1 1 Image Processing Eng. Ahmed H. Abo absa
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
Chapter 1. Introduction. Goals of Image Processing “One picture is worth more than a thousand words” 1.Improvement of pictorial information for human.
CIS 601 Image Fundamentals Longin Jan Latecki Slides by Dr. Rolf Lakaemper.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
Digital Image Processing Part 1 Introduction. The eye.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
Graphics Lecture 4: Slide 1 Interactive Computer Graphics Lecture 4: Colour.
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.
University of Kurdistan Digital Image Processing (DIP) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Introduction to Computer Graphics
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Image Perception ‘Let there be light! ‘. “Let there be light”
Structure of the Eye.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 4 – Audio and Digital Image Representation Klara Nahrstedt Spring 2010.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 19 – Multimedia Transport Subsystem (Part 2) + Midterm Review Klara Nahrstedt Spring 2014.
An Introduction to Digital Image Processing Dr.Amnach Khawne Department of Computer Engineering, KMITL.
Unit 4: Sensation & Perception
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Digital Video Representation Subject : Audio And Video Systems Name : Makwana Gaurav Er no.: : Class : Electronics & Communication.
MODULE #13: VISION. Vision Transduction: transformation of stimulus energy (light, sound, smells, etc.) to neural impulses our brains can interpret. Our.
CSE 185 Introduction to Computer Vision
Image Perception ‘Let there be light! ‘. “Let there be light”
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
The Visual Sense: Sight EQ: What is the process though which we see and how do we differentiate between different objects and types of motion?
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2014.
Color Models Light property Color models.
Color Image Processing
Color Image Processing
Color Image Processing
CIS 601 Image Fundamentals
Digital Image Fundamentals
Color Image Processing
CIS 595 Image Fundamentals
Color Image Processing
Digital Image Processing
Visuals are analog signals...
Presentation transcript:

CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2012

CS Spring 2012 Administrative Groups are formed and names have been sent to TSG and Barb Leisner We will inform you about group directories as soon as we have information from TSG

Administrative Leasing Process from Barb Leisner  Lease one Logitech camera - two cameras within one group to start MP1, and then for MP2/MP3.  Leasing process starts on January 25  Pick up the camera from Barb Leisner office, 2312 SC  Bring your student ID to sign for the camera  Each cs414 student is responsible for his/her own camera if you loose it (or badly damage) and you don’t have police report, you pay for it (charged to your student account at the end of the semester)  Hours to pick up camera: Monday –Friday 9am-5pm  No camera pickup on Saturday and Sunday CS Spring 2012

Today Introduced Concepts Two Important Metrics for Digital Audio  Signal-to-Noise Ratio (dB)  Digital Audio Data Rates (bits per second) Human Visual System Digital Images  Sampling  Quantization  Spatial Resolution CS Spring 2012

Signal-to-Noise Ratio (metric to quantify quality of digital audio) CS Spring 2012

Signal To Noise (SNR) Ratio Measures strength of signal to noise SNR (in DB)= Given sound form with amplitude in [-A, A] Signal energy = A 0 -A CS Spring 2012

Modeling of Noise - Quantization Error Difference between actual and sampled value  amplitude between [-A, A]  quantization levels = N e.g., if A = 1, N = 8, = 1/4 CS Spring 2012

Compute Signal to Noise Ratio Signal energy = ; Noise energy = ; Noise energy = Signal-to-Noise = SNR depends on number of bits (number of quantization levels) assigned to signal Every bit increases SNR by ~ 6 decibels CS Spring 2012

Audio Data Rate Data rate = best sample rate * quantization (bits per sample) * channel Derived from  Nyquist Data Rate = 2*H log 2 N, where H is basic sampling rate, N is number of quantization levels Compare rates for CD vs. mono audio  8000 samples/second * 8 bits/sample * 1 channel = 8 kBytes / second  44,100 samples/second * 16 bits/sample * 2 channel = 176 kBytes / second ~= 10MB / minute CS Spring 2012

Integrating Aspects of Multimedia CS Spring 2012 Image/Video Capture Image/Video Information Representation Media Server Storage Transmission Compression Processing Audio/Video Presentation Playback Audio/Video Perception/ Playback Audio Information Representation Transmission Audio Capture A/V Playback

Human Visual System Eyes, optic nerve, parts of the brain Transforms electromagnetic energy

Human Visual System Image Formation  cornea, sclera, pupil, iris, lens, retina, fovea Transduction  retina, rods, and cones  Retina has photosensitive receptors at back of eye Processing  optic nerve, brain

Rods vs Cones (Responsible for us seeing brightness and color) Contain photo-pigment Respond to low energy Enhance sensitivity Concentrated in retina, but outside of fovea One type, sensitive to grayscale changes Contain photo-pigment Respond to high energy Enhance perception Concentrated in fovea, exist sparsely in retina Three types, sensitive to different wavelengths ConesRods CS Spring 2012

Tri-stimulus Theory 3 types of cones (6/7 Mil. of them)  Red = L cones, Green = M cones, Blue = S cones  Ratio differentiates for each person  E.g., Red (64%), Green (32%), rest S cones  E.g., L(50.6%), M(44.2%), rest S cones Each type most responsive to a narrow band electro-magnetic waves  red and green absorb most energy, blue the least Light stimulates each set of cones differently, and the ratios produce sensation of color CS Spring 2012

Color and Visual System Color refers to how we perceive a narrow band of electromagnetic energy  source, object, observer Visual system transforms light energy into sensory experience of sight

Color Perception (Color Theory) Hue  Refers to pure colors  dominant wavelength of the light Saturation  Perceived intensity of a specific color  how far color is from a gray of equal intensity Brightness (lightness)  perceived intensity CS Spring 2012 Hue Scale Saturation Original lightness Source: Wikipedia

Color Perception (Hue) CS Spring 2012 Relation between “hue” of colors (spectrum of colors) with maximal saturation in HSV and HSL with Their corresponding RGB coordinates HSV = Hue, Saturation, Value (Lightness) HSL = Hue, Saturation, Lightness

Digitalization of Images – Capturing and Processing CS Spring 2012

Capturing Real-World Images Picture – two dimensional image captured from a real-world scene that represents a momentary event from the 3D spatial world CS Spring 2012 W3 W1 W2 r s Fr= function of (W1/W3); s=function of (W2/W3)

Image Concepts - Sampling An image is a function of intensity values over a 2D plane I(r,s) Sample function at discrete intervals to represent an image in digital form  matrix of intensity values for each color plane  intensity typically represented with 8 bits Sample points are called pixels CS Spring 2012

Digital Image Sampling Sample = pixel Image Size (in pixels) Image Size = Height x Width (in pixels) 320x240 pixels 640x480 pixels 1920x1080pixels CS Spring 2012

Digital Images - Quantization Quantization = number of bits per pixel Example: if we would sample and quantize standard TV picture (525 lines) by using VGA (Video Graphics Array),  video controller creates matrix 640x480pixels, and  each pixel is represented by 8 bit integer (256 discrete gray levels) CS Spring 2012

Image Representations Black and white image  single color plane with 2 bits Grey scale image  single color plane with 8 bits Color image  three color planes each with 8 bits  RGB, CMY, YIQ, etc. Indexed color image  single plane that indexes a color table Compressed images  TIFF, JPEG, BMP, etc. 2gray levels4 gray levels

Digital Image Representation (3 Bit Quantization) CS Spring 2012

Color Quantization Example of 24 bit RGB Image CS Spring bit Color Monitor

Image Representation Example bit RGB Representation (uncompressed) Color Planes

Graphical Representation CS Spring 2012

Image Properties (Color) CS Spring 2012

Color Histogram CS Spring 2012

Spatial and Frequency Domains Spatial domain  refers to planar region of intensity values at time t Frequency domain  think of each color plane as a sinusoidal function of changing intensity values  refers to organizing pixels according to their changing intensity (frequency) CS Spring 2012

Spatial Resolution and Brightness Spatial Resolution (depends on: )  Image size  Viewing distance Brightness  Perception of brightness is higher than perception of color  Different perception of primary colors Relative brightness: green:red:blue= 59%:30%:11% CS Spring 2011 Source: wikipedia

Image Size (in Bits) Image Size = Height x Width X Bits/pixel Example:  Consider image 320x240 pixels with 8 bits per pixel  Image takes storage 7680 x 8 bits = bits or 7680 bytes CS Spring 2012

Summary Important Image Processing Functions (see Computer Vision/Image Processing classes)  Filtering  Edge detection  Image segmentation  Image recognition Formatting Conditioning Marking Grouping Extraction Matching  Image synthesis CS Spring 2012