Image Processing 고려대학교 컴퓨터 그래픽스 연구실 cgvr.korea.ac.kr.

Slides:



Advertisements
Similar presentations
Sampling and Reconstruction
Advertisements

Digital Image Processing Lecture 3: Image Display & Enhancement
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
 Image Characteristics  Image Digitization Spatial domain Intensity domain 1.
CS 551 / CS 645 Antialiasing. What is a pixel? A pixel is not… –A box –A disk –A teeny tiny little light A pixel is a point –It has no dimension –It occupies.
Digital Images A basic image capture system – review The fundamental properties of the digital photographic image. Monochrome Images Color Images Sampling.
Video enhances, dramatizes, and gives impact to your multimedia application. Your audience will better understand the message of your application.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi Some slides.
Sampling, Aliasing, & Mipmaps
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
Midterm Review. World is practically continuous in time space color brightness dynamic range brightness.
SWE 423: Multimedia Systems Chapter 5: Video Technology (1)
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Sampling Week 7, Fri 17 Oct 2003 p1 demos sampling.
Half Toning. Continuous Half Toning Color Half Toning.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
CIS 681 Distributed Ray Tracing. CIS 681 Anti-Aliasing Graphics as signal processing –Scene description: continuous signal –Sample –digital representation.
Digital Images The nature and acquisition of a digital image.
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
Sampling Theory. Time domain Present a recurring phenomena as amplitude vs. time  Sine Wave.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 3 Ravi Ramamoorthi
Sampling theorem In order to accurately reconstruct a signal from a periodically sampled version of it, the sampling frequency must be at least twice the.
The Digital Image.
Additional Material on Digitization: Aliasing By Rick Pitchford.
Graphics Graphics Korea University cgvr.korea.ac.kr Raster Graphics 고려대학교 컴퓨터 그래픽스 연구실.
Image Formation. Input - Digital Images Intensity Images – encoding of light intensity Range Images – encoding of shape and distance They are both a 2-D.
IDL GUI for Digital Halftoning Final Project for SIMG-726 Computing For Imaging Science Changmeng Liu
IMAGE SAMPLING AND IMAGE QUANTIZATION 1. Introduction
Antialiasing CAP4730: Computational Structures in Computer Graphics.
Graphics Graphics Korea University cgvr.korea.ac.kr Raster Graphics 고려대학교 컴퓨터 그래픽스 연구실.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
The Digital Image Dr. John Ryan.
1 Multimedia Information Representation. 2 Analog Signals  Fourier transform and analysis Analog signal and frequency components Signal bandwidth and.
Video Video.
Filtering Robert Lin April 29, Outline Why filter? Filtering for Graphics Sampling and Reconstruction Convolution The Fourier Transform Overview.
Image Processing and Sampling
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
Digital image processing Chapter 3. Image sampling and quantization IMAGE SAMPLING AND IMAGE QUANTIZATION 1. Introduction 2. Sampling in the two-dimensional.
Digital Image Processing Lecture 3: Image Display & Enhancement March 2, 2005 Prof. Charlene Tsai.
Image Processing Basics. What are images? An image is a 2-d rectilinear array of pixels.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Computer Animation 고려대학교 컴퓨터 그래픽스 연구실.
09/17/02 (C) 2002, University of Wisconsin, CS 559 Last Time Color Spaces File formats.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
02/05/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Mach Banding –Humans exaggerate sharp boundaries, but not fuzzy ones.
Image Processing 고려대학교 컴퓨터 그래픽스 연구실 cgvr.korea.ac.kr.
Image 2013, Fall. Image Processing Quantization  Uniform Quantization  Halftoning & Dithering Pixel Operation  Add random noise  Add luminance  Add.
Graphics Graphics Korea University cgvr.korea.ac.kr Image Processing 고려대학교 컴퓨터 그래픽스 연구실.
Advanced Computer Graphics CSE 190 [Winter 2016], Lecture 2 Ravi Ramamoorthi
3-1 Chapter 3: Image Display The goodness of display of an image depends on (a) Image quality: i) Spatial resolution, ii) Quantization (b) Display device:
IMAGE SAMPLING AND IMAGE QUANTIZATION 1. Introduction
Graphics II Image Processing I. Acknowledgement Most of this lecture note has been taken from the lecture note on Multimedia Technology course of University.
CS552: Computer Graphics Lecture 17: Scan Conversion (Special Cases)
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Graphics Graphics Korea University cgvr.korea.ac.kr Introduction to Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
CIS 681 Distributed Ray Tracing. CIS 681 Anti-Aliasing Graphics as signal processing –Scene description: continuous signal –Sample –digital representation.
Advanced Computer Graphics
Images, Display, Perception
Image Processing and Sampling
Image 2016, Fall.
Distributed Ray Tracing
Advanced Computer Graphics
Chapter I, Digital Imaging Fundamentals: Lesson II Capture
Digital Image Processing
Chapter 2 Signal Sampling and Quantization
Data Conversion Slides by Prof. Brian L. Evans, Dept. of ECE, UT Austin, and Dr. Thomas D. Kite, Audio Precision, Beaverton, OR
Joshua Barczak CMSC435 UMBC
Distributed Ray Tracing
IMAGE SAMPLING AND IMAGE QUANTIZATION 1. Introduction
Image Processing 고려대학교 컴퓨터 그래픽스 연구실 kucg.korea.ac.kr.
Distributed Ray Tracing
Image Processing 고려대학교 컴퓨터 그래픽스 연구실 kucg.korea.ac.kr.
Presentation transcript:

Image Processing 고려대학교 컴퓨터 그래픽스 연구실 cgvr.korea.ac.kr

Overview Image Representation Halftoning and Dithering What is an image? Halftoning and Dithering Trade spatial resolution for intensity resolution Reduce visual artifacts due to quantization Sampling and Reconstruction Key steps in image processing Avoid visual artifacts due to aliasing cgvr.korea.ac.kr

What is an Image? An image is a 2D rectilinear array of pixels Continuous image Digital image cgvr.korea.ac.kr

What is an Image? An image is a 2D rectilinear array of pixels Continuous image Digital image cgvr.korea.ac.kr

A pixel is a sample, not a little square!! What is an Image? An image is a 2D rectilinear array of pixels Continuous image Digital image A pixel is a sample, not a little square!! cgvr.korea.ac.kr

Image Acquisition Pixels are samples from continuous function Photoreceptors in eye CCD cells in digital camera Rays in virtual camera cgvr.korea.ac.kr

Image Display Re-create continuous function from samples Example: cathode ray tube Image is reconstructed by displaying pixels with finite area (Gaussian) cgvr.korea.ac.kr

Image Resolution Intensity resolution Spatial resolution Each pixel has only “Depth” bits for colors/intensities Spatial resolution Image has only “Width” x “Height” pixels Temporal resolution Monitor refreshes images at only “Rate” Hz cgvr.korea.ac.kr

Sources of Error Intensity quantization Spatial aliasing Not enough intensity resolution Spatial aliasing Not enough spatial resolution Temporal aliasing Not enough temporal resolution cgvr.korea.ac.kr

Overview Image Representation Halftoning and Dithering What is an image? Halftoning and Dithering Trade spatial resolution for intensity resolution Reduce visual artifacts due to quantization Sampling and Reconstruction Key steps in image processing Avoid visual artifacts due to aliasing cgvr.korea.ac.kr

Quantization Artifact due to limited intensity resolution Frame buffers have limited number of bits per pixel Physical devices have limited dynamic range 255 150 75 255 150 75 255 150 75 Blue channel Green channel Red channel cgvr.korea.ac.kr

Uniform Quantization I(x, y) P(x, y) 2 bits per pixel cgvr.korea.ac.kr

Uniform Quantization Image with decreasing bits per pixel: 8 bits Notice contouring cgvr.korea.ac.kr

Reducing Effects of Quantization Halftoning Classical halftoning Dithering Random dither Ordered dither Error diffusion dither cgvr.korea.ac.kr

Classical Halftoning Use dots of varying size to representation intensities Area of dots proportional to intensity in image I(x, y) P(x, y) cgvr.korea.ac.kr

Classical Halftoning Newspaper image From New York Times 9/21/99 cgvr.korea.ac.kr

Halftone Patterns Use cluster of pixels to represent intensity Trade spatial resolution for intensity resolution cgvr.korea.ac.kr

Halftone Patterns How many intensities in a n x n cluster? cgvr.korea.ac.kr

Dithering Distribute errors among pixels Exploit spatial integration in our eye Display greater range of perceptible intensities Original (8 bits) Uniform Quantization (1 bit) Floyd-Steinberg Dither (1 bit) cgvr.korea.ac.kr

Random Dither Randomize quantization errors Errors appear as noise cgvr.korea.ac.kr

Random Dither Original (8 bits) Uniform Quantization (1 bit) Random cgvr.korea.ac.kr

Ordered Dither Pseudo-random quantization errors Matrix stores pattern of thresholds j = x mod n i = y mod n e = I(x, y) – trunc(I(x, y)) if( e > D(i, j) ) P(x, y) = ceil(I(x, y)) else P(x, y) = floor(I(x, y)) cgvr.korea.ac.kr

Ordered Dither Original (8 bits) Uniform Quantization (1 bit) Ordered cgvr.korea.ac.kr

Error Diffusion Dither Spread quantization error over neighbor pixels Error dispersed to pixels right and below α β δ γ α + β + γ + δ = 1.0 cgvr.korea.ac.kr

Error Diffusion Dither Original (8 bits) Random Dither (1 bit) Ordered Dither (1 bit) Floyd-Steinberg Dither (1 bit) cgvr.korea.ac.kr

Overview Image Representation Halftoning and Dithering What is an image? Halftoning and Dithering Trade spatial resolution for intensity resolution Reduce visual artifacts due to quantization Sampling and Reconstruction Key steps in image processing Avoid visual artifacts due to aliasing cgvr.korea.ac.kr

Sampling and Reconstruction cgvr.korea.ac.kr

Sampling and Reconstruction cgvr.korea.ac.kr

Aliasing In general: Specifically, in graphics: Artifacts due to under-sampling or poor reconstruction Specifically, in graphics: Spatial aliasing Temporal aliasing Under-sampling cgvr.korea.ac.kr

Spatial Aliasing Artifacts due to limited spatial resolution cgvr.korea.ac.kr

Spatial Aliasing Artifacts due to limited spatial resolution “Jaggies” cgvr.korea.ac.kr

Temporal Aliasing Artifacts due to Limited Temporal Resolution Strobing Flickering cgvr.korea.ac.kr

Temporal Aliasing Artifacts due to Limited Temporal Resolution Strobing Flickering cgvr.korea.ac.kr

Temporal Aliasing Artifacts due to Limited Temporal Resolution Strobing Flickering cgvr.korea.ac.kr

Temporal Aliasing Artifacts due to Limited Temporal Resolution Strobing Flickering cgvr.korea.ac.kr

Must consider sampling theory! Antialiasing Sample at higher rate Not always possible Doesn’t always solve problem Pre-filter to form bandlimited signal Form bandlimited function (low-pass filter) Trades aliasing for blurring Must consider sampling theory! cgvr.korea.ac.kr

Sampling Theory How many samples are required to represent a given signal without loss of information? What signals can be reconstructed without loss for a given sampling rate? cgvr.korea.ac.kr

Sampling Theorem A signal can be reconstructed from its samples, if the original signal has no frequencies above ½ the sampling frequency – Shannon The minimum sampling rate for bandlimited function is called “Nyquist rate” A signal is bandlimited if its highest frequency is bounded. The frequency is called the bandwidth. cgvr.korea.ac.kr

Image Processing Quantization Filtering Warping Pixel operations Uniform quantization Random dither Ordered dither Floyd-Steinberg dither Pixel operations Add random noise Add luminance Add contrast Add saturation Filtering Blur Detect edge Warping Scale Rotate Warps Combining Morphs Composite cgvr.korea.ac.kr