3D models from 2D images

Is there a program which converts, for example, six images in a 3D cube?

Any 3D software are able to do this with a few clicks.