VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. 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.
    Quote Quote  
  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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!