MaskTools/Binarize
From Avisynth wiki
(Difference between revisions)
(New page: {{FilterCat|External_filters|Other_filters|Support_filters}} {{FuncDef|Binarize(clip, [int "threshold", [bool "upper"]])}} '''Plugin''': MaskTools The Binarize filter allows a basic...) |
m (1 revision) |
Latest revision as of 17:01, 9 May 2013
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.