CSSE463: Image Recognition Day 2 Roll call Roll call Announcements: Announcements: Reinstall Matlab if you are having problems: Lab 1 has directions. Reinstall.

Slides:



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

CSSE463: Image Recognition Day 2 Roll call Roll call Announcements: Announcements: Moodle has drop box for Lab 1 Moodle has drop box for Lab 1 Next class:
Computer Vision Chapter 6 Color.
Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
Color spaces CIE - RGB space. HSV - space. CIE - XYZ space.
COLORCOLOR A SET OF CODES GENERATED BY THE BRAİN How do you quantify? How do you use?
Color Image Processing
Light Light is fundamental for color vision Unless there is a source of light, there is nothing to see! What do we see? We do not see objects, but the.
CSSE463: Image Recognition Day 2 Roll call Roll call Announcements: Announcements: Room change: Olin 267 starting next class Room change: Olin 267 starting.
CSSE463: Image Recognition Matt Boutell F-224 x8534
Multi-media Graphics JOUR 205 Color Models & Color Space 5 ways of specifying colors.
Color.
Color: Readings: Ch 6: color spaces color histograms color segmentation.
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
Image Representation.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Colour Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman
Digital Image Processing Colour Image Processing.
CS 376 Introduction to Computer Graphics 01 / 26 / 2007 Instructor: Michael Eckmann.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP3 Digital Images Miguel Tavares Coimbra.
Page 18/30/2015 CSE 40373/60373: Multimedia Systems 4.2 Color Models in Images  Colors models and spaces used for stored, displayed, and printed images.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION.
1 Color Processing Introduction Color models Color image processing.
Machine Vision for Robots
Chapter 6: Color Image Processing Digital Image Processing.
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.
by Utku Tatlıdede Kemal Kaplan
07: Color in Interactive Digital Media
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Color 2011, Fall. Colorimetry : Definition (1/2) Colorimetry  Light is perceived in the visible band from 380 to 780 nm  distribution of wavelengths.
1 Chapter 2: Color Basics. 2 What is light?  EM wave, radiation  Visible light has a spectrum wavelength from 400 – 780 nm.  Light can be composed.
Chapter 1. Introduction. Goals of Image Processing “One picture is worth more than a thousand words” 1.Improvement of pictorial information for human.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
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.
Introduction to Computer Graphics
Color Web Design Professor Frank. Color Displays Based on cathode ray tubes (CRTs) or back- lighted flat-screen Monitors transmit light - displays use.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2012.
Dense Color Moment: A New Discriminative Color Descriptor Kylie Gorman, Mentor: Yang Zhang University of Central Florida I.Problem:  Create Robust Discriminative.
Digitization Informatics INFO I101 January 26, 2004 John C.Paolillo.
CSSE463: Image Recognition Day 11 Due: Due: Written assignment 1 tomorrow, 4:00 pm Written assignment 1 tomorrow, 4:00 pm Start thinking about term project.
CSSE463: Image Recognition Matt Boutell Myers240C x8534
CSSE463: Image Recognition Day 3 Announcements/reminders: Announcements/reminders: Lab 1 should have been turned in yesterday (due now if use a late day).
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 4 – Audio and Digital Image Representation Klara Nahrstedt Spring 2010.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
CSE 185 Introduction to Computer Vision
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.
Capturing Light… in man and machine
Sampling, Quantization, Color Models & Indexed Color
Color Image Processing
Color Image Processing
Miguel Tavares Coimbra
Color Image Processing
CSSE463: Image Recognition
Color: Readings: Ch 6: color spaces color histograms
CSSE463: Image Recognition
Color: Readings: Ch 6: color spaces color histograms
Color Image Processing
Capturing Light… in man and machine
Slides taken from Scott Schaefer
Midterm Exam Closed book, notes, computer Format:
Color Image Processing
Image Perception and Color Space
Color Model By : Mustafa Salam.
Digital Image Processing
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
CSSE463: Image Recognition Day 2
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
CSSE463: Image Recognition Day 2
Miguel Tavares Coimbra
Presentation transcript:

CSSE463: Image Recognition Day 2 Roll call Roll call Announcements: Announcements: Reinstall Matlab if you are having problems: Lab 1 has directions. Reinstall Matlab if you are having problems: Lab 1 has directions. Angel has drop box for Lab 1 Angel has drop box for Lab 1 Bonus points to first person to find errors in course materials! Bonus points to first person to find errors in course materials! Tomorrow: more Matlab how-to (bring laptop) Tomorrow: more Matlab how-to (bring laptop) Last class we discussed: Last class we discussed: Today: Color and color features Today: Color and color features Questions? Questions?

Pixels to Predicates 1. Extract features from images 2. Use machine learning to cluster and classify ColorTextureShapeEdgesMotion Principal components Neural networks Support vector machines Gaussian models

Basics of Color Images A color image is made of red, green, and blue bands. A color image is made of red, green, and blue bands. Additive color Colors formed by adding primaries to black Comments from graphics? RGB mimics retinal cones in eye. RGB used in sensors and displays Why “16M colors”? Why “16M colors”? Why 32 bit? Why 32 bit? Source: Wikipedia

Basics of Color Images Each band is a 2D matrix Each band is a 2D matrix Each R, G, or B value typically stored in a byte. Each R, G, or B value typically stored in a byte. Range of values? The 4 th byte is typically left empty The 4 th byte is typically left empty Allows for quicker indexing, because of alignment Reserved for transparency (in graphics) How much storage is required for a 4 megapixel color image (uncompressed)? How much storage is required for a 4 megapixel color image (uncompressed)? Q1-2

Color Features (statistics from images) 1. Color histograms 1. Color histograms 2. Color moments 2. Color moments 3. Color coherence vectors 3. Color coherence vectors Related to the feature types Some color spaces “work better” Some color spaces “work better” Spatial components can help Spatial components can help Q3

Color histograms Gives distribution of colors Gives distribution of colors Sample to left is for intensities only Sample to left is for intensities only Pros Pros Quantizes data, but still keeps lots of info Cons Cons How to compare two images? Spatial info gone Histogram intersection (Swain and Ballard)

Color moments m 1 = m 2 = m 3 = m 4 = 7.4 million Central moments are statistics Central moments are statistics 1 st order = mean 2 nd order = variance 3 rd order = ____ 4 th order = ____ Some have used even higher order moments, but less intuitive For color images, take moments of each band For color images, take moments of each band m 1 = m 2 = m 3 = 4226 m 4 =12.6 million Q4 skew kurtosis

HSV color space Hue-saturation-value (HSV) cone Hue-saturation-value (HSV) cone also called HSI (intensity) Intuitive H: more than “what color”: it’s the position on the spectrum! S: how vibrant? V: how light or dark “Distance” between colors “Distance” between colors Must handle wraparound of hue angle correctly (0 = 2  ) Matlab has method to convert from rgb to hsv, can find formula online. Matlab has method to convert from rgb to hsv, can find formula online. online Source: Wikipedia Q5

Other color spaces LST LST L = luminance: L = R + G + B L = luminance: L = R + G + B S and T are chroma bands. S and T are chroma bands. S: red vs. blue: S = R – B S: red vs. blue: S = R – B T: green vs. magenta: T = R – 2G + B T: green vs. magenta: T = R – 2G + B (Typically, we then normalize these to the same scale) (Typically, we then normalize these to the same scale) These 3 are the principal components of the RGB space (PCA and eigenvectors later in course) These 3 are the principal components of the RGB space (PCA and eigenvectors later in course) Slightly less intuitive than HSV Slightly less intuitive than HSV No problem with wraparound No problem with wraparound Others Others YIQ (TV signals), QUV, Lab, LUV YIQ (TV signals), QUV, Lab, LUV Q6

Spatial component of color Break image into parts and describe each one Break image into parts and describe each one Can describe each part with moments or histograms Regular grid Regular grid Pros? Cons? Image regions Image regions Pros? Cons? Q7

Additional reading Color gamuts Color gamuts Color coherence vectors Color coherence vectors Extension of color histograms within local neighborhoods Extension of color histograms within local neighborhoods Used in: Used in: A. Vailaya, H-J Zhang, and A. Jain. On image classification: City images vs. landscapes. Pattern Recognition 31: , Dec A. Vailaya, H-J Zhang, and A. Jain. On image classification: City images vs. landscapes. Pattern Recognition 31: , Dec Defined in: Defined in: G Pass, R Zabih, and J Miller. Comparing images using color coherence vectors. 4 th ACM Conf. Multimedia, pp 65-73, Boston, G Pass, R Zabih, and J Miller. Comparing images using color coherence vectors. 4 th ACM Conf. Multimedia, pp 65-73, Boston, 1996.

ICME Sunset Paper Answer quiz questions Answer quiz questions We’ll answer some in-class as time allows. We’ll answer some in-class as time allows. Q8-10