Multimedia Programming 14: Matting Departments of Digital Contents Sang Il Park.

Slides:



Advertisements
Similar presentations
Super-Resolution Texturing for Online Virtual Globes
Advertisements

Object Removal by Exemplar-Based Inpainting Ye Hong CS766 Fall 2004.
SOFT SCISSORS: AN INTERACTIVE TOOL FOR REALTIME HIGH QUALITY MATTING International Conference on Computer Graphics and Interactive Techniques ACM SIGGRAPH.
Computational Photography, Fall 2013
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 5 Ravi Ramamoorthi
Video Matting from Depth Maps Jonathan Finger Oliver Wang University of California, Santa Cruz {jfinger,
Image Compositing and Matting. Introduction Matting and compositing are important operations in the production of special effects. These techniques enable.
1 Roey Izkovsky Yuval Kaminka Matting Helping Superman fly since 1978.
Stephen J. Guy 1. Photomontage Photomontage GrabCut – Interactive Foreground Extraction 1.
Nonchronological Video Synopsis and Indexing TPAMI 2008 Yael Pritch, Alex Rav-Acha, and Shmuel Peleg, Member, IEEE 1.
Feature-Based Image Metamorphosis Thaddeus Beier Shawn Neely SIGGRAPH 1992.
Boundary matting for view synthesis Samuel W. Hasinoff Sing Bing Kang Richard Szeliski Computer Vision and Image Understanding 103 (2006) 22–32.
Copyright  Pat Hanrahan Optical Printing From: “Special Optical Effects,” Zoran Perisic From: “Industrial Light and Magic,” Thomas Smith (p. 181)
Matting and Transparency : Computational Photography Alexei Efros, CMU, Fall 2007.
 P Hanrahan & M Levoy “Pulling a Matte” - Matte Creation From digitized images o Blue-screen matting (Petro Vlahos) Separate blue background from foreground.
Announcements Project 4 questions? Guest lectures Thursday: Richard Ladner “tactile graphics” Next Tuesday: Jenny Yuen and Jeff Bigham.
Blending and Compositing : Rendering and Image Processing Alexei Efros.
Copyright  Pat Hanrahan Composing Two Elements Background ForegroundTraveling Matte Holdout Matte * *+ += =
Natural Video Matting with Depth Jonathan Finger Oliver Wang University of California, Santa Cruz {jfinger,
Transferring Color to Greyscale Images Tomihisa Welsh, Michael Ashikhmin, Klaus Mueller Presented by Steven Scher
Background Subtraction and Matting : Computational Photography Alexei Efros, CMU, Fall 2006 © Yuri Bonder.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 6: Image Compositing, Morphing Ravi Ramamoorthi
Image Morphing : Rendering and Image Processing Alexei Efros.
Background Subtraction : Rendering and Image Processing Alexei Efros.
Abstract Extracting a matte by previous approaches require the input image to be pre-segmented into three regions (trimap). This pre-segmentation based.
Matting and Transparency : Computational Photography Alexei Efros, CMU, Fall 2006.
Deriving Intrinsic Images from Image Sequences Mohit Gupta Yair Weiss.
An Iterative Optimization Approach for Unified Image Segmentation and Matting Hello everyone, my name is Jue Wang, I’m glad to be here to present our paper.
Image Compositing and Blending : Computational Photography Alexei Efros, CMU, Fall 2007 © NASA.
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 6: Image Compositing, Morphing (brief discussion of reconstruction) Ravi Ramamoorthi
Copyright  Pat Hanrahan Composing Two Elements Background ForegroundTraveling Matte Holdout Matte * *+ += =
Matting : Rendering and Image Processing Alexei Efros …with many slides from Kyros Kutulakos.
Painterly Rendering for Animation Barbara J. Meier Walt Disney Feature Animation SIGGRAPH 96.
02/14/02(c) University of Wisconsin 2002, CS 559 Last Time Filtering Image size reduction –Take the pixel you need in the output –Map it to the input –Place.
3D Scene Models Object recognition and scene understanding Krista Ehinger.
Transparency Transparency (alpha, opacity) defines a pixel color’s visibility in a layer Every element imported into AE contains an opacity channel If.
Announcements Class web site – Handouts –class info –lab access/accounts –survey Readings.
Tomihisa (Tom) Welsh Michael Ashikhmin Klaus Mueller Tomihisa (Tom) Welsh Michael Ashikhmin Klaus Mueller Center for Visual Computing Stony Brook University.
Let us have some after lunch fun. Fast Image and Video Colorization (and beyond) using Chrominance Blending Yatziv and S.
Filtering and Color To filter a color image, simply filter each of R,G and B separately Re-scaling and truncating are more difficult to implement: –Adjusting.
Plug-in and tutorial development for GIMP- Cathy Irwin, 2004 The Development of Image Completion and Tutorial Plug-ins for the GIMP By: Cathy Irwin Supervisors:
Deriving Intrinsic Images from Image Sequences Mohit Gupta 04/21/2006 Advanced Perception Yair Weiss.
Previous lecture Texture Synthesis Texture Transfer + =
Rick Parent - CIS681 Background Perception Display Considerations Video Technology.
Rick Parent - CIS681 Background Perception Display Considerations Film and Video, Analog and Digital Technology.
03/28/03© 2005 University of Wisconsin NPR Today “Comprehensible Rendering of 3-D Shapes”, Takafumi Saito and Tokiichiro Takahashi, SIGGRAPH 1990 “Painterly.
GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.
Graphics Graphics Korea University cgvr.korea.ac.kr Image Processing 고려대학교 컴퓨터 그래픽스 연구실.
WORKING WITH SELECTIONS MASKS and CHANNELS 3D IMAGES LAYER BASICS PHOTO.
Painterly Rendering for Animation Introduction speaks of focus and detail –Small brush strokes focus and provide detail –Large strokes are abstract and.
Image-Pro Premier Basic Training Course Part 7 - Image Enhancements.
Matting and Transparency : Computational Photography Alexei Efros, CMU, Spring 2010.
Image Research Topics. Colors Color2Grey Colorization Color transfer Color harmonization.
Che-An Wu Background substitution. Background Substitution AlphaMa p Trimap Depth Map Extract the foreground object and put into another background Objective.
YOUICHI HORRY, KEN-ICHI ANJYO, KIYOSHI ARAI PROCEEDINGS OF THE 24TH ANNUAL CONFERENCE ON COMPUTER GRAPHICS AND INTERACTIVE TECHNIQUES Tour Into the Picture.
Technological Uncanny K. S'hell, C Kurtz, N. Vincent et E. André et M. Beugnet 1.
Motion and optical flow
Announcements Project 4 out today help session at the end of class.
Advanced Computer Graphics
Background Perception Display Considerations Video Technology.
Multimedia Summer Camp
Composing Two Elements
Data-driven methods: Texture 2 (Sz 10.5)
15-463: Rendering and Image Processing Alexei Efros
Matting, Transparency, and Illumination
Patric Perez, Michel Gangnet, and Andrew Black
VMorph: Motion and Feature-Based Video Metamorphosis
CSE (c) S. Tanimoto, 2002 Image Understanding
CSE (c) S. Tanimoto, 2004 Image Understanding
Photometric Processing
Presentation transcript:

Multimedia Programming 14: Matting Departments of Digital Contents Sang Il Park

Midterm Statistics

Outline Background Subtraction Matting & compositing

Moving in Time Moving only in time, while not moving in space, has many advantages –No need to find correspondences –Can look at how each ray changes over time –In science, always good to change just one variable at a time This approach has always interested artists (e.g. Monet) Modern surveillance video camera is a great source of information –There are now many such WebCams now, some running for several years!

Image Stack As can look at video data as a spatio-temporal volume –If camera is stationary, each line through time corresponds to a single ray in space –We can look at how each ray behaves –What are interesting things to ask? t time

Example

Getting the right pixels Average image Median Image

Webcams Lots of cool potential projects –Weather morphing, weather extrapolation, etc.

Input Video

Average Image What is happening?

Average/Median Image What can we do with this?

Background Subtraction - =

Crowd Synthesis 1.Do background subtraction in each frame 2.Find and record “blobs” 3.For synthesis, randomly sample the blobs, taking care not to overlap them

Background Subtraction A largely unsolved problem… Estimated background Difference Image Thresholded Foreground on blue One video frame

How does Superman fly? Super-human powers? OR Image Matting and Compositing?

Image Compositing

Compositing Procedure 1. Making Sprite (Image + Mask Image (alpha channel)) 2. adding the sprite on the background (Iinear Interpolation) α

Compositing Procedure 1-αα

Multiple Compositing 1. Extract Sprites (e.g using Intelligent Scissors in Photoshop) Composite by David Dewey 2. Blend them into the composite (in the right order)

Compositing: Two Issues Semi-transparent objects Pixels too large

Solution: alpha channel Add one more channel: –Image(R,G,B,alpha) Sprite! Encodes transparency (or pixel coverage): –Alpha = 1:opaque object (complete coverage) –Alpha = 0:transparent object (no coverage) –0<Alpha<1:semi-transparent (partial coverage) Example: alpha = 0.7 Partial coverage or semi-transparency

Multiple Alpha Blending So far we assumed that one image (background) is opaque. If blending semi-transparent sprites (the “A over B” operation): I comp =  a I a + (1-  a )  b I b  comp =  a + (1-  a )  b

“Pulling a Matte” Problem Definition: –The separation of an image C into A foreground object image C o, a background image C b, and an alpha matte  –C o and  can then be used to composite the foreground object into a different image Hard problem –Even if alpha is binary, this is hard to do automatically (background subtraction problem) –For movies/TV, manual segmentation of each frame is infeasible –Need to make a simplifying assumption…

Blue Screen

Blue Screen matting Most common form of matting in TV studios & movies Petros Vlahos invented blue screen matting in the 50s. His Ultimatte ® is still the most popular equipment. He won an Oscar for lifetime achievement. A form of background subtraction: –Need a known background –Compute alpha as SSD(C,Cb) > threshold Or use Vlahos’ formula:  = 1-p 1 (B-p 2 G) –Hope that foreground object doesn’t look like background no blue ties!

The Ultimatte p 1 and p 2

Blue screen for superman?

Topics for the Term Project

Feature based Image Metamorphosis Thaddeus Beier and Shawn Neely, “Feature-Based Image Metamorphosis “, SIGGRAPH 1992

Tour into the picture Anjyo, K., Horry, Y., and Arai, K. “Tour into the picture”, SIGGRAPH 1997

Texture synthesis A. A. Efros and T. K. Leung, "Texture Synthesis by Non-parametric Sampling", ICCV 99A. A. Efros and T. K. Leung, "Texture Synthesis by Non-parametric Sampling", ICCV 99 Wei and Levoy, “Fast Texture Synthesis using Tree-structured Vector Quantization “, SIGGRAPH 2000

Image Analogy A. Hertzmann, C. Jacobs, N. Oliver, B. Curless, D. Salesin, “Image Analogy”, SIGGRAPH 2001

Colorization Tomihisa Welsh, Michael Ashikhmin, and Klaus Mueller, ”Transferring color to grayscale images”, SIGGRAPH 2002

Image Inpainting M. Bertalmío, G. Sapiro, V. Caselles and C. Ballester. “Image Inpainting”, SIGGRAPH 2000

Image Blending Patrick Perez, Michel Gangnet, Andrew Blake, “Poisson Image Editing”, SIGGRAPH source images Poisson seamless cloning

Painterly Rendering Aaron Hertzmann, "Painterly Rendering with Curved Brush Strokes of Multiple Sizes“, SIGGRAPH 1998

Painterly Rendering2 Michio Shiraishi and Yasushi Yamaguchi, “Image Moment-Based Stroke Placement”, ACM SIGGRAPH 99 Conference abstracts and applications, 1999