refocus op• Data kinds: lightfield → images
• Call: import fullseye as fs; fs.ledger.lf_focal_stack(lf, slopes=(-2.0, -1.0, 0.0, 1.0, 2.0), *, interp='linear', edge='nearest') (implementation को सीधे call करना हो तो import lightfield; lightfield.lf_focal_stack(lf, slopes=(-2.0, -1.0, 0.0, 1.0, 2.0), *, interp='linear', edge='nearest'), registry से लेना हो तो opslightfield.get("lf_focal_stack"))
*slopes* के हर slope पर refocus करता है — एक exposure से focal stack।
> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।
Returns a list of (H, W) images (the images type), in the order given, so 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 MAX_STACK_SLICES, any slope non-finite or over MAX_ABS_SLOPE, a stack larger than MAX_STACK_ELEMENTS, unknown *interp* / *edge*.
• lightfield_depth family guide
• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।
• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।
• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।
• lightfield_depth — py -3.11 examples/lightfield_depth.py
images को input के रूप में लेते हैं)—
refocus)lf_refocus · lf_aperture_mask · lf_synthetic_aperture
*Provenance: lightfield.py — LIGHTFIELD operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.