havsfunc
havsfunc copied to clipboard
DeHalo_alpha still being called in MCTemporalDenoise
MCTemporalDenoise function calls the outdated "DeHalo_alpha" function when edgecleaning is enabled causing a error to throw.
### EDGECLEANING
if edgeclean:
mP = AvsPrewitt(plane(smP, 0))
mS = mt_expand_multi(mP, sw=ECrad, sh=ECrad).std.Inflate()
mD = core.std.Expr([mS, mP.std.Inflate()], expr=[f'x y - {ECthr} <= 0 x y - ?']).std.Inflate().std.Convolution(matrix=[1, 1, 1, 1, 1, 1, 1, 1, 1])
smP = core.std.MaskedMerge(smP, DeHalo_alpha(smP.dfttest.DFTTest(tbsize=1, planes=planes), darkstr=0), mD, planes=planes)```