This is the companion software for the paper "Anisotropic osmosis filtering for shadow removal in images".