Papers › SAMURAI: Shape And Material from Unconstrained Real-world Arbitrary Image collections

SAMURAI: Shape And Material from Unconstrained Real-world Arbitrary Image collections

31 May 2022arXiv:2205.15768archive 2025-07-28

Mark Boss, Andreas Engelhardt, Abhishek Kar, Yuanzhen Li, Deqing Sun, Jonathan T. Barron, Hendrik P. A. Lensch, Varun Jampani

Inverse rendering of an object under entirely unknown capture conditions is a fundamental challenge in computer vision and graphics. Neural approaches such as NeRF have achieved photorealistic results on novel view synthesis, but they require known camera poses. Solving this problem with unknown camera poses is highly challenging as it requires joint optimization over shape, radiance, and pose. This problem is exacerbated when the input images are captured in the wild with varying backgrounds and illuminations. Standard pose estimation techniques fail in such image collections in the wild due to very few estimated correspondences across images. Furthermore, NeRF cannot relight a scene under any illumination, as it operates on radiance (the product of reflectance and illumination). We propose a joint optimization framework to estimate the shape, BRDF, and per-image camera pose and illumination. Our method works on in-the-wild online image collections of an object and produces relightable 3D assets for several use-cases such as AR/VR. To our knowledge, our method is the first to tackle this severely unconstrained task with minimal user interaction. Project page: https://markboss.me/publication/2022-samurai/ Video: https://youtu.be/LlYuGDjXp-8

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2205.15768")

Code

Syntology Ran 0 of 12 code samples harvested from 1 repository linked to this paper; 12 have no recorded run.

By repository: community (archive-listed): 12 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

google/samurai mentioned on GitHubtfApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 0 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

12unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from google/samurai. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_args google/samurai/train_samurai.py community (archive-listed) unverified Apache-2.0 (permissive) · 9f397292332658db · report
add_args google/samurai/models/samurai/config.py community (archive-listed) unverified Apache-2.0 (permissive) · d0f5cfa444c569da · report
batch_cam_bce google/samurai/losses/samurai.py community (archive-listed) unverified Apache-2.0 (permissive) · c3567310bee1cb8c · report
batch_cam_chi_squared_error google/samurai/losses/samurai.py community (archive-listed) unverified Apache-2.0 (permissive) · 9972e03030bf25dd · report
chi_squared_error google/samurai/losses/samurai.py community (archive-listed) unverified Apache-2.0 (permissive) · ec8c80f8d30fc57b · report
get_targets_from_coordinates google/samurai/models/samurai/input_generation_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 1fda2c58600244de · report
prediction_to_specular google/samurai/models/samurai/brdf_helper.py community (archive-listed) unverified Apache-2.0 (permissive) · 4d288518eb2cf074 · report
render_full_datapoint google/samurai/train_samurai.py community (archive-listed) unverified Apache-2.0 (permissive) · f5ab584c10bfbb2d · report
render_video google/samurai/train_samurai.py community (archive-listed) unverified Apache-2.0 (permissive) · d73f64c830dc93d2 · report
scale_diffuse google/samurai/models/samurai/brdf_helper.py community (archive-listed) unverified Apache-2.0 (permissive) · 603ac1299e72e004 · report
scale_inputs google/samurai/models/samurai/input_generation_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · c55dd0b146f20dbe · report
transform_specular_and_diffuse_prediction google/samurai/models/samurai/brdf_helper.py community (archive-listed) unverified Apache-2.0 (permissive) · c25b3832e09b1acc · report

Tasks

Inverse RenderingNeRFNovel View SynthesisPose Estimation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections