Single-shot incoherent three-dimensional imaging for various in-focus situations