fullseye

predict_fringe_phase_error — OPTICS light_transport op

使い方

Predict, per camera pixel, the fringe-phase bias and height error that interreflection causes in phase-shifting profilometry, from the light-transport matrix.

A sinusoid of period projector pixels illuminates patch i with the complex amplitude ζ_i = n_i·d · mean_footprint(e^{i 2π x / period}). The camera sees Z = T (irradiance · ζ); its direct part is ρ_i · irradiance · ζ_i and the rest is the global phasor. The decoded phase is the argument of the sum (:func:fringe_multipath_phase_error). The height error follows from u = x cos β − z sin β: Δz = −Δu / sin β with Δu = bias · period · pitch / (2π) (pitch = projector pixel in scene units).

transport from :func:transport_matrix_radiosity; projector_width (default: the number of patches) must match the pattern width given to :func:render_transport for the two to agree.

Returns a dict (a table): bias (rad, (P,)), height_error (scene units, (P,)), direct_amplitude, direct_phase, global_amplitude, global_phase, ratio, worst_case, pitch and x (patch centres).

Raises ValueError: not a transport table; period <= 2; triangulation_deg outside (0, 80] or a shadowed patch; projector_width not an integer in [2, 1<<16]; irradiance <= 0.

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