SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.04803 · 2023

SuperNormal: Neural Surface Reconstruction via Multi-View Normal Integration

arXiv · PDF · Open in the Atlas

Code that ran

9 of 10 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; 3 failures of our instrument; 1 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/2312.04803.json · badge: /api/ran/2312.04803.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
CyberAgentAILab/SuperNormal canonical (classifier label)
classifier basis: census
9 ran · 1 no recorded run
FunctionStatusWhere it lives
angular_error_map Ran
ran, honoured the contract we drafted
CyberAgentAILab/SuperNormal/utilities/utils.py
code served (permissive licence) · get_code("3412167020591c7d")
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 1, dtype family float, shape (2,) 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 two sets of normal vectors
# N1 and N2 should have the same shape
# The function computes dot product along the last axis
# and then arccos of the clipped dot product

# Create small normal-like vectors (batch_size=2, vector_dim=3)
N1 = np.array([
    [1.0, 0.0, 0.0],
    [0.707, 0.707, 0.0]
], dtype=np.float32)

N2 = np.array([
    [1.0, 0.0, 0.0],
    [0.0, 1.0, 0.0]
], dtype=np.float32)

ARGS = {
    "N1": N1,
    "N2": N2
}
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 1, dtype family float, shape (2,) — shape (2,) 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
chamfer_distance_and_f1_score Ran
ran, violated the contract we drafted
CyberAgentAILab/SuperNormal/models/cd_and_fscore.py
code served (permissive licence) · get_code("abe72b5fac284aac")
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, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

np.random.seed(0)

# Create reference points: 8 points in 3D space
ref_points = np.random.rand(8, 3).astype(np.float32)

# Create evaluation points: 6 points in 3D space
eval_points = np.random.rand(6, 3).astype(np.float32)

# Define threshold for f1 score
f_threshold = 0.5

ARGS = {
    "ref_points": ref_points,
    "eval_points": eval_points,
    "f_threshold": f_threshold,
}
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, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
crop_image_by_mask Ran
ran, violated the contract we drafted
CyberAgentAILab/SuperNormal/utilities/utils.py
code served (permissive licence) · get_code("4cea0f047a3d73a0")
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 (4, 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
from PIL import Image

# Create a simple mask - a 2D numpy array with uint8 dtype
# The mask has a non-zero region in the middle to ensure crop_mask finds a valid bbox
mask = np.zeros((10, 10), dtype=np.uint8)
mask[3:7, 3:7] = 1  # Create a white square region in the middle

# Create a simple image - a 3D numpy array (height, width, channels)
img = np.ones((10, 10, 3), dtype=np.uint8) * 100  # Gray image

ARGS = {
    "img": img,
    "mask": mask
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, 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 (4, 4, 3) — shape (4, 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
crop_mask Ran
ran, honoured the contract we drafted
CyberAgentAILab/SuperNormal/utilities/utils.py
code served (permissive licence) · get_code("358c254b1c1a1be4")
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, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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
from PIL import Image, ImageDraw, ImageChops

# Create a simple mask as a numpy array
# The function expects a mask that can be converted to uint8
# Creating a 4x3 mask with some variation
mask = np.array([
    [1.0, 0.5, 0.0],
    [0.8, 0.2, 0.9],
    [0.0, 1.0, 0.5],
    [0.3, 0.7, 0.0]
], dtype=np.float32)

ARGS = {
    "mask": mask
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
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
extract_fields Ran
ran; our contract draft was wrong, not the code
CyberAgentAILab/SuperNormal/models/renderer.py
code served (permissive licence) · get_code("dacae702b282e0a8")
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 (8, 8, 8) 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 torch
import numpy as np

torch.manual_seed(0)

# Define a simple query function that takes points and returns scalar values
def query_func(pts):
    """
    Simple query function that takes points of shape (N, 3) and returns (N,) values.
    """
    # pts shape: (batch, 3)
    # Return a simple scalar field based on distance from origin
    distances = torch.sqrt((pts ** 2).sum(dim=-1))
    return distances

# Define bounds for the 3D field
bound_min = np.array([-1.0, -1.0, -1.0])
bound_max = np.array([1.0, 1.0, 1.0])

# Use a small resolution for testing
resolution = 8

ARGS = {
    "bound_min": bound_min,
    "bound_max": bound_max,
    "resolution": resolution,
    "query_func": query_func,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch, tqdm — 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 (8, 8, 8) — shape (8, 8, 8) 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_class Ran
ran; our contract draft was wrong, not the code
CyberAgentAILab/SuperNormal/exp_runner.py
code served (permissive licence) · get_code("34bcb89c25dc2364")
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 type. 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 torch.nn as nn

# The function get_class takes a string parameter 'kls' that represents
# a fully qualified class path (e.g., 'module.submodule.ClassName')
# It splits the path, imports the module, and returns the class.

# To test this, we need a valid class path string.
# We can use a built-in class from torch or a standard library.
# For example: 'torch.nn.Linear' or 'torch.optim.Adam'

ARGS = {
    'kls': 'torch.nn.Linear'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
load_K_Rt_from_P Ran
ran, honoured the contract we drafted
CyberAgentAILab/SuperNormal/models/dataset_loader.py
code served (permissive licence) · get_code("41d490f153497337")
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, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 as cv
import numpy as np
import tempfile
import os

# Create a temporary file with projection matrix data
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_filename = temp_file.name

# Write a valid 4x4 projection matrix (3 lines after header, or 4 lines total)
# Format: space-separated floats
temp_file.write("# Header line\n")
temp_file.write("1.0 0.0 0.0 0.0\n")
temp_file.write("0.0 1.0 0.0 0.0\n")
temp_file.write("0.0 0.0 1.0 0.0\n")
temp_file.close()

# Create a valid 3x4 projection matrix as numpy array for P parameter
P_matrix = np.array([
    [500.0, 0.0, 320.0, 0.0],
    [0.0, 500.0, 240.0, 0.0],
    [0.0, 0.0, 1.0, 100.0]
], dtype=np.float32)

ARGS = {
    "filename": temp_filename,
    "P": None
}
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, ndim 3, dtype family float — a tuple output has no array shape of its own; none is stated
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
make4x4 Ran
ran, honoured the contract we drafted
CyberAgentAILab/SuperNormal/data_capture_and_preprocessing/metashape2neus.py
code served (permissive licence) · get_code("81141d48c03b5359")
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, 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 valid 3x4 matrix (3 rows, 4 columns)
P = np.array([
    [1.0, 2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0, 8.0],
    [9.0, 10.0, 11.0, 12.0]
])

ARGS = {
    "P": P
}
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, 4) — shape (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_camera Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
CyberAgentAILab/SuperNormal/data_capture_and_preprocessing/metashape2neus.py
code served (permissive licence) · get_code("13c1037a28a59738")
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

# Set random seed for reproducibility
np.random.seed(0)

# Create small rotation matrices (3x3) and translation vectors (3x1)
# R should be orthogonal (rotation matrix)
# t should be translation vector

# Generate two views with rotation and translation
R_list = []
t_list = []

# View 1: Identity rotation, translation (1, 2, 3)
R1 = np.eye(3)
t1 = np.array([[1.0], [2.0], [3.0]])
R_list.append(R1)
t_list.append(t1)

# View 2: Small rotation, different translation
# Create a small rotation using Rodrigues' formula approximation
theta = 0.1
R2 = np.array([
    [np.cos(theta), -np.sin(theta), 0],
    [np.sin(theta), np.cos(theta), 0],
    [0, 0, 1]
])
t2 = np.array([[4.0], [5.0], [6.0]])
R_list.append(R2)
t_list.append(t2)

ARGS = {
    'R_list': R_list,
    't_list': t_list,
    'camera2object_ratio': 3
}
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 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
distortion Not yet run
unverified (harvested, no recorded run)
CyberAgentAILab/SuperNormal/third_parties/nerfacc-0.3.5/nerfacc-0.3.5/nerfacc/losses.py
code served (permissive licence) · get_code("961890eae95f5d01")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 9 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
get_class 2 other papers
2 dated earlier
2003.09852 (2020-03)
Multiview Neural Surface Reconstruction by Disentangling Geometry and Appearance
2106.12052 (2021-06)
Volume Rendering of Neural Implicit Surfaces

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

We present SuperNormal, a fast, high-fidelity approach to multi-view 3D reconstruction using surface normal maps. With a few minutes, SuperNormal produces detailed surfaces on par with 3D scanners. We harness volume rendering to optimize a neural signed distance function (SDF) powered by multi-resolution hash encoding. To accelerate training, we propose directional finite difference and patch-based ray marching to approximate the SDF gradients numerically. While not compromising reconstruction quality, this strategy is nearly twice as efficient as analytical gradients and about three times faster than axis-aligned finite difference. Experiments on the benchmark dataset demonstrate the superiority of SuperNormal in efficiency and accuracy compared to existing multi-view photometric stereo methods. On our captured objects, SuperNormal produces more fine-grained geometry than recent neural 3D reconstruction methods.

For agents

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

get_harvested_code_for_paper("2312.04803")
get_code_for_paper("2312.04803")
have("2312.04803")

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

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

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

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

Connect an agent — have() is free.