I'm trying to improve my FilmGateFix() function, it actually works rather good except for tilts/pans where unfortunately false positive stands out most (2 freezeframes before panning). I'm trying to come up with ideas to detect tilts and pans and exclude them from FilmGateFix().
One idea was to get a cropped version and compare it with future frames. If comparison metrics show >90% for 3 consecutive frames or so I can deduce it's a tilt/pan. The problem is how to do this comparison, pans are never too fast that shift like more than a certain amount, so I would crop inwards to this amount, then compare 8 times (4 corners -diagonal-, 4 sides -orthogonal-), strange angle pans have to be discarded.
I guess if we find a way to detect by how much a frame have shifted I can come with some useful code... any help is welcome.
+ Reply to Thread
Results 1 to 2 of 2
-
-
Great, I found this, I guess that if I can align 2 frames I can find the alignment offset. Will work later on this.
Similar Threads
-
Potplayer "tilt" subtitle problem
By zzxx in forum Software PlayingReplies: 3Last Post: 19th Jun 2014, 04:22 -
Cinavia Detection?
By wulf109 in forum Blu-ray RippingReplies: 3Last Post: 28th Nov 2013, 17:10 -
motion detection
By venga in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 9Last Post: 13th Oct 2013, 18:11 -
MPlayer interlaced detection
By Selur in forum Newbie / General discussionsReplies: 0Last Post: 19th Dec 2012, 03:42 -
libx264 detection
By rzippert in forum LinuxReplies: 1Last Post: 24th Feb 2012, 08:31