fullseye

separate_direct_global — OPTICS light_transport op

使い方

Separate direct and global (interreflection) components from images under shifted high-frequency patterns, from per-pixel L_max and L_min (Nayar et al. 2006).

With a fraction α of the projector lit in a pattern of high frequency, a pixel whose scene point is lit sees L_d + α L_g (the global part only depends on the average power when it is smooth over the pattern period) and an unlit one sees only the global part.

Both reduce to L_d = L_max − L_min, L_g = 2 L_min for α = 0.5, b = 0. black_level b is the relative brightness of an unlit projector pixel.

Returns a dict (a table) with direct, global, l_max, l_min (each (H, W)).

Raises ValueError: fewer than 2 images, non-2-D or non-finite; fill outside (0, 1); black_level outside [0, 1); unknown scheme.

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

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

詳しい使い方ガイド

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

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

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

abcd_matrix · wavefront_stats · sfr_from_edge · paraxial_trace · seidel_coefficients · spot_stats · tolerance_analysis · wavefront_from_opd

同カテゴリ(light_transport)

groove_profile · form_factors_2d · transport_matrix_radiosity · high_frequency_patterns · render_transport · fringe_multipath_phase_error · predict_fringe_phase_error · micro_phase_decode


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

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