tonemap_reinhard — 3D render op

Data kinds: image2dimage2d

Call: import fullseye as fs; fs.ledger.tonemap_reinhard(hdr, exposure: 'float' = 1.0, white: 'float | None' = None) -> 'np.ndarray' (to call the implementation directly, import render_tonemap; render_tonemap.tonemap_reinhard(hdr, exposure: 'float' = 1.0, white: 'float | None' = None) -> 'np.ndarray'; from the registry, ops3d.get("tonemap_reinhard"))

Usage

Compress HDR into `[0, 1]` LDR with Reinhard tone mapping. → float64, the same shape as the input.

> The detailed description below is the original text — the summary and the headings are translated.

露出を掛けた `x = hdr * exposure` に対し:

• `white is None … 基本形 x / (1 + x)[0, ∞)` を狭義単調増加

`[0, 1)` へ写し、決してクリップしない(全域で階調順序を厳密保存)。

• `white 指定 … 拡張形 x (1 + x/white²) / (1 + x)white` を正確に 1.0 へ

写し、`white 未満に多くのレンジを割く(white` を超える入力は 1 を超えるので

`[0, 1]` にクリップする)。

カラー `(H, W, C) はチャンネル独立に写像する。素朴クリップ min(x, 1)` と違い、

値 > 1 のハイライト域でも単調な階調を保つ。

Args:

hdr: HDR 画像。`(H, W) グレースケール or (H, W, C)` カラー、放射輝度 >= 0。

exposure: 写像前に掛ける露出スケール(正)。

white: 任意の white-point(正)。None なら基本 Reinhard(推奨・全域単調)。

Returns:

`[0, 1]` の float64 LDR 画像(入力と同形状)。

Raises:

ValueError: 空/非有限/負の放射輝度、非正の exposition/white(fail-closed)。

Background guides (the physics and conventions behind this op)

blender_interop — Blender との併用 — 形を作って fullseye で測る(軸・単位・正解データの罠)

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

render_beautypy -3.11 examples_3d/render_beauty.py

render_tonemappy -3.11 examples_3d/render_tonemap.py

Ops the type connects to (they accept image2d as input)

fuse_to_voxel · fit_poly_surface · eval_poly_surface · surface_form_error · background_flatten · polar_unwrap · fit_zernike · matcap_shade

Same category (render)

project_points · render_point_depth · render_volume_projection · render_shaded · ambient_occlusion · cast_shadow · phong_shade · matcap_shade


*Provenance: render_tonemap.py — 3D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.