Automatic Color Balancing

Slides:



Advertisements
Similar presentations
A Common Framework for Ambient Illumination in the Dichromatic Reflectance Model Color and Reflectance in Imaging and Computer Vision Workshop 2009 October.
Advertisements

Practical Camera Auto-Calibration Based on Object Appearance and Motion for Traffic Scene Visual Surveillance Zhaoxiang Zhang, Min Li, Kaiqi Huang and.
Feature Based Image Mosaicing
Image Registration  Mapping of Evolution. Registration Goals Assume the correspondences are known Find such f() and g() such that the images are best.
Automatic Color Gamut Calibration Cristobal Alvarez-Russell Michael Novitzky Phillip Marks.
Multispectral Format from Perspective of Remote Sensing
Illumination Estimation via Thin Plate Spline Weihua Xiong ( OmniVision Technology,USA ) Lilong Shi, Brian Funt ( Simon Fraser University, Canada) ( Simon.
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,
Change Detection C. Stauffer and W.E.L. Grimson, “Learning patterns of activity using real time tracking,” IEEE Trans. On PAMI, 22(8): , Aug 2000.
Learning Techniques for Video Shot Detection Under the guidance of Prof. Sharat Chandran by M. Nithya.
Using eigencolor normalization for illumination-invariant color object recognition Speaker: 鄭雅勻 Date:2010/12/30 Zhenyong Lin, Junxian Wang, Kai-Kuang Ma.
Simple Face Detection system Ali Arab Sharif university of tech. Fall 2012.
An Adaptive Image Enhancement Algorithm for Face Detection By Lizuo Jin, Shin’ichi Satoh, and Masao Sakauchi. ECE 738 In Young Chung.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Color spaces CIE - RGB space. HSV - space. CIE - XYZ space.
1 s-t Graph Cuts for Binary Energy Minimization  Now that we have an energy function, the big question is how do we minimize it? n Exhaustive search is.
Virtual Dart: An Augmented Reality Game on Mobile Device Supervisor: Professor Michael R. Lyu Prepared by: Lai Chung Sum Siu Ho Tung.
Region labelling Giving a region a name. Image Processing and Computer Vision: 62 Introduction Region detection isolated regions Region description properties.
International Conference on Image Analysis and Recognition (ICIAR’09). Halifax, Canada, 6-8 July Video Compression and Retrieval of Moving Object.
1 Learning to Detect Objects in Images via a Sparse, Part-Based Representation S. Agarwal, A. Awan and D. Roth IEEE Transactions on Pattern Analysis and.
MRI Image Segmentation for Brain Injury Quantification Lindsay Kulkin 1 and Bir Bhanu 2 1 Department of Biomedical Engineering, Syracuse University, Syracuse,
Digital Cameras CCD (Monochrome) RGB Color Filter Array.
Colour Constancy T.W. Hung. Colour Constancy – Human A mechanism enables human to perceive constant colour of a surface over a wide range of lighting.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2010.
CS292 Computational Vision and Language Visual Features - Colour and Texture.
A Novel 2D To 3D Image Technique Based On Object- Oriented Conversion.
Dynamic Range Compression & Color Constancy Democritus University of Thrace
Presented By : Murad Tukan
Color Management and Correction in Video Production Oke Mudiaga Innocent Digital Information Provision.
VINCENT URIAS, CURTIS HASH Detection of Humans in Images Using Skin-tone Analysis and Face Detection.
My Research Experience Cheng Qian. Outline 3D Reconstruction Based on Range Images Color Engineering Thermal Image Restoration.
Image Formation. Input - Digital Images Intensity Images – encoding of light intensity Range Images – encoding of shape and distance They are both a 2-D.
Mining Discriminative Components With Low-Rank and Sparsity Constraints for Face Recognition Qiang Zhang, Baoxin Li Computer Science and Engineering Arizona.
Computer Science 631 Lecture 7: Colorspace, local operations
A Local Adaptive Approach for Dense Stereo Matching in Architectural Scene Reconstruction C. Stentoumis 1, L. Grammatikopoulos 2, I. Kalisperakis 2, E.
November 2012 The Role of Bright Pixels in Illumination Estimation Hamid Reza Vaezi Joze Mark S. Drew Graham D. Finlayson Petra Aurora Troncoso Rey School.
EE 492 ENGINEERING PROJECT LIP TRACKING Yusuf Ziya Işık & Ashat Turlibayev Yusuf Ziya Işık & Ashat Turlibayev Advisor: Prof. Dr. Bülent Sankur Advisor:
Vehicle License Plate Detection Algorithm Based on Statistical Characteristics in HSI Color Model Instructor : Dr. K. R. Rao Presented by: Prasanna Venkatesh.
High-Resolution Interactive Panoramas with MPEG-4 발표자 : 김영백 임베디드시스템연구실.
Computer Graphics and Image Processing (CIS-601).
CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: nm. range Visible light:
Histograms and Color Balancing Computational Photography Derek Hoiem, University of Illinois 09/10/15 “Empire of Light”, Magritte.
2005/12/021 Fast Image Retrieval Using Low Frequency DCT Coefficients Dept. of Computer Engineering Tatung University Presenter: Yo-Ping Huang ( 黃有評 )
Student Name: Honghao Chen Supervisor: Dr Jimmy Li Co-Supervisor: Dr Sherry Randhawa.
Image Segmentation by Histogram Thresholding Venugopal Rajagopal CIS 581 Instructor: Longin Jan Latecki.
Histograms and Color Balancing Computational Photography Derek Hoiem, University of Illinois 09/13/11 “Empire of Light”, Magritte.
Color and Brightness Constancy Jim Rehg CS 4495/7495 Computer Vision Lecture 25 & 26 Wed Oct 18, 2002.
Yizhou Yu Texture-Mapping Real Scenes from Photographs Yizhou Yu Computer Science Division University of California at Berkeley Yizhou Yu Computer Science.
Digital Image Processing
Demosaicking for Multispectral Filter Array (MSFA)
研 究 生:周暘庭 Q36994477 電腦與通信工程研究所 通訊與網路組 指導教授 :楊家輝 Mean-Shift-Based Color Tracking in Illuminance Change.
Face Detection Final Presentation Mark Lee Nic Phillips Paul Sowden Andy Tait 9 th May 2006.
A Hybrid Strategy For Illuminant Estimation Targeting Hard Images Roshanak Zakizadeh 1 Michael Brown 2 Graham Finlayson 1 1 University of East Anglia 2.
Thresholding Foundation:. Thresholding In A: light objects in dark background To extract the objects: –Select a T that separates the objects from the.
Cell Segmentation in Microscopy Imagery Using a Bag of Local Bayesian Classifiers Zhaozheng Yin RI/CMU, Fall 2009.
Learning and Removing Cast Shadows through a Multidistribution Approach Nicolas Martel-Brisson, Andre Zaccarin IEEE TRANSACTIONS ON PATTERN ANALYSIS AND.
Shadow Detection in Remotely Sensed Images Based on Self-Adaptive Feature Selection Jiahang Liu, Tao Fang, and Deren Li IEEE TRANSACTIONS ON GEOSCIENCE.
CASTLEFORD CAMERA CLUB
Capturing Light… in man and machine
Traffic Sign Recognition Using Discriminative Local Features Andrzej Ruta, Yongmin Li, Xiaohui Liu School of Information Systems, Computing and Mathematics.
IMAGE SEGMENTATION USING THRESHOLDING
Machine Learning Basics
Computer Vision Lecture 4: Color
Fall 2012 Longin Jan Latecki
Capturing Light… in man and machine
COLOR CONSTANCY IN THE COMPRESSED DOMAIN
EE 492 ENGINEERING PROJECT
EM Algorithm and its Applications
Physical Problem of Simultaneous Linear Equations in Image Processing
Histograms and Color Balancing
Presentation transcript:

Automatic Color Balancing - Prasanna Venkatesan 1/15/2019

Outline Motivation Problem Statement Algorithms Attempted Solution Lessons Learnt 1/15/2019

Motivation Mosaicing images using cameras arranged to give omni direction view results in color mismatch. Each camera is capturing a different scene 1/15/2019

1/15/2019

Problem Statement To extract the parameters used by the FireWire Camera (it uses 2 channels) for color balancing an acquired image. 1/15/2019

1/15/2019

Problem in extracting these parameters Fire Wire APIs – Provide for setting and recovering the color channel parameters. APIs for recovering color balancing parameters are non-existent. 1/15/2019

Algorithms Attempted To use an algorithm which would give similar results to that used by the cameras algorithm. Algorithms attempted Gray world, White patch hybrid of gray world and white patch assumption Polynomial Mapping 1/15/2019

Description of Gray world Algorithm Assumes average color of image – predefined value of grey. Rn = Ro * mean(Intensity)/ mean(Ro) Gn = Go * mean(Intensity)/ mean(Go) Bn = Bo *mean(Intensity)/ mean(Bo) 1/15/2019

1/15/2019

Results Dependant - average Intensity and means of respective channels in non color balanced image For high intensity pixels, for lower intensity pixels algorithm over corrects. 1/15/2019

Description of White Patch Assumes that maximum value of each channel – corresponds to 255 Rn=Ro*255/max(Ro) Gn=Go*255/max(Go) Bn=Bo*255/max(Bo) 1/15/2019

1/15/2019

Results Very poor color correction. Used along with gray world, much better color correction. 1/15/2019

Description of Polynomial mapping method Polynomial Coefficients Non color balanced image Cameras Color balanced image Coefficients a1=Mean ( Pixels(Meancb +/- sdcb)) / Mean(Pixels(Meanncb +/- sdncb)) a2=Mean( Pixels(Meancb+/- 2*sdcb)) / Mean(Pixels(Meanncb +/- 2*sdncb)) a3=Mean ( Pixels(Meancb +/- 3*sdcb)) / Mean(Pixels(Meanncb+/- 3*sdncb)) 1/15/2019

Results In case of a good distribution of colors -resultant image similar to cameras color balanced image 1/15/2019

1/15/2019

Results (contd.) If the distribution of colors is less, then resultant image Has out of gamut pixels Not similar to that of color balanced image 1/15/2019

1/15/2019

The solution Properties of Color Balanced Image (cameras Algorithm) Means of the channels (corresponding to color space) converge -similar value. value dependant on illuminant of the scene. 1/15/2019

Mean(red)-0.9569 Mean(green)-0.5807 Mean(blue)-1.4180 Color Imbalanced Image 1/15/2019

Mean (red)-0.5888 Mean (green)-0.5719 Mean (blue)-0.5965 Color balanced Image 1/15/2019

Reverse Engineering to Obtain Parameters Using Fire Wire APIs Set parameters for the color channels Scan through range of all the possible parameters. Find the 2 mean channel ratios redavg/greenavg, blueavg/greenavg for each set value. Find the combinations of the parameters which make the 2 mean ratios to lie within the threshold of 0.9 & 1.1. Choose those values whose mean ratios are nearest to one. Retrieve these values, as the camera balancing parameters 1/15/2019

Demo 1/15/2019

Lessons Learnt In any project – what ever be its nature. Spend enough time in the problem space, understanding the problem. Understanding why it is a problem. Clients way of viewing the problem- need not be right. For instance, U/B & V/R was mistaken to be U over B & V over R rather than U or B and V or R Y = 0.299*R+0.587*G+0.114*B U/B = 0.492*(1-Y/B) = 0.3780-0.1471*(R/B) -0.2888*(G/B) V/R = 0.877*(1-Y/R) = 0.6148-0.5148*(G/R) -0.1006*(B/R) 1/15/2019

References Fast color correction using principal regions mapping in different color spaces Maojun Zhang*, Nicolas D. Georganas Distributed and Collaborative Virtual Environments Research Laboratory (DISCOVER), University of Ottawa, Ottawa, Canada www.poynton.com http://www.vision.ee.ethz.ch/~buc/brechbuehler/mirror/color/Poynton-color.html A new algorithm for unsupervised global and local color correction Alessandro Rizzi, Carlo Gatta, Daniele Marini July 2003  Pattern Recognition Letters,  Volume 24 Issue 11 Comparison of the accuracy of different white balancing options as quantified by their color constancy J A Stephen Viggiano, jasv@acolyte-color.comAcolyte Color Research,West Henrietta, NY, USA A Comparison of Algorithms for Mapping Color Between Media of Differing Luminance Ranges ,J. A. Stephen Viggiano and C. Jeffrey Wang,Imaging Division RIT Research Corporation 1/15/2019