The Tone Curve Decides How Deep a Decal Gets Carved

When a 3D reconstruction system has to learn the camera's tone curve, it can produce two familiar failures at once. Surfaces end up with painted patterns carved into their geometry, and the recovered surface color keeps shadows and highlights that should belong to the lighting. A camera's response function is the non-linear curve that turns light hitting the sensor into 8-bit pixel values. Our claim is that once this curve is a free parameter, there is a specific mechanism linking it to both failures. To first order, steepening the curve's contrast exponent can be traded against deepening surface relief and against shrinking the contrast in the surface color, with almost no change in the rendered images. On bracketed photos with known exposure times this trade is pinned down. On casual auto-exposure captures, where neither the curve nor the exposures are known, it is not. That is exactly the setting where inverse rendering is increasingly deployed.

We propose to measure this "tone–relief" ambiguity directly and then break it with a calibration step that uses only geometry. The step estimates the curve's exponent from regions whose shape is fixed by multi-view parallax and whose color is nearly uniform. It then locks that exponent before the system solves for materials and lighting on the remaining surfaces, including decals, cast shadows, and highlights. If the claim holds, we expect three results. Texture copying should scale predictably with error in the curve exponent. A fixed sRGB curve should fail measurably on filmic cameras. And the geometry-anchored exponent should recover most of the gap to an oracle that knows the true curve.

Core Claim

Write an observed pixel as $I = g(t\, a\, S)$. Here $t$ is the frame's exposure, $a$ the surface color (albedo), $S$ the shading from lighting and geometry, and $g$ the camera response. Near the curve's linear-ish middle, a power law $g(x)\approx x^{\gamma}$ is a reasonable local model. Under it, two facts follow:

$$(a S)^{\gamma} = \big(a^{\gamma/\gamma'}\, S^{\gamma/\gamma'}\big)^{\gamma'}, \qquad \frac{I_i}{I_j} = \Big(\frac{t_i}{t_j}\Big)^{\gamma}.$$

The first says any exponent $\gamma'$ fits equally well if albedo and shading are both raised to $\gamma/\gamma'$. The second says that ratios between frames identify $\gamma$ only when the exposure ratio $t_i/t_j$ is known. Without exposure metadata, the cross-frame ratio fixes only the product of $\gamma$ and the log exposure ratio. This matches the classical result that radiometric self-calibration from unknown exposures leaves an exponent ambiguity. Raising albedo to a power is a legal change of surface color. Raising shading $S = \mathbf{n}\cdot\mathbf{l}$ to a power $k$ is not exactly legal. But for shallow relief of height $h$ under roughly frontal light, a first-order expansion gives $S^k \approx 1 + k\,\nabla h\cdot\mathbf{l}_\perp$. That is indistinguishable from scaling relief height by about $k$. A wrong exponent therefore decides how much of a decal's contrast becomes geometry. The same argument applies to how much of a cast shadow's contrast stays in the albedo. Large relief, saturated regions, and strongly non-frontal light break the expansion. Our experiments should therefore show the ambiguity weakening exactly there.

This specific coupling is our contribution, and the research file does not contain it. RobIR puts a learnable scale on an ACES filmic curve inside inverse rendering. To stop shadows from contaminating albedo, it adds a separate visibility network with an edge loss, but it never asks whether the curve parameter itself trades against relief or shadow contrast. Expo-GS down-weights over- and under-exposed pixels during geometry fitting. That avoids clipping-induced bulges, but it gives well-exposed decals full weight and does no material decomposition. P2GS learns per-view gain plus a gamma parameter without metadata. Its invariant-radiance ratio loss constrains exposure ratios, but by the second identity above it cannot fix the exponent independently. It also leaves lighting baked into radiance. These three papers supply the curve parameterizations we reuse. They do not diagnose a tone–relief trade or anchor the exponent with geometry.

Research Program

The first part is diagnostic. We sweep the exponent of the response curve, holding it fixed at values off the truth. At each value we run a standard inverse renderer, built on the TensoIR tensorial representation with its ray-marched shadows, plus a monotone parametric tone curve. We measure three quantities: relief amplitude on flat decal regions, residual shadow and highlight contrast in recovered albedo, and image reconstruction error. The prediction is that reconstruction error stays almost flat while relief and albedo contrast move monotonically with the exponent error. We then free the exponent and record where joint optimization lands, from several initializations. The hypothesis is that the landing point is set by initialization and regularization rather than by the data, and that this spread produces the texture-copying spread across random seeds.

The second part is the fix: geometry-anchored tone calibration. We first fit geometry with photometric loss restricted to multi-view consistency, as in standard reconstruction. We then select "anchor" regions with high parallax confidence, low albedo-gradient energy, and unsaturated pixels; low albedo-gradient energy is estimated from cross-view chromaticity stability. On these regions the normals come from parallax rather than shading. Shading contrast is therefore fixed by geometry, and fitting $g$ there identifies the exponent. The exponent, along with the ratio constraint from P2GS for per-frame gains, is then frozen. Full material and lighting estimation runs on all surfaces with geometry still free.

This design takes a specific position on the sequential-versus-joint tension in the file. UniDream and the glossy inverse rendering method freeze geometry early and inherit any texture copying committed at that stage. Adaptive Joint Optimization argues that freezing any coupled component forces the others to absorb its errors. We freeze only the one-dimensional quantity that our analysis says is unidentifiable from the decomposition. Geometry, albedo, roughness, and lighting stay jointly optimized.

The third part tests where the mechanism stops. We expect the first-order argument to weaken for metals, because their observed color is reflected environment light rather than albedo times shading. A gap the file flags is that RobIR and TensoIR both assume dielectric materials. We will report the metallic case honestly as a boundary, not fold it into the claim.

Baselines

The naive reference is a fixed sRGB-style gamma of 2.2 with per-frame scalar gain and no learnable curve, using the same TensoIR-based renderer. It is the cheapest choice and exactly right when the camera really is sRGB. We will report it for every simulated camera, and beating it means lower decal relief at equal image error on filmic and measured curves. TensoIR as published, with calibrated input assumed, gives the no-curve behavior.

The strongest existing competitor for material recovery under harsh light is RobIR, with its learnable ACES scale and visibility regularization. On the synthetic high-illumination Hotdog scene, the file reports its albedo PSNR as 24.25 versus 15.76 for InvRender. We run RobIR on the same scenes, image counts, and iteration budget, and give it the same unknown-exposure inputs. We add the P2GS invariant-radiance loss to RobIR as a stronger variant, so that it gets the best available metadata-free exposure handling. Beating it means matching or exceeding its albedo PSNR while reducing decal relief and planarity error. For relief or planarity on inverse-rendering benchmarks we found no reported result on Lacuna, so those comparisons will be our own runs under matched settings.

On the HDR novel-view side, HDR-NeRF reports 39.07 PSNR and Expo-GS reports 39.06 dB on the HDR-NeRF synthetic set. We use them only as sanity checks that our curve module does not hurt view synthesis when exposures are known.

The key ablation compares four settings on otherwise identical pipelines. A free jointly-learned exponent tests the ambiguity. Our geometry-anchored exponent tests the fix. An exponent pulled toward 2.2 by a prior isolates the value of the anchor over a guess. An oracle exponent bounds what is achievable. All four get the same tuning budget, a small grid on the main loss weights, chosen on held-out scenes.

Why not just…?

Why not just fix the curve to sRGB? This is the real threat, and it may win on cameras whose processing really is near sRGB. The diagnostic sweep makes the prediction directly. Relief error should be near zero when the true curve matches sRGB and grow with the mismatch for filmic curves like the ACES curve RobIR found necessary under high illumination. If fixed sRGB matches the anchored method across our camera simulations, we will report the learnable curve as unnecessary for geometry.

Why not just read exposure time and ISO from the photo metadata? With trustworthy metadata, the ratio identity pins the exponent. This is why bracketed benchmarks like those in HDR-NeRF do not show the problem. We include a metadata-available condition and expect the ambiguity to vanish there. The proposal targets casual video and mixed-device captures, where the curve shifts with exposure or metadata is missing. That is the regime P2GS addresses for driving data.

Why not just absorb appearance with per-frame latent codes? HDR-NeRF reports NeRF-W at 29.83 PSNR against its own 39.07 on synthetic HDR scenes. More basically, a latent code has no exponent to anchor and cannot separate camera effects from lighting for relighting. We still run a latent-code variant on our decal scenes to check whether it happens to suppress relief.

Why not just add strong Laplacian smoothing? Smoothing trades texture copying for blunted real edges, as the boundary-error analysis behind IBims-1 shows. We sweep its weight and plot decal relief against error on genuine creases. The anchored method should dominate that curve rather than sit on it.

Proposed Experiments

The main testbed is a new synthetic Blender suite. It contains flat and gently curved panels carrying printed decals and text, objects under hard directional light that casts shadows, and glossy dielectrics, with a metal subset kept separate. Each scene is rendered with ground-truth geometry, albedo, and lighting through sRGB, ACES filmic, and an S-shaped consumer-style curve, under randomized auto-exposure schedules without metadata.

Geometry is scored with the IBims-1 planarity (flatness and orientation) and depth-boundary metrics, computed on the reconstructed surfaces, plus decal-region relief amplitude. Albedo and relighting PSNR follow the RobIR protocol, run on its high-illumination scenes re-rendered through unknown curves. The HDR-NeRF real Nikon scenes, with exposure tags hidden, check that the effect survives real sensor curves.

The decisive checks are three. In the fixed-exponent sweep, decal relief and shadow contrast in albedo must move monotonically with exponent error while image error stays within a fraction of a dB; if image error rises sharply instead, the ambiguity is not real. With the exponent free, the spread of learned exponents across seeds must predict the spread of texture-copying severity. The anchored exponent must close most of the relief and albedo gap between the free-exponent run and the oracle without losing view-synthesis quality. If the anchor fails on scenes lacking uniform-color curved regions, we will report that coverage condition as the method's practical limit.