Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 5: Image Processing 2: Warping Ravi Ramamoorthi

Slides:



Advertisements
Similar presentations
CSE 781 Anti-aliasing for Texture Mapping. Quality considerations So far we just mapped one point – results in bad aliasing (resampling problems) We really.
Advertisements

Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 4: Image Processing 1 Ravi Ramamoorthi
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 4 Ravi Ramamoorthi
Texture Mapping. Texturing  process that modifies the appearance of each point on a surface using an image or function  any aspect of appearance can.
Image Interpolation CS4670: Computer Vision Noah Snavely.
David Luebke1/19/99 CS 551/651: Antialiasing David Luebke
Ted Adelson’s checkerboard illusion. Motion illusion, rotating snakes.
MIT EECS 6.837, Durand and Cutler Sampling, Aliasing, & Mipmaps.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 5 Ravi Ramamoorthi
Lecture 11: Transformations CS4670/5760: Computer Vision Kavita Bala.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi Some slides.
Sampling, Aliasing, & Mipmaps
CSCE 641 Computer Graphics: Image Sampling and Reconstruction Jinxiang Chai.
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 5: Image Processing 2: Warping Ravi Ramamoorthi
CSCE 641:Computer Graphics Image Warping/Registration Jinxiang Chai.
Computer Vision Introduction to Image formats, reading and writing images, and image environments Image filtering.
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
CSCE 641:Computer Graphics Image Warping/Morphing Jinxiang Chai.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 6: Image Compositing, Morphing Ravi Ramamoorthi
Computational Photography Image Warping/Morphing Jinxiang Chai.
CS5520 Image-Based Rendering © Chun-Fa Chang, Spring 2003 Sampling Theorem & Antialiasing April 15, 2003.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 7: Review, Reconstruction Ravi Ramamoorthi
Lecture 9: Image alignment CS4670: Computer Vision Noah Snavely
1 Image filtering Images by Pawan SinhaPawan Sinha.
1 Image filtering
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 6: Image Compositing, Morphing (brief discussion of reconstruction) Ravi Ramamoorthi
Image Sampling Moire patterns -
Computational Photography: Image Processing Jinxiang Chai.
Advanced Computer Vision Chapter 3 Image Processing (2) Presented by: 傅楸善 & 張乃婷
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 3 Ravi Ramamoorthi
© Chun-Fa Chang Sampling Theorem & Antialiasing. © Chun-Fa Chang Motivations “ My ray traced images have a lot more pixels than the TV screen. Why do.
Image Resampling ASTR 3010 Lecture 21 Textbook 9.4.
CSCE 441: Computer Graphics Image Warping/Morphing Jinxiang Chai.
Computer Graphics Texture Mapping
Filtering Robert Lin April 29, Outline Why filter? Filtering for Graphics Sampling and Reconstruction Convolution The Fourier Transform Overview.
CS 450: COMPUTER GRAPHICS ANTIALIASING SPRING 2015 DR. MICHAEL J. REALE.
Image Processing Basics. What are images? An image is a 2-d rectilinear array of pixels.
CMSC 635 Sampling and Antialiasing. Aliasing in images.
Advanced Computer Vision Chapter 3 Image Processing (2) Presented by: 林政安
CS559: Computer Graphics Lecture 4: Compositing and Resampling Li Zhang Spring 2008.
MIT EECS Sampling, Aliasing, & Mipmaps. MIT EECS Last Time? Global illumination “physically accurate light transport” The rendering equation.
Image Processing 고려대학교 컴퓨터 그래픽스 연구실 cgvr.korea.ac.kr.
Krivljenje slike - warping. Princip 2D krivljenja Demo.
Sampling Theorem & Antialiasing
CS559: Computer Graphics Final Review Li Zhang Spring 2010.
Lecture 3: Filtering and Edge detection
Computer Vision – Sampling Hanyang University Jong-Il Park.
1 Dr. Scott Schaefer Antialiasing. 2/70 What is aliasing?
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
CS559: Computer Graphics Lecture 7: Image Warping and Panorama Li Zhang Spring 2008 Most slides borrowed from Yungyu ChuangYungyu Chuang.
CS559: Computer Graphics Lecture 7: Image Warping and Morphing Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Lecture 15: Transforms and Alignment CS4670/5670: Computer Vision Kavita Bala.
Antialiasing. What is alias? Alias - A false signal in telecommunication links from beats between signal frequency and sampling frequency (from dictionary.com)
Krivljenje slike - warping
Advanced Computer Graphics
Advanced Computer Graphics
Advanced Computer Graphics
Sampling Theorem & Antialiasing
Image warping/morphing
CSCE 441: Computer Graphics Image Warping
Image Sampling Moire patterns
Samuel Cheng Slide credits: Noah Snavely
Lecture 5: Resampling, Compositing, and Filtering Li Zhang Spring 2008
Morphing WU PO-HUNG.
Resampling.
Image Processing 고려대학교 컴퓨터 그래픽스 연구실 kucg.korea.ac.kr.
Graphics Laboratory Korea University
Computer Graphics: Image Warping/Morphing
Image Processing 고려대학교 컴퓨터 그래픽스 연구실 kucg.korea.ac.kr.
Presentation transcript:

Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 5: Image Processing 2: Warping Ravi Ramamoorthi

To Do  Assignment 1, Due Feb 15.  All info in this and previous lecture  Enough to implement second half of ass  Questions/difficulties so far in doing assignment?

Outline  Image Warping  General ideas  Resampling filters  Antialiased shift and resize  Not well covered in textbook Many slides courtesy Tom Funkhouser

Image Warping

Example Mappings

Forward Warping/Mapping  Iterate over source, sending pixels to destination

Forward Warping: Problems  Iterate over source, sending pixels to destination  Same source pixel may map to multiple dest pixels  Some dest pixels may have no corresponding source  Holes in reconstruction  Must splat etc.

Inverse Warping/Mapping  Iterate destination, finding pixels from source

Inverse Warping/Mapping  Iterate over dest, finding pixels from source  Non-integer evaluation source image, resample  May oversample source  But no holes  Simpler, better than forward mapping

Outline  Image Warping  General ideas  Resampling filters  Antialiased shift and resize  Not well covered in textbook Many slides courtesy Tom Funkhouser

Filtering or Resampling  Compute weighted sum of pixel neighborhood  Weights are normalized values of kernel function  Equivalent to convolution at samples with kernel  Find good filters using ideas of last lecture

Filters for Assignment Implement 3 filters  Nearest neighbor or point sampling  Hat filter (linear or triangle)  Mitchell cubic filter (form in assigments). This is a good finite filter that approximates ideal sinc but without ringing or infinite width. Alternative is gaussian Construct 2D filters by multiplying 1D filters

Filtering Methods Comparison

Inverse Warping/Mapping  Iterate destination, finding pixels from source

Outline  Image Warping  General ideas  Resampling filters  Antialiased shift and resize  Not well covered in textbook Many slides courtesy Tom Funkhouser

Antialiased Shift Shift image based on (fractional) x and y  Check for integers, treat separately  Otherwise convolve/resample with kernel/filter:

Antialiased Scale Magnification Magnify image  Interpolate between orig. samples to evaluate frac vals  Do so by convolving/resampling with kernel/filter:

Antialiased Scale Minification checkerboard.bmp 300x300: point sample checkerboard.bmp 300x300: Mitchell

Antialiased Scale Minification Minify (reduce size of) image  Similar in some ways to mipmapping for texture maps  We use fat pixels of size 1/s, with new size sw (w is original size, s is scale factor < 1).  Each fat pixel must integrate over corresponding region in original image using the kernel f.

Antialiased Scale Minification Minify (reduce size of) image  Similar in some ways to mipmapping for texture maps  We use fat pixels of size 1/s, with new size sw (w is original size, s is scale factor < 1).  Each fat pixel must integrate over corresponding region in original image using the kernel f.  Hence, center filter at a/s, width 1/s times normal width  Caveats: floating point, parametric form for filter

To Do  Assignment 1, Due Feb 15.  All info in this and previous lecture  Enough to implement second half of ass  Questions/difficulties so far in doing assignment?