2026-07-072026-07-07http://salesiana.dossiersoluciones.com/handle/123456789/143361This paper describes the implementation and evaluation of an open source library for mathematical morphology based on packed binary and run-length compressed images for document imaging applications. Abstractions and patterns useful in the implementation of the interval operations are described. A number of benchmarks and comparisons to bit-blit based implementations on standard document images are provided.GraphicsI.4; I.4.10; I.7.4; I.7.5Efficient Binary and Run Length Morphology and its Application to Document Image Processingtext