@ Spaced Ranger
Thanks for the suggestion. Although the function seems to work very well for the dark halos, the light halos are much less affected (I've tried multiple settings). Also, the edges are generally softened, which to a certain extend visually reduces the detail enhancement. I will try some other settings to see if the result improves.