DjvuImage method. Binarization using Otsu thresholding is a technique that automatically calculates an optimal threshold value based on the images histogram. It separates the image into foreground and background by minimizing the intraclass variance. Otsus method is widely used for segmenting images into binary form particularly when the distribution of pixel intensities is bimodal or multimodal. This approach is beneficial for tasks such as object detection image segmentation and feature Extraction where accurate delineation between foreground and background is crucial...segmentation, and feature extraction, where accurate delineation...