decode op• データ種: lightfield → image2d
• 呼び出し: import lightfield; lightfield.lf_to_mla(lf) (または opslightfield.get("lf_to_mla"))
ライトフィールドをマイクロレンズアレイの生フレームへ再配列する(厳密な逆変換)。
> 以下の詳細説明は原文のままです —— 要約と見出しは訳出済み。
Inverse of :func: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 :func: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.