Titano: time-lapse ecosystem (client, server, uploader) — in progress #1

Merged
Alby96 merged 204 commits from claude/keen-knuth-uhxv8w into main 2026-10-02 16:29:53 +02:00
Showing only changes of commit 17bdaeebf6 - Show all commits
+9 -8
View File
@@ -23,9 +23,10 @@ public sealed record StabilizerOptions
/// <summary>Residual (px) under which a patch vector is an inlier of a similarity hypothesis.</summary>
public double InlierThreshold { get; init; } = 1.0;
/// <summary>Largest plausible frame-to-frame rotation (radians) and |ln scale| of a hypothesis.</summary>
/// <summary>Largest plausible frame-to-frame rotation (radians) of a hypothesis.</summary>
public double MaxRotation { get; init; } = 0.05;
/// <summary>Largest plausible frame-to-frame |ln scale| of a hypothesis.</summary>
public double MaxScaleChange { get; init; } = 0.05;
/// <summary>σ (frames) of the Gaussian-weighted local linear regression that smooths the camera path; 0 disables.</summary>
@@ -58,13 +59,13 @@ public sealed record StabilizationResult(
/// <summary>
/// Video stabilisation. Per frame: Kuglin–Hines phase correlation of nine patches on a 3×3 grid against the
/// previous frame (patches analysed in parallel), texture gating (noise-compensated gradient energy, Immerkær 1996 noise estimate; a
/// textureless frame yields no vectors and therefore no motion), then a robust similarity fit (exhaustive
/// two-point hypotheses as deterministic RANSAC, plausibility limits, weighted least squares on the
/// inliers). <see cref="Solve"/> accumulates the camera path, smooths its translation, rotation and log-scale
/// with Gaussian-weighted local linear regression (pans survive unchanged), and reports per-frame
/// corrections (smoothed ∘ raw⁻¹), shake RMS and the crop needed to hide borders. Memory holds two
/// luminance planes regardless of sequence length.
/// previous frame (patches analysed in parallel), texture gating (noise-compensated gradient energy,
/// Immerkær 1996 noise estimate; a textureless frame yields no vectors and therefore no motion), then a
/// robust similarity fit (exhaustive two-point hypotheses as deterministic RANSAC, plausibility limits,
/// weighted least squares on the inliers). <see cref="Solve"/> accumulates the camera path, smooths its
/// translation, rotation and log-scale with Gaussian-weighted local linear regression (pans survive
/// unchanged), and reports per-frame corrections (smoothed ∘ raw⁻¹), shake RMS and the crop needed to hide
/// borders. Memory is two luminance planes plus one small record per frame.
/// </summary>
public sealed class Stabilizer : IDisposable
{