deflectometry_screen_pattern — SPECULAR deflectometry op

• Data kinds: none → images (an op determined by its arguments alone — it takes no image or data input)

• Call: import fullseye as fs; fs.ledger.deflectometry_screen_pattern(rig=None, period_mm=10.0, n_steps=4, direction='x', kind='fringe', max_side_px=1024) (to call the implementation directly, import deflectometry; deflectometry.deflectometry_screen_pattern(rig=None, period_mm=10.0, n_steps=4, direction='x', kind='fringe', max_side_px=1024); from the registry, opsspecular.get("deflectometry_screen_pattern"))

Usage

The pattern shown on the screen (on the screen's pixel grid). → list of images (each (rows, cols), values [0, 1]).

> The detailed description below is the original text — the summary and the headings are translated.

kind="fringe": 位相シフト縞 I_n = a + b cos(2π s / period_mm − 2πn/N)(a = 0.5、b = 0.45、s は direction が "x" なら画面の u、"y" なら v、中心が 0)を n_steps = N 枚。fringe.wrapped_phase で復号すると位相 2π s / 周期 がそのまま戻る(同じ符号規約)。"uniform": 一様な白(0.8)1 枚。"softbox": 片側から明るい大きな面光源 1 枚(0.75 + 0.2 u / 半幅)—— どちらも「縞を使わない普通の撮り方」の比較用。画面の画素数は screen_size_mm / screen_pixel_mm。図のために長辺を max_side_px 画素まで間引く(値は各画素の中心で評価するので間引いても縞の位相は正しい)。deflectometry_render は同じ輝度の式を連続の座標で評価する(画面の画素の格子は入れない)。

Raises: ValueError —— 周期が正でない、N < 3(縞のとき)、方向が x / y でない、kind が fringe / uniform / softbox でない、max_side_px < 8、rig が不正。

Detailed usage guide

• specular_photometric family guide

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• poc_phase_measuring_deflectometry — py -3.11 examples/poc_phase_measuring_deflectometry.py

Ops the type connects to (they accept images as input)

photometric_stereo_robust · photometric_residual

Same category (deflectometry)

deflectometry_rig · deflectometry_render · deflectometry_phase_to_slope · slope_to_curvature · deflectometry_sensitivity


*Provenance: deflectometry.py — SPECULAR operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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