fullseye

micro_phase_decode — OPTICS light_transport op

使い方

Decode a narrow-band high-frequency fringe set (micro phase shifting, Gupta & Nayar 2012) into an absolute projector coordinate, ordering the fringes by the beat of the first two periods.

images is the concatenation of n_shifts phase-shifted sinusoids per period (as :func:high_frequency_patterns with kind="sinusoid" and a sequence of periods returns them). Each period is decoded with fringe.wrapped_phase; the beat φ1 − φ2 of the first two periods is a synthetic fringe of period p1 p2 / |p1 − p2|, which fixes the fringe order of every period; the coordinate is the mean over periods. Because every period is short, the global light seen by a pixel is nearly the same in all frames and barely moves the phase. (Gupta & Nayar solve F + 2 images jointly and order with Gushov–Solodkin; neither is implemented here.)

Returns a dict (a table): coordinate (H, W) in projector pixels, unambiguous over [0, synthetic_period); wrapped_phase (F, H, W); coarse (the beat estimate); synthetic_period.

Raises ValueError: images not len(periods) * n_shifts finite 2-D frames of one shape; fewer than 2 periods, a period <= 2, or the first two equal; n_shifts not an integer in [3, 64].

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


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

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