DNALinearFit scrip PixInsight,

12 replies1.2k views
Alonso Uribe avatar
I am currently working on a 6 panel mosaic of M31

I have all the data I wanted, stacked and ready to begin the stitching.

I am following this tutotial https://www.youtube.com/watch?v=FkJKE-IWwTI&list=PLDNYZeyHBIFMGQ3-NWu9ek8C9yXuyA1ob&index=2

And panel #5 and 6, after running the DNALinearFit Scrip instead of the result being the image processed by the scrip I only get a black image with nothing on it.

All other 4 panels have no issues, after running the scrip I do get some image processed results.

After DNALinear, I do a GradientMergeMosaic as per the tutorial above, only panels 1 to 4 will stitch in the mosaic but not 5 and 6 

Below you can see panel 6 result after running the DNA Scrip  (not good) Panel 4 shows a good result, and panel 5 has not run through the scrip yet

Any ideas/suggestions?
Die Launische Diva avatar
I think today there are far better tools for mosaics. Search for MosaicByCoordinates or the tools from John Murphy (PhotometricMosaic and NormalizeScaleGradient). If I were you, I  wouldn't invest time on older workflows based on DNALinearFit.
Well Written Concise
John Reed avatar
I have had the best results with MosaicByCoordinates by John Murphy (PhotometricMosaic and NormalizeScaleGradient). There may still be some cosmetic issues. At the borders,  but it works better than anything I have tried.
andrea tasselli avatar
Agreed 101% with Diva above.
Peter Christensen avatar
I can recommend the PhotometricMosaic - works fine and gives no artefacts!
Well Written
fjwidmann avatar
I had good results on a nine-panel Andromeda image using NSG and MosaicByCoordinates/
Tom Engwall avatar
I would also highly recommend mosaic by coordinates. That had always worked well for me.
Reinhold Wittich avatar
I tried this workflow yesterday:·       Script/ImageAnalysis/ImageSolver for all Frames·       Script/Mosaic/MosaicByCoordinates·       GradientMergeMosaic

Thats all and it workes fine
Stephen Jones avatar
This clip is very easy to follow.  https://www.youtube.com/watch?v=pBX1pMkrlLY
Leonardo Landi avatar
I just finished a 6 panel mosaic of the Sadr region. I recommend you the following workflow from Adam Block's Horizon:
-bxt
-mosaicbycoordinates
-trimmosaictiles
-photometric mosaic
The tesult is superb even with default values of each script.
VICENTE LOPEZ DE LERMA avatar
Hola Alonso, yo sigo este vídeo con buenos resultados.   https://www.youtube.com/watch?v=xoE35tDwqKg
Alonso Uribe avatar
Stephen Jones:
This clip is very easy to follow.  https://www.youtube.com/watch?v=pBX1pMkrlLY

Thank you very much to all of you for your recommendations, following the video above gave me amazing results! I will make sure to try some of the other recommendations and maybe I can find a better simpler solution.
Well Written Respectful
Alonso Uribe avatar
VICENTE LOPEZ DE LERMA:
Hola Alonso, yo sigo este vídeo con buenos resultados.   https://www.youtube.com/watch?v=xoE35tDwqKg

Muchas gracias Vicente!

Voy a darle una mirada a el video y de seguro lo intentare. Saludos cordiales!
Related discussions
How far can you go with Narrowband Integration times arround an hour? Share your recipes and results!
To give you a little background on this post let me share what I am trying to do: One of the reasons for buying a wide lens (Askar ACL200) was to be able to play with composition for my Astro images in more widefield pictures first. I have started to...
Mosaic stitching relevant to author's panorama composition planning work.
Nov 6, 2022
Rotation shift after meridian flip (no electronic rotator)
Hello, I recently noticed that during my last two sessions of shooting that I experienced a shift in the field rotation after the meridian flip. All images taken before the meridian flip are same orientation and matches with framing assistant, and al...
Not relevant; addresses meridian flip rotation, not image stitching issues.
Oct 28, 2025