lf_to_mla — LIGHTFIELD decode op

• Data kinds: lightfield → image2d

• Call: import fullseye as fs; fs.ledger.lf_to_mla(lf) (implementation को सीधे call करना हो तो import lightfield; lightfield.lf_to_mla(lf), registry से लेना हो तो opslightfield.get("lf_to_mla"))

उपयोग

light field को फिर से microlens-array raw frame में interleave करता है (exact inverse)।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

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.

उपयोग की विस्तृत guide

• lightfield_depth family guide

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• lightfield_depth — py -3.11 examples/lightfield_depth.py

वे अगले ops जिनसे type जुड़ता है (image2d को input के रूप में लेते हैं)

lf_from_mla · lf_disparity_to_depth · lf_all_in_focus

इसी category के (decode)

lf_from_mla · lf_stats


*Provenance: lightfield.py — LIGHTFIELD operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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