MaskTools/Binarize

From Avisynth wiki
Revision as of 17:01, 9 May 2013 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Binarize(clip, [int "threshold", [bool "upper"]])

Plugin: MaskTools

The Binarize filter allows a basic thresholding of a picture. If upper=true, a pixel whose value is strictly superior to threshold will be set to zero, else to 255. On the contrary, if upper=false, a pixel whose value is strictly superior to threshold will be set to 255, else to zero.

Defaults are threshold = 20 and upper = true.


Back to MaskTools.

Personal tools