Originally posted by fwwidall
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.