Thread: Vapoursynth
View Single Post
Old 30th October 2022, 07:00   #4760  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Can someone tell me how to translate:
Code:
clip.Mt_Convolution(Horizontal=" 1 1 1 ", vertical = " 1 ", u=1, v=1)
my guess atm. is 'clip.std.Convolution(matrix=[ 1 1 1 ], planes= [ 0 ])'
and
Code:
MT_Luts(Diff, Diff, mode="med", pixels = " 0 0 1 0 -1 0 " ,  expr = " X Y - X Y - X Y - abs 1 + * X Y - abs 1 + "+THR+" 1 >= "+THR+" 0.5 ^ "+THR+" ? + / - 128 +", u=1,v=1)
(no clue)
and
Code:
Mt_AddDiff(Blurred, ReconstructedMedian)
to Vapoursynth? (Diff, Blurred, ReconstructedMedian are vs.Videonode and THR is a string-representation of an int)

Thanks!

Cu Selur
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 30th October 2022 at 07:17.
Selur is offline   Reply With Quote