Don’t the astronomy guys have software to do this? Poita did something for me a long time ago from the 81 crawl using astronomy stoftware to find and enhance the stars. That has to align them first. And astronomy has to deal with atmospheric disturbances that distort small parts of the image.
AutoStakkert!
I use it sometimes for my projects. It works very well for this kind of thing.