Amin, Muhammad Shoib, et al. “Improved Median Edge Detection (iMED) for Lossless Image Compression”. Image Analysis and Stereology, vol. 42, no. 1, Apr. 2023, pp. 25-35, https://doi.org/10.5566/ias.2786.