pix_threshold_bernsen
pix_threshold_bernsen
applies a dynamic tiled threshold filter to greyscale images for binarization. It calculates a threshold for each tile based on the mean of the min and max pixel values within a surrounding square, setting pixels above the threshold to 1 and others to 0. This object is useful for converting greyscale images into binary (black and white) images with adaptive local contrast.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pd
and go toTools
Find Externals
. Search forzexy
and install it. Then create an object withdeclare -lib zexy -path zexy
. Finally, usepix_threshold_bernsen
or any other object fromzexy
. - Library developed mainly by Johannes M. Zmölnig.
- Report Bugs/Errors here!
- Available for .