User Name
Password
AppleNova Forums » Programmer's Nook »

"Content-Aware" Image Resizing


Register Members List Calendar Search FAQ Posting Guidelines
"Content-Aware" Image Resizing
Thread Tools
Jerman
Senior Member
 
Join Date: Jun 2005
Location: Siloam Springs, AR
 
2007-08-25, 23:31

My apologizes if this was not in the correct forum. But seeing as this is just concept, I felt it would most appropriately fit in the Programmer's Nook. Okay, some of you may have already seen this, but I stumbled upon the following article on Slashdot:

http://science.slashdot.org/science/.../1835256.shtml

(or for the Youtube video: http://www.youtube.com/watch?v=vIFCV2spKtg)

Two incredible things were shown here. First, images can be resized and the aspect ratio can be changed without losing image information. This would be so incredibly useful for my website, for example. Right now my "banner image" is 700x250 pixels. Ideally, I would like to change it to 900x150 pixels, for a wider aspect ratio. The problem is that it is hard to get good wide shots taken, as the banners need to be actual images. With this software and some work, I could resize the images to a different ratio without losing the elements of the images.

The second thing that impressed me was the example they gave of removing objects from an image. They removed a person on a beach within a few seconds.

I sure hope that this comes out as a gimp plugin soon, or something along those lines, as both techniques would be incredibly useful, and time saving for me.
  quote
ghoti
owner for sale by house
 
Join Date: Apr 2005
Location: Charlotte, NC
 
2007-08-26, 07:08

It's impressive, but it's not "without losing image information". It just loses the information (or makes it up) where there are fewer edges in the image, and thus keeps those areas with more visual information (boundaries, contrast) largely intact. For your banner, you can do the same thing by stretching those parts that are less busy. You could even do an edge detect filter in photoshop to guide you (the video basically gives you a how-to).

Somebody could probably put together a plugin relatively quickly. SIGGRAPH papers are supposed to be written in a way so that a knowledgeable grad student could implement the method.
  quote
ShadowOfGed
Travels via TARDIS
 
Join Date: Aug 2005
Location: Earthsea
 
2007-08-26, 12:56

This would be incredibly useful for browsers to implement, so they could intelligently resize images when the specified dimensions are larger/smaller than the original. Unfortunately, I imagine it is computationally expensive, so it may be a while before we see it implemented/used in any kind of real-life scenario.

Photoshop doesn't count, because that's already computationally expensive.

Apparently I call the cops when I see people litter.
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools
Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to restore 10.4.8 image on MacBookPro 17" jyo Genius Bar 4 2008-08-15 13:25
Camino image downloading Luca Genius Bar 2 2006-04-24 17:01
Why won't other browsers render this image? jlehrfeld Programmer's Nook 16 2006-04-01 16:37
Image name retrival from webpage - Objective C mlramya Programmer's Nook 14 2006-01-22 14:26
Mail - poor quality image resizing euain Genius Bar 0 2005-10-11 03:57


« Previous Thread | Next Thread »

All times are GMT -5. The time now is 15:37.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2024, AppleNova