I've developed a method to remove satellite trails from images. It's taken five months or so, on and off. This is a non-AI-based method that uses classical math to detect and replace the trail. No sigma clipping is used, so only two frames are needed: the image with the trail and the previous image. Using the previous image ensures the statistics of the two frames are closely related. Moreover, large trails caused by airplane lights can also be removed.
The mask that covers the trail has a speckled edge which helps knit the frames together seamlessly, where pixels from the previous frame replace those in the current frame to remove the trails. It sounds simple, but it's actually a very difficult problem to solve, especially if you want to remove very faint trails, or pieces of a trail across the image corner, or as often happens when the satellite passes across two or three image frames. The motivation for this was "lucky imaging," where I grew tired of blinking through hundreds, and sometimes thousands, of frames. This example image is a 15-second image of the Angle Nebula (Sh2-106) in Sii.
There seems to be a trend toward giving away software, but I'm not in that camp. RC didn't do that, nor are PixInsight or APP free. So my question to the group: would you pay a modest amount for an easy-to-use program that removes satellite trails and quickly pre-sorts images based on other criteria like FWHM, shape (elongation), and SNR combined with star count to detect double stars and cloudy cover in real-time as images are captured, moving the suspect images to a separate folder? It might be the case that the most folks feel PI does an good enough job, so really no need for a standalone program.
Your feedback would be appreciated.
Edited by Higgsfield, 17 June 2025 - 09:19 AM.