Image Processing Lecture 2 - Gaurav Gupta - Shobhit Niranjan.

Slides:



Advertisements
Similar presentations
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Advertisements

COLORCOLOR A SET OF CODES GENERATED BY THE BRAİN How do you quantify? How do you use?
Color Image Processing
Achromatic and Colored Light CS 288 9/17/1998 Vic.
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.
Informationsteknologi Monday, October 29, 2007Computer Graphics - Class 21 Today’s class Graphics programming Color.
School of Computing Science Simon Fraser University
SWE 423: Multimedia Systems Chapter 4: Graphics and Images (2)
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Color Imaging.
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
What is color for?.
1 Computer Science 631 Lecture 6: Color Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
Image Formation Mohan Sridharan Based on slides created by Edward Angel CS4395: Computer Graphics 1.
CSC 461: Lecture 2 1 CSC461 Lecture 2: Image Formation Objectives Fundamental imaging notions Fundamental imaging notions Physical basis for image formation.
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.
Asma Kanwal Lecturer Department of Computer Science, GC University, Lahore Dr. Wajahat Mahmood Qazi Assistant Professor Department of Computer Science,
CS559-Computer Graphics Copyright Stephen Chenney Color Recap The physical description of color is as a spectrum: the intensity of light at each wavelength.
Color & Color Management. Overview I. Color Perception Definition & characteristics of color II. Color Representation RGB, CMYK, XYZ, Lab III. Color Management.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2011.
Color Models and Color Applications
1Computer Graphics Lecture 3 - Image Formation John Shearer Culture Lab – space 2
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Computer Graphics I, Fall 2008 Image Formation.
1 Image Formation. 2 Objectives Fundamental imaging notions Physical basis for image formation ­Light ­Color ­Perception Synthetic camera model Other.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
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
Color. Contents Light and color The visible light spectrum Primary and secondary colors Color spaces –RGB, CMY, YIQ, HLS, CIE –CIE XYZ, CIE xyY and CIE.
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.
6. COLOR IMAGE PROCESSING
1 Formation et Analyse d’Images Session 2 Daniela Hall 7 October 2004.
Color Theory ‣ What is color? ‣ How do we perceive it? ‣ How do we describe and match colors? ‣ Color spaces.
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.
Digital Image Processing Part 1 Introduction. The eye.
CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: nm. range Visible light:
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.
1 Angel: Interactive Computer Graphics4E © Addison-Wesley 2005 Image Formation.
Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli
CS654: Digital Image Analysis Lecture 29: Color Image Processing.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Introduction to Computer Graphics
EEL Introduction to Computer Graphics PPT12: Color models Yamini Bura – U
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
1 Angel and Shreiner: Interactive Computer Graphics6E © Addison-Wesley 2012 Image Formation 靜宜大學 資訊工程系 蔡奇偉 副教授
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
1 Angel and Shreiner: Interactive Computer Graphics6E © Addison-Wesley 2012 Image Formation Sai-Keung Wong ( 黃世強 ) Computer Science National Chiao Tung.
Computer Graphics: Achromatic and Coloured Light.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
CSE 185 Introduction to Computer Vision
Color Models Light property Color models.
Color Image Processing
Color Image Processing
Angel: Interactive Computer Graphics5E © Addison-Wesley 2009
Yuanfeng Zhou Shandong University
Chapter 6: Color Image Processing
Color Image Processing
CS 4722 Computer Graphics and Multimedia Spring 2018
Image Formation Ed Angel Professor Emeritus of Computer Science,
Color Representation Although we can differentiate a hundred different grey-levels, we can easily differentiate thousands of colors.
Isaac Gang University of Mary Hardin-Baylor
Digital Image Fundamentals
Color Image Processing
Angel: Interactive Computer Graphics4E © Addison-Wesley 2005
Color Image Processing
Image Formation Ed Angel
Color Model By : Mustafa Salam.
University of New Mexico
Color Theory What is color? How do we perceive it?
Presentation transcript:

Image Processing Lecture 2 - Gaurav Gupta - Shobhit Niranjan

Today Image Formation (More Details) Camera Models Perspective Geometry Color Models

Human Visual System (HVS): The Eye Image is formed on retina Photoreceptors (rods and cones) are stimulated and generate visual signal Received and processed by brain (Cortex)

Pin Hole Camera Model Light enters through small hole. Image plane is placed between focal point and object (to have “non-inverted” projection)

Perspective Geometry Mapping from R 3 ->R 2 Convention image coordinate (u,v), object coordinate (x,y,z) u = (f/z)x ; v = (f/z)y f = focal length (by geometry) The linear version is ( S = scale factor)

Contd.. Concept of Vanishing Line, Point and Horizon is important for Reconstruction from 2D image to 3D information Vanishing point : The point where parallel lines at particular direction meet. Two sets of parallel lines in different directions will give two vanishing points. Two vanishing points form a vanishing line for the collection of parallel planes defined by these two sets of parallel lines.

The Horizon Vanishing Line for ground plane Anything below it will be below horizon and above it will be above horizon Different heights of viewer ?? What would be affect on the horizon?

Interpretation of Calibration matrix It gives you location of the vanishing point. The homogeneous coordinate (x,y,0) is the ideal point or point at infinity in the direction of (x,y). (how??) (guess how to represent point at infinity in x direction), where will this appear in Image

Camera Calibration Why? To find how the object coordinated are projected in image plane Parameters: Intrinsic & Extrinsic Model

contd.. From the figure, hence, In other words, => In some cases focal lengths can be different in x and y direction f u, f v f, u o,v o are intrinsic parameters

Extrinsic Parameters In general, the three dimensional world coordinates of a point will not be specfied in a frame whose origin is at the centre of projection So we can transform by a linear transformation ( Rotation and Scale) Where T is 4x4 transformation matrix, R pure rotation (rigid body), t is the rigid body translation

Types of Image Transformation (or Deformation)

Color Models Three independent quantities are used to describe any particular color. (HVS) Achromatic light has no color - its only attribute is quantity or intensity. Greylevel is a measure of intensity. On the other hand, brightness or luminance is determined by the perception of the color Color depends primarily on the reflectance properties of an object.

contd… The tristimulus theory of color perception seems to imply that any color can be obtained from a mix of the three primaries, red, green and blue Color models provide a standard way to specify a particular color and specifies a 3D coordinate system or subspace Any color that can be specified using a model will correspond to a single point within the subspace it defines

RGB Model

CMY Model RGB model asks what is added to black to get a particular color, the CMY (cyan- magenta-yellow) model asks what is subtracted from white. Appropriate to absorption of colors, used in printing devices and filters

HSI Model The hue is determined by the dominant wavelength The saturation is determined by the excitation purity, and depends on the amount of white light mixed with the hue the intensity is determined by the actual amount of light

YIQ YIQ (luminance-inphase-quadrature) is Recoding of RGB for color television

Some points to think about.. what is the best way to apply the image processing techniques color images ? Which color space to choose ? If we want to increase the contrast in a dark image by histogram equalization, can we just equalize each color independently?

Some quick facts Normally Image is array of RGB values of pixels in BGR order N-bit, m channel Image => It has m color spaces having N bit quantized data per color space per pixel (Ex. 8 bit RGB Image) Very Simple data structure is Bitmap Format and Raw JPEG widely used to store/capture images but it is compressed form

Home Work Install OpenCV (Intel Open Source Lib) Check its documentation and see how image is described by IplImage data structure botics/doc/opencvdocs/ Try to write and run sample programs given in OpenCV tutorial and see for different images loss in JPEG format I will mail you.

ThE eNd