Three-dimensional imaging using continuously self-imaging gratings.