lf_center_view — LIGHTFIELD views op

Datenarten: lightfieldimage2d

Aufruf: import lightfield; lightfield.lf_center_view(lf, mode='average') (oder opslightfield.get("lf_center_view"))

Verwendung

Der zentrale Blickpunkt — das gewöhnliche 2-D-Bild, das eine plenoptische Kamera ebenfalls liefert.

> Die ausführliche Beschreibung unten ist der Originaltext — Zusammenfassung und Überschriften sind übersetzt.

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*.

Ausführlicher Anwendungsleitfaden

Leitfaden zur Familie lightfield_depth

Referenzen (Beispieldaten, Literatur)

• Katalog der Beispieldaten (Download-URLs / Lizenzen) — 2-D nutzt skimage.data (BSD/Public Domain) plus synthetische Bilder, 3-D nennt Download-URLs echter Datenquellen (Stanford, PDS, …).

• Herkunft und Literatur der Operatoren — die Quellen der Forschung/Verfahren, auf denen diese Operatorfamilie beruht.

• Der kanonische Algorithmus (Autor, Jahr) und seine Anwendungen stehen im Familienleitfaden oben.

Ausführbare Beispiele (verifizierte Samples, die diesen Operator wirklich aufrufen)

lightfield_depthpy -3.11 examples/lightfield_depth.py

Typkompatible Folge-Operatoren (nehmen image2d als Eingabe)

lf_from_mla · lf_disparity_to_depth · lf_all_in_focus

Gleiche Kategorie (views)

lf_subaperture · lf_views · lf_epi


*Provenance: lightfield.py — LIGHTFIELD Operator-Registry. Diese Notiz wird von tools/opdocs.py md erzeugt (nicht von Hand bearbeiten).*

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