refactor(analysis): tidy flow hand-over in deep analysis state
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
1 file changed
+2
-3
@@ -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
|
/// 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 (<see cref="FrameProbe"/>: statistics, stars, region
|
/// thumbnails; then frames are probed in parallel batches (<see cref="FrameProbe"/>: statistics, stars, region
|
||||||
/// luminance, clouds) and compared in order with the previous usable frame (nine-patch phase-correlation shift, duplicate
|
/// 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 <see cref="DeepAnalysisOptions.FlowEvery"/>-th
|
/// test, exposure-aligned histogram distance, consistency-checked Draft optical flow on every
|
||||||
/// pair). Memory is one batch of analysis images plus the previous frame's reduced planes. After every batch the new
|
/// <see cref="DeepAnalysisOptions.FlowEvery"/>-th pair). Memory is one batch of analysis images plus the previous frame's reduced planes. After every batch the new
|
||||||
/// <see cref="DeepFrame"/>s go to the checkpoint, so an interrupted run resumes after the last persisted frame with
|
/// <see cref="DeepFrame"/>s go to the checkpoint, so an interrupted run resumes after the last persisted frame with
|
||||||
/// identical results. Sequence-level results are computed by <see cref="DeepSequenceAnalysis"/>.
|
/// identical results. Sequence-level results are computed by <see cref="DeepSequenceAnalysis"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -138,7 +138,6 @@ public static class DeepAnalyzer
|
|||||||
_previous = stats;
|
_previous = stats;
|
||||||
_previousIndex = probe.Index;
|
_previousIndex = probe.Index;
|
||||||
_previousFlow?.Dispose();
|
_previousFlow?.Dispose();
|
||||||
_previousFlow = null;
|
|
||||||
_previousFlow = probe.TakeFlow();
|
_previousFlow = probe.TakeFlow();
|
||||||
return frame;
|
return frame;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user