fullseye

lf_to_mla — LIGHTFIELD decode op

使い方

Re-interleave a light field into a microlens-array raw frame (exact inverse).

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.

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(image2d を入力に取れる)

lf_from_mla · lf_disparity_to_depth · lf_all_in_focus

同カテゴリ(decode)

lf_from_mla · lf_stats


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

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