fullseye

optscene_defect_mask — OPTICS scene op

使い方

欠陥画素の真値マスク (H, W)。学習・評価のラベルはこれを使う。

index を省くとシーン中のすべての欠陥を合成する。画素完全で、レンダリングと 同じ交差計算から出るので、検出結果との IoU をそのまま測れる。欠陥が その照明で見えるかどうかとは無関係に真値を返す ―― 見えないのに正解が あるのが外観検査の難しさで、そこを隠すと「検出ゼロ = 頑健」と誤読される。

ファミリ共通の入力契約(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.