MSharpen (clip, int "threshold", int "strength", bool "highq", bool "mask") clip = Input clip int threshold = 10 Determines what is detected as edge detail and thus sharpened. To see what edge detail areas will be sharpened, use the 'mask' parameter. Range: 0 to 255 int strength = 100 Strength of the sharpening to be applied to the edge detail areas. It is applied only to the edge detail areas as determined by the threshold parameter. Strength 255 is the strongest sharpening. Range: 0 to 255 bool highq = true Lets you tradeoff speed for quality of detail detection. Set it to true for the best detail detection. Set it to false for maximum speed. bool mask = false When set to true, the areas to be sharpened are shown in white against a black background. Use this to set the level of detail to be sharpened. This function also makes a basic edge detection filter.