SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2109.15271 · NeurIPS · 2021

TöRF: Time-of-Flight Radiance Fields for Dynamic Scene View Synthesis

Christian Richardt, Benjamin Attal, Eliot Laidlaw, Aaron Gokaslan, Kim Changil, James Tompkin, Matthew O'toole

arXiv · PDF · Open in the Atlas

Code that ran

14 of 20 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 8 failures of our instrument; 6 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2109.15271.json · badge: /api/ran/2109.15271.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
breuckelen/torf marked official in Papers with Code
Papers with Code archive
14 ran · 6 no recorded run
FunctionStatusWhere it lives
crop_mvs_input Ran
ran; our contract draft was wrong, not the code
breuckelen/torf/torf.py
code served (permissive licence) · get_code("184794425f50a28f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
import math

torch.manual_seed(0)

# Construct images as a list of numpy arrays with shape (height, width, channels)
# Using distinct sizes: 32x48 for first view, 40x56 for second view
images = [
    np.random.rand(32, 48, 3).astype(np.float32),
    np.random.rand(40, 56, 3).astype(np.float32)
]

# Construct camera intrinsics and extrinsics
# cams[view] should be indexable with [0] and [1] for intrinsics rows
# Each camera matrix has at least 3 columns (indices 0, 1, 2 are accessed)
cams = [
    np.array([
        [500.0, 0.0, 24.0, 0.0],  # intrinsic row 0: fx, 0, cx, ...
        [0.0, 500.0, 16.0, 0.0],  # intrinsic row 1: 0, fy, cy, ...
        [0.0, 0.0, 1.0, 0.0],
        [0.0, 0.0, 0.0, 1.0]
    ]),
    np.array([
        [500.0, 0.0, 28.0, 0.0],
        [0.0, 500.0, 20.0, 0.0],
        [0.0, 0.0, 1.0, 0.0],
        [0.0, 0.0, 0.0, 1.0]
    ])
]

view_num = 2

# Optional depths parameter - list of numpy arrays matching image dimensions
depths = [
    np.random.rand(32, 48).astype(np.float32),
    np.random.rand(40, 56).astype(np.float32)
]

# Parameters for resizing
max_w = 48
max_h = 32
base_image_size = 8

ARGS = {
    'images': images,
    'cams': cams,
    'view_num': view_num,
    'depths': depths,
    'max_w': max_w,
    'max_h': max_h,
    'base_image_size': base_image_size
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
depth_from_tof Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
breuckelen/torf/torf.py
code served (permissive licence) · get_code("664c39c19719094b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (2, 1) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct valid arguments for depth_from_tof function
# The function expects:
# - tof: array-like with shape (..., 2) containing two channels
# - depth_range: scalar float for depth scaling
# - phase_offset: scalar float (default 0.0)

# Create a small tof array with batch size 2 and 2 channels
# Shape: (2, 2) - batch of 2, with 2 channels (real and imaginary parts)
tof_data = np.array([
    [1.5, 0.8],
    [2.1, 1.2]
], dtype=np.float32)

# depth_range is a scalar that scales the phase to depth
depth_range_val = 4.5

# phase_offset is a scalar phase correction
phase_offset_val = 0.1

ARGS = {
    "tof": tof_data,
    "depth_range": depth_range_val,
    "phase_offset": phase_offset_val
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 1) — shape (2, 1) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_camera_params Ran
ran; our contract draft was wrong, not the code
breuckelen/torf/torf.py
code served (permissive licence) · get_code("934610db85534638")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import numpy as np
import scipy.io
import tempfile

# Create a minimal args object with required attributes
class Args:
    def __init__(self):
        self.fix_view = False
        self.total_num_views = 2

args = Args()

# Create temporary directory for test files
temp_dir = tempfile.mkdtemp()

# Create a mock intrinsics file (.npy format)
intrinsics_file = os.path.join(temp_dir, "intrinsics.npy")
K = np.array([[500, 0, 320], [0, 500, 240], [0, 0, 1]], dtype=np.float32)
np.save(intrinsics_file, K)

# Create a mock extrinsics file (.npy format)
render_extrinsics_file = os.path.join(temp_dir, "extrinsics.npy")
extrinsics = np.stack([np.eye(4) for _ in range(args.total_num_views)], axis=0)
np.save(render_extrinsics_file, extrinsics)

# Define default extrinsics
default_exts = np.stack([np.eye(4) for _ in range(args.total_num_views)], axis=0)

ARGS = {
    "intrinsics_file": intrinsics_file,
    "render_extrinsics_file": render_extrinsics_file,
    "args": args,
    "default_exts": default_exts
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_extrinsics Ran
ran; our contract draft was wrong, not the code
breuckelen/torf/torf.py
code served (permissive licence) · get_code("56745ebd5d7c5fe5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family float, shape (2, 4, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import numpy as np
import tempfile

class Args:
    def __init__(self, fix_view=False, total_num_views=2):
        self.fix_view = fix_view
        self.total_num_views = total_num_views

# Create a temporary directory for testing
temp_dir = tempfile.mkdtemp()

# Create a test extrinsics file with sample data
test_extrinsics = np.stack([np.eye(4) for i in range(2)], axis=0)
extrinsics_file = os.path.join(temp_dir, "extrinsics.npy")
np.save(extrinsics_file, test_extrinsics)

# Create args object
args = Args(fix_view=False, total_num_views=2)

# Create default extrinsics
default_exts = np.stack([np.eye(4) for i in range(2)], axis=0)

ARGS = {
    "render_extrinsics_file": extrinsics_file,
    "args": args,
    "default_exts": default_exts
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_im Ran
ran, honoured the contract we drafted
breuckelen/torf/torf.py
code served (permissive licence) · get_code("9a4a36e2e5cebb1d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (3, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a sample image array with various values
# Using a small image with mixed values including potential NaN scenarios
im = np.array([
    [0.5, 1.0, 2.0],
    [3.0, 4.0, 5.0],
    [0.1, 0.2, 0.3]
], dtype=np.float32)

ARGS = {
    'im': im
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 3) — shape (3, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_im_gt Ran
ran, honoured the contract we drafted
breuckelen/torf/torf.py
code served (permissive licence) · get_code("992f010d6c55ebf4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create test image data (2D array representing an image)
im = np.random.rand(4, 3).astype(np.float32)

# Create ground truth image data with different range
im_gt = np.random.rand(4, 3).astype(np.float32) * 10 + 5

ARGS = {
    "im": im,
    "im_gt": im_gt,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (4, 3) — shape (4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_im_max Ran
ran, violated the contract we drafted
breuckelen/torf/torf.py
code served (permissive licence) · get_code("090e9a8b2ea4aa79")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (3, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a small test image array
# Using a 3x4 array with some values and a NaN
im = np.array([
    [1.0, 2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0, 8.0],
    [np.nan, 0.5, 1.5, 2.5]
], dtype=np.float32)

ARGS = {
    "im": im
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 4) — shape (3, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
resize_all_images Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
breuckelen/torf/torf.py
code served (permissive licence) · get_code("dc451de0e9fb3799")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 4, dtype family int, shape (2, 6, 8, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import cv2

# Create a small batch of test images
# Shape: (batch_size, height, width, channels)
# Using distinct dimensions: batch=2, height=5, width=4, channels=3
batch_size = 2
img_height = 5
img_width = 4
channels = 3

# Create random image data (uint8 is typical for images)
images = np.random.randint(0, 256, size=(batch_size, img_height, img_width, channels), dtype=np.uint8)

# Target resize dimensions
target_width = 8
target_height = 6

# Build ARGS dictionary with all parameters
ARGS = {
    "images": images,
    "width": target_width,
    "height": target_height,
    "method": cv2.INTER_AREA
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 4, dtype family int, shape (2, 6, 8, 3) — shape (2, 6, 8, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rgb2gray Ran
ran, violated the contract we drafted
breuckelen/torf/torf.py
code served (permissive licence) · get_code("eb7801586aa2560a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a small RGB image array
# Shape: (height, width, channels) where channels includes RGB + potentially extra
# Using shape (2, 4, 3) for a 2x4 RGB image
rgb_image = np.random.rand(2, 4, 3).astype(np.float32)

ARGS = {
    "rgb": rgb_image
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
scale_camera Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
breuckelen/torf/torf.py
code served (permissive licence) · get_code("30bd7e828f7917d6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (3, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct a valid camera matrix (intrinsic matrix)
# Camera matrices are typically 3x3 or 4x4
# This function accesses [0][0], [1][1], [0][2], [1][2]
# So we need at least a 2x3 or larger matrix
cam = np.array([
    [500.0, 0.0, 320.0, 0.0],
    [0.0, 500.0, 240.0, 0.0],
    [0.0, 0.0, 1.0, 0.0]
], dtype=np.float32)

scale = 2.0

ARGS = {
    "cam": cam,
    "scale": scale
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 4) — shape (3, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
scale_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
breuckelen/torf/torf.py
code served (permissive licence) · get_code("e44895602c744863")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family int, shape (8, 6, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import cv2
import numpy as np

# Create a small test image (4x3 RGB image)
image = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)

# Define arguments for scale_image function
ARGS = {
    "image": image,
    "scale": 2.0,
    "interpolation": cv2.INTER_AREA
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (8, 6, 3) — shape (8, 6, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
scale_mvs_input Ran
ran; our contract draft was wrong, not the code
breuckelen/torf/torf.py
code served (permissive licence) · get_code("6b6e474fd1ea3c66")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import cv2

# Create small sample images (view_num=2)
# Images should be 2D or 3D arrays that cv2.resize can handle
image1 = np.random.randint(0, 256, (32, 48, 3), dtype=np.uint8)
image2 = np.random.randint(0, 256, (32, 48, 3), dtype=np.uint8)
images = [image1, image2]

# Create camera intrinsic matrices (3x4 for each view)
# Standard camera matrix format with focal length and principal point
cam1 = np.array([
    [500.0, 0.0, 240.0, 0.0],
    [0.0, 500.0, 160.0, 0.0],
    [0.0, 0.0, 1.0, 0.0]
], dtype=np.float32)

cam2 = np.array([
    [500.0, 0.0, 240.0, 0.0],
    [0.0, 500.0, 160.0, 0.0],
    [0.0, 0.0, 1.0, 0.0]
], dtype=np.float32)

cams = [cam1, cam2]

# Create depth maps (same spatial dimensions as images)
depth1 = np.random.uniform(0.5, 10.0, (32, 48)).astype(np.float32)
depth2 = np.random.uniform(0.5, 10.0, (32, 48)).astype(np.float32)
depths = [depth1, depth2]

view_num = 2
scale = 0.5

ARGS = {
    'images': images,
    'cams': cams,
    'view_num': view_num,
    'depths': depths,
    'scale': scale
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
to8b Ran
ran, honoured the contract we drafted
breuckelen/torf/torf.py
code served (permissive licence) · get_code("9b2cb1a88d84aec6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family int, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function to8b takes a single argument x and:
# - clips it to [0, 1]
# - multiplies by 255
# - converts to uint8
# x should be a numpy array or array-like

# Create a small test array with values in various ranges
x = np.array([
    [-0.5, 0.0, 0.5, 1.5],
    [0.25, 0.75, 1.0, 0.1]
], dtype=np.float32)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
tof_from_depth Ran
ran, honoured the contract we drafted
breuckelen/torf/torf.py
code served (permissive licence) · get_code("9e5a534f708cac89")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family float, shape (2, 4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct valid arguments for tof_from_depth
# The function expects:
# - depth: array-like of shape (H, W) or similar
# - amp: array-like of same shape as depth
# - depth_range: scalar value

# Create small test depth map (2x4)
depth = np.array([[0.5, 1.0, 1.5, 2.0],
                   [0.8, 1.2, 1.6, 2.2]], dtype=np.float32)

# Create amplitude map with same shape
amp = np.array([[0.9, 0.85, 0.8, 0.75],
                [0.88, 0.83, 0.78, 0.73]], dtype=np.float32)

# Scalar depth range
depth_range = 3.0

ARGS = {
    'depth': depth,
    'amp': amp,
    'depth_range': depth_range
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
IOSDataset Not yet run
unverified (harvested, no recorded run)
breuckelen/torf/torf.py
code served (permissive licence) · get_code("ffd01e7f19945b80")
How it ran

no invocation recorded.

MitsubaDataset Not yet run
unverified (harvested, no recorded run)
breuckelen/torf/torf.py
code served (permissive licence) · get_code("d6f770784ccb6e9e")
How it ran

no invocation recorded.

NeRFTrainer Not yet run
unverified (harvested, no recorded run)
breuckelen/torf/torf.py
code served (permissive licence) · get_code("b26776cae38eaef8")
How it ran

no invocation recorded.

RealDataset Not yet run
unverified (harvested, no recorded run)
breuckelen/torf/torf.py
code served (permissive licence) · get_code("67d430aa8ee1a203")
How it ran

no invocation recorded.

ToFDataset Not yet run
unverified (harvested, no recorded run)
breuckelen/torf/torf.py
code served (permissive licence) · get_code("1f654706624b4a11")
How it ran

no invocation recorded.

recenter_poses Not yet run
unverified (harvested, no recorded run)
breuckelen/torf/torf.py
code served (permissive licence) · get_code("3b32f4a0eba8b7b7")
How it ran

no invocation recorded.

Also present in other papers' code

Of 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 2 later) and 17 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
rgb2gray
brick of this paper's assembly: helper
4 other papers
2 dated earlier, 2 later
1909.08313 (2019-09)
Unsupervised Sketch-to-Photo Synthesis
2105.02047 (2021-05)
Cuboids Revisited: Learning Robust 3D Shape Fitting to Single RGB Images
2203.08586 (2022-03)
Deep vanishing point detection: Geometric priors make dataset variations vanish
and 1 more not named here
to8b
brick of this paper's assembly: helper
3 other papers
2 dated earlier, 1 later
2003.08934 (2020-03)
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
2103.13744 (2021-03)
KiloNeRF: Speeding up Neural Radiance Fields with Thousands of Tiny MLPs
aaai_27908 (2024 (year only))
Aleth-NeRF: Illumination Adaptive NeRF with Concealing Field Assumption
scale_camera
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2108.03824 (2021-08)
AA-RMVSNet: Adaptive Aggregation Recurrent Multi-view Stereo Network

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Neural networks can represent and accurately reconstruct radiance fields for static 3D scenes (e.g., NeRF). Several works extend these to dynamic scenes captured with monocular video, with promising performance. However, the monocular setting is known to be an under-constrained problem, and so methods rely on data-driven priors for reconstructing dynamic content. We replace these priors with measurements from a time-of-flight (ToF) camera, and introduce a neural representation based on an image formation model for continuous-wave ToF cameras. Instead of working with processed depth maps, we model the raw ToF sensor measurements to improve reconstruction quality and avoid issues with low reflectance regions, multi-path interference, and a sensor's limited unambiguous depth range. We show that this approach improves robustness of dynamic scene reconstruction to erroneous calibration and large motions, and discuss the benefits and limitations of integrating RGB+ToF sensors that are now available on modern smartphones.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2109.15271")
get_code_for_paper("2109.15271")
have("2109.15271")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2109.15271.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2109.15271.svg)](https://syntology.ai/paper/2109.15271)

Connect an agent — have() is free.