decode op• データ種: lightfield → image2d
• 呼び出し: import fullseye as fs; fs.ledger.lf_to_mla(lf) (実装を直接呼ぶなら import lightfield; lightfield.lf_to_mla(lf)、台帳から引くなら opslightfield.get("lf_to_mla"))
Re-interleave a light field into a microlens-array raw frame (exact inverse).
Inverse of lf_from_mla with offset=(0, 0): the returned frame has shape (H*V, W*U) and puts L[v, u, t, s] back at raw pixel (t*V + v, s*U + u). lf_from_mla(lf_to_mla(L), (V, U)) returns L bit-for-bit (verified with np.array_equal), which is the cheapest possible check that the decode's index arithmetic has no off-by-one.
Raises ValueError: *lf* not 4-D / non-finite / over the shape and element caps (see lf_from_mla), and a raw frame whose side would exceed MAX_SPATIAL * MAX_ANGULAR.
• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。
• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。
• アルゴリズムの正典(著者・年)と用途は上記ファミリ使い方ガイドに記載。
• lightfield_depth — py -3.11 examples/lightfield_depth.py
image2d を入力に取れる)lf_from_mla · lf_disparity_to_depth · lf_all_in_focus
decode)*Provenance: lightfield.py — LIGHTFIELD operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.