Image Resizing / Retargeting

Similar documents
Saliency Based Content-Aware Image Retargeting

Non-homogeneous Content-driven Video-retargeting

Using Microsoft Picture Manager

Improved content aware scene retargeting for retinitis pigmentosa patients

Microsoft Excel 2010 Charts and Graphs

MassArt Studio Foundation: Visual Language Digital Media Cookbook, Fall 2013

Course Project Lab 3 - Creating a Logo (Illustrator)

Ultra-High Resolution Digital Mosaics

EPSON SCANNING TIPS AND TROUBLESHOOTING GUIDE Epson Perfection 3170 Scanner

Quick Guide to IrfanView

Correcting the Lateral Response Artifact in Radiochromic Film Images from Flatbed Scanners

Visualization and Feature Extraction, FLOW Spring School 2016 Prof. Dr. Tino Weinkauf. Flow Visualization. Image-Based Methods (integration-based)

Communicate: In Print

Otis Photo Lab Inkjet Printing Demo

Interactive Voting System. IVS-Basic IVS-Professional 4.4

Structure-Preserving Image Retargeting With Compression Assessment and Adaptive Registration

Fireworks CS4 Tutorial Part 1: Intro

Instructions to Create Your Rollup Poster in PowerPoint

2-1 Position, Displacement, and Distance

Create a Poster Using Publisher

How to resize, rotate, and crop images

Graphic Communication Desktop Publishing

Efficient Scale-space Spatiotemporal Saliency Tracking for Distortion-Free Video Retargeting

User Tutorial on Changing Frame Size, Window Size, and Screen Resolution for The Original Version of The Cancer-Rates.Info/NJ Application

PowerPoint 2007 Basics Website:

Publisher 2010 Cheat Sheet

Identity Guide. HHMI Identity Guidelines V 1.2 1

AB3080 L. Learning Objectives: About the Speaker:

Tutorial for Tracker and Supporting Software By David Chandler

Understand the Sketcher workbench of CATIA V5.

WITH the rapid growth of handheld devices and wireless

Recipes4Success. Animate a Rocket Ship. Frames 6 - Drawing Tools

Graphic Design. Background: The part of an artwork that appears to be farthest from the viewer, or in the distance of the scene.

CREATING A CUBEMAP AND CUBE FACES FOR USE IN PHOENIX RC SCENERY CREATION

Linkage 3.2. User s Guide

Working with the new enudge responsive styles

Photoshop- Image Editing

SECTION 2-1: OVERVIEW SECTION 2-2: FREQUENCY DISTRIBUTIONS

Microsoft Picture Manager. Picture Manager

Sage Accountants Business Cloud EasyEditor Quick Start Guide

Visualization of 2D Domains

2. More Use of the Mouse in Windows 7

Automatic 3D Reconstruction via Object Detection and 3D Transformable Model Matching CS 269 Class Project Report

This document will describe how you can create your own, fully responsive. drag and drop template to use in the creator.

First Bytes Programming Lab 2

MULTIMEDIA INSTALLING THE MULTIMEDIA UPGRADE

SketchUp Instructions

Terminal Four (T4) Site Manager

Create a folder on your network drive called DEM. This is where data for the first part of this lesson will be stored.

Sachin Patel HOD I.T Department PCST, Indore, India. Parth Bhatt I.T Department, PCST, Indore, India. Ankit Shah CSE Department, KITE, Jaipur, India

Adobe Illustrator CS5 Part 1: Introduction to Illustrator

Some Tips Using Adobe Illustrator by John D. Winter

How to build text and objects in the Titler

Making a Poster Using PowerPoint 2007

NVCC Alexandria Campus

My Custom Design ver.1.0

Data Visualization. Brief Overview of ArcMap

SAS BI Dashboard 3.1. User s Guide

DIRECTIONS FOR SETTING UP LABELS FOR MARCO S INSERT STOCK IN WORD PERFECT, MS WORD AND ACCESS

START-UP MANUAL FOR MTI 4.0 TECHNICAL ANALYSIS CHARTING

Joomla Article Advanced Topics: Table Layouts

Microsoft Office PowerPoint 2013

Smartboard and Notebook 10 What s New

Final Software Tools and Services for Traders

Arrangements And Duality

How To Create A View Frame In 3D

Colour Image Segmentation Technique for Screen Printing

Face detection is a process of localizing and extracting the face region from the

Drupal Training Guide

SeeVogh User Guide. Date: March 26 th, 2012

How to Add a Transparent Flash FLV movie to your Web Page Tutorial by R. Berdan Oct

Planetary Imaging Workshop Larry Owens

Basic Excel Handbook

Web Standards. Chapter Organization To better organize this chapter, topics are grouped according to content, design and technical criteria.

NDSU Technology Learning & Media Center

PowerPoint: Graphics and SmartArt

Statistics Revision Sheet Question 6 of Paper 2

Instructions for Creating a Poster for Arts and Humanities Research Day Using PowerPoint

SolidWorks: Mirror, Revolve, and. Introduction to Robotics

Software Manual Ver 1.0 September 2015

How to Prepare a Book for Press With Scribus

Brand Guidelines Visual Identity

CREATING EXCEL PIVOT TABLES AND PIVOT CHARTS FOR LIBRARY QUESTIONNAIRE RESULTS

4 Manipulating Elements

Microsoft Word 2010 Tutorial

SAMPLE MIDTERM QUESTIONS

H-ITT CRS V2 Quick Start Guide. Install the software and test the hardware

Surface Curvature from Laser Triangulation Data. John Rugis ELECTRICAL & COMPUTER ENGINEERING

Digital Imaging and Image Editing

Create an Excel BI report and share on SharePoint 2013

Creating a Newsletter

THE ULTIMATE BEST PRACTICES

You can copy, share or publish this document without changing this page and document content. Contact information

Creating Fill-able Forms using Acrobat 8.0: Part 1

How To Change Your Site On Drupal Cloud On A Pcode On A Microsoft Powerstone On A Macbook Or Ipad (For Free) On A Freebie (For A Free Download) On An Ipad Or Ipa (For

Making Visio Diagrams Come Alive with Data

AP Physics - Chapter 8 Practice Test

Transcription:

Image Resizing / Retargeting Seam Carving for Content-Aware Image Resizing by S. Avidan and A. Shamir, Proc. SIGGRAPH, 2007 Thanks to K. Padalkar, S. Avidan, and A. Shamir for many of these slides

The Image Resizing/Retargeting Problem

Image Retargeting Objectives 1. Change size 2. Preserve the important content and structures 3. Limit artifacts created

Traditional Methods Scaling introduces distortions Cropping removes important parts Scaling Cropping

Many Existing Resizing Methods

Seam Carving Method Seam Carving for Content-Aware Image Resizing, S. Avidan and A. Shamir, Proc. SIGGRAPH, 2007 In Photoshop called content aware scaling Main idea: Remove the least noticeable pixels How? Define an energy function that measures how perceptually noticeable each pixel is Remove the pixels with low energy and avoid removing pixels with high energy How? Define a criterion for picking which pixels to remove

Possible Energy Functions Edgeness Gradient magnitude Entropy HOG (Histogram of Gradient) Saliency Caviet: No single energy function performs well on all images

Pixel Removal Criteria Optimal: remove the k pixels with lowest energy Output image no longer rectangular Input image Energy image Output image

Pixel Removal Criteria Pixel: Remove k pixels with lowest energy in each row No visual coherence between adjacent rows

Pixel Removal Criteria Column: Remove whole column with lowest energy Frequently introduces artifacts

Vertical Seam Seam Definition is an 8-connected path of pixels in an n x m image from top to bottom, containing one, and only one, pixel in each row of the image:

Seam Energy Energy of a Seam Minimum Energy Seam

Pixel Removal Criteria Seam: Remove the vertical curve of lowest energy

Pixel Removal Effectiveness

How to Efficiently Compute Best Seam? Use Dynamic Programming to find lowest energy seam in linear time 1. Forward Pass (top row to bottom row for finding vertical seam) Define M(i, j) = total energy of path ending at (i, j) M(1, j) = e(1, j) M(i, j) = e(i, j) + min(m(i-1, j-1), M(i-1, j), M(i-1, j+1)) B(i, j) = argmin k=j-1, j, j+1 M(i-1, k) Find minimum value in last row: min j M(n, j) 2. Backward Pass (bottom row to top row) Trace back path from pixel in bottom row with min value to top row using B

Credit: Wikipedia Forward Pass e = red numbers M = black numbers B = green arrows

Backward Pass Credit: Wikipedia

Seams Seams over energy image Seams over input image

Shrink Image in 1 Dimension Change the image from size n m to n m assume m < m Remove m-m = c seams successively Seam Carving

Shrink Image in 1 Dimension Change the image from size n m to n m assume m < m Remove m-m = c seams successively Scaling

Shrink Image in Both Dimensions: Optimal Seam Ordering Change the image from size n m to n m assume m < m and n < n What is the best order for seam carving? Remove vertical seams first? Horizontal seams first? Alternate between the two?

Optimal Seam Ordering Solve optimization problem: where k = r+c, r = (m m ), c = (n n ) and a i is a parameter that determines if at step i we remove a horizontal or vertical seam: a {0,1}

Enlarging Images Method 1: Compute the optimal vertical (horizontal) seam s in image and duplicate the pixels in s by averaging them with their left and right neighbors (top and bottom in the horizontal case) Often will choose the same seam at each iteration, producing noticeable stretching artifact

Enlarging Images Method 2: To enlarge width by k, compute top k vertical seams (for removal) and duplicate each of them

Content Amplification Scale the image; this will scale everything, content as well as non-content Shrink the scaled-image using seam carving, which will (hopefully) carve out the non-content part

Object Removal User marks the target object to be removed Force seams to pass through marked pixels Seams are removed from the image until all marked pixels are gone To obtain the original image size, use seam insertion

Object Removal One shoe removed (and image enlarged to original size) input

Object Removal Object marking to prevent unwanted results: mark regions where seams must not pass

Multi-Size Images Methods mentioned so far are not real-time We calculate best seam, remove it, calculate the next seam based on new image, etc. For real-time resizing Pre-compute removal order for every pixel in image Compute Index map, V, of size n m that encodes, for each pixel, the index of the seam that removed it, i.e., V(i, j) = t means pixel (i, j) was removed by the t th seam removal iteration

Multi-Size Images Horizontal Index map (H) Vertical Index map (V) To get an image of width m need to remove m-m pixels from each row concatenate, in each row, all pixels with seam index greater than or equal to m m Same for changing the height

Seam Index Maps Input H V Blue seams are removed first, red seams removed last

Failures Too much content No space for seam to avoid content

Evaluation Benchmark and evaluation methodology for image retargeting http://people.csail.mit.edu/mrub/retargetme/ 80 (classified) images 8 retargeting operators, 6 objective measures 600+ participants and counting 400+ human hours, 28,000+ user votes 1 graduate student

Video Resizing Resizing each frame independently is bad Instead, find 2D surface in 3D x-y-t video volume