Underexposed

Read all 'seam carving' posts in Underexposed
January 18, 2008 1:27 PM PST

OnOne acquires novel image-resizing software

by Stephen Shankland
  • 5 comments

Photo-editing specialist OnOne Software has acquired technology called Liquid Resize that brings a new twist to the task of resizing digital images, the company said Thursday.

There are numerous ways to expand or shrink a photo, but Liquid Resize's method, called seam carving, is unusual in that it can change the height-to-width proportion called aspect ratio. It does this by trying to determine what areas of the photo should be preserved intact and what parts are background that can be stretched or deleted.

The result is that background can stretch to fill gaps between people in a shot that's being widened, or a photo that's being shrunk overall can devote the maximum number of pixels to what's important. The software can guess on its own what's most important, or the user can select specific regions to be preserved or discarded preferentially.

OnOne will release a free public beta of a standalone Liquid Resize software version for Windows and Mac OS X in late January, the company said, and a Photoshop plug-in is due in mid-2008. Pricing has not yet been announced for the final version of Liquid Resize that will be released later in 2008.

The seam-carving technology, also called content-aware image resizing, garnered a lot of buzz when developers Shai Avidan and Ariel Shamir demonstrated it in 2007. The Liquid Resize software OnOne acquired was based on that research and developed by a husband and wife team, Ramin Sabet and Irmgard Sabet-Wasinger, OnOne said.

Avidan and Shamir suggested the software would be useful embedded in Web pages that could be resized for small screens, such as those on handheld devices, without shrinking important parts of the photo. (This has ruffled feathers among some who prefer their photos to be unaltered, which is an especially important consideration in photojournalism.)

OnOne said it's possible the technology could be used elsewhere besides its own photo-editing software. "At this time, our initial plans are to make this available as a plug-in for Adobe Photoshop. We are looking at other ways that we might release this technology in the future," the company said in a statement.

OnOne didn't disclose terms of the acquisition, but said it was solely for intellectual property.

November 19, 2007 4:00 AM PST

'Seam carving' photo resizing now for video

by Stephen Shankland
  • 1 comment

MONTEREY, Calif.--In August, researchers unveiled a new way of shrinking or expanding photos called seam carving. Now it turns out the technique applies to video, too.

Ariel Shamir, a senior lecturer at the Efi Arazi School of Computer Science in Israel and a visiting scientist with Mitsubishi Electric Research Laboratories, showed off the technique at the 6sight digital-imaging conference here last week. (Adobe Systems has hired another seam carving researcher, Shai Avidan.) The technology analyzes a picture for vertical or horizontal "seams"--the term the researchers use to describe a path traversing the photo where pixels are most like their neighbors and therefore least likely to be missed.

The effect is that important areas such as human faces remain intact, while relatively uniform backgrounds such as lawns or skies are squeezed. Seams zig-zag to an extent, for example detouring around clouds through interconnected patches of blue sky. Seam carving works best for photos with multiple subjects separated by an uninteresting background; a subject that occupies the entire frame is likely to be distorted as the image is scaled down.

A related technique called seam insertion reverses the process to add data, giving photos a more spacious look.

During Shamir's demonstration, he widened and narrowed a variety of photos. In addition, he showed how to select specific pixels for priority preservation or removal, in one case excising a girlfriend from a photo the way Soviet censors vanished Leon Trotsky.

And showing off a new twist on the technology, Shamir did the seam carving on a running video of a golfer taking a swing. The golfer remained intact even as the fairway changed from a narrow sliver to a broad tract of green grass. To see the demonstration, check the video above.

The content-aware resizing tool stretched the two narrower images by Japanese artist Utagawa Hiroshige into the adjacent wider versions.

(Credit: Shai Avidan, Ariel Shamir)

One area where seam carving could be useful is in resizing images along with the Web pages they're shown on, for example preserving important parts of a photo even when it's displayed on the tiny screen of some Internet-connected gadget. That could apply to video as well as to still images, though obviously it would require more computational horsepower.

Coming from a journalism background, my instinct is to keep photos generally true to the original, so these automated distortions at first ruffled my feathers.

But on further reflection, it occurred to me that at least when it's working well, seam carving does to an image precisely what my brain does as well: focus on the important bits.

What was that portrait I saw in my art class of youth, an elderly woman seated in black clothing? Her hands and face were painted with detail and care, but the rest of the picture was painted with rough, almost slapdash strokes. But the painting was fine: my mind naturally cared chiefly about the face and hands, the instruments of human expression, and all else was largely optional. It was like a good lossy compression algorithm that saves space by throwing away the data we're not going to miss.

Children, too, instinctively do the same thing. When they draw pictures of people, the features on the face often creep around to occupy the entire head. In reality, you can cover most of your facial features with the palm of one hand, so the significant parts don't actually take up much of the actual surface area. But in children's pictures, anything above the eyes or eyebrows evidently doesn't deserve much attention.

So perhaps seam carving is just an overt manifestation of what we already do ourselves.

Just don't use it to mess with any news sites!

  • prev
  • 1
  • next
advertisement

15 sites that went kaput in 2009

Web sites launch all the time, but they also shut their doors. We highlight 15 that bit the dust this year.

Top 10 news stories of the decade

Let the debate begin: Was the iPhone more important than iTunes? Was anything bigger than Google finding a great business model? CNET offers its list of the 10 most important stories of the '00s.

About Underexposed

This blog sheds light on digital photography subjects such as cameras, photo editing, and Web sites. Shankland joined CNET News in 1998 after a five-year stint as a science writer. He's a lab rat who grew up in Los Alamos, N.M., and graduated from Harvard.

Contact Stephen at Stephen.Shankland@cnet.com

Add this feed to your online news reader

Underexposed topics

Most Discussed



advertisement

Inside CNET News

Scroll Left Scroll Right