Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
03-02-2021, 01:23 PM   #1
Site Supporter
Site Supporter
fwwidall's Avatar

Join Date: Sep 2014
Location: Waterloo, Ontario
Photos: Gallery | Albums
Posts: 245
3D Anaglyph from single image

For the past few days I've been playing around with creating 3D images from 2D images using depth maps created in Google Colab and then processed in Stereophoto Maker.

I'm certainly no expert at this, but I'm quite impressed with the results so far. I'm sure there's plenty more to learn about both pieces of software.

You need a pair of red/cyan glasses to enjoy these images.

Hope you like them

[IMG][/IMG]







03-02-2021, 02:43 PM   #2
Site Supporter
Site Supporter




Join Date: Jun 2008
Location: Idaho
Photos: Gallery
Posts: 1,151
Great work.

I'd like to see what these look like on a 3D monitor without the anaglyph process (which leaves something to be desired in viewing them), but from their appearances here, they should be outstanding for simulated 3D. If you haven't already done so, be sure to convert these to an mpo file (with Stereophoto Maker) and look at them on a 3D display (many of which will take the mpo format).

Depth mapping was a fairly recent addition to Stereophotomaker and you can do something similar with Photoshop by using a map with the "displace" filter. You can create one image using the depth map for displacement (horizontal only) and then invert the map for the opposite eye. You have to tweak the parameters for the best effect (start with a 2% horizontal displacement for each). Photoshop doesn't do any anaglyph conversions, however, so it would be back to Stereophoto Maker for that. Of course, the key is getting a good depth map to begin with and it appears you did that with your photos.

Last edited by Bob 256; 03-02-2021 at 02:52 PM.
03-02-2021, 03:11 PM - 1 Like   #3
Site Supporter
Site Supporter
fwwidall's Avatar

Join Date: Sep 2014
Location: Waterloo, Ontario
Photos: Gallery | Albums
Posts: 245
Original Poster
Thanks Bob,

I have played in the past with manually creating a depth map and then using it to displace images in Photoshop. It works ok, but can be tedious to do, and the results 'iffy'.

Running this '2dtodepth' program inside Google Colaboratory does all the work for you and seems to give excellent results. You can open the output in SPM then process it as desired.

I'll attach a sample of the output.
Attached Images
 
03-02-2021, 03:38 PM   #4
Pentaxian
swanlefitte's Avatar

Join Date: May 2015
Location: New Orleans
Photos: Gallery
Posts: 3,403
I played around with anaglyphs a while back trying to figure out what they work well for. That first one would be cool in a comic strip peeling off the page. The last one really gives a sense of the space you would get being there. I bet the sports ones would work really well if you could separate each person first and render them separately.
I have 2 traditional 2 picture anaglyphs in this thread while you have the glasses out. post 192 and 203
Stupid Camera Tricks (and Stupid Lens Tricks) - Page 13 - PentaxForums.com

03-02-2021, 03:58 PM   #5
Site Supporter
Site Supporter
fwwidall's Avatar

Join Date: Sep 2014
Location: Waterloo, Ontario
Photos: Gallery | Albums
Posts: 245
Original Poster
Nice lens collection

I've played around with the two camera approach myself. I hooked up two *istDS's and fired them with a wireless trigger. Sometimes it worked



Processing a single image makes for interesting possibilities - how about a 3D snowflake. No easy way to create that with two cameras.



It really brings out the details of these incredible structures
03-02-2021, 08:46 PM   #6
Site Supporter
Site Supporter




Join Date: Jun 2008
Location: Idaho
Photos: Gallery
Posts: 1,151
QuoteOriginally posted by fwwidall Quote
Thanks Bob,

I have played in the past with manually creating a depth map and then using it to displace images in Photoshop. It works ok, but can be tedious to do, and the results 'iffy'.

Running this '2dtodepth' program inside Google Colaboratory does all the work for you and seems to give excellent results. You can open the output in SPM then process it as desired.

I'll attach a sample of the output.
I didn't mean to say the photoshop method is better, just that it's there as you know (and now I know, you know). Your method is much better and takes the pain out of getting a depth map, so one more ata boy (or ata girl) to you for doing it that way and sharing. I haven't tried the Google Colaboratory yet, but I sure will now. Ordinarily though, I shoot in 3D when I want 3D results, and would do the 3D conversion for those shots that I only have 2D info for (and there are plenty of those cases). Your post is really welcomed in that respect. Thanks for the info.

Last edited by Bob 256; 03-03-2021 at 08:40 AM.
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
3d, 3d anaglyph, flickr, images, photography, photoshop
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Abstract Anaglyph 3D of Queen Anne's lace Staubach Post Your Photos! 3 07-21-2018 09:07 AM
Landscape Anaglyph 3D of Tinker Park Staubach Post Your Photos! 3 06-07-2018 03:48 AM
Best of 2016 Vermont Anaglyph Staubach Post Your Photos! 3 01-03-2017 02:34 PM
Pixel Shift single image extraction from RAW using Fast Stone Image Viewer rgknief60 Pentax K-1 & K-1 II 3 08-18-2016 02:37 PM
Cheap 3D - Sony Bloggie, Fuji W3, LG Optimus, HTC Evo 3D... or? Unsinkable II Non-Pentax Cameras: Canon, Nikon, etc. 7 06-23-2012 09:36 PM



All times are GMT -7. The time now is 11:01 PM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top