Tone-map HDR before stabilization and prioritize stable conservative framing

This commit is contained in:
Mikei386
2026-09-13 12:24:13 +02:00
parent 031dc50b99
commit a4919bedd0
8 changed files with 113 additions and 61 deletions
+2 -2
View File
@@ -52,10 +52,10 @@ enum ContinuityChecks {
}
let profile = ContinuityPlanner.sharedProfile(clips: [clip(height: 0.08), clip(height: 0.35)],
dimensions: VideoDimensions(width: 1920, height: 1080), requested: 0.26, eyeY: 0.4)
try check(profile.faceHeightRatio > 0.35 && profile.faceHeightRatio <= 0.38, "Different camera distances were not negotiated")
try check(profile.faceHeightRatio == 0.26, "Camera distances override requested framing")
let extreme = ContinuityPlanner.sharedProfile(clips: [clip(height: 0.08), clip(height: 0.9)],
dimensions: VideoDimensions(width: 1920, height: 1080), requested: 0.26, eyeY: 0.4)
try check(extreme.faceHeightRatio <= 0.38, "One extreme close-up forces excessive zoom on all clips")
try check(extreme.faceHeightRatio == 0.26, "One extreme close-up forces excessive zoom on all clips")
print("PASS joint transition planning, sparse-window handling, face-only bounded colors and camera-distance profile")
}