Commit Graph
9 Commits
Author SHA1 Message Date
Claude 17bdaeebf6 docs(motion): clarify stabiliser option and memory summaries
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:56:35 +00:00
Claude 5738fc1694 perf(motion): vectorise the flow median filter and parallelise stabiliser patches
The flow median filter runs the odd-even transposition network on
Vector<float> blocks in the interior (shared with the temporal median),
which removes the dominant cost of Best-quality flow. The stabiliser
analyses its nine patches in parallel with one correlator each and
gathers results in patch order, so output stays deterministic. Adds
brute-force reference tests for the median, box and binomial kernels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:53:03 +00:00
Claude 02afd4673b feat(motion): add temporal median/mean stacking and star-trail accumulation
TemporalStacker keeps a sliding window of pooled frame copies and renders
an exact per-pixel median (vectorised odd-even transposition network up
to 32 frames, Hoare selection beyond) or mean. StarTrailStacker keeps a
progressive maximum with exponential decay; trail length in frames maps
to the decay that fades a trail to 1 %.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:44:11 +00:00
Claude 4bab7d035f feat(motion): add flow-based frame interpolation with occlusion reasoning
FrameInterpolator synthesises a frame at fractional time t from the
bidirectional flow: of the two candidate velocities at each pixel (A's
flow, B's reversed flow) it keeps the one whose path is forward–backward
consistent through both frames, samples both frames with Catmull-Rom and
blends them by (1-t, t) weighted by each sample's agreement, so samples
occluded in the other frame drop out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:42:33 +00:00
Claude 749eafeebd feat(motion): add Bézier-eased virtual camera composed with stabilisation
BezierEasing evaluates CSS-style cubic-bezier timing curves (Newton with
bisection fallback) with linear, ease-in, ease-out and ease-in-out
presets. VirtualCamera interpolates centre, roll and geometric zoom
between keyframes and returns one view-to-source affine composed with
the inverse stabiliser correction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:36:42 +00:00
Claude acde397c52 feat(motion): add nine-patch stabiliser with texture gating and smoothed path
Per frame, nine phase-correlation patches on a 3x3 grid are gated by
noise-compensated gradient energy (Immerkær noise estimate) and peak
sharpness, then fitted with a similarity by exhaustive two-point
hypotheses and weighted least squares on the inliers. Solve smooths the
camera path with Gaussian-weighted local linear regression, derives
corrections, shake RMS, recommendation (> 0.3 px) and the crop needed to
hide borders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:34:56 +00:00
Claude e3d3e3c729 feat(motion): add gather-filter motion blur with shutter-angle composition
ShutterAngle computes the real angle from exposure and interval and the
blur fraction sqrt(target^2 - real^2)/360 (zero once the real angle
reaches the target). MotionBlurRenderer averages bilinear taps along
each pixel's motion vector with a tap count adaptive to the length.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:30:30 +00:00
Claude 25c71ac97c feat(motion): add luminance pyramid, motion field and dense pyramidal Lucas–Kanade flow
GrayPyramid builds Burt–Adelson binomial pyramids on pooled planes.
MotionField stores grid vectors with bilinear sampling, forward–backward
errors, magnitude histogram and statistics. OpticalFlowEngine solves a
Lucas–Kanade window at every pixel of each level with a first-order
correction for neighbouring flows (stable for any iteration count),
binomial pre-smoothing, median filtering between levels, Draft/Balanced/
Best presets and forward–backward consistency.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:29:29 +00:00
Claude bda76ccff2 feat(motion): add FFT plans and Kuglin–Hines phase correlation
Radix-2 Cooley–Tukey with SIMD butterflies and Bluestein chirp-z for
arbitrary lengths, cached plans, parallel 2D transforms, real-input
half-length transforms and Tukey/Hann windows. Phase correlation packs
both patches into one complex FFT, normalises the cross-power spectrum
with a Gaussian low-pass and refines the peak with a log-parabola fit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:19:18 +00:00