From 28cbc5ded7071cc2bd653e71b3f19a56336823f9 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 2 Oct 2026 10:56:10 +0000 Subject: [PATCH] refactor(analysis): tidy flow hand-over in deep analysis state Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC --- src/Titano.Core/Analysis/Deep/DeepAnalyzer.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Titano.Core/Analysis/Deep/DeepAnalyzer.cs b/src/Titano.Core/Analysis/Deep/DeepAnalyzer.cs index 052fce12..d7ff6e7a 100644 --- a/src/Titano.Core/Analysis/Deep/DeepAnalyzer.cs +++ b/src/Titano.Core/Analysis/Deep/DeepAnalyzer.cs @@ -8,8 +8,8 @@ namespace Titano.Core.Analysis.Deep; /// Deep analysis (BRIEF ยง10.2): one streaming pass over every frame. A pre-pass segments sky and land on a sample of /// thumbnails; then frames are probed in parallel batches (: statistics, stars, region /// luminance, clouds) and compared in order with the previous usable frame (nine-patch phase-correlation shift, duplicate -/// test, exposure-aligned histogram distance, Draft optical flow on every -th -/// pair). Memory is one batch of analysis images plus the previous frame's reduced planes. After every batch the new +/// test, exposure-aligned histogram distance, consistency-checked Draft optical flow on every +/// -th pair). Memory is one batch of analysis images plus the previous frame's reduced planes. After every batch the new /// s go to the checkpoint, so an interrupted run resumes after the last persisted frame with /// identical results. Sequence-level results are computed by . /// @@ -138,7 +138,6 @@ public static class DeepAnalyzer _previous = stats; _previousIndex = probe.Index; _previousFlow?.Dispose(); - _previousFlow = null; _previousFlow = probe.TakeFlow(); return frame; }