Hi Brian,
This is one of those situations where you, as the image composer, have to make a decision, or even a series of decisions.
There is no 'statistically justifiable' method by which you could incorporate the terrestrial data into a final image that has been based on the data from multiple aligned and stacked images. Aprt from anything else, ImageIntegration should be used to reject the terrestrial portions of the image simply because the pixels that form the image have to be considered to be 'outlier' pixels that would not conform to the acceptable image limits that II would impose during the integration phase.
So - do you then aim for the best 'astronomical' data set that you can, and avoid (or at least minimise the amount of) any terrestrial data in your data set? If so, you end up with an image that is not 'tethered' ot the ground - it has no visual cues or references to the ground and, as such, might be considered 'less appealing' for that (despite it being, scientifically, 'more accurate')
Or - do you 'add-in' the ground reference after the creation of your astronomical masterpiece? There must be many such images adorning the internet (usually with no concession given as to how they were acuired or processed).
Or - do you abandon the concept of multiple image acquisition (thus losing all the benefits in SNR that this approach brings with it), and just take a single exposure of both sky and ground? If you adopt this process, you still have the not-insignificant challenge of processing the two wholly different image zones. Yes, you might be able to take advantage of HDRC (High Dynamic Range Compression) tools, but you are probably still going to have to invoke some form of mask that allows you to imrove each zone using entirely different image-processing methods.
I have never tried this in PixInsoght myself, and may yet find myself strapped to a ducking-stool in the local witch-ducking pond for saying so, but I might not look at PixInsight to achieve this in its own
However - maybe others have had success where I might fail.