views oplightfield → image2dimport fullseye as fs; fs.ledger.lf_center_view(lf, mode='average') (実装を直接呼ぶなら import lightfield; lightfield.lf_center_view(lf, mode='average')、台帳から引くなら opslightfield.get("lf_center_view"))The centre viewpoint — the ordinary 2-D image a plenoptic camera also gives.
For odd V and U the centre is a single view and both modes return it
exactly. For an even axis the centre falls between two views, and this
operator does not pretend otherwise:
mode="average" (default) returns the mean of the 2 (or 4) views
straddling the centre — the correctly-centred estimate for a Lambertian
scene, at the cost of a slight blur proportional to the disparity.mode="nearest" returns the single view at floor((N-1)/2), which
is sharp but sits half an angular step off centre; every disparity
measured against it carries that half-step bias.Returns a (H, W) 2-D image.
Raises ValueError: lf not a valid light field, unknown mode.
py -3.11 examples/lightfield_depth.pyimage2d を入力に取れる)lf_from_mla · lf_disparity_to_depth · lf_all_in_focus
views)lf_subaperture · 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.