structured_light op• 数据种类:image2d → images
• 调用: import fullseye as fs; fs.ledger.synthesize_fringes(height, n_steps=4, freq=1.0, phase_gain=1.0, bias=0.5, amplitude=0.5, axis=1, noise=0.0, seed=None, return_phase=False)(要直接调用实现,import fringe; fringe.synthesize_fringes(height, n_steps=4, freq=1.0, phase_gain=1.0, bias=0.5, amplitude=0.5, axis=1, noise=0.0, seed=None, return_phase=False);从台账取用则 ops3d.get("synthesize_fringes"))
• 经台账调用的返回值: fullseye.ledger.synthesize_fringes(...) 只返回**声明的 out 类型 images 的值**(底层函数还会返回辅助信息)。需要被丢弃的部分时,使用 fullseye.ledger.synthesize_fringes.raw(...),或直接调用 fringe.synthesize_fringes。
由已知 height map 合成 N 步相移条纹图像序列(用于测试/样例生成)。
> 以下的详细说明为原文 —— 摘要与标题已翻译。
モデル: 総位相 φ(x,y) = φ_carrier + phase_gain·height。搬送波 φ_carrier は視野を横切る線形
ランプ(freq 周期)。各フレームは I_n = bias + amplitude·cos(φ - δ_n), δ_n = 2πn/N。
この符号規約により wrapped_phase(...) は総位相 φ をそのまま復元する。
height: 2D 配列(計測対象の高さ場、任意単位)。
n_steps: 位相シフト枚数 N(>=3)。
freq: 視野幅を横切る搬送波の周期数(縞本数)。0 なら搬送波なし(height のみ)。
phase_gain: 高さ→位相の変換ゲイン(rad/単位)。復号側の較正 k = 1/phase_gain に対応。
bias: 平均輝度 a(既定 0.5)。
amplitude: 縞振幅 b(既定 0.5)。bias±amplitude が [0,1] に収まると自然。
axis: 搬送波の方向(1 = 列方向 x に沿う既定、0 = 行方向 y)。
noise: 付加ガウスノイズの標準偏差(0 で無ノイズ)。
seed: ノイズ用乱数シード。
return_phase: True なら (images, total_phase) を返す(テスト・デバッグ用)。
返り値: (N, H, W) float 配列(値域 [0,1] にクリップ)。return_phase=True なら位相も。
• depth_sensors — 深度センサの知識 — 測距原理・実機の値・欠測の出方
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• structured_light — py -3.11 examples_3d/structured_light.py
images 作为输入)fuse_to_voxel · photometric_stereo · wrapped_phase · graycode_decode · decode_fringe · carve · visual_hull
structured_light)wrapped_phase · unwrap_phase_2d · graycode_decode · decode_fringe · absolute_phase · triangulate_column
*Provenance: fringe.py — 3D 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.