There are programs can can convert photographs to 3D images, I can't remember the names of these programs, but they are pricey and not easy to find or use, you need some specific photographs to make it work properly...
If you google it hard enogh you'll find some info about them
Photomodeler, Autodesk Imagemodeler, Google Sketchup, all have the capability you want. It can be done with other software, though these are more designed for it.