Text this: An approach for correcting inhomogeneous atmospheric effects in remote sensing images