The Remove Background filter eliminates background light in astrophotography by sampling one or more colours from the image. Use it to get rid of sky glow and light pollution, which tend to be exaggerated by tone-stretching.
This filter can be found in the Filters menu, in the Astrophotography category.
A colour-sampling handle is precreated at the centre of the image. Drag it to reposition as needed to sample a background tone to be subtracted.
Use a single handle to remove a fairly uniform background. Click within the document view to create additional handles to remove gradients, e.g. caused by light pollution, sky glow or moon illumination.
Alternatively, specify your own grey and RGB levels for subtraction by selecting a handle and manually setting the filter's Grey, Red, Green and Blue values. Manually setting any of these values will cause Sample colour at handle to become deselected for the selected handle.
The following settings can be adjusted in the filter dialog: