fullseye

lf_focal_stack — LIGHTFIELD refocus op

使い方

Refocus at every slope in slopes — a focal stack from one exposure.

Returns a list of (H, W) images (the images type), in the order given, so :mod:focus_stack’s fusion and any multi-image operator applies unchanged. The physical camera equivalent is racking the focus N times; here it costs one exposure and len(slopes) * V * U image shifts.

Raises ValueError: lf not a valid light field, slopes empty or longer than :data:MAX_STACK_SLICES, any slope non-finite or over :data:MAX_ABS_SLOPE, a stack larger than :data:MAX_STACK_ELEMENTS, unknown interp / edge.

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

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

同カテゴリ(refocus)

lf_refocus · lf_aperture_mask · lf_synthetic_aperture


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

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