All times are UTC + 2 hours



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Converting a 2D Image into a Stereo 3D Image with Photoshop
PostPosted: 11 May 2010, 11:56 
Site Admin
User avatar

Joined:
29 Apr 2010, 17:51
Posts: 3148
Location: Sofia, Bulgaria


Here is one interesting video tutorial that I stumbled across that demonstrates a simple, but effective technique to create a depth map of a 2D photo or another image and then use the depth map to convert it to stereoscopic 3D image in a Side by Side format. This is done with the help of the Displace filter available in Photoshop that allows you to reconstruct the view for the other eye based on the depth map you've created. You should have patience and not get discouraged if you don't manage to get great results the first time you do this, try again and again and further improve the results, but be ready to spent a lot of time experimenting. This is needed because the 2D to 3D conversion process needs not only to rely on doing the things lets say mathematically correct, but also in a way that they will visually look best and that requires visual checking. You should also be careful not to have depth contradicting cues when you are doing the conversions as this might disturb you when you view the final image and create a negative effect instead of positive one in the viewer. And in order to start making really good conversions you'll need some time to play and experiment to get the right feeling of doing the conversion, and you'll also get some useful experience in the process, even though in the demo video above the procedure might seem very simple and easy to you, it is not so easy getting really good results...

But let me do some more explanations about the depth maps if you don't know what are these. Depth maps are grayscale graphic files that define the depth of each pixel of the image, so when you combine a 2D still image with a depth map file you can generate a second view of the image with the needed offset as defined in the depth map so that the result is a stereoscopic 3D image. In a depth map file the pixels rage from pure white to complete black (no other colors are being used), where if a pixel is brighter it represents the fact that the real pixel of the image should seem closer and if it is darker it should be far from the viewer. So a pixel with white color in the depth map seems close to you (jumping out of the screen), a gray one will be in between (at screen depth) and a completely black one will be furthest away from you (going inside the screen).

When converting a single 2D image into a stereoscopic 3D one with Photoshop, you need to start with drawing the depth map (in a separate layer of course) and starting with a gradient or fully filling with a grayscale color the whole image surface. This is needed in order to not have empty regions in the depth map left by mistake as this might mess up with the end result you'll get in terms of depth. After you've prepared the background of the depth map, you can start to define one or more layers of depth for the different objects displayed on the image. Using additional layers for the depth map might be good idea in order to have more control when working with fine details and/or if you need to more easily convert multiple similar images. If you create more layers of depth it also means that you'll have more depth information and the depth effect will feel more natural and close to reality, but more layers need more work as even a single more complex object (a person in the photo for example) might even need 5, 10 or even more layers with depth information and that requires more time to be done precisely.

Feel free to share your conversions below if you wish to...


 Profile WWW  
 
 Post subject: Re: Converting a 2D Image into a Stereo 3D Image with Photos
PostPosted: 12 May 2010, 02:35 

Joined:
12 May 2010, 02:29
Posts: 1
I use the same technique in After Effects for video content. The tutorial only uses a still image but the same technique can also be used with video. It is a bit more painstaking though.

Vimeo:
http://vimeo.com/11607223

Youtube:
http://www.youtube.com/watch?v=4WE3IdU_kUo

Thanks


 Profile  
 
 Post subject: Re: Converting a 2D Image into a Stereo 3D Image with Photos
PostPosted: 25 Jul 2010, 19:15 

Joined:
21 Jul 2010, 16:40
Posts: 4
My first post:

I'm really familiar with doing displacement maps - just one question. After I've distorted the image with the depth map - is my stereo pair the original undistorted image on the left and my displaced image on the right? If I want to create an anaglyph from the images - do I use SPM with the left and right as I proposed?


 Profile  
 
 Post subject: Re: Converting a 2D Image into a Stereo 3D Image with Photos
PostPosted: 26 Jul 2010, 08:55 
Site Admin
User avatar

Joined:
29 Apr 2010, 17:51
Posts: 3148
Location: Sofia, Bulgaria
Yes, you've got that right. The distorted image is on the right, unless you want to prepare a stereo pair for crosseye viewing when you'll want to switch the places for the left and right...


 Profile WWW  
 
 Post subject: Re: Converting a 2D Image into a Stereo 3D Image with Photos
PostPosted: 02 Dec 2010, 16:50 

Joined:
02 Dec 2010, 16:47
Posts: 1
which hot key did you use it ?? to make the photo side by side


 Profile  
 
 Post subject: Re: Converting a 2D Image into a Stereo 3D Image with Photos
PostPosted: 26 Jul 2011, 23:15 

Joined:
24 Jul 2011, 23:53
Posts: 4
Just to add my 2 cents:

My Gimpel3D project can import the depth maps and give the user finer control over the end result, I designed the app to use a wide range of features (from geometric modeling to simple depth maps) so it can import the grayscale images as a starting point for more advanced editing.

I'm not marketing the software (it's free), I just want to share my work with the world, I believe that some people doing conversions in PS might benefit from using G3D as a backup finishing tool..

www.Gimpel3D.com

Feel free to ask any questions, etc., I'm not offering licenses or support but I will be happy to answer any emails I get..


 Profile  
 
 Post subject: Re: Converting a 2D Image into a Stereo 3D Image with Photos
PostPosted: 22 Sep 2013, 00:27 

Joined:
22 Sep 2013, 00:16
Posts: 2
Hello there,

This is my first post and although this is a very old topic I would like to say that this technique is really awesome.

I am a hobbyist photographer and I use the above technique in order to create 3D images for 3DTV or 3D Monitors.

I would like to say only that in the above video the displace filter is used only on the right frame while is have found that the best results appear when you use the displace filter for both frames. I use horizontal displace -10 for the left frame and 10 for the right.

I am not really sure if this is allowed from this forums rules but I include the link of my portfolio and in case you have a 3DTV you can visit and see the 3D images I have created with this technique. KMPhotography*.

*In case this is not allowed, a moderator can remove the link from the post.

Thank you very much!


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 2 hours


Who is online

Registered users: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron