Team-BHP > Shifting gears
Register New Topics New Posts Top Thanked Team-BHP FAQ


Reply
  Search this Thread
4,341 views
Old 12th October 2007, 03:14   #1
Team-BHP Support
 
Rehaan's Avatar
 
Join Date: Feb 2004
Location: Bombay
Posts: 24,347
Thanked: 35,698 Times
Rsizr - Seam carving & content aware image resizing - AWESOME!

Hey guys,

This is some truly awesome stuff in the scene of image processing.
Re-inventing the wheel in a way.


First, watch this slightly boring video to understand it :




Next, visit this tool that has been built in flash that actually lets you seam-carve your own images!!

rsizr - intelligent image resizing

Instructions:
1. Upload an image (the smaller the image the faster it'll be [try in the range of 640x480 to 800x600]
2. Use the slider on the left and the slider on the top to specify how many seams you want the software to find (do about 50% of your image or more)
3. If its taking too long you can slide the slider back into the blue area to stop it.
4. After it is done finding the seams, you can use the handles to resize the image in a content aware way and see how cool it is!

5. You can use the "preserve" and "remove" brushed to select parts of the image you wish to keep or get rid of. This helps when the automatic setting is chopping up valuable stuff in your images.
6. This isnt magic, so choose an image which has a main subject and a fairly generic background.

cya
R
Rehaan is offline  
Old 12th October 2007, 03:21   #2
Team-BHP Support
 
Rehaan's Avatar
 
Join Date: Feb 2004
Location: Bombay
Posts: 24,347
Thanked: 35,698 Times

Here are two really quick examples i did.

The first one using "remove", the second set using "preserve".






The first image is from our Jirad drive (see the thread here)

The second is some rubbish picture i found on the internet somewhere. lol

cya
R
Rehaan is offline  
Old 12th October 2007, 09:59   #3
BHPian
 
HellwratH's Avatar
 
Join Date: Mar 2007
Location: Bangalore
Posts: 115
Thanked: 57 Times

Awesome stuff Rehaan, but look at the first pic; It didnt remove the shadows, guess the shadows have to be handled in PS.
HellwratH is offline  
Old 12th October 2007, 10:44   #4
BHPian
 
thefreak's Avatar
 
Join Date: Aug 2007
Location: New Delhi
Posts: 362
Thanked: 7 Times

Nice stuff Rehaan!!

@Hellwrath: Boy are we demanding or what!!
thefreak is offline  
Old 12th October 2007, 14:08   #5
BHPian
 
HellwratH's Avatar
 
Join Date: Mar 2007
Location: Bangalore
Posts: 115
Thanked: 57 Times

haha, thefreak...it was an observation. That's all.
HellwratH is offline  
Old 12th October 2007, 23:37   #6
Team-BHP Support
 
Rehaan's Avatar
 
Join Date: Feb 2004
Location: Bombay
Posts: 24,347
Thanked: 35,698 Times

Hey hellwrath & thefreak,

As i said earlier, this isnt magic, so i had to be realistic with the area i chose to remove. (It gets a little tricky when there is something that is a continuous line and not perfectly horizontal in the background.

Its amazing because this is a more "organic" way of resizing pictures as opposed to stretching/quishing straight rows and columns of pixels.

Check out some more samples here : rsizr lets you intelligently resize your images — gallery

cya
R

ps - Did you guys try it or no??

Last edited by Rehaan : 12th October 2007 at 23:43.
Rehaan is offline  
Old 13th October 2007, 01:50   #7
Senior - BHPian
 
vivekiny2k's Avatar
 
Join Date: Feb 2005
Location: cincinnati, jabalpur,chennai
Posts: 1,264
Thanked: 212 Times

it makes the computer very slow. compared to other tools i use, it takes more memory i guess.
vivekiny2k is offline  
Old 13th October 2007, 16:26   #8
aZa
Senior - BHPian
 
aZa's Avatar
 
Join Date: Mar 2006
Location: Noida / Delhi
Posts: 1,595
Thanked: 25 Times

woah rehaan awesome stuff ! gonna try it out
aZa is offline  
Old 15th October 2007, 11:05   #9
BHPian
 
Join Date: Feb 2007
Location: Madras
Posts: 560
Thanked: 10 Times

Nice find Rehaan! Impressive stuff.

Quote:
Originally Posted by HellwratH View Post
Awesome stuff Rehaan, but look at the first pic; It didnt remove the shadows, guess the shadows have to be handled in PS.
The shadows look like ghosts on the beach.

cya
A
Absar is offline  
Old 15th October 2007, 12:28   #10
Senior - BHPian
 
Join Date: Dec 2004
Location: pune
Posts: 2,106
Thanked: 75 Times

Awesome stuff, Rehan! It is available for offline use as well?
RX135 is offline  
Old 16th October 2007, 05:43   #11
Team-BHP Support
 
Rehaan's Avatar
 
Join Date: Feb 2004
Location: Bombay
Posts: 24,347
Thanked: 35,698 Times

Quote:
Originally Posted by vivekiny2k View Post
it makes the computer very slow. compared to other tools i use, it takes more memory i guess.
Yes, it will be fairly processor intensive (especially since this is being done through a tool thats a flash website)

Quote:
Originally Posted by RX135 View Post
Awesome stuff, Rehan! It is available for offline use as well?
I guess that after you have loaded the site, you can be offline and it still should work.

Also, i have heard of photoshop plugins like this, but have never tried em.

cya
R
Rehaan is offline  
Old 25th September 2009, 22:31   #12
Team-BHP Support
 
Rehaan's Avatar
 
Join Date: Feb 2004
Location: Bombay
Posts: 24,347
Thanked: 35,698 Times

-- 2 years later --

If you have firefox 3.5 or higher, the browser can now handle seam carving in JavaScript!

Demo : Content Aware Image Resizing implemented with JavaScript

cya
R
Rehaan is offline  
Old 26th September 2009, 11:34   #13
Senior - BHPian
 
sammyboy's Avatar
 
Join Date: Jul 2006
Location: Ggn/Dehradun
Posts: 1,842
Thanked: 524 Times

Wow Awesome stuff Rehann. Thanks for reviving your old thread.
sammyboy is offline  
Old 26th September 2009, 21:29   #14
Team-BHP Support
 
Rehaan's Avatar
 
Join Date: Feb 2004
Location: Bombay
Posts: 24,347
Thanked: 35,698 Times

Thanks Sammyboy.

Heres some more cool imaging stuff -- a preview on possible additions to Photoshop CS5 (along similar lines as the above stuff).

New image editing tools for Photoshop CS5 | Adobe CS5

cya
R
Rehaan is offline  
Old 27th September 2009, 09:29   #15
BHPian
 
Join Date: Aug 2009
Location: Chennai
Posts: 86
Thanked: 10 Times

I think CS4 has already got it, although you got to pay up 40k+ for it.
cpyder is offline  
Reply

Most Viewed


Copyright ©2000 - 2024, Team-BHP.com
Proudly powered by E2E Networks