Go Back   Team-BHP > Around the Corner > Shifting gears


Reply
 
Thread Tools Search this Thread
Old 12th October 2007, 03:14   #1
Team-BHP Support
 
Rehaan's Avatar
 
Join Date: Feb 2004
Location: Bombay
Posts: 22,229
Thanked: 21,888 Times
Default 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   Reply With Quote
Old 12th October 2007, 03:21   #2
Team-BHP Support
 
Rehaan's Avatar
 
Join Date: Feb 2004
Location: Bombay
Posts: 22,229
Thanked: 21,888 Times
Default

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 (UPDATED with VIDEO & PICS: Mumbai/Pune BHPians Drive to Alibaug 11th June '06))

The second is some rubbish picture i found on the internet somewhere. lol (Pics/ Report : Mumbai BHPians Drive to Alibaug 12th June '05)

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

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   Reply With Quote
Old 12th October 2007, 10:44   #4
BHPian
 
thefreak's Avatar
 
Join Date: Aug 2007
Location: New Delhi
Posts: 362
Thanked: 3 Times
Default

Nice stuff Rehaan!!

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

haha, thefreak...it was an observation. That's all.
HellwratH is offline   Reply With Quote
Old 12th October 2007, 23:37   #6
Team-BHP Support
 
Rehaan's Avatar
 
Join Date: Feb 2004
Location: Bombay
Posts: 22,229
Thanked: 21,888 Times
Default

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   Reply With Quote
Old 13th October 2007, 01:50   #7
Senior - BHPian
 
vivekiny2k's Avatar
 
Join Date: Feb 2005
Location: cincinnati, jabalpur,chennai
Posts: 1,241
Thanked: 163 Times
Default

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

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

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   Reply With Quote
Old 15th October 2007, 12:28   #10
Senior - BHPian
 
Join Date: Dec 2004
Location: pune
Posts: 2,088
Thanked: 48 Times
Default

Awesome stuff, Rehan! It is available for offline use as well?
RX135 is offline   Reply With Quote
Old 16th October 2007, 05:43   #11
Team-BHP Support
 
Rehaan's Avatar
 
Join Date: Feb 2004
Location: Bombay
Posts: 22,229
Thanked: 21,888 Times
Default

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   Reply With Quote
Old 25th September 2009, 22:31   #12
Team-BHP Support
 
Rehaan's Avatar
 
Join Date: Feb 2004
Location: Bombay
Posts: 22,229
Thanked: 21,888 Times
Default

-- 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   Reply With Quote
Old 26th September 2009, 11:34   #13
Senior - BHPian
 
sammyboy's Avatar
 
Join Date: Jul 2006
Location: Gurgaon/Doon
Posts: 1,710
Thanked: 289 Times
Default

Wow Awesome stuff Rehann. Thanks for reviving your old thread.
sammyboy is offline   Reply With Quote
Old 26th September 2009, 21:29   #14
Team-BHP Support
 
Rehaan's Avatar
 
Join Date: Feb 2004
Location: Bombay
Posts: 22,229
Thanked: 21,888 Times
Default

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   Reply With Quote
Old 27th September 2009, 09:29   #15
BHPian
 
Join Date: Aug 2009
Location: Chennai
Posts: 79
Thanked: 3 Times
Default

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Resizing, Rotating and Cropping images - The easiest way SirAlec Gadgets, Computers & Software 21 22nd December 2015 13:20
Be aware before you buy iMate or O2 PDAs Steeroid Gadgets, Computers & Software 5 29th September 2006 15:32
Mercedes Benz F400 Carving gTr The International Automotive Scene 4 4th June 2004 13:53


All times are GMT +5.5. The time now is 13:50.

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