Filtration based on Color distance

Slides:



Advertisements
Similar presentations
13- 1 Chapter 13: Color Processing 。 Color: An important descriptor of the world 。 The world is itself colorless 。 Color is caused by the vision system.
Advertisements

Introduction to Computer Graphics ColorColor. Specifying Color Color perception usually involves three quantities: Hue: Distinguishes between colors like.
Color Physics –Light is E-M radiation of different frequencies. –Superposition principle Perception –3 cones -> 3D color space. (Metamers). –Convex subset.
2002 by Jim X. Chen: 1 Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology,
 Image Characteristics  Image Digitization Spatial domain Intensity domain 1.
Color Image Processing
School of Computing Science Simon Fraser University
Human Color Perception
Human Visual Systems and Perception C. Edward Chow.
CS 4731: Computer Graphics Lecture 24: Color Science
SWE 423: Multimedia Systems Chapter 4: Graphics and Images (2)
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: Readings: Ch 6: color spaces color histograms color segmentation.
What is color for?.
COLOR and the human response to light
Display Issues Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Images and colour Colour - colours - colour spaces - colour models Raster data - image representations - single and multi-band (multi-channel) images -
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
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.
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.
Digital Image Processing Colour Image Processing.
2001 by Jim X. Chen: 1 The purpose of a color model is to allow convenient specification of colors within some color gamut.
Chapter 7 Light.
1 Color Processing Introduction Color models Color image processing.
Image Processing Lecture 2 - Gaurav Gupta - Shobhit Niranjan.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Light and Color Graphics Systems / Computer.
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
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
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
September 17, 2013Computer Vision Lecture 5: Image Filtering 1ColorRGB HSI.
Digital Image Processing Part 1 Introduction. The eye.
CSC361/ Digital Media Burg/Wong
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.
Introduction to Computer Graphics
Autonomous Robots Vision © Manfred Huber 2014.
Color Models. Color models,cont’d Different meanings of color: painting wavelength of visible light human eye perception.
Presented By : Dr. J. Shanbezadeh
ECE 638: Principles of Digital Color Imaging Systems Lecture 12: Characterization of Illuminants and Nonlinear Response of Human Visual System.
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.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
CSE 185 Introduction to Computer Vision
COMPUTER GRAPHICS CS 482 – FALL 2016 CHAPTER 28 COLOR COLOR PERCEPTION CHROMATICITY COLOR MODELS COLOR INTERPOLATION.
Color Huamin Qu Hong Kong University of Science and Technology.
Color Models Light property Color models.
Half Toning Dithering RGB CMYK Models
Introduction to Skin and Face Detection
Design Concepts: Module A: The Science of Color
Color Image Processing
Color Image Processing
(c) University of Wisconsin, CS559 Spring 2002
COLOR space Mohiuddin Ahmad.
Chapter 6: Color Image Processing
Color Image Processing
Colour Theory Fundamentals
Color: Readings: Ch 6: color spaces color histograms
Why does a blue shirt look blue?
Color Representation Although we can differentiate a hundred different grey-levels, we can easily differentiate thousands of colors.
ECE 638: Principles of Digital Color Imaging Systems
Color: Readings: Ch 6: color spaces color histograms
Color Image Processing
Slides taken from Scott Schaefer
Color Image Processing
Image Perception and Color Space
Color Model By : Mustafa Salam.
Light.
Presentation transcript:

Filtration based on Color distance Filter design Color distance Uniform color space HVS HVS based filter design

Filter design Median filter: Neighborhood values are: 115, 119, 120, 123, 124, 125, 126, 127, 150 Median value is: 124

Median filter for color space Approach #1 Separate true-color image into color planes Apply median filter separately for each color plane. blue red green

Median filter for color space The drawback of this method is that the separate elements are almost always correlated and such usage of median filter does not utilize this property

Well known method Vector median filter Each image pixel is treated as a vector. Case 1: For each pixel within a window calculate vector norm. Case 2: Calculate angle differences between the vectors within a window

Vector median filter 3D information is converted into 1D Then processed.

Color difference How colors are really different from each other? RGB(255,0,0) – red RGB(255,153,255) – pink RGB(204,204,255) – violet

RGB color space L = 0.3R+0.6G+0.1B

HSI color space

HSI color space

CIE color space CIE - Commission Internationale de l'Eclairage CIE developed a standard of three imaginary primaries Referred to as XYZ color

CIE chromacity diagram Normalized CIE primaries define x, y, z x+y+z = 1 This graph is projection on xy plane. (dropping z)

CIE chromacity diagram Shows a special projection of 3d CIE color space XYZ. This is the base for all color management systems. The color space includes all distinguishable colors. Many of them cannot be shown on screen or printed. The diagram visualizes however the concept

CIE white point The black line follows the blackbody spectrum, and is the color carbon glows when heated to the corresponding temperature in Kelvin 2500 - tungsten light (A) 4800 - Sunset 6500 - Average daylight (D65) 10K - blue sky

RGB  XYZ  RGB R = + 2.36461 · X - 0.89654 · Y - 0.46807 · Z G = - 0.51517 · X + 1.42641 · Y + 0.08876 · Z ( 2 ) B = + 0.00520 · X - 0.01441 · Y + 1.00920 · Z X = + 0.49000· R + 0.31000· G + 0.20000· B Y = + 0.17697· R + 0.81240· G + 0.01063· B ( 1 ) Z = + 0.00000· R + 0.01000· G + 0.99000· B

Uniform color spaces La*b* color space Where Xn, Yn, Zn define the whitepoint

L*a*b* (L*u’v’) color spaces Uniform

JND Actual size of ellipses is 10 times smaller ∆e=3 visually indistinguishable ∆e=5 acceptable error (most printers) ∆e=10 bad ∆e=15 unacceptable

Median filter At each point of the window calculate difference between the point and background Proceed with median Swap corresponding colors

HVS (Human Visual System) Which square is brighter? They have equal luminances The reason is that our perception is sensitive to luminance contrast, rather than to absolute luminance.

Luminance v.s. Brightness Luminance Brightness (intensity) vs (Lightness) Y in XYZ V in HSV Equal intensity steps: Luminance DI1 DI2 I2 I1 Equal brightness steps: I1 < I2, DI1 = DI2

Weber’s law In general, DI needed for just noticeable difference (JND) over background I was found to satisfy : Weber’s Law: Perceived Brightness = log (I) DI I ⋍ constant=0.02 (I is intensity, DI is change in intensity) Intensity Perceived Brightness This equation states that equal increments in the log of luminance should be perceived to be equally different. This model partly explains why a uniform level of random noise is more visible in a darker region than in a bright region.

HVS filter design Example: Using defined window 3x3, 5x5,… calculate background luminance Consider different behavior of the filter in darker areas, midtone areas and bright areas.

Applications Filtering artifacts introduced by JPEG. Improving quality of scanned images. …

Important Color and spatial information about the image should not be considered separately.