Technology Review - Published By MIT
Advertisement

New Tricks for Online Photo Editing

A new website provides an innovative tool that expands and contracts images while minimizing distortion.

By Kate Greene

Tuesday, October 16, 2007

smaller text tool iconmedium text tool iconlarger text tool icon

These are boom days for online photo-editing sites. Most people have Internet connections that let them upload pictures relatively quickly, and Flash, the programming language on which many of the editing applications run, has advanced to the point that developers can use it to implement tricks previously found only in the pricey photo-editing software Photoshop.

Cut it out: The top image was uploaded to Rsizr, new Web-based photo-editing software that lets users resize photos without distorting them. The bottom image is the result of removing certain pixels to shrink the image while maintaining the detail.
Credit: Rsizr
Multimedia
•  Watch a video of how Rsizr works.
•  Click here for a slide show of pictures edited in rszir

Now, a site called Rsizr (pronounced "resizer") has added a feature that isn't even in the newest version of Photoshop: the ability to shrink or enlarge pictures--horizontally and vertically--with relatively little distortion. For instance, Rsizr can compress a photo of students in a classroom without sacrificing resolution by removing the pixels between desks. Likewise, Rsizr can expand the picture to fill, say, an entire computer screen by adding extra pixels in certain places.

The algorithm that Rsizr is based on was originally developed by Shai Avidan, senior research scientist at Adobe Systems, and Ariel Shamir, a visiting researcher at Mitsubishi Electric Research Laboratories, in Cambridge, MA. In August, Avidan and Shamir published their photo-editing trick, known as seam carving, at the annual SIGGRAPH conference in San Diego. In addition, the researchers posted a video on YouTube describing the technique. Will Tsui, the founder and only employee of Rsizr, saw the video, read the paper, and recognized that Avidan and Shamir's algorithm could easily be modified to work in Flash. Independently, Tsui developed a Flash-based seam-carving program, added a few extra features, and designed an interface so that users could upload pictures and edit them in a Web browser. Rsizr was launched at the end of September. Other online photo-editing sites, such as Arbor Labs' FotoFlexer, have adopted the algorithm too. It can also be added to Photoshop as a plug-in.

Adobe's Avidan says that seam carving is fairly straightforward. If, for instance, a person wanted to compress a picture lengthwise by a single pixel, the software would scan the image to find the best pixels to remove. This is usually a zigzagging, vertical seam that is surrounded by pixels on the left and right that have a similar color. The pixel-wide seam is removed and the image is compressed without distorting the objects in the image. What makes the duo's algorithm impressive is that it can find and remove these pixels quickly, so a person can expand and compress a picture quickly. The process works well for photos with backgrounds such as sky or grass, in which there can be little variation in color and pattern, Avidan explains, although it works poorly for people's faces and more varied landscapes.

-- Video. Do Not Edit. --

This video illustrates the process of removing a person from a picture using Rsizr. First the user selects the parts of the image that are important and shouldn't be adjusted, and colors those items green. Then the user colors the items to be removed from the picture red. The software automatically removes the items to be deleted and reorganizes the photo according to the user's demands.

Story continues below

Credit: Technology Review

By publishing the paper and making the approach available to anyone, Avidan inadvertently spurred the proliferation of sites that are making use of seam carving. He's pleased to see the technique being used in a variety of ways by the open-source community and Web developers. But Avidan isn't really surprised that some websites have made use of the technology. "It's not a big effort to implement it," he says.

Comments

Log In

Forgot your password?     Register »
Advertisement

Videos

Laser-Triggered Chemical Reactions
Featured Content
Sponsored by:
White Papers

Twelve ways to reduce costs with SQL Server 2008
Find out how to reduce costs and get more efficient

Download

Total Economic Impact of SQL Server 2008 Upgrade
Forrester reports on increasing productivity and management capabilities

Download 

Achieving Cost and Resource Savings with UC
How Office Communications Server R2 and Exchange Server can make your business smarter and more efficient

Download 

The Compelling Case for Conferencing
Read how you can improve workload support and find IT efficiencies

Download

How Windows Server 2008 R2 Helps Optimize IT and Save you Money
Read how you can improve workload support and find IT efficiencies

Download

Windows Server 2008 R2 Hyper-V Live Migration
See how Windows Server 2008 R2 and Hyper-V enable virtualization and Live Migration

Download
Advertisement
Subscribe to Technology Review's daily e-mail update. Enter your e-mail address

TECHNOLOGY RESOURCES
Advertisement
MIT Massachusetts Institute of Technology © 2009 Technology Review. All Rights Reserved.