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 族使用指南

參考(範例資料・文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者・年份)與用途見上面的族使用指南

可執行的範例(實際呼叫該運算子並已驗證的樣例)

lightfield_depthpy -3.11 examples/lightfield_depth.py

型別可銜接的下一個運算子(可接受 image2d 作為輸入)

lf_from_mla · lf_disparity_to_depth · lf_all_in_focus

同類別(views)

lf_subaperture · lf_center_view · lf_views


*Provenance: lightfield.py — LIGHTFIELD 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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