An Introduction to Digital Camera Signal Processor

Slides:



Advertisements
Similar presentations
Automatic Color Gamut Calibration Cristobal Alvarez-Russell Michael Novitzky Phillip Marks.
Advertisements

QR Code Recognition Based On Image Processing
UNDERSTANDING RAW Joe Sukenick DigiQuest
EXPLAINING PRINCIPLES OF WORK AND SETTINGS CAMERA PREPARING DOCUMENTATION VIDEO MAKER by SRI WAHYUNI, S.Pd.
Image Filtering Comparison of ISP HW vs Almalence SW filters + Tasks sharing between ISP And Almalence Imaging Libraries.
Digital Photography Made Easy With Jim Battles Battles Photography.
Digital Photography with Flash and No-Flash Image Pairs By: Georg PetschniggManeesh Agrawala Hugues HoppeRichard Szeliski Michael CohenKentaro Toyama,
Digital Imaging and Image Analysis
Digital Camera Design. Agenda Digital video formats Image sensor technology Sensor interface with CoolRunner-II LCD CoolRunner-II system design.
Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
EEE 498/591- Real-Time DSP1 What is image processing? x(t 1,t 2 ) : ANALOG SIGNAL x : real value (t 1,t 2 ) : pair of real continuous space (time) variables.
Detecting Digital Image Forgeries Using Sensor Pattern Noise presented by: Lior Paz Jan Lukas, jessica Fridrich and Miroslav Goljan.
Color Image Processing 老 師 : 楊 士 萱 博士 學 生 : 陳 柏 源 碩一.
Image Forgery Detection by Gamma Correction Differences.
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
Digital Audio, Image and Video Hao Jiang Computer Science Department Sept. 6, 2007.
Imaging Techniques in Digital Cameras Presented by Jinyun Ren Jan
Digital Images The nature and acquisition of a digital image.
Digital Cameras Menu settings & Controls Instructor: David King.
1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction to computer vision Chapter 2:
Copyright © Texas Education Agency, All rights reserved.1 Introduction to Digital Cameras Principles of Information Technology.
Digital RAW Photography – Introduction September 2006 What is RAW and should I care? REVIEW - How most still camera sensors capture a photo. (Sigma’s Foveon.
Bits & Bytes (are not junk food!). Bit is short for binary digit, the smallest unit of information in the digital world. A single bit can hold only one.
1 DICOM Imaging Pipeline Model Cor loef Philips Medical Systems.
SCCS 4761 Introduction What is Image Processing? Fundamental of Image Processing.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Images and the Web web graphics. web graphics: constraints Due to the constraints imposed by varying degrees of Internet bandwidth, designing images for.
Point and Shoot Digital SLR-Single Lens Reflex (DSLR) Prosumer- Not technically its own specification-combines user friendly P&S features with.
1 Digital Cameras Consumer digital cameras have been around since 1995 What features make a good camera? How do we optimize good features with a limited.
DSLR Astrophotograpy….. My way
1 Image Basics Hao Jiang Computer Science Department Sept. 4, 2014.
How A Camera Works Image Sensor Shutter Mirror Lens.
Simple Image Processing Speaker : Lin Hsiu-Ting Date : 2005 / 04 / 27.
 In electrical engineering and computer science image processing is any form of signal processing for which the input is an image, such as a photograph.
Dynamic Range And Granularity. Dynamic range is important. It is defined as the difference between light and dark areas of an image. All digital images.
SPCA554A Mobile Camera Multimedia Processor By Harrison Tsou.
Digital Cameras. Image Capture  Images are captured by the image sensor, then stored in the camera in a memory device.  Sensors convert light into an.
Bit-Mapped Graphic Data: Input (Capture) Hardware Multimedia – Section 2.
© 1999 Rochester Institute of Technology Introduction to Digital Imaging.
FRITZ SCHNEIDERPEACHAM CYBERNETICS Introduction To Digital Photography II – Camera Features.
CCTV Camera Component and Technology Imaging sensor Optic - Lens Camera Technology IP vs analogue CCTV Uniview IPC features Fundamental of CCTV.
C ANON EOS 5D M ARK II Jiahui Lu. General Information Can record sound and moving video as well as still photographs Displaying images on a screen immediately.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
In the Know … Technological Vocabulary. Movin’ on Up Terms 1. Available Light – Light in a room (sunlight or existing room light) 2. Bit Depth – the color.
Histograms and Color Balancing Computational Photography Derek Hoiem, University of Illinois 09/10/15 “Empire of Light”, Magritte.
Exposing Digital Forgeries in Color Filter Array Interpolated Images By Alin C. Popescu and Hany Farid Presenting - Anat Kaspi.
Digital Photography Multimedia I. 1)Check to see if the battery is charged. 2)Check to see if memory has space. 3)Check to see if the camera’s date is.
The Reason Tone Curves Are The Way They Are. Tone Curves in a common imaging chain.
Machine Vision Introduction to Using Cognex DVT Intellect.
02-Gray Scale Control TTF. A TTF tells us how an imaging device relates the gray level of the input to the gray level of the output. P L Luminance, L.
Visual Computing Computer Vision 2 INFO410 & INFO350 S2 2015
Basic Digital Camera Concepts How a digital camera works.
Digital Imaging. Introduction Digital Imaging is used every day in life. Has become less expensive and easier to use than film.
EE 638: Principles of Digital Color Imaging Systems Lecture 17: Digital Camera Characterization and Calibration.
Inside the Digital Camera. Types of Digital Cameras Pocket CameraRangefinder SLR Like DSLR.
Intelligent Robotics Today: Vision & Time & Space Complexity.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 4 – Audio and Digital Image Representation Klara Nahrstedt Spring 2010.
Scanner Scanner Introduction: Scanner is an input device. It reads the graphical images or line art or text from the source and converts.
Quality Enhancement Video Quality. Introduction ● This section will bring you through the following concepts: 1. How lighting and camera positioning enhance.
Introduction to Digital Image Analysis Kurt Thorn NIC.
CSE 185 Introduction to Computer Vision
Chapter 10 Digital Signal and Image Processing
ART 147 DIGITAL MATERIALS & PROCESSES Powerpoint No
Introduction to Digital Photography
Chapter IV, Introduction to Digital Imaging: Lesson III Understanding the Components of Image Quality
Introduction to Digital Photography
Android Camera2 Api By Tony Constantinides Date July 2nd 2015.
Introduction to Digital Photography
Adaptive Filter A digital filter that automatically adjusts its coefficients to adapt input signal via an adaptive algorithm. Applications: Signal enhancement.
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Presentation transcript:

An Introduction to Digital Camera Signal Processor Presented by Pu-Hua Mei email: p92005@csie.ntu.edu.tw mobile: 0920756220

A Typical Image Pipeline for Digital Camera Auto Exposure Auto White Balance Statistic Auto Focus Statistic Raw data Optical Black White Balance Bad Pixel Correction Color Interpolation RGB data Color Space Conversion Gamma Correction Color Correction YUV data Edge Enhancement YUV Space Processing Compression

Image Pipeline Overview From image sensor raw data to final image Targeted at matching human perception Pipeline approach Linear or nonlinear Color depth consideration Calibration, Compensation, Correction, and Concealment

Image Pipeline Step by Step Each step has its purposes. Instead of describing the techniques for each process, we like to focus on their general approaches and their meanings on the image pipeline. We will introduce the general why and how.

Image Sensor Output CCD (Charge-Coupled Device) Monitor mode (preview): full width * 2XX sub-sampled line Capture mode (still): full frame output AF mode: faster frame rate with less lines output CMOS (Complementary Metal-Oxide-Semiconductor) Monitor mode: Down sampling output by two or ... Capture mode: full frame output Special mode: window output with panning feature

Optical Black Clamping Compensate image sensors’ dark signal Subtract OB (Optical Black) from pixel signal OB value Computed by DSP from image sensor’s OB area Manually set by firmware

Tone Correction To linearize image sensor’s response curve Foveon X3 has linear log response curve. Analog video source is nonlinear. Linearization should be done before further processing A nonlinear example: TI CCD sensor

White Balance To simulate human eyes white balance Adjustable channel gain for each color channel General approaches Gray world assumption Perfect reflector assumption Calibration based approaches What if data are nonlinear?

Bad Pixel Correction Non-perfect image sensors More than what the spec. claims Judgment standards are different! Must be done in raw data space to prevent bad pixels from polluting neighborhood Considering edge and gradient information

Noise Reduction What is noise? Unnatural artifacts: power, readout, flicker... Too many possible noise sources Focus on removing noise sources first Should we reduce noise in raw or YUV space? Raw data space Prevent noise from going into remaining steps of image pipeline and being magnified further YUV space More information to reduce noise correctly.

Color Interpolation Also called de-mosaic / raw2rgb... Guess missing channels for each pixel by the following: Neighbor pixels Edge Gradient ... Avoid zigzag and false color artifacts

Color and Gamma Correction Image sensor’s color sensitivity is different from human eyes. A 3x3 matrix multiplication and a nonlinear gamma mapping are used to correct color to match TRUE color. However, there is no TRUE color. Color target is used to replace TRUE color. Correction means solving best matrix and gamma. sRGB assumes 2.2 gamma correction but... No one really cares. Perceptive correctness is the truth.

Influence of Color and Gamma Matrix Gamma Gamma

Color Space Conversion RGB <-> YUV Prepare for brightness/contrast/hue/saturation adjustment and JPEG (Joint Photographic Experts Group) compression Typically done by 3x3 matrix multiplication

Tone Mapping Map tone curve to get better image Similar to histogram adjustment or Photoshop’s curve function For Y channel only

Edge Enhancement A must - all cameras add edges General approaches Edge filter: NxN, 1xN+Nx1 Edge gain control Edge detection module Noise should not be enhanced

Edge Enhancement Normal and strong edge enhancement

Resizing and Cropping Preview display Video capture Digital zoom Sensor lines number doesn't match with LCD. Video capture Sensor lines number doesn't match with output. Digital zoom Crop smaller area centered at original center Raw data space or YUV space Performance vs. quality Dropping or duplication, bilinear interpolation, bicubic interpolation

AE / AF / AWB (I) Closed loop controls for passive 3A (active 3A are totally different) Data collecting + control mechanism + converging algorithm AE (auto exposure) Collect luminance before gamma correction Control exposure time, analog gain, iris,... Converge luminance to AE target

AE / AF / AWB (II) AWB (auto white balance) AF (auto focus) Collect color statistic after white balancing Control color gain Converge color average to white target AF (auto focus) Collect focus value before edge enhancement Control image plane position via AF motor Find position with maximum focus value

More Processing (I) To avoid false color Lens shading correction Color clamping False color suppression Color noise reduction Lens shading correction Lens distortion correction

More Processing (II) Skin-tone detection

More Processing (III) Digital flash (local contrast normalization) Improve the contrast on dark area like a flash light http://www.ukapical.com/products_DSC_inter.htm

Image Details Degradation Image process harms image details Increasing noise Accumulating rounding error Overflow and underflow Less processing is better

Image Pipeline Noise (8-bit, =0) White Balance Matrix Gamma

Image Pipeline Noise (8-bit, =2) White Balance Matrix Gamma

Image Pipeline Noise (8-bit, =4) White Balance Matrix Gamma

Performance & Resource Consideration Memory buffer size DRAM bandwidth Computing complexity Pipelining: overlapping operation

Image Pipeline Fine-tuning From beginning of pipeline Step by step Back and forth

Zoran COACH 6

NuCORE Sip-1270 Work with their AFE NDX-1260

TI TMS320DM270

DM270 CCD Controller Digital clamping Black level compensation Median filter Gain and offset Output formatter

DM270 Preview Engine

DM270 AF/AE/AWB Statistics Engine Up to 192 windows Configurable rows and columns number Configurable window size and position Output R, Gr, Gb, B accumulation AF Up to 36 windows Output G accumulation and focus value (result of two filters for green pixels)

Reference NuCORE Technology Inc., Sip-1270 CleanCaptureTM Image Processor, 2003. NuCORE Technology Inc., The CleanCaptureTM NDX-1260 Analog Image Processor - A No-Compromise Approach to Image Quality and Performance, 2003. NuCORE Technology Inc., Sip-1270 CleanCaptureTM Image Processor - A No-Compromise Approach to Image Quality and Performance, 2003. Texas Instruments, TMS320DM270 System Spec, 2002. Texas Instruments, TMS320DM270 CPU and Peripherals - Technical Reference Manual Version 1.0, 2003. Texas Instruments, TC255P 336-x244-PIXEL CCD IMAGE SENSOR, 2002. Zoran Corporation, COACHTM 6 Digital Camera Processor, 2003.