Algorithm based on the minimization of the linear distance between expected color and actual one. Original image is a section of
. Works poorly with images exhibiting large dark areas and large swaths of similar colors (like this one).
February 9, 2022