In this article
The basic exporter preserves integer depth values; the sensor depth-shift metadata remains part of the geometric interpretation.
Separate storage from geometry
A ScanNet sensor recording is decompressed into depth images that open correctly in an image viewer. A reconstruction then interprets their pixel values as meters and produces a room at an implausible scale. Successful image decoding establishes a storage property, not a physical-unit conversion. Keep the raw stored depth, the recording’s conversion metadata and the reconstructed distance as distinct quantities. A plausible grayscale preview cannot validate their relationship because display software can normalize values independently of physical meaning.
Retain the sensor conversion field
The sensor format documentation identifies a depth-shift field for conversion between metric depth and its integer representation. Read the field from the actual recording instead of silently importing a constant from a different dataset. A dataset-wide expectation can serve as a diagnostic, but the saved metadata provides the contract for a particular file. Preserve that field when moving exported images into a separate training directory or converting their container format.
Inspect what the exporter actually does
The basic Python exporter decompresses depth into an unsigned integer array and writes an integer PNG. That export path does not itself divide the array by the stored depth shift. Casting the image to a floating type later also changes representation without changing units. Document the explicit conversion step in the geometry loader, and ensure it is applied exactly once rather than independently by both the dataset adapter and reconstruction utility.
Carry calibration alongside the images
The ScanNet repository distinguishes sensor streams, camera poses and reconstructed meshes. The exporter also handles depth and color calibration separately. Keep image dimensions and the relevant intrinsic matrix with each derived stream, especially after resizing. Correct depth units do not compensate for an inappropriate camera matrix, just as correct intrinsics do not fix a repeated unit conversion. Verify the intended coordinate transform independently of whether image files are present.
Audit a small reconstruction before scaling
Reconstruct a limited set of views and inspect whether camera motion, depth extent and the reference surface agree under the declared conversion. Retain conversion provenance with cached tensors so a later consumer can distinguish stored samples from already metric values. Image coordinate guidance supports calibration checks; software reproducibility preserves the exporter and loader revisions. Report the validated representation explicitly, making the exported PNG an intermediate artifact rather than an undocumented promise of metric geometry.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.