Panoramic Video Texture

Similar documents
Panoramic Video Textures

Photoshop Quickselect & Interactive Digital Photomontage

Space-Time Scene Manifolds

Targil 10 : Why Mosaic? Why is this a challenge? Exposure differences Scene illumination Miss-registration Moving objects

Fast Image Stitching and Editing for Panorama Painting on Mobile Phones

Fast Image Stitching and Editing for Panorama Painting on Mobile Phones

Today s lecture. Image Alignment and Stitching. Readings. Motion models

Gradient Domain Image Blending and Implementation on Mobile Devices

Video Alignment. Literature Survey. Spring 2005 Prof. Brian Evans Multidimensional Digital Signal Processing Project The University of Texas at Austin

Panoramic Stereo Video Textures

(51) Int Cl.: G06F 17/30 ( ) (56) References cited:

Georgios Tziritas Computer Science Department

Image Stitching using Watersheds and Graph Cuts

Fast Image Labeling for Creating High-Resolution Panoramic Images on Mobile Devices

D animation. Advantages of 3-D3. Advantages of 2-D2. Related work. Key idea. Applications of Computer Graphics in Cel Animation.

Prof. Feng Liu. Spring /17/2017. With slides by F. Durand, Y.Y. Chuang, R. Raskar, and C.

Recap. DoF Constraint Solver. translation. affine. homography. 3D rotation

Video Alignment. Final Report. Spring 2005 Prof. Brian Evans Multidimensional Digital Signal Processing Project The University of Texas at Austin

Video Textures. Arno Schödl Richard Szeliski David H. Salesin Irfan Essa. presented by Marco Meyer. Video Textures

Color Me Right Seamless Image Compositing

Announcements. Mosaics. Image Mosaics. How to do it? Basic Procedure Take a sequence of images from the same position =

Wook Kim. 14 September Korea University Computer Graphics Lab.

Chapter 11.3 MPEG-2. MPEG-2: For higher quality video at a bit-rate of more than 4 Mbps Defined seven profiles aimed at different applications:

Photographic stitching with optimized object and color matching based on image derivatives

Video Operations in the Gradient Domain. Abstract. these operations on video in the gradient domain. Our approach consists of 3D graph cut computation

Computational Photography

Image Mosaicing with Motion Segmentation from Video

Soft Scissors : An Interactive Tool for Realtime High Quality Matting

Cliplets: Juxtaposing Still and Dynamic Imagery

Image Compositing and Blending

Image stitching. Announcements. Outline. Image stitching

Global Flow Estimation. Lecture 9

A New Technique for Adding Scribbles in Video Matting

But, vision technology falls short. and so does graphics. Image Based Rendering. Ray. Constant radiance. time is fixed. 3D position 2D direction

What have we leaned so far?

Stitching and Blending

Parallax-tolerant Image Stitching

Mosaics. Today s Readings

CMPT 365 Multimedia Systems. Media Compression - Video Coding Standards

IMA Preprint Series # 2171

Motion Estimation. There are three main types (or applications) of motion estimation:

Global Flow Estimation. Lecture 9

Image Composition. COS 526 Princeton University

Chapter 3 Image Registration. Chapter 3 Image Registration

Video Synopsis and Indexing

Hole Filling Through Photomontage

AVOIDING BLEEDING IN IMAGE BLENDING. TNList, Tsinghua University School of Computer Science and Informatics, Cardiff University

INTRODUCTION TO 360 VIDEO. Oliver Wang Adobe Research

Notes 9: Optical Flow

CS6670: Computer Vision

VIDEO background completion is an important problem

Drag and Drop Pasting

Image-Based Modeling and Rendering

Fast Image Registration via Joint Gradient Maximization: Application to Multi-Modal Data

Announcements. Mosaics. How to do it? Image Mosaics

Topics to be Covered in the Rest of the Semester. CSci 4968 and 6270 Computational Vision Lecture 15 Overview of Remainder of the Semester

Bluray (

Image Processing Techniques and Smart Image Manipulation : Texture Synthesis

Panoramic Image Stitching

Mobile Panoramic Imaging System

Topics. Image Processing Techniques and Smart Image Manipulation. Texture Synthesis. Topics. Markov Chain. Weather Forecasting for Dummies

Shift-Map Image Editing

Self-aligned Double Patterning Layout Decomposition with Complementary E-Beam Lithography

Texture Synthesis. Fourier Transform. F(ω) f(x) To understand frequency ω let s reparametrize the signal by ω: Fourier Transform

Texture Synthesis and Manipulation Project Proposal. Douglas Lanman EN 256: Computer Vision 19 October 2006

Video Texture. A.A. Efros

Online Video Registration of Dynamic Scenes using Frame Prediction

Lucas-Kanade Without Iterative Warping

CS6670: Computer Vision

CS 4495 Computer Vision A. Bobick. Motion and Optic Flow. Stereo Matching

Scalable Motion-Aware Panoramic Videos

technique: seam carving Image and Video Processing Chapter 9

Face Cyclographs for Recognition

Separating Transparent Layers of Repetitive Dynamic Behaviors

Automatic Generation of An Infinite Panorama

Multidimensional Data and Modelling

Super-Resolution. Many slides from Miki Elad Technion Yosi Rubner RTC and more

Interactive Video Object Extraction & Inpainting 清華大學電機系. Networked Video Lab, Department of Electrical Engineering, National Tsing Hua University

Browsing: Query Refinement and Video Synopsis

Motion in 2D image sequences

CSE 252B: Computer Vision II

Multiperspective mosaics for under vehicle inspection

Dynamic Color Flow: A Motion-Adaptive Color Model for Object Segmentation in Video

Dense Image-based Motion Estimation Algorithms & Optical Flow

Fast Poisson Blending using Multi-Splines

Particle Tracking. For Bulk Material Handling Systems Using DEM Models. By: Jordan Pease

Sketch Based Image Deformation

Using Photographs to Enhance Videos of a Static Scene

Joint design of data analysis algorithms and user interface for video applications

Representing Moving Images with Layers. J. Y. Wang and E. H. Adelson MIT Media Lab

Piecewise Image Registration in the Presence of Multiple Large Motions

Computer Vision. CS664 Computer Vision. 1. Introduction. Course Requirements. Preparation. Applications. Applications of Computer Vision

Spatially-Varying Image Warps for Scene Alignment

Image-based modeling (IBM) and image-based rendering (IBR)

An Algorithm for Seamless Image Stitching and Its Application

Seam-Carving. Michael Rubinstein MIT. and Content-driven Retargeting of Images (and Video) Some slides borrowed from Ariel Shamir and Shai Avidan

Data-driven methods: Video & Texture. A.A. Efros

Handbook of 3D Machine Vision Optical Metrology and Imaging Song Zhang

Data-driven methods: Video & Texture. A.A. Efros

Finally: Motion and tracking. Motion 4/20/2011. CS 376 Lecture 24 Motion 1. Video. Uses of motion. Motion parallax. Motion field

Transcription:

Aseem Agarwala, Colin Zheng, Chris Pal, Maneesh Agrawala, Michael Cohen, Brian Curless, David Salesin, Richard Szeliski A paper accepted for SIGGRAPH 05 presented by 1

Outline Introduction & Motivation Problem Definition Algorithm Results Conclusion 2

Introduction: Panorama Normally done by stitching images together Reveals wide all-encompassing view Provides limited form of immersion Robert Barker(1792) 3

PVT - Motivation Wide field of view Infinite, non repetitive length Immersive experience 4

Related Works Image/video hybrids [Finkelstein 1996; Irani and Anandan 1998] Full video panoramas [Neumann 2000; Uyttendaele 2004] Drawbacks: Finite duration in time Need of specialized hardware Restriction of resolution 5

Input t [frames] x [pixels] Panning camera Spatio-temporal volume 6

Notations t [frames] V(x,y,t) = Ø x [pixels] Δ(p)=(0,0,δ (p)) Input volume: spatiotemporal volume V(x,y,t) Output volume Point/Pixel p=(x,y,t) Mapping (x,y,t) Δ(p) (x, y,t + δ (x,y,t)) t x 7

Video Registration Align frames Warp video frames into one global coordinate system Problems with aperiodical movements Mask out moving parts of the input video 8

Dynamic & Static Regions Partion scene into separate dynamic and static regions 1 frame for static part, saving memory Dynamic regions can be computed independently and with different durations 9

Dynamic & Static Regions Partition scene into separate dynamic and static regions 1 frame for static part, saving memory Dynamic regions can be computed independently and with different durations Background layer B(x,y) Binary matte D for dynamic regions D overlaps non-null regions of B along one-pixel wide boundary 10

Simple Approach Sheared rectangular slice through input volume Shear it into the output volume. May change structure of motion in scene 11

Simple Approach 12

Problem Definition Given a finite segment of video V shot by a single panning camera, create a mapping Δ(p) = (0,0,δ (p)) for every pixel p in the output panoramic video texture, such that V(p+Δ(p)) = Ø and the seam cost of the mapping C s (Δ) is minimized. 13

Seam cost (1) Boundary cost Volume cost 14

Seam cost (2) Cost function C s maps onto 3D Markov random field (MRF) Domain D [0..t max ] Free variables Δ(p) resp. δ (p) t y x 15

Size of aligned input video 6000 x 1200 pixels spatially 1000 s of frames 500 choices for δ (p) for every pixel p Output video 35 frames Output volume 6000 x 1200 x 35 2.5 x 10 8 variables each with 500 possible values Typical values 16

PVT algorithm 1. Preprocessing steps Video registration using existing techniques User-drawn mask to separate static and dynamic regions Determine looping length 2. Constrained formulation 3. Loosening constraints 4. Hierachical min-cut optimization 5. Gradient-domain compositing 17

Algorithm: Looping length Choose l min and l max Determine best loop length t max Compare each input frame t to each input frame in the range (t+ l min, t+ l max) ) that spatially overlaps with frame t by at least 50%. Find pair of frames t, t+l and set t max (t) to l-1 18

PVT algorithm 1. Preprocessing steps Video registration using existing techniques User-drawn mask to separate static and dynamic regions Determine looping length 2. Constrained formulation 3. Loosening constraints 4. Hierachical min-cut optimization 5. Gradient-domain compositing 19

Alogrithm: Constrained Formulation 1. Single time offset δ at each output location (x,y), regardless of t 2. Set Δ(p) the same for each pixel in a given column of the output 1D search space List of time offsets m different time offsets 20

Consider now the full 3D MRF Problem Alogrithm: Loosening the constraints Every pixel may take on different mapping Δ(p) = (0,0,δ (p)) δ(p) restricted to 2m time offsets 2m different time offsets 21

Loosening Contraints Iterative min-cut optimization Define 3D-graph with each node representing one pixel in output video volume Group pixels with same offset Still too high computational costs iterate over each possible offset α p a q r b s α 1D Representation 22

Alogrithm: Hierarchical mincut optimization Compute solution at coarser resolution Seams at finer resolution will be roughly similar to those at coarser resolution Approach finer resolution using 2-3 hierachical steps 23

PVT algorithm 1. Preprocessing steps Video registration using existing techniques User-drawn mask to separate static and dynamic regions Determine looping length 2. Constrained formulation 3. Loosening constraints 4. Hierachical min-cut optimization 5. Gradient-domain compositing 24

Algorithm: Gradient-domain compositing Visual artifacts Exposure variations Errors in alignment procedure Treat frames as 3D volume cube Composit video in the gradient domain Treat video as source of color gradients y t x Integrate 3D gradient field to create video texture 25

Results 7400 x 1300, 107MB 2600 x 1400, 106MB 3300 x 800, 65MB 26

Performance 2-7 hours to compute Performance loss due to swapping video frames in and out of memory More intelligent frame caching would reduce time 27

Limitations Scene needs some kind of stationarity Aperiodical movements Overlapping of periodically moving elements Failure to observe a complete cycle of a periodic phenomenon 28

Future Work Automatic segmentation of the scene into dynamic and still regions Add audio Video sprites 3D 29

Discussion 30