peter_w's blog

Free Software: Seam Carving

posted by peter_w, Oct 9, 2007 1:11 AM — 41 comments

A free update is now available which speeds up the seam carving module by about 100%. Resizor 1.1 is available through the links below. There are no new features, the seam carving speed is the only thing that changed.


What is it?
At Siggraph this year, two scientists have announced a spectacular new technique for resizing images without distorting the content. You can check out their demo on youtube, it's very impressive.

The two scientists have been hired by Adobe, so we'll probably see this technology added to Photoshop in version CS4. But in the meantime, you can try out part of that using my free software called Resizor. It's currently available for Windows only.

It does not offer all the features from the video, particularly not the protecting/removing stuff part and the real time resizing (which is kind of a little cheat anyway, you'll see they only do it in one direction at a time, and they have to pre-process the image). But the basic stuff works. Plus, you can also do conventional image resampling as most image processing programs offer it.

What exactly does it do?
The software basically removes the empty space between the objects while keeping the important parts. The result is an image where only the important parts are left. Up until a certain point, only the image gets smaller, but the objects do not. As soon as they "collide", however, the algorithm will eat away from the actual objects as well. You'll find more info on my website.

Here is a before and after example of a (admittedly not particularly outstanding) photo I took on holiday in Italy at Lago di Garda:



The color shift happened at the web export stage, it was not caused by Resizor.

How do I use it?
Using the software is easy. You open an image. Then you enter the size you want it to be, select if either resampling or retargeting as the resizing method (the latter being the seam carving stuff), and then you press the button with the lightning to process the image.

Try using a small image first, larger images may take quite some time to process.



The interface is closely modeled after Photoshop's "Image Size" dialog box, so if you have used Photoshop to resize an image, you should feel right at home.

Additional notes
I hope the Google Ads on my site are not too distracting, but I was hoping to make a few cents with those since the software took some time and money to develop.

I'd really appreciate your feedback about both the design of the the Resizor site (it's more or less my first web site) and the software itself, so I'd be delighted if you left a comment below.

So -- I hope you enjoy playing with Resizor. Have fun :)

Comments | RSS

1. posted by thejanet, Oct 10, 2007 6:46 AM

This looks exciting, I've downloaded Resizor (nice clean site) and will report back after using it a while. Thanks!!


2. posted by crisderaud, Oct 10, 2007 5:17 PM

Fantastic! You are a genius. I needed a program like this and this really works. Thanks for writing it and making it available. Cris


3. posted by brycedriez, Oct 11, 2007 4:30 PM

It is nice that you made a downloadable verison. I would also like to point you to rsizr.com . It is an excellent online version.


4. posted by BritvanO, Oct 13, 2007 4:31 PM

Hi! I downloaded Resizor but it does not open on my computer. Is that because I have a Mac...? Thanks for your help. Brit


5. posted by peter_w, Oct 13, 2007 4:57 PM

Thank you all for your comments!

@BritvanO: Unfortunately there is no Mac version yet, it's Windows only. I might be able to come up with something in the future (but don't quote me on that). If so, I'll be sure to post it here.

If you really wanted to, you could always try if it works with the Mac OS X version of WINE, which is a software that lets you run Windows programs on Intel-based Macs without having to install Windows.
Results vary, though; Some applications work great, some don't work at all. If anyone has tried WINE with Resizor, please let me know if it works.


6. posted by Vincitrice, Oct 18, 2007 10:14 AM

The links aren´t working :(


7. posted by peter_w, Oct 18, 2007 3:33 PM

My web hosting service has a lot of downtime recently. So if the links don't work for you, please try again later.

I'm really sorry, but I'm suffering from the same problems when working on my new Photoshop blog at http://www.peterw.000webhost.com/blog and it's really driving me absolutely crazy.

I have contacted the hosting company about the issue, but as of now, they have not answered my message yet, but I hope to be able to resolve the issues soon. But maybe it's just what you get with a free hosting service. If you need them to be ad-free and allow you to host downloads, you really don't get to be picky…

Again, thanks a lot for letting me know, I'll do my best to fix the problem, but it's mostly out of my hands. If you try often enough, those links will work eventually, but that's probably not much comfort…

Peter


8. posted by maciekish, Oct 18, 2007 3:46 PM

@peter_w:
Hello!
If you email me the file (resizor_1_0.zip) i can provide a temporary 10mbps mirror until you get your hosting back up. Please send me a PM if you are interested!

http://www.sxc.hu/browse.phtml?f=contact&l=macieki- sh&where=%2Fbrowse.phtml___f%3Dprofile__l%3Dmaciek- ish


9. posted by hcmlopes, Oct 19, 2007 3:21 AM

Man this seems to be a cool bit of technology, unfortunately I own a mac and can't try the software and give you feed back. Good luck on your project and I hope you find in you to have a mac version sometime in the near future.


10. posted by hcmlopes, Oct 19, 2007 3:23 AM

host it on rapidshare.de its perfect for this type of stuff and wont cost a thing


11. posted by mirianm, Oct 19, 2007 9:05 PM

I'm waiting you fix the blog. Iwant your Resizor. Thank's. Mirian


12. posted by peter_w, Oct 19, 2007 11:16 PM

First off, let me thank you all for your help!

The hosting company has still not replied (so much for "we'll get back to you within 24 hours"), but the access problems seem to have become less. So if my site does not work right away, you may still be able to access it by refreshing your browser a few times.

But in case the site is down again, you can download the file directly from rapidshare.com via the following link:

http://rapidshare.com/files/63758164/resizor_1_0.z- ip.html

I also have a few posts up on my new blog now, including a Photoshop video tutorial, so if you want to, check it out here:

http://www.peterw.000webhost.com/blog/

It's on the same server, so you may have to try a few times. But if it works, please do leave a comment and tell me what you think.

By the way, would any of you be interested in a video tutorial on how to make stars like those in the Resizor banner in Photoshop? It would probably end up being quite a bit longer than the one I already have up there, so I'll probably only record it if there is enough demand.

Peter


13. posted by peter_w, Oct 24, 2007 12:16 PM

The hosting company seem to have fixed the problem :)


14. posted by Mosselman, Oct 25, 2007 8:20 PM

The site looks good, although I think you should switch hosting companies.

I like the program. I have a few comments though.

1. The user should be able to make the preview area a lot bigger by dragging the corners of it or something.

2. The user should be able to drag the corners of the image to resize it on the fly.

Apart from those two important things I like the program. The icons look good, it does the job quickly and most of all, it works.


15. posted by tutness, Nov 1, 2007 5:39 PM

I don't do my homework often so this is big NEWS to me, a glimpse at where technology is heading is always exciting.

I think you're awesome for writing Resizor and making it available for free. I've downloaded it and now I'm gonna go try out my new toy :D


16. posted by joa1bee, Nov 9, 2007 4:38 AM

Looks like a neat piece of software... would love to get my hands on it... but none of the links works. Can you make the file available elsewhere? Thks!


17. posted by joa1bee, Nov 9, 2007 4:57 AM

ooops! did not see the request "UPDATE: Please do post a comment if you have difficulties accessing the site."
sorry about that.
One possible download location that works:
http://www.snapfiles.com
Send them the file and they will make it available from their own servers.
best!
thks!


18. posted by kashuter, Nov 27, 2007 7:29 PM

I'm not a photoshop person and I have very little expertise in this area and always wanted someting to help me resize graphics. This was just what I needed, it worked great!

Thanks for sharing it!!


19. posted by cqphoto, Dec 8, 2007 3:38 AM

This is really awesome, downloaded, gog to try it later


20. posted by subhadipin, Dec 8, 2007 5:52 AM

Filie missing on Rapidshare.... Please host it else so that i (others) can download....


I am kinda very excited to use this new product. I require a lot of batch resizing will the software help in this?


21. posted by rokdd, Dec 8, 2007 5:50 PM

well me too.... but there is no access :(


22. posted by ROOFIE, Dec 9, 2007 8:51 AM

I WOULD LOVE THE SOFTWARE . BUT AS OTHERS HAVE COMMENTED ABOVE IT IS NOT AVAILABLE TO DOWNLOAD. LINKS ARE DEAD.


23. posted by ROOFIE, Dec 10, 2007 10:02 AM

I found it here.

http://www.mediafire.com/?dfbnxu9dzjg


24. posted by getmax, Dec 13, 2007 4:13 AM

Great software stuff, just got from
http://www.mediafire.com/?dfbnxu9dzjg
so the link works, thanks.

Tried it sampling both ways and the results look great, I do use Photoshop CS 2 mainly but this little piece of software is a time saver for me just what I was looking for. Thanks. I can't access your website, thats hosting company's for you I guess :)


25. posted by peter_w, Dec 19, 2007 1:32 PM

Everything should work fine again, the Site was down for a few days since someone had launched a phishing site on one of their servers. The initial availability problems should be fixed now as well.

Please be careful with the mediafire link. I cannot guarantee that it is free of viruses or anything since I did not upload it.

And just for the record: The person who uploaded the file to mediafire is breaking international copyright law by sharing my intellectual property without my prior consent. I therefore recommend not to use the mediafire link nor share it anywhere. Don't get me wrong, I don't mean to threaten or even sue anyone, but I want to make it perfectly clear that the mediafire thing is an illegal mirror.

And please note that I use the download stats from my site to assess how many people downloaded the program and based on that make decisions about the future of the software. If many people download it from unapproved mirror sites instead of the official one, my stats become incorrect, which is not really in the interest of the user community.


26. posted by njd89, Dec 24, 2007 5:37 PM

Very, very nice software! I downloaded from your site, no problems. I just did one image as a test, got very good results even when doubling a 3400 x 2500 image, I love it! Very nice and thanks for taking the time to write the piece!


27. posted by ROOFIE, Jan 7, 2008 9:11 PM

AFTER READING YOUR POST ABOVE. I HAVE DELETED THE PROGRAM . AND DOWNLOADED IT FROM YOUR SITE. I APPOLOGIZE FOR POSTING THE MEDIAFIRE MIRROR. AS I HAD NO IDEA ,JUST HAPPENED ACROSS IT IN MY SEARCHES. GREAT PIECE OF WORK! NOT REALLY UNDERSTANDING THE DIFFERENT FILTER TYPES OR WHEN TO USE ONE RATHER THAN THE OTHER. THOUGH. (MAYBE POST SOMETHING ON THIS?) THANKS .


28. posted by peter_w, Jan 8, 2008 9:26 PM

@Roofie: No problem, thanks for deleting the mirror. Sorry if I sounded a little harsh.

As for the different filters, which one is best depends entirely on your image. The best way is to just experiment and then choose the one that looks best. As a general rule, Lanczos is really good for photos, especially for downsizing them, whereas Nearest Neighbor is great for upsizing screen shots to twice or four (eight, sixteen, ...) times the size since it simply doubles pixels and does not introduce any blur, but its bad for pretty much anything else since it does not perform any subsampling at all and so on. You'll basically have to find the one that offers the best balance between sharpness and jaggedness for your particular image.


29. posted by ZaNuDa, Jan 12, 2008 9:53 PM

Thanks for the interesting information! I hope this cool software can be useful for me sometime in the future ...


30. posted by crisderaud, Jan 14, 2008 2:22 AM

Thanks Peter.


31. posted by pBarrelas, Jan 17, 2008 10:00 AM

Really impressive piece of software. Thanks for sharing it!!


32. posted by longjiang, Jan 27, 2008 1:12 AM

Great application!


33. posted by tarabarski, Feb 21, 2008 9:43 AM

Thanks!! Really great thing!!


34. posted by mpetty, Feb 22, 2008 3:37 AM

I used this with Wine 0.9.55 on Linux.

For the most part, it works right out of the box. Sometimes it becomes unresponsive though and I have to kill the process.

I didn't tweak any of the Wine settings for it, so that might help a bit.


35. posted by rore_d, Mar 3, 2008 9:35 PM

From your FAQ:
Is there a version for Mac OS X/Linux?

In theory yes, in practice not yet. The software itself could run on both Mac OS X and Linux (and others) without any major adjustments to the code (...).
It does, however, have to be recompiled (...), which is only possible on a system running that operating system. Unfortunately, I currently have access to neither a Mac nor a Linux box. Maybe in the future.


Why not maling it opensource then? Or at least, make the code available for recompilation purpose, so anyone with a different system could try to compile it for you? Well, that's just my two cents :)


36. posted by gasocciden, Mar 31, 2008 6:23 AM

popo


37. posted by BillinDetr, Apr 12, 2008 8:09 AM

Contact me. I have plenty of ftp space left and barely touch my bandwidth. I'm not interested in hosting photos, etc., but I think resizor might make a good 'project'. I don't have anything else in the public download area just now so the stats would apply exclusively to you.

If interested, respond via email and we'll set something up with CRC and so on.


38. posted by sbfisher, Aug 5, 2008 3:59 AM

This looks to be cool. It's too bad the host for his web site is so unreliable. Their motto should be 9.9999% uptime.

Anyway, maybe I'll keep trying since maybe sometime his host will become un-flakey.


39. posted by lensman, Nov 6, 2008 12:09 AM

It would be nice if you took the time to re-post this file on a site where it can be downloaded. Why would you put all this effort into creating this seemingly very good app and yet not make it readily available. If it wasn't for the fact that some users here seem to have tried the prog I would have doubts that it actually existed!!


40. posted by Luellaxq, Jun 2, 2012 1:32 AM

Managing a small business just isn't an easy process in any respect. Huge business owners can quickly increase funds for enterprise due to very good manufacturer identify and picture. Having said that, it really is nearly impossible for all those people who are managing small companies. Creditors place business owners in the similar category where by they place individuals with negative credit background because of to unstable income. It truly is assumed that entrepreneur with small business can not earn fixed profits each individual month.small business funding


41. posted by Recliners, Jun 21, 2013 4:20 PM

nice, thanks for sharing

You have to log in to add comments to this post.
Toolbox

freeimages blog archive


RSS feeds

All blog posts
Tutorial posts only

Contribute

» Add your own post!
Visit our partners

iStockphoto.com
Affordable inspiration: royalty-free photos, illustrations, video, audio and Flash® files from $1.

Recent blog comments

The Best of HiRes Photo Sharing Worlds
Nov 6, 2013 3:44 AM inizjall wrote
morgue is good option

Cloudy Scotland
Nov 6, 2013 3:43 AM inizjall wrote
thank you so much michel

Flayer Brochure
Nov 6, 2013 3:43 AM inizjall wrote
good share

Free Christmas mistletoe wreath with bells
Nov 6, 2013 3:42 AM inizjall wrote
perfect for christmass

Valentines Day Backgrounds
Nov 6, 2013 3:41 AM inizjall wrote
such a romantic background


This site uses cookies

By continuing to browse freeimages you are agreeing to our use of cookies. Find out more here.