Presented By : Dr. J. Shanbezadeh

Slides:



Advertisements
Similar presentations
Introduction to Computer Graphics ColorColor. Specifying Color Color perception usually involves three quantities: Hue: Distinguishes between colors like.
Advertisements

ECE 472/572 - Digital Image Processing Lecture 10 - Color Image Processing 10/25/11.
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.
Fundamentals of Digital Imaging
School of Computing Science Simon Fraser University
CS 4731: Computer Graphics Lecture 24: Color Science
Multi-media Graphics JOUR 205 Color Models & Color Space 5 ways of specifying colors.
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Color Imaging.
What is color for?.
Color Models AM Radio FM Radio + TV Microwave Infrared Ultraviolet Visible.
Color & Color Management. Overview I. Color Perception Definition & characteristics of color II. Color Representation RGB, CMYK, XYZ, Lab III. Color Management.
Color Image Processing Jen-Chang Liu, Spring 2006.
9/14/04© University of Wisconsin, CS559 Spring 2004 Last Time Intensity perception – the importance of ratios Dynamic Range – what it means and some of.
COLOR MODELS Ramya Sarma Anusha Holla
Colour Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 6 This presentation © 2004, MacAvon Media Productions Colour.
Course Website: Digital Image Processing Colour Image Processing.
Digital Image Processing Colour Image Processing.
CS 376 Introduction to Computer Graphics 01 / 26 / 2007 Instructor: Michael Eckmann.
Computer Graphics & Image Processing Chapter # Color Image Processing
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 6 Color Image Processing Chapter 6 Color Image.
Chapter 6: Color Image Processing Digital Image Processing.
Color Image Processing A spectrum of possibilities…
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Light and Color Graphics Systems / Computer.
Digital Image Processing
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.
6. COLOR IMAGE PROCESSING
University of Kurdistan Digital Image Processing (DIP) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Color Theory ‣ What is color? ‣ How do we perceive it? ‣ How do we describe and match colors? ‣ Color spaces.
Chap 4 Color image processing. Chapter 6 Color Image Processing Chapter 6 Color Image Processing Two major areas: full color and pseudo color 6.1 Color.
CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: nm. range Visible light:
Digital Image Processing Week VIII Thurdsak LEAUHATONG Color Image Processing.
Graphics Lecture 4: Slide 1 Interactive Computer Graphics Lecture 4: Colour.
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.
Ch 6 Color Image processing CS446 Instructor: Nada ALZaben.
CS654: Digital Image Analysis Lecture 30: Color Model Conversion.
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.
Three-Receptor Model Designing a system that can individually display thousands of colors is very difficult Instead, colors can be reproduced by mixing.
Introduction to Computer Graphics
EEL Introduction to Computer Graphics PPT12: Color models Yamini Bura – U
Color Models. Color models,cont’d Different meanings of color: painting wavelength of visible light human eye perception.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Raster Graphics and Color Greg Humphreys University of Virginia CS 445, Fall 2003.
Pseudo / Color Image Processing Fasih ur Rehman. Color Image Processing Two major areas of Color Image Processing –Pseudo Color Image Processing Assigning.
Chapter 4: Color in Image and Video
ECE 638: Principles of Digital Color Imaging Systems Lecture 5: Primaries.
Color Measurement and Reproduction Eric Dubois. How Can We Specify a Color Numerically? What measurements do we need to take of a colored light to uniquely.
Computer Graphics: Achromatic and Coloured Light.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Digital Image Processing Lecture 12: Color Image Processing Naveed Ejaz.
COMPUTER GRAPHICS CS 482 – FALL 2016 CHAPTER 28 COLOR COLOR PERCEPTION CHROMATICITY COLOR MODELS COLOR INTERPOLATION.
Digital Image Processing
Color Models Light property Color models.
School of Electronics & Information Engineering
Half Toning Dithering RGB CMYK Models
IMAGE PROCESSING COLOR IMAGE PROCESSING
Digital Image Processing
Digital Image Processing (DIP)
Color Image Processing
COLOR space Mohiuddin Ahmad.
Chapter 6: Color Image Processing
Colour Theory Fundamentals
Computer Vision Lecture 4: Color
Digital Image Processing
Digital Image Processing
Slides taken from Scott Schaefer
Digital Image Processing
Digital Image Processing Lecture 26: Color Processing
Color Model By : Mustafa Salam.
Color Models l Ultraviolet Infrared 10 Microwave 10
Presentation transcript:

Presented By : Dr. J. Shanbezadeh

1

2

3

4

5

6

 Additive primary colors: RGB use in the case of light sources such as color monitors.  RGB add together to get white  Subtractive primary colors: CMY use in the case of pigments in printing devices  White subtracted by CMY to get Black 7

 The characteristics generally used to distinguish one color from another are: 8 Brightness saturationHue

9  Brightness embody the achromatic notion of intensity.

 dominant color corresponding to a dominant wavelength of mixture light wave 10

 Relative purity or amount of white light mixed with a hue.  inversely proportional to amount of white. 11

 Three basic properties used to describe the quality of chromatic light source:  Luminance  Radiance  Brightness 12

13 Trichromatic coefficients: x y Points on the boundary are fully saturated colors CIE Chromaticity Diagram

CCIE chromaticity diagram Has superior performance over other color transforms especially in clustering of color distribution and estimate of color difference. Shows color as a function of x (red) and y (green) Useful for color mixing Boundary of the diagram shows fully saturated. As a point leaves the boundary and approaches the point of equal energy, more white light is added to the color and it becomes less saturated. CCIE color models include CIE XYZ, CIE x,yY, CILE La*b*, and CIE Lu’v’. Derivatives of the CIE XYZ space include CIELUV, CIEUVW, and CIELAB. 14

15  A triangle with vertices at any three fixed colors cannot enclose the entire color region  it shows that not all colors can be obtained with three single, fixed primaries. Color Monitors Printing devices

16

 The RGB Color Model The RGB Color Model  The CMY and CMYK Color Model The CMY and CMYK Color Model  The HSI Color Model The HSI Color Model 17 Foreword

PPurpose of color models: to facilitate the specification of colors in some standard. AA specification of a coordinate system and a subspace within that system where each color is represented a single point TTwo applied directions for color models: HHardware AApplications where color manipulation(color graphics) CColor Models: RRGB models: color monitors CCMY (CMYK): color model for color printing YYIQ: Color model for color television HHIS: a color model for humans to describe and to interpret color; decouple the color and gray-level information. 18

 The RGB Color Model The RGB Color Model  The CMY and CMYK Color Model The CMY and CMYK Color Model  The HSI Color Model The HSI Color Model 19 Foreword

20

 The RGB Color Model The RGB Color Model  The CMY and CMYK Color Model The CMY and CMYK Color Model  The HSI Color Model The HSI Color Model 21 Foreword

 Color printer and copier  Deposit colored pigment on paper  Relationship with RGB model: 22 Example :surface coated with pure cyan does not contain red (C = 1 — R)

 The RGB Color Model The RGB Color Model  The CMY and CMYK Color Model The CMY and CMYK Color Model  The HSI Color Model The HSI Color Model 23 Foreword

RRGB, CMY models are not good for human interpreting HHue:Dominant color SSaturation:Relative purity (inversely proportional to amount of white light added) IIntensity:Brightness 24 Color carrying information

25  e extract intensity from an RGB image : the line (intensity axis) joining the black and white vertices is vertical.  pass a plane perpendicular to the intensity axis and containing the color point. The intersection of the plane with the intensity axis give a point with intensity value in the range [0,1]. TThe boundaries defined by the intersection of each plane with the faces of the cube have either a triangular or hexagonal shape.

26

27 whiteyellow black blue green cyan red intensity saturation The triangle is hue

 Hue is an angle from a red axis. Origin is defined by the intersection of the color plane with the vertical intensity axis.  Saturation is the length of the vector from the origin to the point. 28

29 RGB HSI

30

31 RGB Hue saturation Intensity

32 Converting Colors from HSI to RGB 32 RG sector: GB sector: BR sector:

33 HueSaturationIntensity RGB Cube TThe saturation shows darker values toward the white vertex of the RGB cube, colors become less saturated as they approach white. eevery pixel in the intensity is the average of the RGB values at the corresponding pixel in Fig. 6.8.

34 Hue Saturation Intensity RGB Image

35 HueSaturationIntensity RGB Image Intensity : reduced by half the intensity of the central white region in the intensity image Hue : changing to 0 the pixels corresponding to the blue and green regions Saturation : reduced by half the saturation of the cyan region in component image S

36

2 Methods: 1. Per-color-component processing: process each component separately. 2. Vector processing: treat each pixel as a vector to be processed. 37 Example of per-color-component processing: smoothing an image by smoothing each RGB component separately.

38 wwe are interested in image processing techniques formulated in spatial domain : For per-color-component= vector-based processing needs conditions: 1- the process has to be applicable to both vectors and scalars. 2- the operation on each component of a vector must be independent of the other components BASICS OF FULL-COLOR IMAGE PROCESSING

39

 Formulation Formulation  Color Complements Color Complements  Color Slicing Color Slicing  Tone and Color Corrections Tone and Color Corrections  Histogram Processing Histogram Processing 40

41 Formulation: f(x,y) = input color image g(x,y) = output color image T = operation on f over a spatial neighborhood of (x,y) When only data at one pixel is used in the transformation, we can express the transformation as: i= 1, 2, …, n Where r i = color component of f(x,y) s i = color component of g(x,y) Use to transform colors to colors. For RGB images, n = 3

42 Color image CMYK components RGB components HSI components EXAMPLE: FULL-COLOR IMAGE AND VARIOUIS COLOR SPACE COMPONENTS

EXAMPLE: COLOR TRANSFORMATION 43 Formula for RGB: Formula for CMY: Formula for HSI: These 3 transformations give the same results. k = 0.7 IH,S

 Formulation Formulation  Color Complements Color Complements  Color Slicing Color Slicing  Tone and Color Corrections Tone and Color Corrections  Histogram Processing Histogram Processing 44

45  Color complement replaces each color with its opposite color in the color circle of the Hue component.  This operation is analogous to image negative in a gray scale image. Color circle COLOR COMPLEMENTS

46 COLOR COMPLEMENT TRANSFORMATION EXAMPLE

 Formulation Formulation  Color Complements Color Complements  Color Slicing Color Slicing  Tone and Color Corrections Tone and Color Corrections  Histogram Processing Histogram Processing 47

48 WWe can perform “slicing” in color space: if the color of each pixel is far from a desired color more than threshold distance, we set that color to some specific color such as gray, otherwise we keep the original color unchanged. i= 1, 2, …, n or Set to gray Keep the original color Set to gray Keep the original color i= 1, 2, …, n COLOR SLICING TRANSFORMATION

49 Original image After color slicing COLOR SLICING TRANSFORMATION EXAMPLE در محدوده مكعبي به عرض در محدوده كروي به شعاع

 Formulation Formulation  Color Complements Color Complements  Color Slicing Color Slicing  Tone and Color Corrections Tone and Color Corrections  Histogram Processing Histogram Processing 50

51  In these examples, only brightness and contrast are adjusted while keeping color unchanged.  This can be done by using the same transformation for all RGB components. Power law transformations Contrast enhancement TONAL CORRECTION EXAMPLES

52  Color imbalance: primary color components in white area are not balance.  We can measure these components by using a color pectrometer.  Color balancing can be performed by adjusting color components separately as seen in this slide.

 Formulation Formulation  Color Complements Color Complements  Color Slicing Color Slicing  Tone and Color Corrections Tone and Color Corrections  Histogram Processing Histogram Processing 53

 H Histogram equalization of a color image can be performed by adjusting color intensity uniformly while leaving color unchanged. TThe HSI model is suitable for histogram equalization where only Intensity (I) component is equalized. 54

55 Original image After histogram equalization After increasing saturation component HISTOGRAM EQUALIZATION OF A FULL-COLOR IMAGE

56

 Color Image Smoothing Color Image Smoothing  Color Image Sharpening Color Image Sharpening 57

58 2 Methods: 1. Per-color-plane method: for RGB, CMY color models Smooth each color plane using moving averaging and the combine back to RGB 2. Smooth only Intensity component of a HSI image while leaving H and S unmodified. Note: 2 methods are not equivalent. COLOR IMAGE SMOOTHING

59 Color image Red GreenBlue COLOR IMAGE SMOOTHING EXAMPLE (CONT.)

60 Hue Saturation Intensity Color image HSI Components COLOR IMAGE SMOOTHING EXAMPLE (CONT.)

61 Smooth all RGB componentsSmooth only I component of HSI COLOR IMAGE SMOOTHING EXAMPLE (CONT.)

62 Difference between smoothed results from 2 methods in the previous slide. COLOR IMAGE SMOOTHING EXAMPLE (CONT.)

 Color Image Smoothing Color Image Smoothing  Color Image Sharpening Color Image Sharpening 63

64 We can do in the same manner as color image smoothing: 1.Per-color-plane method for RGB,CMY images 2. Sharpening only I component of a HSI image Sharpening all RGB componentsSharpening only I component of HSI COLOR IMAGE SHARPENING

65 Difference between sharpened results from 2 methods in the previous slide.

66 THE END تهیه کنندگان : مهرآسا مشرفی الناز ناطقی تهیه کنندگان : مهرآسا مشرفی الناز ناطقی