sallyanne wrote:
Welcome HenkSB to Gimp Chat.
Make your 5 posts quickly then you can post an image for us to look at - let us know what needs to be done to it and we will try to do it giving you the directions to do so, using gimp.
Here's an image. I stretched it in DSS (Deep Sky Stacker) quick and dirty, no smoothing, and saved it in Paint as JPG to reduce the size.

The image has purple, blue and green hues in various directions. I know I can fix it by using gradient removal, I have vast experience with that, but it's not what I want because I have to do this all the time, it also creates gradients and it is just too much work. I would like to have control over where the interpolation is done by selecting non-star and non-nebulosity areas, individual points if I have to.
My typical workflow is to start with the stacked image (this one has 60 x 2 minute ones I believe and has been stacked with flats and bias frames in DSS, from a Redcat51 with an ASI2600MC on an AVX). The result is a 32 bit image that has to be stretched at least once to see enough detail. I use curves for that. It is important to keep the white point where it is or else you blow out the core. During the stretching usually the gradients show up from light pollution of the city and the neighbors.
Sometimes I'll remove all stars using StarNet++ so I can work on the nebulosity without messing up the star colors, then blend the stars back in through a new layer. Sometimes I use a star mask using Threshold and a manual selection (with value inversion and multiplication) to blur out all non-star and non-nebulosity parts then subtract it to remove the gradients. But star masks have side effects (ringing stars).
Gradient removal is important. There is a plugin for PS named Gradient xTerminator that is sold commercially and does only that, there is IRIS that does it, others use Astro Pixel Processor, pixInSight, or AstroArt, usually a variety of editors to get the job done. I prefer to use just Gimp and want to see what I can achieve with Python.
Thanks for helping out!