Log in

View Full Version : Green-Screen Scanning Makes For Easier Object Extraction


Jason Dunn
04-12-2008, 05:57 PM
<img border="1" alt="" src="http://images.thoughtsmedia.com/resizer/thumbs/size/500/dht/auto/1208143115.usr1.jpg" /><br /><br />I'm working on my first book project - one where I'm creating a vacation scrapbook on 13&quot; x 11&quot; pages inside <a href="http://www.fotofusion.com" target="_blank">FotoFusion</a> and will export the JPEGs then get them printed up as full-bleed pages in a <a href="http://www.blurb.com" target="_blank">Blurb</a> hardcover book. This is my first attempt at this type of a project, but I have high hopes it will turn out really nicely.<br /><br />One challenge I had was trying to scan the little pieces of paper we brought back that weren't perfectly rectangular, or things I wanted to layer over each other - plane tickets, train tickets, etc. When I scanned them, it was typically off-white on off-white (the background of my scanner). Even using Photoshop Elements' Magic Extractor, I was unable to properly extract the objects - I tried tweaking the settings, tried masking it myself with the magic wand, etc. Nothing worked because the background colour of my scanner lid was just too close to the colour of my objects. I was beginning to think I wasn't going to be able to accomplish the visual design I wanted. <MORE /><br /><br />Then it occurred to me that what I really had here was a &quot;green screen&quot; problem, so I took a piece of green construction paper and used it as a background for my small paper objects on the scanner. I simply put my objects down on the scanner and put the green paper on top of them - and with that green background, Photoshop Elements' Magic Extractor was able to <em>perfectly </em>extract my objects! After the extraction, I saved the objects as 24-bit PNG files with transparency turned on and imported them into FotoFusion. So now I have ultra-realistic, perfectly masked objects - check out the sample below.<br /><br /><img border="0" src="http://images.thoughtsmedia.com//dht/auto/1208236844.usr1.png" alt="" /><br /><br /><em>Jason Dunn owns and operates <a target="_blank" href="http://www.thoughtsmedia.com/">Thoughts Media Inc.</a>, a company dedicated to creating the best in online communities. He enjoys mobile devices, digital media content creation/editing, and pretty much all technology. He lives in Calgary, Alberta, Canada with his lovely wife, and his sometimes obedient dog. He sounded like a giddy school-girl when he saw how well this technique worked.<br /></em>

Tim Williamson
04-13-2008, 11:34 AM
That is really cool! I hadn't thought of making a digital scrap book for my trip (I was just going to throw away all the tickets and brochures. Are you including photos too?

P.S. Is there a reason this post is living in Zunethoughts? :)

David Tucker
04-13-2008, 06:16 PM
That's really smart...I never thought of doing that!

Jason Dunn
04-13-2008, 06:25 PM
I hadn't thought of making a digital scrap book for my trip (I was just going to throw away all the tickets and brochures. Are you including photos too?

When it's finished I'll create a video showing the results. As for photos, definitely - it will be 90% photos - the little "scraps" are just additions to the page. It will really be a photo album, but these little objects help bring context and memories to the album as a whole. For instance, when we were in Japan we had a hard time finding meals that were a) appealing and b) filling, so we ended up shopping at Family Mart (think 7-Eleven) almost daily picking up snacks. So we kept one of the receipts from our purchases. Just a fun little memory. :)

P.S. Is there a reason this post is living in Zunethoughts? :)

Because I made a mistake when I posted it. :D

Jason Dunn
04-13-2008, 06:25 PM
That's really smart...I never thought of doing that!

I just wish I had thought of it sooner. :D

sundown
04-14-2008, 07:08 PM
Boy do I feel stupid now. Of course this is a great idea. I've had problems with this issue for years and never devoted brainpower to come up with a solution. Thanks for the tip!

Jason Dunn
04-15-2008, 06:45 AM
Boy do I feel stupid now. Of course this is a great idea. I've had problems with this issue for years and never devoted brainpower to come up with a solution. Thanks for the tip!

I'm glad I could help with a solution! I'm really pleased with how well it works, and hopefully you see results that are just as nice.

TeamNinja
05-13-2008, 03:56 AM
That is way cool. A while back I bought some green background material so I could play around with using green screen. I just haven't gotten around to actually doing it yet.

Here is the deal... I bought the poor man's green screen. I went to a party supplies shop and bought a roll of green plastic tablecloth. That's 40 inches wide by 100 feet long! It cost about $12 (USD).

Now I'm motivated to try something on a small scale.

I'll let you know how it turns out. I'm sure it will work well -

TeamNinjaFanatic

Jason Dunn
05-13-2008, 05:24 AM
Here is the deal... I bought the poor man's green screen. I went to a party supplies shop and bought a roll of green plastic tablecloth. That's 40 inches wide by 100 feet long! It cost about $12 (USD).

Cool! It really doesn't matter what it's made out of, as long as it's a uniform colour - that maybe the only thing you run into, but let me know how it goes. :)

NoYouAre
05-16-2008, 06:38 AM
Whoa, I'm surprised it came out as well as it did! The green you used is rather grainy and isn't really what you'd call high-contrast. Very nice result though!

Did you have to fiddle with the image levels?

Jason Dunn
05-16-2008, 07:29 AM
Whoa, I'm surprised it came out as well as it did! The green you used is rather grainy and isn't really what you'd call high-contrast. Very nice result though!

Yeah, thankfully the object extraction tool is quite "smart" - it works really well. Here's an even better example:

http://www.jasondunn.com/more-green-screen-scanning-fun-806

Did you have to fiddle with the image levels?

Nope, not at all. Scan, Object Extract, Save As PNG. Done.

Winsunn
09-01-2010, 01:48 AM
You are a genius!! What a simple solution to a time consuming problem that I've had for years. A green screen, it works great. Thanks

Jason Dunn
09-02-2010, 12:06 AM
You are a genius!! What a simple solution to a time consuming problem that I've had for years. A green screen, it works great. Thanks

I'm no genius, but I'm very glad that you found it helpful. :)