Applications of digital and analog holography in three-dimensional imaging