September 17, 2013Computer Vision Lecture 5: Image Filtering 1ColorRGB HSI.

Slides:



Advertisements
Similar presentations
Evaluating Color Descriptors for Object and Scene Recognition Koen E.A. van de Sande, Student Member, IEEE, Theo Gevers, Member, IEEE, and Cees G.M. Snoek,
Advertisements

November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
ECE 472/572 - Digital Image Processing Lecture 10 - Color Image Processing 10/25/11.
Computer Vision Chapter 6 Color.
Color spaces CIE - RGB space. HSV - space. CIE - XYZ space.
Aalborg University Copenhagen
November 4, 2014Computer Vision Lecture 15: Shape Representation II 1Signature Another popular method of representing shape is called the signature. In.
Exam next week Covers everything about all sensory modalities except hearing This includes: vision balance/touch/taste/smell/ proprioception/theroception.
Midterm 2 March 9 th and 10 th Review Session Monday 7pm in this room (probably)
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Color Imaging.
1 Color Color Used heavily in human vision Used heavily in human vision Color is a pixel property, making some recognition problems easy Color is a pixel.
Color.
CSE 803 Stockman Fall Color Used heavily in human vision Color is a pixel property, making some recognition problems easy Visible spectrum for humans.
A Novel 2D To 3D Image Technique Based On Object- Oriented Conversion.
Introduction of the intrinsic image. Intrinsic Images The method of Finlayson & Hordley ( 2001 ) Two assumptions 1. the camera ’ s sensors are sufficiently.
CSC 461: Lecture 2 1 CSC461 Lecture 2: Image Formation Objectives Fundamental imaging notions Fundamental imaging notions Physical basis for image formation.
Real-Time Face Detection and Tracking Using Multiple Cameras RIT Computer Engineering Senior Design Project John RuppertJustin HnatowJared Holsopple This.
Visual Representation of Information
Course Website: Digital Image Processing Colour Image Processing.
Digital Image Processing Colour Image Processing.
Any questions about the current assignment? (I’ll do my best to help!)
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Computer Science 631 Lecture 7: Colorspace, local operations
December 4, 2014Computer Vision Lecture 22: Depth 1 Stereo Vision Comparing the similar triangles PMC l and p l LC l, we get: Similarly, for PNC r and.
6. COLOR IMAGE PROCESSING
University of Kurdistan Digital Image Processing (DIP) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
September 5, 2013Computer Vision Lecture 2: Digital Images 1 Computer Vision A simple two-stage model of computer vision: Image processing Scene analysis.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Steve Sterley. Real World Lighting Physical objects tend to interact with light in three ways: Absorption (black body) Reflection (mirror) Transmission.
Digital Image Processing Part 1 Introduction. The eye.
Digital Image Processing Week VIII Thurdsak LEAUHATONG Color Image Processing.
Graphics Lecture 4: Slide 1 Interactive Computer Graphics Lecture 4: Colour.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
A color model is a specification of a 3D color co-ordinate system and a visible subset in the co-ordinate System within all colors in a particular color.
CS654: Digital Image Analysis Lecture 30: Color Model Conversion.
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 Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli
Tutorial # 9 – Q#6.16 from textbook Nov. 21,
Three-Receptor Model Designing a system that can individually display thousands of colors is very difficult Instead, colors can be reproduced by mixing.
Autonomous Robots Vision © Manfred Huber 2014.
CS 376b Introduction to Computer Vision 03 / 18 / 2008 Instructor: Michael Eckmann.
A Tutorial on using SIFT Presented by Jimmy Huff (Slightly modified by Josiah Yoder for Winter )
Presented By : Dr. J. Shanbezadeh
October 16, 2014Computer Vision Lecture 12: Image Segmentation II 1 Hough Transform The Hough transform is a very general technique for feature detection.
October 1, 2013Computer Vision Lecture 9: From Edges to Contours 1 Canny Edge Detector However, usually there will still be noise in the array E[i, j],
Intelligent Robotics Today: Vision & Time & Space Complexity.
Image credit: Wikipedia (Fovea) Human Eye Some interesting facts – Rod cells: requires only low light b/w vision blur, all over retina EXCEPT fovea – Cone.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Digital Image Processing
Color Models Light property Color models.
Digital Image Processing
Half Toning Dithering RGB CMYK Models
IMAGE PROCESSING COLOR IMAGE PROCESSING
Pengenalan Warna Teori Warna.
Chapter 6: Color Image Processing
Chapter II Color Theory.
Colour Theory Fundamentals
Slope and Curvature Density Functions
Computer Vision Lecture 4: Color
Digital Image Processing
Digital Image Processing
From a presentation by Jimmy Huff Modified by Josiah Yoder
Computer Graphics (Spring 2003)
Digital Image Processing Lecture 26: Color Processing
Color Model By : Mustafa Salam.
Digital Image Processing
Magnetic Resonance Imaging
Embedded Image Processing: Edge Detection on FPGAs
Presentation transcript:

September 17, 2013Computer Vision Lecture 5: Image Filtering 1ColorRGB HSI

September 17, 2013Computer Vision Lecture 5: Image Filtering 2 Conversion from RGB to HSI It is not too difficult to convert RGB values into HSI values to facilitate color processing in computer vision applications. First of all, we normalize the range of the R, G, and B components to the interval from 0 to 1. For example, for 24-bit color information, this can be done by dividing each value by 255. Then we compute the intensity I as I = 1/3*(R + G + B). Obviously, intensity also ranges from 0 to 1.

September 17, 2013Computer Vision Lecture 5: Image Filtering 3 Conversion from RGB to HSI Then we compute the values r, g, b that are independent of intensity: r = R/(R + G + B) g = G/(R + G + B) b = B/(R + G + B) When we consider the RGB cube, then all possible triples (r, g, b) lie on a triangle with corners (1, 0, 0), (0, 1, 0), and (0, 0, 1). We could call this the rgb-subspace of our RGB cube.

September 17, 2013Computer Vision Lecture 5: Image Filtering 4 Conversion from RGB to HSI The hue is the angle H from vector p r – w to vector p – w. The saturation is the distance from w to p relative to the distance from w to the fully saturated color of the same hue as p (on the edge of the triangle). w = (1/3, 1/3, 1/3) (white) p = (r, g, b) red (p r ) greenblue p r - w p - w H

September 17, 2013Computer Vision Lecture 5: Image Filtering 5 Conversion from RGB to HSI Then we have: Since w = (1/3, 1/3, 1/3): And since p r = (1, 0, 0):

September 17, 2013Computer Vision Lecture 5: Image Filtering 6 Conversion from RGB to HSI We can also compute: With the above formulas, including those for deriving r, g, and b from R, G, and B, we can determine an equation for computing H directly from R, G, and B:

September 17, 2013Computer Vision Lecture 5: Image Filtering 7 Conversion from RGB to HSI Note that when we use the arccos function to compute H, arccos always gives you a value between 0 and 180 degrees. However, H can assume values between 0 and 360 degrees. If B > G, then H must be greater than 180 degrees. Therefore, if B > G, just compute H as before and then take (360 degrees – H) as the actual hue value.

September 17, 2013Computer Vision Lecture 5: Image Filtering 8 Conversion from RGB to HSI The saturation is the distance on the triangle in the rgb-subspace from white relative to the distance from white to the fully saturated color with the same hue. Fully saturated colors are on the edges of the triangle. The derivation of the formula for saturation S is very lengthy, so we will just take a look at the result:

September 17, 2013Computer Vision Lecture 5: Image Filtering 9 Limitations of RGB and HSI Using three individual wavelengths to represent color can never cover the entire visible range of colors:

September 17, 2013Computer Vision Lecture 5: Image Filtering 10 Limitations of any Color Representation It is important to note (again) that our perception of an object’s color does not only depend on the frequency spectrum emitted from the object’s location. It also depends on the spectra of other objects or regions in the visual field. This mechanism called color constancy allows us to assign a color to a given object that is invariant to shading or illumination of the scene by varying light sources.

September 17, 2013Computer Vision Lecture 5: Image Filtering 11 Limitations of any Color Representation

September 17, 2013Computer Vision Lecture 5: Image Filtering 12 Limitations of any Color Representation

September 17, 2013Computer Vision Lecture 5: Image Filtering 13 Let’s move on to… Image Filtering

September 17, 2013Computer Vision Lecture 5: Image Filtering 14 Histogram Modification A common and important filter operation is histogram modification. Between any two stages of image processing, it often happens that the range of intensity values in our image is only a small proportion of the possible range. This means that the contrast in the image is weaker than it would have to be. It is then useful to modify the intensity histogram of the image.

September 17, 2013Computer Vision Lecture 5: Image Filtering 15 Histogram Modification One possible method for this is image scaling: We simply expand the range [a, b] containing most of the intensities in the image to fill the entire range [z 1, z k ]. This means that the value z of each pixel in the original image is mapped onto the value z’ in the scaled image in the following way: Notice that this method may leave gaps between bins in the resulting histogram.