Author Topic: New Tutorial on Preparing a Mosaic  (Read 7227 times)

Offline kayronjm

  • PixInsight Addict
  • ***
  • Posts: 100
    • Light Vortex Astronomy
New Tutorial on Preparing a Mosaic
« on: 2016 January 04 19:02:34 »
Read here: http://www.lightvortexastronomy.com/tutorial-preparing-a-mosaic.html

This new tutorial goes over the procedure to produce a seamless mosaic image in PixInsight. It starts off using StarAlignment to produce a rough mosaic to register the individual images with. Afterwards, it moves on to using GradientMergeMosaic to produce a seamless end result. Settings to reduce seams and pinched stars are discussed, as well as a PixelMath technique to fix pinched stars.
- Avalon M-Uno
- Takahashi FSQ-85ED, Altair Astro 8" RC with Astro-Physics CCDT67 Telecompressor
- QSI 660wsg-8, Starlight Xpress Lodestar X2
- Astrodon E-Series Gen2 LRGB 1.25", Astrodon HA, OIII & SII 3nm 1.25"

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: New Tutorial on Preparing a Mosaic
« Reply #1 on: 2016 January 07 06:25:53 »
Hi Kayron,

Thank you for writing this tutorial. I'd like to point out just a few things:

- Noise reduction should only be used for star detection in extreme cases, never on a regular basis. Basically, the purpose of this noise reduction parameter is to help with marginal data, where star detection has problems to distinguish among stars and noise. Applying star detection noise reduction when it isn't necessary may degrade registration accuracy.

- Defining previews is only necessary in difficult cases, where overlapping areas are very small. StarAlignment should have no problems at all to find the intersection between these mosaic frames automatically. This feature should only be used when necessary, not on a regular basis.

- Similarly, increasing the maximum number of distortion iterations is normally not necessary, except in difficult cases.

- I don't see the need to build a "rough mosaic", as you define it, to register mosaic frames over it. This double registration procedure can only degrade accuracy, especially on overlapped mosaic regions. Two-frame mosaics should always be generated in a single registration step. For mosaics of more than two frames, a much better option is to generate a synthetic reference image with the CatalogStarGenerator script, then use StarAlignment to build the mosaic on the synthetic image. Large wide-field mosaics where frames are highly distorted, very large mosaics consisting of many frames (6 or more), and mosaics with very small (or nonexistent) overlapping areas, are much better generated with the MosaicByCoordinates script, which is based on an astrometric solution.

- Finally, using the FITS format to save working images is a valid option, but I wouldn't recommend it in a tutorial. The FITS format has been deprecated in PixInsight 1.8.4, and will be supported exclusively for compatibility with existing data. I would recommend the use of XISF, which is and will be the native file format of the PixInsight platform.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline kayronjm

  • PixInsight Addict
  • ***
  • Posts: 100
    • Light Vortex Astronomy
Re: New Tutorial on Preparing a Mosaic
« Reply #2 on: 2016 January 10 13:29:45 »
Hi Kayron,

Thank you for writing this tutorial. I'd like to point out just a few things:

- Noise reduction should only be used for star detection in extreme cases, never on a regular basis. Basically, the purpose of this noise reduction parameter is to help with marginal data, where star detection has problems to distinguish among stars and noise. Applying star detection noise reduction when it isn't necessary may degrade registration accuracy.

- Defining previews is only necessary in difficult cases, where overlapping areas are very small. StarAlignment should have no problems at all to find the intersection between these mosaic frames automatically. This feature should only be used when necessary, not on a regular basis.

- Similarly, increasing the maximum number of distortion iterations is normally not necessary, except in difficult cases.

- I don't see the need to build a "rough mosaic", as you define it, to register mosaic frames over it. This double registration procedure can only degrade accuracy, especially on overlapped mosaic regions. Two-frame mosaics should always be generated in a single registration step. For mosaics of more than two frames, a much better option is to generate a synthetic reference image with the CatalogStarGenerator script, then use StarAlignment to build the mosaic on the synthetic image. Large wide-field mosaics where frames are highly distorted, very large mosaics consisting of many frames (6 or more), and mosaics with very small (or nonexistent) overlapping areas, are much better generated with the MosaicByCoordinates script, which is based on an astrometric solution.

- Finally, using the FITS format to save working images is a valid option, but I wouldn't recommend it in a tutorial. The FITS format has been deprecated in PixInsight 1.8.4, and will be supported exclusively for compatibility with existing data. I would recommend the use of XISF, which is and will be the native file format of the PixInsight platform.

Hi Juan,

Thanks for your comments. I appreciate them - it's nice of you to take the time to look it over. I have added a few bits to the text to account for your first three points. In due course, I can and will add a fourth section to the tutorial to mention the use of the scripts mentioned. As for the FITS and XISF formats, I do appreciate that XISF is PixInsight's native image format but with all due respect, I'm not 100% certain what benefits the XISF format currently brings to the table to the end user over the classic FITS format. I am happy to hear your thoughts about this, but I'm currently reasonably certain that there are no major benefits at this present time (though I won't argue there may be in the future).

Best Regards,
Kayron
- Avalon M-Uno
- Takahashi FSQ-85ED, Altair Astro 8" RC with Astro-Physics CCDT67 Telecompressor
- QSI 660wsg-8, Starlight Xpress Lodestar X2
- Astrodon E-Series Gen2 LRGB 1.25", Astrodon HA, OIII & SII 3nm 1.25"

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: New Tutorial on Preparing a Mosaic
« Reply #3 on: 2016 January 10 15:10:52 »
well... any of the issues that we've seen over the years with FITS - reader direction backward from writer direction (which of course creates confusion in OSC debayering settings), FITS scaling issues... all of these things are a thing of the past with xisf. that seems to be worth the price of admission right there.

rob

Offline tszabo

  • Newcomer
  • Posts: 1
    • Flickr for Thad Szabo
Re: New Tutorial on Preparing a Mosaic
« Reply #4 on: 2016 January 30 13:00:55 »
I found that the script "MosaicByCoordinates" only works with FITS images, not XISF. I've been playing with reconstructing a 24 panel mosaic (previously composited in Microsoft ICE) by registering the images with ImageSolver, then using MosaicByCoordinates to register images for use in GradientMergeMosaic.

Until MosaicByCoordinates works with XISF, I'll have to use FITS for this project.

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: New Tutorial on Preparing a Mosaic
« Reply #5 on: 2016 January 31 04:31:38 »
I found that the script "MosaicByCoordinates" only works with FITS images, not XISF. I've been playing with reconstructing a 24 panel mosaic (previously composited in Microsoft ICE) by registering the images with ImageSolver, then using MosaicByCoordinates to register images for use in GradientMergeMosaic.

Until MosaicByCoordinates works with XISF, I'll have to use FITS for this project.
MosaicByCoordinates works with XISF files. The file dialog doesn't have the filter for selecting XISF files, but you can add them writing the filter "*.xisf" in the "file name" field.

Offline pavel

  • Newcomer
  • Posts: 22
  • RUSSIA,St. Petersburg
Re: New Tutorial on Preparing a Mosaic
« Reply #6 on: 2016 June 05 02:44:38 »
Thank you for a very detailed and clear lesson to create mosaics, finally I started to get !!! :)
Windows 10 Pro x64
PixInsight  commercial license.