Frequency-domain Bayer demosaicking

Slides:



Advertisements
Similar presentations
11/11/02 IDR Workshop Dealing With Location Uncertainty in Images Hasan F. Ates Princeton University 11/11/02.
Advertisements

Spatial Filtering (Chapter 3)
Multiscale Analysis of Images Gilad Lerman Math 5467 (stealing slides from Gonzalez & Woods, and Efros)
Sampling and quantization Seminary 2. Problem 2.1 Typical errors in reconstruction: Leaking and aliasing We have a transmission system with f s =8 kHz.
1/44 1. ZAHRA NAGHSH JULY 2009 BEAM-FORMING 2/44 2.
Sampling, Aliasing, & Mipmaps
Technion - Israel Institute of Technology 1 On Interpolation Methods using Statistical Models RONEN SHER Supervisor: MOSHE PORAT.
Digital Cameras CCD (Monochrome) RGB Color Filter Array.
CSCE 641 Computer Graphics: Image Sampling and Reconstruction Jinxiang Chai.
Curve-Fitting Regression
Probabilistic video stabilization using Kalman filtering and mosaicking.
CSCE 641 Computer Graphics: Image Sampling and Reconstruction Jinxiang Chai.
Direct Methods for Visual Scene Reconstruction Paper by Richard Szeliski & Sing Bing Kang Presented by Kristin Branson November 7, 2002.
Digital Image Processing Chapter 5: Image Restoration.
Massey University Image Resolution Improvement from Multiple Images Donald Bailey Institute of Information Sciences and Technology Massey University Palmerston.
Image Sampling Moire patterns -
Digital Images The nature and acquisition of a digital image.
Normalised Least Mean-Square Adaptive Filtering
Image Stitching Ali Farhadi CSE 455
Image Processing 고려대학교 컴퓨터 그래픽스 연구실 cgvr.korea.ac.kr.
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( ) Wiener Filtering Derivation Comments Re-sampling and Re-sizing 1D  2D 10/5/06.
A critical review of the Slanted Edge method for MTF measurement of color cameras and suggested enhancements Prasanna Rangarajan Indranil Sinharoy Dr.
Clustering methods Course code: Pasi Fränti Speech & Image Processing Unit School of Computing University of Eastern Finland Joensuu,
By Meidika Wardana Kristi, NRP  Digital cameras used to take picture of an object requires three sensors to store the red, blue and green color.
IMAGE SAMPLING AND IMAGE QUANTIZATION 1. Introduction
EE 7700 Demosaicking Problem in Digital Cameras. Bahadir K. Gunturk2 Multi-Chip Digital Camera Lens Scene Spectral filters Beam- splitters Sensors To.
Medical Image Analysis Image Enhancement Figures come from the textbook: Medical Image Analysis, by Atam P. Dhawan, IEEE Press, 2003.
Simple Image Processing Speaker : Lin Hsiu-Ting Date : 2005 / 04 / 27.
Image Resampling CS4670: Computer Vision Noah Snavely.
Filtering Robert Lin April 29, Outline Why filter? Filtering for Graphics Sampling and Reconstruction Convolution The Fourier Transform Overview.
Presented by Daniel Khashabi Joint work with Sebastian Nowozin, Jeremy Jancsary, Andrew W. Fitzgibbon and Bruce Lindbloom.
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
Lecture 7: Sampling Review of 2D Fourier Theory We view f(x,y) as a linear combination of complex exponentials that represent plane waves. F(u,v) describes.
Digital image processing Chapter 3. Image sampling and quantization IMAGE SAMPLING AND IMAGE QUANTIZATION 1. Introduction 2. Sampling in the two-dimensional.
DCT.
Image Restoration.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
Exposing Digital Forgeries in Color Filter Array Interpolated Images By Alin C. Popescu and Hany Farid Presenting - Anat Kaspi.
Segmentation of Vehicles in Traffic Video Tun-Yu Chiang Wilson Lau.
Demosaicking for Multispectral Filter Array (MSFA)
Analysis on CFA Image Compression Methods Sung Hee Park Albert No EE398A Final Project 1.
Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Image Processing.
2D Fourier Transform.
Projects Project 1a due this Friday Project 1b will go out on Friday to be done in pairs start looking for a partner now.
RECONSTRUCTION OF MULTI- SPECTRAL IMAGES USING MAP Gaurav.
Amity School of Engineering & Technology 1 Amity School of Engineering & Technology DIGITAL IMAGE PROCESSING & PATTERN RECOGNITION Credit Units: 4 Mukesh.
CSE 185 Introduction to Computer Vision
Multiresolution Analysis (Section 7.1) CS474/674 – Prof. Bebis.
Medical Image Analysis
Fast edge-directed single-image super-resolution
Khallefi Leïla © esa Supervisors: J. L. Vazquez M. Küppers
Digital 2D Image Basic Masaki Hayashi
Error Concealment In The Pixel Domain And MATLAB commands
Image Analysis Image Restoration.
Fundamentals Data.
Image Acquisition.
Multiscale Analysis of Images
Distributed Ray Tracing
Filtering Things to take away from this lecture An image as a function
How to Digitize the Natural Color
Motion-Based Analysis of Spatial Patterns by the Human Visual System
Acquisition and display of a still color image A-Z
Image and Video Processing
Filtering An image as a function Digital vs. continuous images
Demosaicking Problem in Digital Cameras
Image Stitching Linda Shapiro ECE/CSE 576.
High Dynamic Range Image Capturing by Spatial Varying Exposed Color Filter Array with specific Demosaicking Algorithm Cheuk-Hong CHENG, Oscar C. AU, Ngai-Man.
Image Stitching Linda Shapiro ECE P 596.
Presentation transcript:

Frequency domain methods for demosaicking of Bayer sampled color images Eric Dubois

Frequency-domain Bayer demosaicking Problem Statement Problem: Most digital color cameras capture only one color component at each spatial location. The remaining components must be reconstructed by interpolation from the captured samples. Cameras provide hardware or software to do this, but the quality may be inadequate. Objective: Develop new algorithms to interpolate each color plane (called demosaicking) with better quality reconstruction, and with minimal computational complexity. Frequency-domain Bayer demosaicking

Frequency-domain Bayer demosaicking Retinal Cone Mosaic The human visual system must solve a similar problem! Frequency-domain Bayer demosaicking

Construction of color image from color planes + Frequency-domain Bayer demosaicking

Lighthouse original

Lighthouse red original

Lighthouse green original

Lighthouse blue original

Formation of Color planes Frequency-domain Bayer demosaicking

Lighthouse red subsampled

Lighthouse green subsampled

Lighthouse blue subsampled

Lighthouse Bayer CFA image

Color plane interpolation Green channel: bilinear interpolation GA GL GR GI GB Frequency-domain Bayer demosaicking

Color plane interpolation Red channel: bilinear interpolation RNW RNE RC RSW RSE RS Frequency-domain Bayer demosaicking

Lighthouse red interpolated

Lighthouse green interpolated

Lighthouse blue interpolated

Lighthouse Interpolated color image

Lighthouse original

Frequency-domain Bayer demosaicking Can we do better? Color planes have severe aliasing. Better interpolation of the individual planes has little effect. Frequency-domain Bayer demosaicking

Lighthouse red interpolated with bilinear interpolator

Lighthouse red interpolated with bicubic interpolator

Frequency-domain Bayer demosaicking Can we do better? Color planes have severe aliasing. Better interpolation of the individual planes has little effect. We could optically prefilter the image (blur it) so that aliasing is less severe. Frequency-domain Bayer demosaicking

Lighthouse red interpolated with bilinear interpolator

Lighthouse prefiltered red interpolated with bilinear interpolator

Lighthouse Interpolated color image

Lighthouse Prefiltered & Interpolated color image

Lighthouse original

Frequency-domain Bayer demosaicking Can we do better? Color planes have severe aliasing. Better interpolation of the individual planes has little effect. We could optically prefilter the image (blur it) so that aliasing is less severe. We can process the three color planes together to gather details from all three components. Frequency-domain Bayer demosaicking

Frequency-domain Bayer demosaicking Can we do better? There have been numerous papers and patents describing different algorithms to interpolate the color planes – they all work on the three planes together, exploiting the correlation between the three components. Gunturk et al. published an extensive survey in March 2005. The best methods were the projection on convex sets (POCS) algorithm (lowest MSE) and the adaptive homogeneity directed (AHD) algorithm (best subjective quality). We present here a novel frequency-domain algorithm. Frequency-domain Bayer demosaicking

Spatial multiplexing model subsampling multiplexing Frequency-domain Bayer demosaicking

Spatial multiplexing model Frequency-domain Bayer demosaicking

Frequency-domain multiplexing model Re-arranging the spatial multiplexing expression Frequency-domain Bayer demosaicking

Frequency-domain multiplexing model David Alleysson, EPFL Frequency-domain Bayer demosaicking

Luma and chrominance components Frequency-domain Bayer demosaicking

Luma and chrominance components Luma fL Chroma_1 fC1 Chroma_2 fC2 Frequency-domain Bayer demosaicking

Lighthouse Bilinearly Interpolated color image

Frequency-domain demosaicking algorithm Extract modulated C1 using a band-pass filter at (0.5,0.5) and demodulate to baseband Extract modulated C2 using band-pass filters at (0.5,0.0) and (0.0, 0.5), demodulate to baseband, and combine in some suitable fashion (the key) Subtract modulated C1 and remodulated C2 from the CFA to get the estimated luma component L. Matrix the L, C1 and C2 components to get the RGB representation. Frequency-domain Bayer demosaicking

Frequency-domain Bayer demosaicking Spectrum of CFA signal b a Frequency-domain Bayer demosaicking

Using C2a only Using C2b only

Frequency-domain Bayer demosaicking Demosaicking using C2a only or C2b only -- details Original From C2a only From C2b only Frequency-domain Bayer demosaicking

Demosaicking Block Diagram h2a h2b + - fCFA  (-1)n1+n2 -(-1)n2 (-1)n1 h1 combine (-1)n1-(-1)n2 matrix fR fG fB fC2am fC2bm fC1m fC1 fC2a fC2b fC2 fL Frequency-domain Bayer demosaicking

Frequency-domain Bayer demosaicking Spectrum of CFA signal b a Frequency-domain Bayer demosaicking

Frequency-domain Bayer demosaicking Design Issues How to choose the filters h1, h2a and h2b Frequency domain design methods Least-squares design methods Size of the filters How to combine the two estimates and Choice of features to guide weighting The two above issues may be inter-related. Frequency-domain Bayer demosaicking

Frequency-domain Bayer demosaicking Filter design Gaussian filters (Alleysson) Window design or minimax design Define ideal response, with pass, stop and transition bands Approximate using the window design method Refine using minimax or least pth optimization Can design low-pass filters and modulate to the center frequency Frequency-domain Bayer demosaicking

Frequency-domain Bayer demosaicking Filter specification u v val 0.000 0.00 1.0 0.110 0.00 1.0 0.110 0.02 1.0 0.000 0.10 1.0 0.030 0.10 1.0 0.070 0.06 1.0 0.338 0.00 0.0 0.338 0.05 0.0 0.050 0.36 0.0 0.000 0.36 0.0 0.184 .205 0.0 0.500 0.00 0.0 0.000 0.50 0.0 0.500 0.50 0.0 Frequency-domain Bayer demosaicking

Ideal response – perspective view Frequency-domain Bayer demosaicking

Ideal response – contour plot Frequency-domain Bayer demosaicking

Window design – perspective view Frequency-domain Bayer demosaicking

Window design – contour plot Frequency-domain Bayer demosaicking

Least pth filter – perspective view Frequency-domain Bayer demosaicking

Least pth filter – contour plot Frequency-domain Bayer demosaicking

21 x 21 filters in SPL published algorithm h2a h2b h1 u v

Adaptive weighting of C2a and C2b We want to form the estimate of C2 by choosing the best between C2a and C2b, or perhaps by a weighted average. We have used should be near 1 when C2a is the best choice, and near 0 when C2b is the best choice Frequency-domain Bayer demosaicking

Typical scenarios for local spectrum C2b C1 C2b C1 C1 C1 L L C2a C2a C2a C2a u u C1 C1 C1 C2b C1 C2b v v A: C2a is better estimate B: C2b is better estimate Frequency-domain Bayer demosaicking

Scenario A Scenario B

Typical scenarios for local spectrum C2b C1 C2b C1 C1 C1 C2a L L C2a C2a C2a u u C1 C1 C1 C2b C1 C2b v v A: C2a is better estimate B: C2b is better estimate Frequency-domain Bayer demosaicking

Weight selection strategy Scenario A: average local energy near (fm, 0) is smaller than near (0, fm ). Scenario B: average local energy near (0, fm ) is smaller than near (fm, 0). Let be a measure of the average local energy near (fm, 0), and be a measure of the average local energy near (0, fm ). Frequency-domain Bayer demosaicking

Gaussian filters for local energy measurement fm = 0.375 v Frequency-domain Bayer demosaicking

Frequency-domain Bayer demosaicking Results Results with this adaptive frequency-domain demosaicking method were published in IEEE Signal Processing Letters in Dec. 2005. All filters were of size 21 x 21. Filters h1, h2a and h2b were designed with the window method, with band parameters determined by trial and error. The method gave the lowest mean-square reconstruction error on the standard set of Kodak test images compared to other published methods. Frequency-domain Bayer demosaicking

Mean square error comparison Frequency-domain Bayer demosaicking