View Single Post
Old 20th May 2019, 23:25   #11  |  Link
Motenai Yoda
Registered User
 
Motenai Yoda's Avatar
 
Join Date: Jan 2010
Posts: 709
Quote:
Originally Posted by LouieChuckyMerry View Post
Thanks for your reply. Would you please be more specific? Maybe I can learn something
into
Code:
### Overall Temporal Denoise ###
SMDegrain(Lsb=True,Lsb_Out=True)
### Darken-Thin Lines ###
F=DitherPost(Mode=-1)
S=F.FastLineDarkenMod(Strength=24,Prot=6).aWarpSharp2(Blur=4,Type=1,Depth=8,Chroma=2)
D=MT_MakeDiff(S,F).Dither_Convert_8_To_16()
Dither_Add16(Last,D,Dif=True,U=2,V=2)
F is smdegrain 16 bit output rounded to 8 bit
S is filtered 8 bit clip
D is the difference between S and F (what the 8bit filter stage added), converted to 16bit
Dither_Add16 re-add that difference into last which is the 16bit smdegrain output.

this way is pretty lame as lsb data isn't related to what is in msb and while it can be useful with filters like linedarker changing only few masked pixels, I'm not sure about a warpsharp one

it's like as you do
round(pi) * 5 + (pi - round(pi)) = 3*5+.14 = 15.14
where
pi*5 = 15,7

If you add a resize in the 8bit stage, D resolution change but last doesn't
__________________
powered by Google Translator

Last edited by Motenai Yoda; 20th May 2019 at 23:31.
Motenai Yoda is offline   Reply With Quote