Color2Gray: Salience-Preserving Color Removal

Slides:



Advertisements
Similar presentations
Color to Grayscale Conversion with Chrominance Contrast Yuting Ye Computer Science Department April 27, 2006.
Advertisements

Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
Visualization and graphics research group CIPIC May 25, 2004Realistic Image Synthesis1 Tone Mapping Presented by Lok Hwa.
Color Seamlessness in Multi-Projector Displays Using Constrained Gamut Morphing IEEE Visualization, 2009 Behzad Sajadi Maxim Lazarov Aditi Majumder M.
Decolorization: Is rgb2gray() out? Yibing Song, Linchao Bao, Xiaobin Xu and Qingxiong Yang City University of Hong Kong.
Contrast Preserving Decolorization Cewu Lu, Li Xu, Jiaya Jia, The Chinese University of Hong Kong.
1.  Texturing is a core process for modeling surface details in computer graphics applications › Texture mapping › Surface texture synthesis › Procedural.
Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
Color spaces CIE - RGB space. HSV - space. CIE - XYZ space.
Color2Gray Imanol Gómez Rubio Computational Photography – 11/Dec/2007 TU-Berlin.
Color2Gray: Salience-Preserving Color Removal Amy Gooch Sven Olsen Jack Tumblin Bruce Gooch Northwestern University.
Color2Gray: Salience-Preserving Color Removal Amy A. Gooch Sven C. Olsen Jack Tumblin Bruce Gooch.
Color Image Processing
Fast Colour2Grey Ali Alsam and Mark S. Drew The Scientific Department School of Computing Science The National Gallery London Simon Fraser University
Antialiasing Recovery Lei Yang, Pedro V. Sander The Hong Kong University of Science and Technology Jason Lawrence University of Virginia Hugues Hoppe Microsoft.
Computational Photography Prof. Feng Liu Spring /15/2015.
Computational Photography Prof. Feng Liu Spring /13/2015.
CS 4731: Computer Graphics Lecture 24: Color Science
Transferring Color to Greyscale Images Tomihisa Welsh, Michael Ashikhmin, Klaus Mueller (Stony Brook University) SIGGRAPH2002.
Apparent Greyscale: A Simple and Fast Conversion to Perceptually Accurate Images and Video Kaleigh SmithPierre-Edouard Landes Joelle Thollot Karol Myszkowski.
Digital Image Processing Ligang Liu Zhejiang University
Applied Perception in Graphics Erik Reinhard University of Central Florida
OCFS: Optimal Orthogonal Centroid Feature Selection for Text Categorization Jun Yan, Ning Liu, Benyu Zhang, Shuicheng Yan, Zheng Chen, and Weiguo Fan et.
USER VERIFICATION SYSTEM. Scope Web Interface RGB separation Pervasive.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Color 2 Week 10, Fri 7 Nov 2003.
Quantization If too few levels of gray, (e.g. decrease halftone spot size to increase spatial resolution), then boundaries between adjacent gray levels.
A Novel 2D To 3D Image Technique Based On Object- Oriented Conversion.
Colour Image Compression by Grey to Colour Conversion Mark S. Drew 1, Graham D. Finlayson 2, and Abhilash Jindal 3 1 Simon Fraser University 2 University.
CAD/Graphics 2013, Hong Kong An Image-space Energy-saving Visualization Scheme for OLED Displays Haidong Chen 1, Ji Wang 2, Weifeng Chen 3, Huamin Qu 4,
Yingen Xiong and Kari Pulli
CS559-Computer Graphics Copyright Stephen Chenney Image File Formats How big is the image? –All files in some way store width and height How is the image.
Colour Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman
Tomihisa (Tom) Welsh Michael Ashikhmin Klaus Mueller Tomihisa (Tom) Welsh Michael Ashikhmin Klaus Mueller Center for Visual Computing Stony Brook University.
Dimensionality Reduction: Principal Components Analysis Optional Reading: Smith, A Tutorial on Principal Components Analysis (linked to class webpage)
Gwangju Institute of Science and Technology Intelligent Design and Graphics Laboratory Multi-scale tensor voting for feature extraction from unstructured.
CS559: Computer Graphics Lecture 3: Digital Image Representation Li Zhang Spring 2008.
Manipulating contrast/point operations. Examples of point operations: Threshold (demo) Threshold (demo) Invert (demo) Invert (demo) Out[x,y] = max – In[x,y]
Intelligent Database Systems Lab 國立雲林科技大學 National Yunlin University of Science and Technology Adaptive nonlinear manifolds and their applications to pattern.
Visualization and Computer Graphics Lab International University Bremen Converting RGB Volume Data to Scalar Fields Tetyana Ivanovska and Lars Linsen School.
Purdue University Page 1 Color Image Fidelity Assessor Color Image Fidelity Assessor * Wencheng Wu (Xerox Corporation) Zygmunt Pizlo (Purdue University)
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Computer Vision Lab. SNU Young Ki Baik Nonlinear Dimensionality Reduction Approach (ISOMAP, LLE)
Image-based Lighting Design Frederik Anrys Philip Dutré Computer Graphics Group 8 Sept
Image Filtering Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/02/10.
Histograms and Color Balancing Computational Photography Derek Hoiem, University of Illinois 09/10/15 “Empire of Light”, Magritte.
Creating Better Thumbnails Chris Waclawik. Project Motivation Thumbnails used to quickly select a specific a specific image from a set (when lacking appropriate.
11/01/06Jean-François Lalonde Natural Color Statistics p. 1 Natural color statistics Jean-François Lalonde Misc-read, November 1 st 2006.
Histograms and Color Balancing Computational Photography Derek Hoiem, University of Illinois 09/13/11 “Empire of Light”, Magritte.
Induced charge distribution of metallic sphere Feng lei.
Advanced Computer Graphics CSE 190 [Winter 2016], Lecture 2 Ravi Ramamoorthi
Course14 Dynamic Vision. Biological vision can cope with changing world Moving and changing objects Change illumination Change View-point.
David Luebke 1 2/5/2016 Color CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
An Improved Approach For Image Matching Using Principle Component Analysis(PCA An Improved Approach For Image Matching Using Principle Component Analysis(PCA.
Face Detection Final Presentation Mark Lee Nic Phillips Paul Sowden Andy Tait 9 th May 2006.
Shape-Dependent Gloss Correction
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.
Shadow Detection in Remotely Sensed Images Based on Self-Adaptive Feature Selection Jiahang Liu, Tao Fang, and Deren Li IEEE TRANSACTIONS ON GEOSCIENCE.
1 Real-Time High-Quality View-dependent Texture Mapping using Per-Pixel Visibility Damien Porquet Jean-Michel Dischler Djamchid Ghazanfarpour MSI Laboratory,
Color Image Processing
Color Image Processing
Color Image Processing
Unsupervised Riemannian Clustering of Probability Density Functions
Saliency detection Donghun Yeo CV Lab..
Image gradients and edges
Color Image Processing
Color Image Processing
Digital Image Processing
Gradient Domain Salience-preserving Color-to-gray Conversion
Induced charge distribution of metallic sphere
Histograms and Color Balancing
Presentation transcript:

Color2Gray: Salience-Preserving Color Removal Amy Gooch Sven Olsen Jack Tumblin Bruce Gooch Define Luminance & Chrominance

New Algorithm Color Grayscale

Problem Volume of displayable CIE L*a*b* Colors

Isoluminant Colors Color Grayscale

Converting to Grayscale… In Color Space Linear Nonlinear In Image Space Pixels (RGB) Using colors in the image Different gray for different color Relative difference Using colors in the image and their position in image space Colors can map to same gray…..

Traditional Methods: Luminance Channels Problem can not be solved by simply switching to a different space CIE CAM 97 Photoshop LAB CIE XYZ YCrCb

Traditional Methods Contrast enhancement & Gamma Correction Doesn’t help with isoluminant values Photoshop Grayscale PSGray + Auto Contrast New Algorithm

Simple Linear Mapping Luminance Axis

Principal Component Analysis (PCA) Luminance Axis

Problem with PCA Worst case: Isoluminant Colorwheel

Non-linear mapping

Contemporaneous Research Rasche et al. [2005, IEEE CG&A and EG] On the Rasche et al.'s method (in EG, at least) performs relaxation to find one fixed mapping from each input image color to one and only one output gray level; it tries to maintain distances measured ONLY in color space, and it does not have any position dependence at all. Two pixels with the same color in the input image will always get converted to the same grayscale in the output image, no matter how close together or far apart those two pixels are in screen space (xy). It is a many-to-one mapping, and loss of detail may be inevitable, as the number of colors and the number of pixels is far greater than the number of distinguishable gray levels. Our method considers spatial distance between pixels as well as color-space distance. In short, two widely separated pixels with the same color often will not be assigned to the same grayscale value; we have a many-to-many mapping that allows us to express locally visible changes that would be impossible in the Raschle method. Color Image Luminance Only Rasche et al.'s Method

Goals Dimensionality Reduction From tristimulus values to single channel Loss of information Maintain salient features in color image Human perception

Relative differences Color Illusion by Lotto and Purves SAME gray value in multiple places but look diff Can compute these pixel differences (vector of differences) Perceived color vs RGB values Color Illusion by Lotto and Purves http://www.lottolab.org

Challenge 1: Influence of neighboring pixels

Challenge 2: Dimension and Size Reduction 120, 120 100 -120, -120

Challenge 3: Many Color2Gray Solutions Original .

Algorithm Intuition . color2gray Look at DC i = 1, j = 2 luminance For first pixel 1 2 Look at DC L1 + e1,2 L2 L1 L2 L1 + e1,2 L2 + e2,1 . i = 1, j = 2 luminance For Nth pixel L1 L2 L1 L2 + e2,1 L1 L2 Look at DC

Algorithm Overview Convert to Perceptually Uniform Space CIE L*a*b* Initialize image, g, with L channel For every pixel Compute Luminance distance Compute Chrominance distance dij Adjust g to incorporate both luminance and chrominance differences

Optimization: min S S ( (gi - gj) - di,j )2 Color2Grey Algorithm i+m j=i-m Use conjugate gradient iterations to descend to a minimum

Parameters m : Radius of neighboring pixels a : Max chrominance offset q : Map chromatic difference to increases or decreases in luminance values

m : Neighborhood Size m = 2 m = 16 = entire image = 300o a = 10 butterfly_NewGrayRGB_CW_039_Crun10_N_FULL_LAB.png cB45_NewGrayRGB_CW_135_Crun10_N_FULL_LAB.png mapIslandCrop_NewGrayRGB_CW_030_Crun10_N_FULL_LAB.png MonetP_NewGrayRGB_CW_139_Crun10_N_FULL_LAB.png voiture_NewGrayRGB_CW_200_Crun08_N_FULL_LAB.png m = 2 m = 16 = entire image = 49o a = 10

m : Neighborhood Size m = 16 = entire image

a: Chromatic variation maps to luminance variation crunch(x) = a * tanh(x/a) a = 5 a = 10 a = 25

Problem: ||DCij|| is unsigned Perceptual Distance Luminance Distance: DLij = Li - Lj Chrominance Distance: ||DCij|| Problem: ||DCij|| is unsigned

Map chromatic difference to increases or decreases in luminance values +b* C2 -a* +a* Color Space C1

- - + + Color Difference Space +DC1,2 vq = (cos q, sin q) vq q +Db* +DC1,2 vq = (cos q, sin q) + - vq q -Da* +Da* + - sign(||DCi,j||) = sign(DCi,j . vq ) -Db*

q = 45 q = 225 Photoshop Grayscale

q = 135 q = 45 q = 0 Grayscale

How to Combine Chrominance and Luminance dij = DLij (Luminance)

How to Combine Chrominance and Luminance DLij (Luminance) if |DLij| > ||DCij|| dij = ||DCij|| (Chrominance)

How to Combine Chrominance and Luminance DLij if |DLij| > crunch(||DCij||) d (a) ij = crunch(||DCij||) -120, -120 120, 120 100 a -a crunch(x) = a * tanh(x/a)

How to Combine Chrominance and Luminance DLij if |DLij| > crunch(||DCij||) d(a,q)ij = crunch(||DCij||) if DCij . nq ≥ 0 crunch(-||DCij||) otherwise Grayscale .

Optimization: min S S ( (gi - gj) - di,j )2 Color2Grey Algorithm i+m i j=i-m Use conjugate gradient iterations to descend to a minimum If dij == DL then ideal image is g Otherwise, selectively modulated by DCij

Results Photoshop Grey Color2Grey + Color Original Color2Grey

Original PhotoshopGrey Color2Grey+Color Color2Grey

Original PhotoshopGrey Color2Grey

Original PhotoshopGrey Color2Grey

Implementation Performance Image of size S x S O(m2 S2) or O(S4) for full neighborhood case 12.7s 100x100 image 65.6s 150x150 image 204.0s 200x200 image GPU implementation O(S2) ideal, really O(S3) 2.8s 100x100 9.7s 150x150 25.7s 200x200 Athlon 64 3200 CPU NVIDIA GeForce GT6800

Future Work Faster Smarter Animations/Video Multiscale Remove need to specify q New optimization function designed to match both signed and unsigned difference terms Image complexity measures Animations/Video

Validate "Salience Preserving" Original PhotoshopGrey Color2Grey Apply Contrast Attention model by Ma and Zhang 2003

Validate "Salience Preserving" Original PhotoshopGrey Color2Grey

Thank you SIGGRAPH Reviewers NSF Helen and Robert J. Piros Fellowship www.color2gray.info SIGGRAPH Reviewers NSF Helen and Robert J. Piros Fellowship Northwestern Graphics Group MidGraph2004 Participants especially Feng Liu (sorry I spelled your name wrong in the acknowledgements)

Original Color2Grey Color2Grey+Color

Original Color2Grey Color2Grey+Color

Original Color2Grey Color2Grey+Color

Original PhotoshopGrey Color2Grey

Original Color2Grey Color2Grey+Color

Original PhotoshopGrey Color2Grey

Original Color2Grey Color2Grey+Color

Photoshop Grayscale

Photoshop Grayscale

Rasche et al. Photoshop Grayscale

Rasche et al. Photoshop Grayscale

Rasche et al. Photoshop Grayscale

Parameter a a = 5 a = 15 a = 25 a = 35 a = 45 a = 55 a = 65 a = 75