Class SceneTransitionDetector
java.lang.Object
org.episteme.core.media.video.SceneTransitionDetector
Utility for detecting scene transitions in video streams.
- Since:
- 1.2
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic doublecalculateHistogramDiff(float[][] f1, float[][] f2) detectCuts(List<float[][]> frames, double threshold) Detects hard cuts using histogram differences.static doublefadeToBlackIntensity(float[][] frame)
-
Method Details
-
detectCuts
public static List<SceneTransitionDetector.Transition> detectCuts(List<float[][]> frames, double threshold) Detects hard cuts using histogram differences. -
calculateHistogramDiff
public static double calculateHistogramDiff(float[][] f1, float[][] f2) -
fadeToBlackIntensity
public static double fadeToBlackIntensity(float[][] frame)
-