I’d try using hugin or hugin’s command line tool align_image_stack. Then take them into GIMP and use GMIC.
align_image_stack