A Truncated Signed Distance Function (TSDF) is a volumetric representation where each voxel in a 3D grid stores the signed distance to the nearest observed surface, with values truncated to a fixed range around the surface. This truncation creates a narrow band of relevant data, enabling highly efficient fusion of noisy depth maps from multiple viewpoints, as pioneered by the KinectFusion system. The core function outputs a positive distance for points in free space, zero at the surface, and negative distances inside objects.
Glossary
Truncated Signed Distance Function (TSDF)

What is Truncated Signed Distance Function (TSDF)?
A core volumetric representation for fusing multiple depth observations into a unified 3D model.
The TSDF is updated iteratively by weighted averaging new depth observations, which progressively reduces sensor noise and fills gaps. A final iso-surface extraction algorithm, like Marching Cubes, is run on the fused volume to produce a watertight polygon mesh. This makes TSDFs foundational for real-time RGB-D reconstruction, dense SLAM, and creating 3D digital twins from commodity depth sensors.
Key Characteristics of a TSDF
A Truncated Signed Distance Function (TSDF) is a core volumetric data structure for fusing multiple depth observations into a single, consistent 3D model. Its design enables efficient, real-time reconstruction.
Signed Distance Field (SDF)
The foundation of a TSDF is a Signed Distance Function. For any point in 3D space, it stores the shortest distance to the nearest surface. The sign indicates whether the point is inside (negative distance) or outside (positive distance) the object. The zero-level set of this function defines the reconstructed surface.
Truncation
To make the representation practical and memory-efficient, distances are truncated to a fixed range [-μ, +μ] around the surface. This creates a narrow band of active voxels.
- Why it's critical: It limits updates to the region near the surface, ignoring empty and far-occupied space.
- Impact: Enables the use of a fixed-size voxel grid and guarantees the function is Lipschitz continuous, which aids numerical stability during fusion and mesh extraction.
Volumetric Fusion
A TSDF fuses multiple, noisy depth maps from different viewpoints into a single, de-noised model. This is done via a running weighted average in each voxel.
- Process: For each new depth frame, a TSDF slice is projected into the volume. Voxel values (distance
D) and weights (W) are updated:D_new = (W_old * D_old + w * d) / (W_old + w). - Result: Redundant observations average out sensor noise, while occluded areas remain uncertain (low weight).
Voxel Grid Representation
The continuous TSDF is discretized into a 3D voxel grid. Each voxel stores two values:
- TSDF Value: The truncated signed distance to the surface.
- Weight: A confidence measure (often based on sensor noise model or viewing angle).
- Memory Challenge: A dense grid is
O(n³). Solutions include hashing (e.g., KinectFusion) or hierarchical structures (octrees) to allocate memory only near surfaces.
Surface Extraction via Ray Casting
To render or mesh the TSDF, the implicit surface (where distance=0) must be extracted. This is done efficiently via ray casting.
- Method: For a desired camera view, rays are cast through the volume. The zero-crossing along each ray is found by interpolating the TSDF values of sampled voxels.
- Output: This generates a depth map and normal map for the reconstructed surface from any novel viewpoint, enabling real-time visualization.
Robustness to Noise and Outliers
The weighted averaging scheme provides inherent robustness. Erroneous depth measurements (outliers) are often inconsistent across frames and thus accumulate lower confidence.
- Weighting Function: Typically decreases with distance from the sensor's optical center or with high depth measurement uncertainty.
- Hole Filling: The fusion process can fill holes present in individual depth maps if other views provide data for that region.
TSDF vs. Other 3D Scene Representations
A technical comparison of the Truncated Signed Distance Function (TSDF) against other common volumetric and geometric representations used in 3D reconstruction and computer vision.
| Feature / Metric | Truncated Signed Distance Function (TSDF) | Point Cloud | Polygonal Mesh | Neural Radiance Field (NeRF) |
|---|---|---|---|---|
Primary Data Structure | Volumetric grid of signed distance values | Unstructured set of 3D coordinates | Vertices, edges, and faces defining surfaces | Coordinate-based neural network (MLP) |
Surface Representation | Implicit (zero-level set of SDF) | Explicit (discrete samples) | Explicit (connected polygons) | Implicit (density/color field) |
Native Support for Surface Fusion | ||||
Handles Noisy/Partial Sensor Data | ||||
Memory Efficiency (Static Scene) | ||||
Real-Time Rendering Speed | Fast (via ray casting) | Medium (requires splatting) | Very Fast (GPU rasterization) | Slow (requires network queries) |
Ease of Geometry Extraction | Medium (requires Marching Cubes) | N/A (geometry is points) | N/A (geometry is explicit) | Slow (requires volumetric sampling) |
Inherently Supports Texture/Color |
Frequently Asked Questions
A Truncated Signed Distance Function (TSDF) is a core volumetric representation for 3D scene reconstruction, enabling the fusion of multiple depth observations into a single, coherent model. This FAQ addresses its core mechanics, applications, and relationship to other 3D vision techniques.
A Truncated Signed Distance Function (TSDF) is a volumetric representation that stores, for each voxel in a 3D grid, the signed distance to the nearest surface, with values truncated to a fixed range around the surface. It works by iteratively fusing multiple aligned depth maps from different viewpoints. For each depth pixel, a ray is cast into the volume. Voxels along the ray update their stored distance value: positive if behind the observed surface, negative if in front, and zero at the surface. The truncation limits updates to a band near the surface (e.g., ±5 cm), which focuses computation, provides a degree of noise robustness, and defines the zero-crossing where the actual surface lies. A running average of these signed distances is maintained per voxel, along with a weight, allowing incremental updates from new frames. The final surface is extracted via an algorithm like Marching Cubes that finds the zero-level set of the TSDF volume.
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
TSDFs are a core component of modern volumetric 3D reconstruction pipelines. These related concepts define the data structures, algorithms, and processes that enable the creation of dense 3D models from sensor data.
Signed Distance Function (SDF)
A Signed Distance Function (SDF) is a continuous scalar field that defines, for any point in 3D space, the shortest distance to the surface of an object, with the sign indicating whether the point is inside (negative) or outside (positive) the object. It is the foundational mathematical concept from which the TSDF is derived.
- Core Property: The zero-level set of an SDF (where the distance value is zero) defines the object's surface.
- Continuity: Provides smooth, differentiable information about the scene geometry, which is advantageous for optimization.
- TSDF Relationship: A TSDF is a practical, discretized implementation of an SDF where distance values are truncated (clamped) to a fixed range around the surface for computational efficiency and robustness to noise.
Voxel Grid
A voxel grid is a regular, volumetric discretization of 3D space into a structured lattice of cubic elements called voxels. It is the most common data structure for storing a TSDF.
- Structure: Each voxel stores one or more values. In a TSDF grid, this is typically the truncated signed distance and a weight for running averages.
- Memory vs. Resolution: The memory requirement scales with O(n³), making high-resolution grids computationally expensive. This led to the development of sparse structures like Octrees.
- Fusion Process: Depth maps from multiple viewpoints are integrated by updating the TSDF values in the corresponding voxels, progressively building a consensus model of the surface.
KinectFusion
KinectFusion is a seminal real-time 3D reconstruction system introduced by Microsoft Research that popularized the use of TSDFs for dense volumetric mapping. It used a commodity RGB-D sensor (Microsoft Kinect) to create dense 3D models of indoor environments.
- Core Innovation: Demonstrated real-time, incremental TSDF fusion and surface prediction using GPU acceleration.
- Pipeline: The system continuously 1) captures depth frames, 2) estimates camera pose (via ICP on the predicted surface), 3) integrates the new depth data into a global TSDF volume, and 4) uses Ray Casting to render the current model for tracking and visualization.
- Impact: It set the standard for real-time dense SLAM and directly influenced subsequent systems like DynamicFusion and ElasticFusion.
Marching Cubes
Marching Cubes is a classic computer graphics algorithm for extracting a polygonal mesh surface from a 3D scalar field, such as a TSDF volume. It is the standard method for converting a reconstructed TSDF into a renderable mesh.
- Process: The algorithm 'marches' through each cell (8 adjacent voxels) in the volume. Based on the sign (inside/outside) of the scalar values at the 8 corners, it looks up a pre-defined table to generate the set of triangles that approximate the surface within that cell.
- Iso-surface: It extracts the iso-surface where the scalar value equals zero (the zero-crossing of the SDF).
- Efficiency: It generates a watertight mesh but can produce a high polygon count, often requiring subsequent mesh simplification.
Ray Casting (for TSDF)
In the context of TSDF volumes, Ray Casting is the primary technique for rendering the implicit surface directly from the volumetric representation without first extracting a mesh. It is crucial for real-time visualization and camera tracking.
- Mechanism: For each pixel, a ray is shot from the camera into the volume. The algorithm samples TSDF values along the ray, looking for the zero-crossing (where the sign changes from positive to negative).
- Surface Prediction: The precise 3D location of the zero-crossing is calculated, often via linear interpolation, providing a depth value and a surface normal for that pixel.
- Use in SLAM: This predicted depth map and normal map are directly compared to the live sensor input for iterative closest point (ICP) camera tracking, as used in KinectFusion.
RGB-D Reconstruction
RGB-D Reconstruction is the overarching process of creating a 3D model from a sequence of RGB-D (color plus depth) images. TSDF-based fusion is the dominant volumetric method for this task.
- Sensor Input: Relies on active depth sensors like Microsoft Kinect, Intel RealSense, or Structured Light scanners that provide synchronized color and depth per pixel.
- Pipeline Stages: A typical pipeline involves 1) sensor data capture, 2) camera pose estimation (via Visual SLAM or ICP), 3) volumetric fusion (using a TSDF), and 4) surface extraction (using Marching Cubes).
- Contrast with MVS: Unlike Multi-View Stereo (MVS), which computes depth from multiple color images, RGB-D reconstruction starts with measured depth, making it more robust in textureless regions but limited by sensor range and noise characteristics.

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