A microlens array is an optical component consisting of a dense, regular grid of microscopic lenses, each typically measuring from a few micrometers to a few hundred micrometers in diameter. Its primary function in plenoptic cameras is to sample the directional distribution of light rays, enabling the capture of a 4D light field—the intensity of light as a function of position and direction—on a standard 2D photosensor. This allows for post-capture computational manipulations like digital refocusing and depth estimation.
Glossary
Microlens Array

What is a Microlens Array?
A foundational optical component in computational photography and light field imaging.
The array creates a fundamental spatial-angular tradeoff: each microlens directs light from different pupil regions onto distinct sensor pixels, trading spatial resolution for angular information. This structure enables the extraction of sub-aperture images and is central to integral imaging for 3D displays. In advanced neural rendering pipelines, data from microlens arrays provides the multi-view consistency needed for high-quality view synthesis and neural radiance field training.
Key Characteristics of a Microlens Array
A microlens array is a foundational optical element in plenoptic imaging, enabling the capture of the directional distribution of light. Its design parameters directly determine the capabilities of light field acquisition systems.
Pitch and Fill Factor
The pitch is the center-to-center distance between adjacent microlenses, defining the spatial sampling rate of the light field. A smaller pitch increases spatial resolution but reduces the number of angular samples per lens. The fill factor is the percentage of the sensor area covered by active lens elements; a high fill factor (often >90%) maximizes light collection efficiency and minimizes optical crosstalk between adjacent sampling units.
Focal Length and F-Number
The focal length of each individual microlens determines where the main lens's pupil is imaged onto the photosensor. This parameter sets the angular resolution—the number of distinct ray directions sampled per spatial point. The f-number (focal length / aperture diameter) of the microlenses affects the system's light-gathering ability and depth of field within each micro-image. Typical microlens focal lengths range from tens to hundreds of micrometers.
Lens Profile and Aberration
Microlenses are fabricated with specific surface profiles to control optical performance. Common profiles include:
- Spherical: Simplest to manufacture but introduces spherical aberration.
- Aspherical: Corrects for spherical aberration, improving image quality at the micro-image plane.
- Diffractive: Uses nanostructures to achieve specific focusing properties, often for chromatic correction. Minimizing chromatic aberration, coma, and astigmatism is critical to ensure each micro-image is a sharp, accurate sample of the incident light cone.
Spatial-Angular Resolution Tradeoff
This is the fundamental constraint governing microlens array design. For a fixed sensor with N total pixels:
- High Spatial Resolution: Achieved by using a large number of microlenses (small pitch), each covering few sensor pixels. This yields a high-resolution 2D image but very coarse angular information.
- High Angular Resolution: Achieved by using fewer, larger microlenses (large pitch), each covering many sensor pixels. This provides rich directional light data but at the cost of low spatial resolution in the final rendered image. System design involves optimizing this tradeoff for the target application, such as refocusing vs. 3D reconstruction.
Material and Substrate
Microlens arrays are typically fabricated from optical-grade polymers (e.g., PMMA) or fused silica. Key material properties include:
- Refractive Index: Determines the lens's bending power for a given curvature.
- Dispersion: Affects chromatic performance; low dispersion is preferred.
- Thermal Stability: Critical for systems operating in varying environmental conditions. The array is often bonded directly to the sensor's protective glass (cover slip) or fabricated as a separate component precisely aligned to the pixel grid. The substrate thickness and flatness are tightly controlled to maintain optical path consistency.
Alignment and Telecentricity
Precise alignment between the microlens array and the underlying photosensor pixel grid is paramount. Misalignment causes systematic errors in ray assignment, degrading light field reconstruction. Telecentricity refers to the property where the chief rays (central rays of each light cone) are parallel to the optical axis. A telecentric microlens array design ensures each microlens samples the same angular range from the main lens, simplifying calibration and post-processing algorithms for applications like the Lytro or Raytrix plenoptic cameras.
How a Microlens Array Works in a Plenoptic Camera
A microlens array is the core optical element that enables a plenoptic camera to capture the direction of light rays, transforming a standard image sensor into a light field sensor.
A microlens array is a grid of hundreds to thousands of microscopic lenses placed directly in front of a camera's image sensor. Each microlens acts as a tiny imaging element, redirecting incoming light rays from the main lens onto a small cluster of pixels beneath it. This structure samples the light field, capturing not just the intensity of light at a point but also the direction from which each ray arrives, encoding 4D radiance information into a single 2D sensor image.
This directional sampling creates a spatial-angular tradeoff: each microlens trades spatial resolution for angular information. The raw captured image, called a light field image or plenoptic image, appears as a repeating pattern of small, slightly shifted micro-images. Computational processing decomposes this raw data into a set of sub-aperture images (views from different perspectives) or enables applications like digital refocusing and depth estimation after the photo is taken.
Primary Applications and Use Cases
Microlens arrays are fundamental optical components that enable advanced computational imaging by sampling the direction of light. Their primary applications span from consumer photography to scientific instrumentation and next-generation displays.
Light Field & Plenoptic Cameras
The quintessential application is in light field cameras (e.g., Lytro, Raytrix). The array is placed at the sensor's focal plane, where each microlens directs light from different angles onto distinct sensor pixels. This captures the 4D light field, enabling post-capture capabilities like:
- Digital refocusing: Changing the focal plane after the photo is taken.
- Parallax-based depth estimation: Computing depth maps from the angular disparity of rays.
- Perspective shift: Generating slightly different viewpoints from a single capture.
Wavefront Sensing & Adaptive Optics
In astronomy and microscopy, microlens arrays are used in Shack-Hartmann wavefront sensors. Each lenslet creates a focal spot on a detector; deviations of these spots from a reference grid directly measure local wavefront tilt. This data drives deformable mirrors in adaptive optics systems to correct for atmospheric turbulence or optical aberrations in real time, dramatically improving image resolution.
Beam Homogenization & Illumination
Arrays are used to transform non-uniform light sources into uniform, well-defined illumination patterns. Each microlens segments the beam, and the overlapping outputs create a top-hat intensity profile. This is critical in:
- Photolithography: Providing even illumination on semiconductor wafers.
- Projection systems: Enhancing brightness uniformity.
- Microscopy: Creating uniform Köhler illumination for brightfield imaging.
Integral Imaging & 3D Displays
Microlens arrays enable autostereoscopic 3D displays without requiring glasses. In integral imaging, a display panel shows a series of elemental images (different perspective views). The overlying microlens array directs light from each pixel to a specific direction, reconstructing a full-parallax light field viewable from multiple angles. This principle is also used in holographic stereogram printing.
Optical Micrometry & Metrology
Arrays facilitate high-precision measurement. In wavefront coding, a specialized microlens array creates a depth-invariant point spread function, extending depth of field for machine vision inspection. They are also used in moire interferometry and structured light projection for surface contour mapping, where the array generates precise grid or dot patterns for 3D scanning.
Multi-Aperture & Compound Eye Sensors
Inspired by insect compound eyes, engineered microlens arrays create multi-aperture imaging systems. Each lens feeds a small, independent sensor region, enabling novel form factors and capabilities:
- Ultra-thin cameras: For mobile devices.
- Wide-field-of-view imaging: By arranging lenses on a curved surface.
- Specialized sensing: Different lenslets can have varied focal lengths or filters for multispectral imaging or polarization analysis in a single compact module.
Microlens Array vs. Conventional Imaging
A direct comparison of the core principles, capabilities, and trade-offs between plenoptic imaging using a microlens array and traditional single-lens photography.
| Feature / Metric | Microlens Array (Plenoptic) Imaging | Conventional (Monocular) Imaging |
|---|---|---|
Primary Data Captured | 4D Light Field (Intensity + Direction) | 2D Image (Integrated Intensity) |
Post-Capture Refocusing | ||
Depth Estimation from Single Shot | ||
Parallax & Viewpoint Shift | Limited angular range (~< 1°) | None (single viewpoint) |
Native Spatial Resolution | Lower (e.g., 1000x1000 for full sensor) | Higher (e.g., 45 Megapixels) |
Computational Processing Load | High (requires light field decoding) | Low (standard demosaicing) |
Extended Depth of Field (Synthetic) | ||
Primary Use Cases | Computational photography, 3D reconstruction, scientific imaging | General photography, videography, computer vision |
Hardware Complexity | High (precise microlens alignment required) | Low (mature lens-sensor design) |
Direct Viewing of Raw Sensor Data | Not interpretable (repeating micro-image pattern) | Directly interpretable (Bayer pattern image) |
Frequently Asked Questions
A microlens array is a foundational optical component in computational photography and light field imaging. These FAQs address its core principles, applications, and relationship to advanced 3D reconstruction techniques like Neural Radiance Fields.
A microlens array is an optical component consisting of a dense, regular grid of microscopic lenses, each typically measuring from a few micrometers to a few hundred micrometers in diameter. It works by being placed directly in front of a conventional image sensor in a plenoptic camera (or light field camera). Each microlens acts as a tiny imaging element, sampling the angular distribution of light rays arriving from the camera's main lens. Instead of a single photosite recording the total light intensity for one pixel, the sensor area behind each microlens records a small, low-resolution image of the camera's aperture, capturing the direction of incoming light. This transforms a standard 2D sensor into a device that records the 4D light field, encoding both spatial (where on the sensor) and angular (from which direction) information.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
A microlens array is a foundational component in computational photography. These related terms define the ecosystem of light field capture, representation, and processing.
Light Field
A light field is a 5D vector function that describes the radiance of light rays traveling in every direction (2D) through every point (3D) in space. It is a practical, finite subset of the full 7D plenoptic function, often parameterized for capture and rendering. In a plenoptic camera, the microlens array samples this 5D function, trading spatial resolution for angular information to enable post-capture effects like refocusing and parallax generation.
Plenoptic Camera
A plenoptic camera (or light field camera) is an imaging device that captures both the intensity and direction of light rays. Its core optical design places a microlens array between the main lens and the photosensor. Each microlens directs a bundle of rays from different angles onto a small patch of pixels beneath it. This raw capture, called a light field image, encodes the 4D light field, enabling computational photography applications impossible with conventional cameras.
Sub-Aperture Images
Sub-aperture images are a set of 2D perspective views extracted during the decoding of a light field captured by a microlens array. Each image corresponds to the scene as seen from a different, small portion of the camera's main aperture.
- They represent different viewpoints with slight parallax.
- The complete set provides the angular sampling of the light field.
- These images are the primary data used for stereo matching, depth estimation, and view synthesis in light field processing pipelines.
Spatial-Angular Tradeoff
The spatial-angular tradeoff is a fundamental resolution constraint in microlens-based light field capture. For a fixed sensor pixel count, the total information is divided between:
- Spatial Resolution: The number of distinct microlenses, determining the pixel count of each extracted sub-aperture image.
- Angular Resolution: The number of pixels behind each microlens, determining the number of unique sub-aperture images (views). Increasing one necessitates decreasing the other. This tradeoff drives hardware design and motivates super-resolution algorithms in computational light field photography.
Integral Imaging
Integral imaging is a passive, lenslet-based technique for capturing, processing, and displaying full-parallax 3D visual information. It directly employs a microlens array (or pinhole array) both at capture and display.
- Capture: Identical to a plenoptic camera, the array samples the light field.
- Display: A second microlens array reconstructs the light field, directing different image elements to each eye to create an autostereoscopic 3D effect without special glasses. It is a core technology for advanced 3D displays.
Epipolar Plane Image (EPI)
An Epipolar Plane Image is a powerful 2D visualization and analysis tool derived from a 4D light field. It is created by fixing one spatial dimension and one angular dimension, resulting in a 2D slice (y, v) or (x, u). Within an EPI:
- Points at different depths manifest as lines with distinct slopes.
- The slope of a line is directly proportional to the depth of the corresponding scene point.
- This linear structure enables highly efficient depth estimation and light field super-resolution algorithms by analyzing line orientations in this transformed domain.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us