Skip to content

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 to ToolsFind Externals. Search for zexy and install it. Then create an object with declare -lib zexy -path zexy. Finally, use pix_threshold_bernsen or any other object from zexy.

  • Library developed mainly by Johannes M. Zmölnig.
  • Report Bugs/Errors here!
  • Available for .

Similar


    Comments

    Contributors