One possible approach to handling backgrounds that vary strongly in lightness might be applying the High Pass Filter with a largish value.
But that would need some testing.
One possible approach to handling backgrounds that vary strongly in lightness might be applying the High Pass Filter with a largish value.
But that would need some testing.