CS148: Introduction to Computer Graphics and Imaging Final Review Session.

Slides:



Advertisements
Similar presentations
Multimedia System Video
Advertisements

Computer Vision Lecture 7: The Fourier Transform
Chapter 6 Review.
Image (and Video) Coding and Processing Lecture 5: Point Operations Wade Trappe.
Chapter 7 End-to-End Data
School of Computing Science Simon Fraser University
Chapter 5 Making Connections Efficient: Multiplexing and Compression
Lecture05 Transform Coding.
CS248 Midterm Review. CS248 Midterm Mon, November 4, 7-9 pm, Terman Aud Mostly “short answer” questions – Keep your answers short and sweet! Covers lectures.
CS248 Midterm Review Derek Chan and Ethan Dreyfuss.
CS248 Midterm Review Szymon Rusinkiewicz. CS248 Midterm Monday, November 1, 7-9 pm Gates B01 and B03 Designed to be 1-hour exam Mostly “short answer”
Spatial and Temporal Data Mining
lecture 5, Sampling and the Nyquist Condition Sampling Outline  FT of comb function  Sampling Nyquist Condition  sinc interpolation Truncation.
Midterm Review. World is practically continuous in time space color brightness dynamic range brightness.
CS248 Midterm Review. CS248 Midterm Mon, November 3, 7-9 pm, Gates B01 Mostly “short answer” questions – Keep your answers short and sweet! Covers lectures.
CS148: Introduction to Computer Graphics Final Review Session.
CS :: Fall 2003 MPEG-1 Video (Part 1) Ketan Mayer-Patel.
CS248 Midterm Review Michael Green and Sean Walker (based on the work of previous TAs)
JPEG Still Image Data Compression Standard
CMPT 365 Multimedia Systems
T.Sharon-A.Frank 1 Multimedia Image Compression 2 T.Sharon-A.Frank Coding Techniques – Hybrid.
CS148: Introduction to Computer Graphics and Imaging Midterm Review Session.
CS248 Midterm Review. CS248 Midterm Mon, November 5, 7-9 pm, Terman Aud Mon, November 5, 3-5 pm, Gates 392 Mostly “short answer” questions Covers through.
5. 1 JPEG “ JPEG ” is Joint Photographic Experts Group. compresses pictures which don't have sharp changes e.g. landscape pictures. May lose some of the.
Why Compress? To reduce the volume of data to be transmitted (text, fax, images) To reduce the bandwidth required for transmission and to reduce storage.
1 JPEG Compression CSC361/661 Burg/Wong. 2 Fact about JPEG Compression JPEG stands for Joint Photographic Experts Group JPEG compression is used with.jpg.
Image and Video Compression
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
Trevor McCasland Arch Kelley.  Goal: reduce the size of stored files and data while retaining all necessary perceptual information  Used to create an.
Lossy Compression Based on spatial redundancy Measure of spatial redundancy: 2D covariance Cov X (i,j)=  2 e -  (i*i+j*j) Vertical correlation   
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 3 Ravi Ramamoorthi
Fundamentals Rawesak Tanawongsuwan
Page 18/30/2015 CSE 40373/60373: Multimedia Systems 4.2 Color Models in Images  Colors models and spaces used for stored, displayed, and printed images.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Introduction to JPEG Alireza Shafaei ( ) Fall 2005.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 8 – JPEG Compression (Part 3) Klara Nahrstedt Spring 2012.
ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.
MPEG-1 and MPEG-2 Digital Video Coding Standards Author: Thomas Sikora Presenter: Chaojun Liang.
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
Klara Nahrstedt Spring 2011
Lecture No. 3.  Screen resolution  Color  Blank space between the pixels  Intentional image degradation  Brightness  Contrast  Refresh rate  Sensitivity.
Video Video.
DIGITAL Video. Video Creation Video captures the real world therefore video cannot be created in the same sense that images can be created video must.
Digital Cameras And Digital Information. How a Camera works Light passes through the lens Shutter opens for an instant Film is exposed to light Film is.
Image Processing and Computer Vision: 91. Image and Video Coding Compressing data to a smaller volume without losing (too much) information.
Wavelet-based Coding And its application in JPEG2000 Monia Ghobadi CSC561 final project
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
Image Compression Supervised By: Mr.Nael Alian Student: Anwaar Ahmed Abu-AlQomboz ID: IT College “Multimedia”
Digital Image Processing Image Compression
October 29, 2013Computer Vision Lecture 13: Fourier Transform II 1 The Fourier Transform In the previous lecture, we discussed the Hough transform. There.
Image Processing Basics. What are images? An image is a 2-d rectilinear array of pixels.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
Digital Video Digital video is basically a sequence of digital images  Processing of digital video has much in common with digital image processing First.
The Digital Revolution Changing information. What is Digital?  Discrete values used for  Input  Processing  Transmission  Storage  Display  Derived.
Visual Computing Computer Vision 2 INFO410 & INFO350 S2 2015
HOW JEPG WORKS Presented by: Hao Zhong For 6111 Advanced Algorithm Course.
JPEG.
Block-based coding Multimedia Systems and Standards S2 IF Telkom University.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
Introduction to JPEG m Akram Ben Ahmed
CS 376b Introduction to Computer Vision 03 / 17 / 2008 Instructor: Michael Eckmann.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 4 – Audio and Digital Image Representation Klara Nahrstedt Spring 2010.
JPEG. Introduction JPEG (Joint Photographic Experts Group) Basic Concept Data compression is performed in the frequency domain. Low frequency components.
Advanced Computer Graphics
JPEG Image Coding Standard
Images, Display, Perception
Chapter III, Desktop Imaging Systems and Issues: Lesson IV Working With Images
Image Transforms for Robust Coding
Topic 1 Three related sub-fields Image processing Computer vision
Review and Importance CS 111.
Presentation transcript:

CS148: Introduction to Computer Graphics and Imaging Final Review Session

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Outline Final Info Review of Topics Displays Exposure & Tone Reproduction Mattes & Compositing Filtering Sampling Compression Digital Video Modeling

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Final Exam Info Time: Wed, Mar 21st at 12:15pm Location: Building 300, Rm 300 Duration: 2 hours Closed book Consists of a few (4 or 5) multi-part questions All material through modeling lecture Emphasis: second half of class Strongly emphasized: material on assignments Focus on: material from lectures Also covered: material from readings This review covers the second half, see the midterm review for the first half of the material

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Displays Resolution - Spatial, temporal, and color/intensity Interlaced vs. Non-Interlaced (Progressive scan) Calibration – not all displays have the same colors, calibrate to match standard (e.g. sRGB)

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Displays CRT – electron beam + phosphors Plasma – ionized gas forms plasma LCD – twisted nematic cells DLP – fast twitching micromirrors Laser Projection OLED Electronic Ink

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Exposure & Tonemapping Contrast: Max:Min World: Possible 100,000,000,000:1 Typical 100,000:1 People:100:1 Media: Printed Page:10:1 Displays:80:1 (400:1) Typical Viewing:5: candela/m2 100 Eye 1 Sun Moon Stars

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Exposure & Tonemapping

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Exposure & Tonemapping Create HDR Image – Weighted log-average based on input images, shutter speeds, and response curve Gamma – display intensity is non-linear response to voltage (monitor gamma ~ 2.5) Perception – non-linear as well ( ~ 1/3) Tone Reproduction – map HDR to displayable range Linear map Remap through response/gamma Log L – L / (1+L) More complicated techniques (separate luminance/color)

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Mattes & Compositing Combine foreground and background objects α = Coverage = Area = Opacity = 1 – Transparency C F – foreground color, C B – background color C = α * C F + (1 – α) * C B Premultiplied α: C’ = αC = (αr, αg, αb, α) “Pulling a matte” – blue screen, image processing α

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Mattes & Compositing Blue screen matte extraction Given: C – Observed color C B – Backing color (possibly per pixel) Compute: C F = (α F R F, α F G F, α F B F, α F ) Matte Equation: C = C F + (1 – α F )C B 3 Equations, 4 Unknowns – must make some assumptions

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Convolution Convolution – integration/summation of translated filter with signal

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Fourier Transform Expresses any signal as sum of sin and cos functions

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Fourier Transform Spatial Domain f(x,y) Frequency Domain F(ω x, ω y ) Fourier Transform Inverse Fourier Transform ConvolutionMultiplication MultiplicationConvolution SincBox

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Fourier Transform

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Fourier Transform – Low Pass

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Fourier Transform – High Pass

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Fourier Transform – Band Pass

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Sampling Imagers sample continuous functions sensors integrate over their area Examples of imagers retina  photoreceptors digital camera  CCD or CMOS array Digitally – record value of signal periodically (samples)

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Nyquist Frequency Nyquist Frequency – ½ the sampling frequency A periodic signal with a frequency above the Nyquist frequency cannot be distinguished from a periodic signal below the Nyquist frequency These indistinguishable signals are called aliases

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Sampling – Spatial Domain

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Sampling – Frequency Domain

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Undersampling – Frequency Domain

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Reconstruction – Frequency Domain

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Reconstruction – Spatial Domain

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Compression Kolmogorov Complexity – smallest program to generate data Lossless Coding Run length coding – exploit obvious redundancy Huffman Coding – variable length code, highly probable characters -> shorter codes Transform Coding – perform invertible transform on data to make it more amenable to compression (applies to lossless and lossy!)

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Bases e1e1 e2e2 b1b1 b2b2 a*e 1 + b*e 2 (a,b) in this basis m*b 1 + n*b 2 (m,n) in this basis Any vector can be expressed as linear combination of either basis (pair of vectors)

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Lossy Image Compression (JPEG) Image Discrete Cosine Transform Transformed Image Quantization (Lossy Step) Reorder + Coding Compressed Data Stream JPEG2000 is similar but uses the wavelet transform. Exploit human perception – quantize high frequencies more heavily since we are less sensitive to them.

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Wavelet Transform Just another invertible transform (expresses signal in different basis) Generated in steps by calculating smoothed (approximate) values and detail (corrective) values Resulting basis functions have compact support – they are only non-zero over a limited range – error in coefficient causes localized error

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Wavelet Transform Full Transform High Resolution Details Medium Resolution Details Low Resolution Details Average Value

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Video Raster scan – convert 2D signal to 1D Synchronize vertical refresh to swap buffers Television – Amplitude modulation (next) Color TV – use amplitude modulation to place luminance and chrominance signals at different frequencies Less responsive to high frequencies in color Compression I-Frames – JPEG Compression P,B-Frames – Motion predictions + encode difference

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Amplitude Modulation

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Modeling Representations Dense Polygonal Meshes Bicubic surfaces Subdivision Surfaces Operations Instancing Transformation – linear and non-linear Compression, simplification Deform, skin, morph, animate Smooth Set operations

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Bezier Curve

CS148 Midterm ReviewPat Hanrahan, Winter 2007 Subdivision Surfaces Loop subdivision algorithm Extraordinary points Semi-regular meshes