#7592·Open3D

Open3D 0.20.0 ScalableTSDFVolume produces empty geometry from metric float32 depth

Author: ZenAlexaCreated Oct 1, 2026Updated Oct 1, 2026

Describe the bug

In Open3D 0.20.0 I reproduce empty TSDF geometry from valid metric float32 depth with the official PyPI macOS arm64 wheel. The same reproduction with the official 0.19.0 wheel produces populated voxel and surface geometry. The application uses ScalableTSDFVolume and RGBDImage.create_from_color_and_depth(depth_scale=1.0).

Reproduction

python
import numpy as np
import open3d as o3d

print("Open3D", o3d.__version__)
for width, height, focal_length in [(32, 24, 28.0), (64, 48, 50.0), (640, 480, 525.0)]:
    color = np.full((height, width, 3), 128, dtype=np.uint8)
    depth = np.full((height, width), 2.0, dtype=np.float32)
    rgbd = o3d.geometry.RGBDImage.create_from_color_and_depth(
        o3d.geometry.Image(color),
        o3d.geometry.Image(depth),
        depth_scale=1.0,
        depth_trunc=5.0,
        convert_rgb_to_intensity=False,
    )
    intrinsic = o3d.camera.PinholeCameraIntrinsic(
        width, height, focal_length, focal_length, (width - 1) / 2, (height - 1) / 2
    )
    cloud = o3d.geometry.PointCloud.create_from_rgbd_image(rgbd, intrinsic)
    print("frame", width, height, "depth", np.asarray(rgbd.depth).min(),
          np.asarray(rgbd.depth).max(), "backproject", len(cloud.points))
    for stride in [1, 4]:
        volume = o3d.pipelines.integration.ScalableTSDFVolume(
            voxel_length=0.05,
            sdf_trunc=0.1,
            color_type=o3d.pipelines.integration.TSDFVolumeColorType.RGB8,
            depth_sampling_stride=stride,
        )
        volume.integrate(rgbd, intrinsic, np.eye(4))
        print("stride", stride,
              "cloud", len(volume.extract_point_cloud().points),
              "voxels", len(volume.extract_voxel_point_cloud().points),
              "mesh", len(volume.extract_triangle_mesh().vertices))

The input is a 2-meter plane, the pose is identity, and RGBDImage.depth contains float32 values of exactly 2.0. Direct RGBD backprojection produces 768, 3072, and 307200 points for the three sizes.

Observed output

Open3D version Width Height Depth sampling stride Point-cloud points Voxel points Mesh vertices
0.20.0 32 24 1 0 0 0
0.20.0 32 24 4 0 0 0
0.20.0 64 48 1 0 0 0
0.20.0 64 48 4 0 0 0
0.20.0 640 480 1 0 0 0
0.20.0 640 480 4 0 0 0
0.19.0 32 24 1 1564 6264 1564
0.19.0 32 24 4 1518 6076 1518
0.19.0 64 48 1 1900 7836 1900
0.19.0 64 48 4 1900 7836 1900
0.19.0 640 480 1 1728 7184 1728
0.19.0 640 480 4 1728 7184 1728

Source trace

  • PR #7540, addressing #6347, adds ConvertDepthToFloatImage(depth_scale, depth_trunc) to the float32 branch in PointCloudFactory.cpp at v0.20.0.
  • ScalableTSDFVolume.cpp at v0.20.0 calls CreateFromDepthImage(image.depth_, intrinsic, extrinsic, 1000.0, 1000.0, depth_sampling_stride_) for volume activation. The current main contains the same call.
  • The already metric RGBD depth is normalized by 1000 during activation. UniformTSDFVolume.cpp reads the original metric RGBD depth during integration. The activation and integration stages therefore use different depth scales.
  • The v0.19.0 float32 branch directly projects the float depth image.

An internal depth_scale=1.0 in the TSDF activation call would align the point projection with the metric RGBD input. Patch compilation remains pending. This report concerns volume activation and metric-depth normalization. #7580 concerns nearest-depth pixel lookup during voxel integration.

Expected behavior

Valid metric RGBD frames populate the TSDF volume and produce finite surface geometry with the existing public integration API.

Environment

  • macOS 26.4, build 25E246, arm64
  • Python 3.11.16
  • NumPy 1.26.4
  • Official PyPI wheels for Open3D 0.20.0 and 0.19.0
  • CPU integration; Open3D 0.20 build reports BUILD_CUDA_MODULE=False

Our existing application scenarios cover asynchronous depth integration, map-epoch resets, exact integration journals, progressive replay, and reconstruction scoring. Four TSDF-dependent scenarios fail with 0.20.0 due to empty geometry. The complete existing suite finishes with 296 passed and 2 skipped on 0.19.0. The isolated reproduction above uses Open3D and NumPy.