pub fn adaptive_threshold(image: &GrayImage, window_size: u32) -> GrayImage
Apply adaptive thresholding for binarization.
Converts image to black and white, useful for text extraction.