lf_epi — LIGHTFIELD views op

データ種: lightfieldimage2d

呼び出し: import lightfield; lightfield.lf_epi(lf, axis='u', index=0, view=None) (または opslightfield.get("lf_epi"))

使い方

エピポーラ平面画像 —— 線の傾きが視差そのものになる断面。

> 以下の詳細説明は原文のままです —— 要約と見出しは訳出済み。

An EPI is what makes a light field different from a pile of photographs: fix

one image row and one angular row, and every scene point traces a *straight

line* whose gradient `dx/du is exactly its slope s`. Occlusion becomes

one line crossing in front of another, which is why EPI methods handle it

better than window matching.

• `axis="u" (horizontal): fix v = view` (default: the centre row,

`(V-1)//2) and image row y = index; returns E[u, x]` of shape

`(U, W)`.

• `axis="v" (vertical): fix u = view and image column x = index`;

returns `E[v, y] of shape (V, H)`.

Raises `ValueError`: *lf* not a valid light field, unknown *axis*,

*index* outside the spatial extent, *view* outside the angular extent.

詳しい使い方ガイド

lightfield_depth ファミリ ガイド

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

• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。

• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。

• アルゴリズムの正典(著者・年)と用途は上記ファミリ使い方ガイドに記載。

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

lightfield_depthpy -3.11 examples/lightfield_depth.py

poc_lightfield_depthpy -3.11 examples/poc_lightfield_depth.py

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

lf_from_mla · lf_disparity_to_depth · lf_all_in_focus

同カテゴリ(views)

lf_subaperture · lf_center_view · lf_views


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

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