lf_subaperture — LIGHTFIELD views op

データ種: lightfieldimage2d

呼び出し: import lightfield; lightfield.lf_subaperture(lf, v=0, u=0) (または opslightfield.get("lf_subaperture"))

使い方

One sub-aperture view — the image seen through one point of the pupil.

Returns a copy of `L[v, u] as a plain (H, W)` 2-D image, so every

other fullseye image operator applies to it unchanged. Indices are

not wrapped: a negative or out-of-range index is a `ValueError`, not a

silent Python wrap-around to the opposite corner of the pupil (which is the

single easiest way to get a mirrored disparity sign downstream).

Raises `ValueError`: *lf* not a valid light field, and *v* / *u* not

an int in `[0, V) / [0, U)`.

詳しい使い方ガイド

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

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

lf_from_mla · lf_disparity_to_depth · lf_all_in_focus

同カテゴリ(views)

lf_center_view · lf_views · lf_epi


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

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