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. |
29th December 2016, 20:31 | #1 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
New filter: Fix Telecined Fades
binary(windows x64, requires msvcr 2017):https://github.com/IFeelBloated/Fix-...eleases/tag/r5
git repo:https://github.com/IFeelBloated/Fix-...ter/Source.cpp the filter gives a mathematically perfect solution to such(fades were done AFTER telecine which made a picture perfect IVTC pretty much impossible) problem, and it's now time to kiss "vinverse" goodbye cuz "vinverse" is old and low quality. unlike vinverse which works as a dumb blurring + contra-sharpening combo and very harmful to artifacts-free frames, this filter works by matching the brightness of top and bottom fields with statistical methods, and also harmless to healthy frames. Code:
core.ftf.FixFades(clip, mode=0, threshold=0.002, color=[0.0, 0.0, 0.0], opt=True) mode: could be 0(default), 1, or 2 0: adjust the brightness of both fields to match the average brightness of 2 fields. 1: darken the brighter field to match the brightness of the darker field 2: brighten the darker field to match the brightness of the brighter field threshold: threshold for the average difference per pixel, on a scale of 0.0 - 1.0, but could go beyond 1.0, the frame will remain untouched if the average difference between 2 fields goes below this value color: base color of the fade, default is [0.0, 0.0, 0.0](black) opt: call the fastest possible functions if opt=True, else call the C++ functions. INPUT CLIP MUST BE 32BITS FLOATING POINT FORMAT!!! apply this filter AFTER field matching!!! Last edited by feisty2; 28th January 2017 at 18:15. |
|
|