Three-dimensional imaging approach using built-in lens mask lithography