Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 6th February 2017, 17:27   #1  |  Link
Registered User
Join Date: Oct 2010
Posts: 27
Decimating Ghost interlaced frames

I have been playing around with various algorithms for removing ghost interlaced frames. I have been using a modified Fdecimate as the original source.

To set the stage, I have an old movie that I want to use Spot Remover, so I first deinterlaced it. But it seems the original had been ghost interlaced, and then 3/2 interlaced by another program, so I ended up with 4 good frames and 1 50/50 ghost interlaced. I suspect the ghost interlacing was done mechanically with a double exposure of 2 frames to create a 30fps film for easy TV broadcasts.

Basically I have found that the original decimation algorithm only found some of the ghost frames. Just putting in a search for current - 1/2 last - 1/2 previous worked somewhat better, but not good enough. Then I tried changing the metric to looking at the standard deviation. Discarding pixels that only had a very small difference also helped. The metric strongly identified ghosted images. The big problem is of course the random noise in the old video which can mess up the algorithm.

OK, now I am trying to rewrite it to just discard the ghosted images. The threshold is useless. Actually fdecimate misbehaves for a high threshold and puts frames out of order.

So the basic question is in the logic of avisyth. Is there some documentation on the logic of plugins, especially ones that can decimate frames. Actually I only want to quinquemate 1 in 5 rather than decimate 1 in 10.
JClement is offline   Reply With Quote

decimation, ghost, interlacing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 16:13.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.