fullseye

optscene_depth — OPTICS scene op

使い方

深度の真値 (H, W) [mm]。光軸方向の z であって視点からの斜距離ではない。

深度カメラ・ステレオ・光切断が返すのはどれも光軸方向の z なので、それに合わせる (斜距離と混ぜると、視野の端ほど系統的にずれた真値で採点することになり、 しかも中心では一致するので気づけない)。生の光線距離が要るなら trace_rays(…)[“t”] を使う。

当たらない画素は NaN。0 で埋めない ―― 「距離 0 の面」と区別できなくなる。

ファミリ共通の入力契約(fail-closed)

optics の全 op は入力を検証してから計算する(黙って通さない):

詳しい使い方ガイド

背景知識ガイド(この op の手前にある物理・規約)

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(image2d を入力に取れる)

fraunhofer_pattern · pupil_psf · pupil_blur · psf_to_mtf · illumination_uniformity · render_through_lens · surface_defect · defocus_blur

同カテゴリ(scene)

scene_material · scene_plane · scene_sphere · scene_box · scene_cylinder · surface_defect · surface_finish · random_defects


Provenance: optscene.py — OPTICS operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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