You can either delete the number 2 at the end of that line in the CSMOD script, i.e. sharpdiff2 = core.focus.TemporalSoften(sharpdiff, 1, 255, 255 if chroma else 0, 32) or replace such line with sharpdiff2 = haf.AverageFrames(sharpdiff, weights=[1] * 3, scenechange=32, planes=[0] if chroma else list...
Hi. I can't remember which script has such function, but you can do it manually. For example, suppose we want to process a grayscale image (format=vs.GRAY8), we can use the following code to construct a simple luma mask: mask = core.std.Expr(src, 'x 128 > 255 0 ?') which classifies the pixels of the...