News for hackers. Stuff that matters.
Re:Show HN: Remove backgrounds from images online by ank286 on Thursday May 09, 2013 @05:13PM (#5682980)
does it use GraphCuts?
Re:Show HN: Remove backgrounds from images online by Bjoern on Thursday May 09, 2013 @05:33PM (#5683094)
Like the interface! :)

There are many ways to solve such a problem. Another one beside GrabCub would be e.g. Watershed.

https://en.wikipedia.org/wiki/GrabCut

http://en.wikipedia.org/wiki/Watershed_%28image_processing%2...

So many variations available via e.g. OpenCV.

Re:Show HN: Remove backgrounds from images online by jrd79 on Thursday May 09, 2013 @05:40PM (#5683141)
(I'm one of the devs.)

Regarding the segmentation phase, we were not satisfied with any existing algorithms because we wanted the tool to be as real-time as possible (for up to 4 megapixel images), so we rolled our own segmentation algorithm that has some similarities to GrabCuts (not GraphCuts).

But the binary segmentation is really only a small part of the technical challenge. You also need to figure out how to anti-alias the boundary, and remove the background halo. Simply feathering doesn't do the job unless you also erode the foreground first, which we wanted to avoid. So we developed a custom sub-pixel background-removal and anti-aliasing algorithm.

Re:Show HN: Remove backgrounds from images online by Bjoern on Thursday May 09, 2013 @05:51PM (#5683209)
I think you guys did a great job. This is a very tough problem (speaking from experience) particularly depending on the complexity of the image. One problem we had to solve along the way for our startup is similar, but focused only on fashion related images. Quite tricky particularly if you want something automatic. Anyway cheers! :)
Re:Show HN: Remove backgrounds from images online by jrd79 on Thursday May 09, 2013 @06:00PM (#5683260)
Thanks!
Re:Show HN: Remove backgrounds from images online by jacobn on Thursday May 09, 2013 @05:26PM (#5683051)
No ;)