Inferensys

Glossary

Light Field

A light field is a vector function that describes the amount of light flowing in every direction through every point in space, forming a 4D representation of a visual scene.
Engineer reviewing vector database search results on laptop, embeddings visualization on screen, home office coding session.
PLENOPTIC FUNCTION MODELING

What is a Light Field?

A light field is a complete representation of all light rays in a scene, enabling advanced computational photography and 3D reconstruction.

A light field is a vector function that describes the amount of light flowing in every direction through every point in space, representing a 4D or higher-dimensional subset of the full plenoptic function. This data structure captures not just the intensity of light at a sensor but its directional distribution, enabling post-capture effects like digital refocusing, parallax simulation, and view synthesis. It is a foundational concept for neural radiance fields (NeRF) and image-based rendering.

Acquiring a light field involves a trade-off between spatial and angular resolution, governed by the plenoptic sampling theorem. Specialized hardware like a light field camera uses a microlens array to sample this 4D data. In computation, light fields are often parameterized in ray space or as a lumigraph. The core computational challenge is novel view generation, which requires sophisticated occlusion handling and enforcement of multi-view consistency across the captured sub-aperture images.

PLENOPTIC FUNCTION MODELING

Key Characteristics of Light Fields

A light field is a high-dimensional representation of light. Its core characteristics define how it is captured, represented, and manipulated for computational photography and view synthesis.

01

4D Ray Parameterization

The most common representation models a light field as a 4D function, L(u, v, s, t), describing the radiance of every light ray. The ray is parameterized by its intersection with two parallel planes: an UV plane (aperture) and an ST plane (sensor). This two-plane parameterization provides a structured, non-redundant coordinate system for rays, enabling efficient storage and algorithms for refocusing and novel view synthesis.

02

The Spatial-Angular Tradeoff

This is a fundamental constraint in light field acquisition. For a fixed sensor resolution (e.g., a 10-megapixel chip), the captured data must be divided between spatial resolution (detail within a single view) and angular resolution (number of distinct viewpoints).

  • High Angular, Low Spatial: Many slightly different views, each with lower detail. Ideal for smooth view interpolation.
  • Low Angular, High Spatial: Fewer views, but each is a high-resolution image. This tradeoff is dictated by the plenoptic sampling theorem, which sets minimum sampling rates to avoid aliasing.
03

Full Parallax & View Interpolation

A fully sampled light field contains horizontal and vertical parallax, meaning the viewpoint can be shifted left-right and up-down. This enables the generation of novel views through view interpolation, where intermediate images are synthesized by selecting and blending appropriate rays from the captured set. The quality of this interpolation depends directly on the density of angular sampling. A critical challenge is occlusion handling, correctly managing scene regions hidden in some viewpoints but visible in others.

04

Post-Capture Refocusing

A direct application of the 4D light field is digital refocusing. After capture, the focal plane can be synthetically shifted by integrating subsets of rays that would have converged at a new virtual sensor plane. This process simulates changing the camera's depth of field without any physical lens movement. It relies on the shearing of the 4D light field data in ray space. This capability is a hallmark feature of consumer light field cameras like the Lytro.

05

Depth from Ray Geometry

Depth information is implicitly encoded in the light field's structure. In an epipolar plane image (EPI)—a 2D slice of the 4D field—a scene point appears as a line whose slope is inversely proportional to its depth. Disparity estimation across the angular dimensions provides a dense depth map without traditional stereo matching. This photo-consistency across multiple views is a powerful cue for 3D scene reconstruction and is foundational to multiview stereo algorithms.

06

Acquisition & Display Systems

Light fields are captured or displayed using specialized hardware:

  • Plenoptic Cameras: Use a microlens array placed just before the sensor to sample angular information.
  • Camera Arrays: A grid of synchronized cameras, providing high resolution but complex calibration.
  • Integral Imaging Displays: Use a microlens array to reconstruct a light field for autostereoscopic 3D viewing, requiring no glasses.
  • Holographic Stereograms: Synthesize a light field into a hologram, creating a full-parallax 3D image viewable under white light.
CAPTURE AND REPRESENTATION

How is a Light Field Captured and Represented?

A light field is captured by sampling the plenoptic function and is represented mathematically to enable computational photography and rendering tasks.

A light field is captured by sampling the plenoptic function using specialized hardware like a plenoptic camera or a camera array. The plenoptic camera employs a microlens array placed in front of the image sensor to record both the spatial location and angular direction of incoming light rays. This creates a single raw image, called a light field image, where each microlens generates a small sub-aperture image of the main lens. Alternatively, a calibrated array of conventional cameras can directly capture multiple views, explicitly sampling the light field from discrete positions.

The captured data is mathematically represented as a 4D or higher-dimensional function, most commonly parameterized using the two-plane parameterization. Here, a light ray is defined by its intersections with two parallel planes: the spatial plane (uv) and the angular plane (st). This creates a 4D coordinate (u, v, s, t), forming a structured ray space. For rendering, this discrete 4D dataset is often reorganized into alternative structures like the Lumigraph, which optimizes for efficient interpolation and view synthesis by leveraging approximate scene geometry.

APPLICATIONS

Primary Applications of Light Fields

Light fields, as a complete representation of radiance, enable a range of computational photography and computer vision applications by decoupling the captured data from a specific optical configuration.

01

Digital Refocusing

Digital refocusing allows the focal plane of a photograph to be adjusted after capture. By capturing the full 4D light field, a synthetic aperture can be applied computationally. This is achieved by integrating rays that converge at a chosen depth, effectively simulating a different lens focus setting. This capability is foundational to plenoptic cameras like the Lytro and is used in post-production and computational imaging pipelines.

02

View Synthesis & 3D Displays

Light fields enable the generation of novel viewpoints not present in the original capture. By re-sampling the ray space, images for arbitrary camera positions can be rendered. This is critical for:

  • Autostereoscopic displays (glasses-free 3D) like those using integral imaging.
  • Virtual reality and augmented reality content creation.
  • Image-based rendering systems that generate fly-throughs from static captures. The quality depends on the density of angular sampling and effective occlusion handling.
03

Depth Estimation & 3D Reconstruction

The parallax encoded in a light field provides a robust signal for depth estimation. Techniques analyze the epipolar plane images (EPIs), where points at different depths manifest as lines with different slopes. This allows for dense depth maps to be extracted without explicit stereo matching. This application feeds directly into 3D scene reconstruction pipelines and is a core component of multiview stereo algorithms that leverage light field data.

04

High Dynamic Range (HDR) Imaging

Light fields facilitate HDR imaging by enabling the synthesis of images with varying virtual exposure settings from a single capture. Since the light field records radiance (not just pixel intensity), different subsets of rays can be combined to simulate longer or shorter exposures. This allows for the recovery of detail in both shadows and highlights without the need for multiple physical exposures or bracketing, mitigating motion ghosting artifacts.

05

Material & Lighting Editing

By separating direct and indirect illumination components through analysis of the light field's directional data, it becomes possible to perform advanced scene editing. Applications include:

  • Relighting: Modifying the direction and intensity of scene lighting.
  • Material editing: Changing surface properties like glossiness or albedo.
  • Glare and reflection removal: Using angular information to isolate and suppress specular highlights or reflections based on their directional consistency.
06

Computational Microscopy & Tomography

In scientific imaging, light field principles enable volumetric imaging from a single snapshot. In light field microscopy, a microlens array placed at the native image plane of a microscope allows the capture of 3D information about a sample. Computational processing then reconstructs a focal stack or full 3D volume. This enables high-speed 3D imaging of dynamic biological processes without mechanical scanning, trading some spatial resolution for volumetric capture speed.

COMPARISON

Light Field vs. Traditional 2D Imaging

A technical comparison of core acquisition, representation, and post-capture capabilities between light field (plenoptic) imaging and conventional 2D photography.

Feature / MetricTraditional 2D ImagingLight Field (Plenoptic) Imaging

Primary Data Captured

2D irradiance (intensity) per pixel

4D radiance (intensity + direction) per spatial point

Dimensionality of Representation

2D array (x, y)

4D+ function (e.g., (x, y, u, v) in two-plane param.)

Post-Capture Refocusing

Parallax & Viewpoint Shift

Depth Map Estimation

Requires multi-view stereo or active sensors

Directly from single capture via epipolar analysis

Native Angular Resolution

1 ray per pixel (no angular info)

5x5 to 15x15 rays per spatial point (typical)

Spatial Resolution Trade-off

Full sensor resolution for intensity

Spatial resolution reduced by angular sampling factor

Primary File Format

JPEG, PNG, RAW (DNG)

LFR, LFP, specialized RAW formats

Core Acquisition Hardware

Standard camera with main lens

Main lens + microlens array in front of sensor

Representative Applications

Standard photography, video

Computational photography, 3D reconstruction, VR/AR, scientific imaging

LIGHT FIELD

Frequently Asked Questions

A light field is a vector function describing light flow in every direction through every point in space. This FAQ addresses its core principles, acquisition, and applications in computational photography and neural rendering.

A light field is a complete mathematical description of all the light rays traveling in every direction through every point in a given region of space. Think of it as capturing not just a 2D picture of light intensity, but the full 4D dataset of where light is coming from and going to. This enables computational post-processing effects like refocusing and viewpoint shifting that are impossible with a standard photograph.

Formally, it is a 4D subset of the higher-dimensional plenoptic function, parameterized by a ray's intersection with two planes (e.g., the UV plane of a camera aperture and the ST plane of the sensor). This ray space representation allows software to simulate the camera's optical properties after the fact.

Prasad Kumkar

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.