focus_sweep_surface_video — LIVE4D render op

• Data kinds: volseq → rgbvideo

• Call: import fullseye as fs; fs.ledger.focus_sweep_surface_video(volseq, window: 'int' = 5, zscale: 'float' = 1.0, light=(0.4, 0.4, 0.8), ambient: 'float' = 0.25) -> 'np.ndarray' (to call the implementation directly, import live4d; live4d.focus_sweep_surface_video(volseq, window: 'int' = 5, zscale: 'float' = 1.0, light=(0.4, 0.4, 0.8), ambient: 'float' = 0.25) -> 'np.ndarray'; from the registry, opslive4d.get("focus_sweep_surface_video"))

Usage

Builds a shaded height-field video (T, Y, X, 3) from a time series of focus sweeps (each frame a z focus stack) (rgbvideo).

The height is the same as in focus_sweep_height_video (maximum focus refined to sub-voxel with a parabola). From the gradient of the height field normals are formed (zscale is the real length of 1 z slice / the real length of a pixel), and Lambert shading towards light (with ambient as an offset) is multiplied onto the colour of height (blue = low → red = high). If the object moves during the sweep, layer consistency breaks and the height jumps (be suspicious only of those times).

Detailed usage guide

• live4d family guide

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• poc_live4d — py -3.11 examples/poc_live4d.py

Ops the type connects to (they accept rgbvideo as input)

—

Same category (render)

volseq_render_orbit · focus_sweep_height_video


*Provenance: live4d.py — LIVE4D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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