Binarization and Thresholding¶
Converting a grayscale image to a binary mask separates foreground (particles, pores) from background. Otsu’s method automatically selects the optimal global threshold; adaptive thresholding handles non-uniform illumination.
See also
Thresholding and Binarization — the underlying theory, in depth
Edge Detection and Gradient Images — a common input to thresholding
Morphological Post-Processing — cleaning up a mask after thresholding
Image Preprocessing — every other preprocessing operation