views op• 数据种类:lightfield → image2d
• 调用: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.
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• 算法的正典(作者・年份)与用途见上面的族使用指南。
• lightfield_depth — py -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.