Improved Seam Carving for Video Retargeting Authors: Michael Rubinstein, Ariel Shamir and Shai Avidan Source: ACM Transactions on Graphics (TOG), Volume.

Slides:



Advertisements
Similar presentations
IMAGE RESIZING & SEAMCARVING CS16: Introduction to Algorithms & Data Structures Thursday, January 23, 14 1.
Advertisements

Adaptive Image and Video Retargeting Technique Based on Fourier Analysis Jun-Seong Kim, Jin-Hwan Kim, and Chang-Su Kim School of Electrical Engineering,
CS 206 Introduction to Computer Science II 04 / 01 / 2009 Instructor: Michael Eckmann.
Introduction to Graphs
Section 6.1 Write Web text Use a mission statement Generate and organize content ideas Section 6.2 Use page dimension guidelines Determine content placement.
DTU Informatics Introduction to Medical Image Analysis Rasmus R. Paulsen DTU Informatics TexPoint fonts.
INTERNATIONAL CONFERENCE ON TELECOMMUNICATIONS, ICT '09. TAREK OUNI WALID AYEDI MOHAMED ABID NATIONAL ENGINEERING SCHOOL OF SFAX New Low Complexity.
Graphs Graphs are the most general data structures we will study in this course. A graph is a more general version of connected nodes than the tree. Both.
September 10, 2013Computer Vision Lecture 3: Binary Image Processing 1Thresholding Here, the right image is created from the left image by thresholding,
Contour Stitching Introduction to Algorithms Contour Stitching CSE 680 Prof. Roger Crawfis.
CS 206 Introduction to Computer Science II 11 / 11 / Veterans Day Instructor: Michael Eckmann.
Graph Drawing and Information Visualization Laboratory Department of Computer Science and Engineering Bangladesh University of Engineering and Technology.
Agenda Seam-carving: finish up “Mid-term review” (a look back) Main topic: Feature detection.
1 Maximizing Lifetime of Sensor Surveillance Systems IEEE/ACM TRANSACTIONS ON NETWORKING Authors: Hai Liu, Xiaohua Jia, Peng-Jun Wan, Chih- Wei Yi, S.
Last Time Pinhole camera model, projection
CS 376b Introduction to Computer Vision 04 / 08 / 2008 Instructor: Michael Eckmann.
Branch and Bound Similar to backtracking in generating a search tree and looking for one or more solutions Different in that the “objective” is constrained.
Binary Image Compression Using Efficient Partitioning into Rectangular Regions IEEE Transactions on Communications Sherif A.Mohamed and Moustafa M. Fahmy.
CS 206 Introduction to Computer Science II 10 / 31 / 2008 Happy Halloween!!! Instructor: Michael Eckmann.
Probabilistic video stabilization using Kalman filtering and mosaicking.
MRF Labeling With Graph Cut CMPUT 615 Nilanjan Ray.
Fast and Area-Efficient Phase Conflict Detection and Correction in Standard-Cell Layouts Charles Chiang, Synopsys Andrew B. Kahng, UC San Diego Subarna.
資訊碩一 蔡勇儀 Date : 603.  Introduction  Basic Theory  Application & Implementation ◦ Aspect Ratio Change ◦ Retargeting with Optimal.
PowerPoint Lesson 3 Working with Visual Elements
Image processing Lecture 4.
Space-Efficient Sequence Alignment Space-Efficient Sequence Alignment Bioinformatics 202 University of California, San Diego Lecture Notes No. 7 Dr. Pavel.
 Jim has six children.  Chris fights with Bob,Faye, and Eve all the time; Eve fights (besides with Chris) with Al and Di all the time; and Al and Bob.
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
Fast Approximate Energy Minimization via Graph Cuts
Presenter : Kuang-Jui Hsu Date : 2011/5/3(Tues.).
Improved Seam Carving for Video Retargeting Michael Rubinstein Mitsubishi Electric Research Lab, Cambridge Ariel Shamir The Interdisciplinary Center, Herzliya.
Interactive Shortest Path Part 3 An Image Segmentation Technique Jonathan-Lee Jones.
Efficient Deployment Algorithms for Prolonging Network Lifetime and Ensuring Coverage in Wireless Sensor Networks Yong-hwan Kim Korea.
Network-Coding Multicast Networks With QoS Guarantees Yuanzhe Xuan and Chin-Tau Lea, Senior Member, IEEE IEEE/ACM TRANSACTIONS ON NETWORKING, VOL. 19,
Visual Cryptography Advanced Information Security March 11, 2010 Presenter: Semin Kim.
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
BILLY CHEN AND PRADEEP SEN MICROSOFT, REDMOND, WA DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING, UNIVERSITY OF NEW MEXICO, ALBUQUERQUE, NM EUROGRAPHICS.
Register Placement for High- Performance Circuits M. Chiang, T. Okamoto and T. Yoshimura Waseda University, Japan DATE 2009.
Image gradients and edges Tuesday, September 1 st 2015 Devi Parikh Virginia Tech Disclaimer: Many slides have been borrowed from Kristen Grauman, who may.
Kshitij Padalkar 13 th Oct Contents: In one Line… Need Solutions and Other Work Definition and Maths Energy, Seam Pixel Removal Criteria Other Energy.
Zhuo Peng, Chaokun Wang, Lu Han, Jingchao Hao and Yiyuan Ba Proceedings of the Third International Conference on Emerging Databases, Incheon, Korea (August.
An Efficient Linear Time Triple Patterning Solver Haitong Tian Hongbo Zhang Zigang Xiao Martin D.F. Wong ASP-DAC’15.
Presenter : Kuang-Jui Hsu Date : 2011/3/24(Thur.).
Efficient Computing k-Coverage Paths in Multihop Wireless Sensor Networks XuFei Mao, ShaoJie Tang, and Xiang-Yang Li Dept. of Computer Science, Illinois.
Journal of Visual Communication and Image Representation
1 Schematization of Networks Rida Sadek. 2 This talk discusses: An algorithm that is studied in the following papers:  S. Cabello, M. de Berg, and M.
Stereo Video 1. Temporally Consistent Disparity Maps from Uncalibrated Stereo Videos 2. Real-time Spatiotemporal Stereo Matching Using the Dual-Cross-Bilateral.
Content-Aware Image Resizing Jack Breese Computer Systems Quarter 1, Pd. 7.
Cutting Images: Graphs and Boundary Finding Computational Photography Derek Hoiem, University of Illinois 09/20/12 “The Double Secret”, Magritte.
Modeling the Game of Brain Cube Leslie Muzulu, Kristal Jameson, and Kathy Radloff; St. Catherine University Game Description Brain Cube is a puzzle game.
LINKED LISTS.
3. Polygon Triangulation
Graphcut Textures:Image and Video Synthesis Using Graph Cuts
Date of download: 10/13/2017 Copyright © ASME. All rights reserved.
Cutting Images: Graphs and Boundary Finding
Image gradients and edges
Iterative Optimization
Image gradients and edges April 11th, 2017
Sequence Pair Representation
Exposing Digital Forgeries by Detecting Traces of Resampling Alin C
Divide Areas Algorithm For Optimal Multi-Robot Coverage Path Planning
Polygon Triangulation
0.69 B A E F G H I C D time Figure 1. Example of a minimal spatiotemporal configuration. A short initial video clip showing.
Silhouette Intersection
Seam Carving Project 1a due at midnight tonight.
Reverse Seam Carving 2011 Sixth International conference on Image and Graphics Gang Pan, Weishu Li, Wei Bai, Jinyan Chen, and Luyuan Li Speaker: Hon-Hang.
Reporter: Wenkai Cui Institution: Tsinghua University Date:
Donghui Zhang, Tian Xia Northeastern University
Recursive Implementation of Anisotropic Filtering
Presentation transcript:

Improved Seam Carving for Video Retargeting Authors: Michael Rubinstein, Ariel Shamir and Shai Avidan Source: ACM Transactions on Graphics (TOG), Volume 27 Issue 3, August 2008 Presenter: Hon-Hang Chang Date: 2011/ 09/ 30 1

Outline Introduction Preliminaries Seam Carving using Graph Cut Forward Energy Results Conclusion 2

To treat video as 3D cube Introduction 1 D path on 2D image (Seam) 2D manifolds in a 3D volume In this paper the author define a new formulation of seam carving using graph cuts. Because of human perception, the temporal may even be more disturbing than spatial in video, as the human eye is highly sensitive to movement. 2D manifolds 3

Introduction A seam is a monotonic and connected path of pixels going from the top of the image to the bottom Or from left to right The image size is reduced by one either in the horizontal or the vertical dimension. video should support retargeting capabilities as it is displayed on TVs, computers, cellular phones. A whole seam 4

Preliminaries Among this, {It} t=1~N Extend the spatial L1-norm to a spatiotemporal L1-norm: Spatiotemporal L1-norm Spatial term Temporal term Where, α ∈ [0, 1] Motion artifacts are more noticeable Taking α= 0.3 5

Seam Carving using Graph Cuts S (Source) T (Sink) Source Sink arc1 arc2 arc3 arc4 Graph cut 6

Seam Carving using Graph Cuts An optimal seam must be: 1.1.Valid - A simple cut cannot define a seam carving 2. Monotonic - Including only one pixel in each row (or column) 3. Connected -The seam must be connected The proposed formulation extend seam carving to video and define a monotonic and connected 2D manifold seam inside the video cube. Optimal seam in graph cut 7

Seam Carving using Graph Cuts Graph cut for image (Non-monotonic) Every internal node P is connected to its four neighbors Nbr(P i, j ) = {Pi−1,j, Pi+1,j, Pi,j−1, Pi,j+1}. Pi,j Pi-1,j Pi,j-1 Pi,j+1 Pi+1,j Neighbors pixels ∂x(i, j) = |I(i, j + 1) − I(i, j)| ∂y(i, j) = |I(i+1, j ) − I(i, j)| Horizontal direction Vertical direction 8

Seam Carving using Graph Cuts Graph cut for image (Unconnected) Prove_1: 9

Seam Carving using Graph Cuts E1(i, j) =∂x(i, j) + ∂y(i, j) Graph cut for image (Original) Prove_2: 10

Seam Carving using Graph Cuts Graph cut for image We can use any energy function defined on the pixels as the weight of the forward horizontal arcs. Achieve the same results as the original dynamic programming based seam carving 11

Seam Carving using Graph Cuts Graph cut for video The extension to video is straightforward. 12

Seam Carving using Graph Cuts Graph cut for video Computation time is quadratic in the number of voxels. O(mn2) - n  #of nodes ; m  #of arcs Performance issues are encountered already for high resolution images The graph cut approach to seam carving allows us to extend the benefits of content-aware resizing to video. Still, the method is not perfect and no single energy function was shown to perform properly in all cases. Therefore, they introduce a new energy function that better protects media content, and improves video results. 13

Forward Energy Remove the seam with the least amount of energy from the image The inserted energy is due to new edges created by previously non adjacent pixels that become neighbors once the seam is removed To measure the real change in energy after a removal of a seam They measure the difference in the energy of the image after the removal (It=i+1) and the energy of only those parts that were not removed in the previous image 14

Forward Energy 15

+LR = | I(i, j+1)− I(i, j−1)| (arc weight between pi,j and pi,j+1) difference between the Left and Right neighbors +LU = | I(i-1, j)− I(i, j−1)| (arc weight between pi,j and pi-1,j) difference between the Left and Up neighbors -LU = | I(i+1, j)− I(i, j−1)| (arc weight between pi,j and pi+1,j) difference between the Left and Up neighbors with respect to the end point of the arrow Forward Energy Forward Energy in Graph Cut 16

Forward Energy Forward Energy in Graph Cut +LR = | I(i, j+1)− I(i, j−1)| (arc weight between pi,j and pi,j+1) difference between the Left and Right neighbors +LU = | I(i-1, j)− I(i, j−1)| (arc weight between pi,j and pi-1,j) difference between the Left and Up neighbors -LU = | I(i+1, j)− I(i, j−1)| (arc weight between pi,j and pi+1,j) difference between the Left and Up neighbors with respect to the end point of the arrow 17

Results 18

Results 19

Conclusion 20 Video retargeting is achieved using graph cuts and we have shown a construction that is consistent with the dynamic programming approach.