I've just emerged from another rabbit hole - investigating the problem of large scale "donuts" and concentric coloured rings that many people find in astro-images shot with Nikon DSLR cameras.
The answer is that it is caused by Nikon's
lossy data compression. What was really interesting is that once the detailed cause was understood it was possible to undo the damage and produce image files free from rings. I even wrote some (Windows) software to do this.
This has probably been the most interesting and ultimately the most satisfying of all the astrophotography technical investigations I have ever undertaken - even more interesting than the "Sony star eater". The satisfaction came from finding a solution and doing a better job of decoding the files than Nikon or Adobe. It was very time consuming but was a perfect winter project for the incessant cloudy nights.
I won't repeat it all here but if you're interested, you can read the whole thread here:
https://www.cloudynights.com/topic/746131-nikon-coloured-concentric-rings/A flash of inspiration one night led ultimately to the key explanation (histogram gaps vs histogram bucketing) which is here:
https://www.cloudynights.com/topic/746131-nikon-coloured-concentric-rings/?p=10844563It should be noted that recent Nikon cameras have the option of lossless compression. Using lossless compression there is no problem.
Mark