Author Topic: New Video Tutorials: Mosaic Construction with StarAlignment  (Read 20109 times)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Hi everybody,

I am glad to announce a new series of video tutorials: Mosaic Construction with StarAlignment. The first two videos of this series are now available on our website:

http://pixinsight.com/videos/StarAlignment/Mosaic/en.html

A third video is in preparation and should be ready in a couple days. I hope you'll like them. Enjoy!
« Last Edit: 2009 December 03 18:05:14 by Juan Conejero »
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline mmirot

  • PixInsight Padawan
  • ****
  • Posts: 881
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #1 on: 2009 December 03 19:34:07 »
Well done "Alex"

By the way, The pixel math process shown in the 2nd video is good candidate for a time saving script to help find k1 and k2.

Max

Offline vicent_peris

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 988
    • http://www.astrofoto.es/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #2 on: 2009 December 04 08:48:09 »
Well done "Alex"

By the way, The pixel math process shown in the 2nd video is good candidate for a time saving script to help find k1 and k2.

Max

This calculation is more or less what the HDRComposition script does to scale the images.


Vicent.

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #3 on: 2009 December 04 09:29:24 »
Hi Juan

Excellent work  :D

All I need are some clear skies so I can mosaic something  :'(


Harry
Harry Page

Offline ManoloL

  • PixInsight Addict
  • ***
  • Posts: 220
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #4 on: 2009 December 05 00:59:55 »
Hola a todos:
Un vídeo muy oportuno. ¡Gracias Juan!
Estoy intentando obtener una California con un mosaico de dos encuadres, aunque en cada intento las nubes se han encargado de impedirlo.
Mi pregunta al respecto es la siguiente:
¿Con imagenes RGB hay que hacer el ajuste de las "costuras" por canales?

Saludos.
Saludos.

Manolo L.

Offline vicent_peris

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 988
    • http://www.astrofoto.es/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #5 on: 2009 December 05 03:18:24 »
Hola a todos:
Un vídeo muy oportuno. ¡Gracias Juan!
Estoy intentando obtener una California con un mosaico de dos encuadres, aunque en cada intento las nubes se han encargado de impedirlo.
Mi pregunta al respecto es la siguiente:
¿Con imagenes RGB hay que hacer el ajuste de las "costuras" por canales?

Saludos.

Hola,

sí, siempre hay que hacerlo por canales. La extinción atmosférica es más alta cuanto más hacia el azul. Además, puede que cambie el fondo del cielo entre los dos paneles.


Vicent.

Offline h0ughy

  • PixInsight Addict
  • ***
  • Posts: 226
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #6 on: 2010 February 15 19:06:38 »
Hi everybody,

I am glad to announce a new series of video tutorials: Mosaic Construction with StarAlignment. The first two videos of this series are now available on our website:

http://pixinsight.com/videos/StarAlignment/Mosaic/en.html

A third video is in preparation and should be ready in a couple days. I hope you'll like them. Enjoy!

I downloaded the first two - wow what functionality!  That simply blew me away with the ease and apparent simplicity of the process.  I can see it will be a process to practice to perfect but man how good is that.  I look forward to reprocessing some older images I have taken to see if this can bring out a better result.  I gave up on processing a mosaic because I had no real way of making the seams go away and making the images the same.  This is brilliant!  When can the third one be available to view?
Doghouse Observatory

Offline avastro

  • PixInsight Addict
  • ***
  • Posts: 181
    • http://astrosurf.com/avastro/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #7 on: 2010 February 16 01:33:47 »
Hi Juan
Well done, these videos tutorials are worth a thousand of words  :)

Thanks

Antoine
Antoine
Lentin Observatory
http://www.astrosurf.com/avastro/

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #8 on: 2010 May 17 07:34:10 »
Hello everybody.
Tell me the correct way to create a mosaic.
I want to glue together a mosaic of 2x2. For each piece of shot 5 frames. Total I have 20 frames. See pic.
What is the best?
a) Align 4 times 5 frames > integrate in 4 parts of the mosaic > crop black frame > glue mosaic.
b) Merge to 4 mosaics > align > integrate.
c) Align all 20 frames on reference star field (StarGen or DSSImages) > integrate in 4 mosaics (via mask & PixelMath process shown in the 2nd video) > integrate.

Method a) is easiest, but required more overlapped field because need to crop black area around overlapped region.
Method b) is more attractive because no need to crop, have more chance to create mosaic with minimum overlapping, but distortion more critical. And more ease to get wrong alignment.
Method c) I hope is much more attractive because not have problem of a) and b), and don't required double alignment, but requires laborious manual work.

Please consult if you know a better way.

Best regards,
Nikolay.

PS I can't test c) because StarGen still generate "dancing" stars (wrong epoch). And I can't use DSSImages, because I have 3.7x3.7o field.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #9 on: 2010 May 17 10:54:47 »
Hi Nikolay,

(a) is indeed the easiest way and (b) is potentially problematic due to distortion. I agree completely with what you've said.

(c) is the most accurate way because you work on a fixed geometry. It is indeed slightly more difficult and may require some manual work (although I think StarAlignment can work with conic projection and a 4ºx4º FOV. However, please note:

- You no longer need the PixelMath technique because StarAlignment provides now an automatic frame adaptation feature that works remarkably well in all cases. I still have to make the third video where I'll explain all of this.

- I don't understand what's wrong with StarGenerator. There was a bug on Windows in version 1.5 but version 1.6.0 has fixed it completely. Or it should. It works nicely in all our tests. What do you refer to by "dancing stars" and "wrong epoch" ? Can I see an example of this?

That said, I think that (a) should work very nicely with 2-D spline interpolation and automatic frame adaptation, provided you have enough overlapping. Remember that the latest version of StarAlignment is able to work with really tiny overlapping, thanks to the new automatic intersection finding routine. Remember also that if you have to face a *really* difficult problem, you still can define previews on the frames to help SA to work with absolutely minimal overlapping.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #10 on: 2010 May 17 20:35:03 »
- I don't understand what's wrong with StarGenerator. There was a bug on Windows in version 1.5 but version 1.6.0 has fixed it completely. Or it should. It works nicely in all our tests. What do you refer to by "dancing stars" and "wrong epoch" ? Can I see an example of this?
Hi Juan,
Compare two images from attachment. It's 300% zoom. As you can see some stars stay in place, some stars move.

I upload to FTP original(W/O alignment) NGC7000.fit.zip (RA/DEC and other data in FITSHeader) and StarGen.fit.zip (image from StarGenerator).

If you have a time and at your computer StarGenerator is working properly, please generate for me your version of star's field and upload to FTP.

Best regards,
Nikolay.

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #11 on: 2010 May 18 01:47:23 »
(c) is the most accurate way because you work on a fixed geometry.

- You no longer need the PixelMath technique because StarAlignment provides now an automatic frame adaptation feature that works remarkably well in all cases. I still have to make the third video where I'll explain all of this.
Sorry, but how to use "automatic frame adaptation" with reference image produced by StarGenerator?
I mean I have two light frame and one StarGen image. I try to create mosaic (one first image applyed without frame adaptation, other 3 images with auto adaptation) and got wrong result.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #12 on: 2010 May 18 03:00:51 »
Hi Nikolay,

Thanks for uploading the images. I get the same result from StarGenerator on all supported platforms, so there's no longer a bug in the Windows version of this tool —this is good stuff!

Indeed there are differences in the star positions between your real image and the StarGenerator synthetic image. On one hand, the differences in the four corners of the image are obviously due to field distortion (field curvature, I guess). The other differences are probably due to small accumulated errors in the computed proper motions. Although the PPMX catalog is very accurate, bear in mind that some of the proper motions have been calculated from astrometric observations gathered during very long periods.

As a counter-test, I have generated two versions of the StarGenerator image: one for your observation epoch (2010/05) and another for the J2000 epoch. When I register both synthetic images with your real image, StarAlignment computes consistent inlier quality factors of 0.5 and 0.4, respectively. In other words, when the correct epoch is specified in StarGenerator, StarAlignment can find more star pair matches between the generated synthetic image and your real image. This clearly shows that applying proper motion corrections improves the result. However, as I've said this isn't perfect.

In my tests, selecting the 2-D surface spline interpolation algorithm in StarAlignment provides somewhat better results, as this algorithm can correct small-scale distortions better than the default homographic projection. However this doesn't fix the problem completely.

Having said that, I think you should have no problems to build your mosaic on top of a synthetic StarGenerator image. Although not all of the stars will match, StarAlignment will be able to find a valid transformation for your four mosaic frames.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #13 on: 2010 May 18 03:17:22 »
Quote
how to use "automatic frame adaptation" with reference image produced by StarGenerator?

Excellent question. You cannot, as the synthetic image only contains stars and nothing similar to the rest of the "background" in your real image. The frame adaptation function will tend to underestimate the background values on each registered image. I must admit that I didn't think on this particular problem before.

A good solution could be building your mosaic and then re-align the three frames again over the result. This should provide more accurate frame adaptation functions. If necessary, the same process can be repeated for a second time. With these iterations the result should be perfect. The alternative is the manual PixelMath method with alignment masks

I plan on implementing the frame adaptation algorithm as an independent tool. This will be a perfect solution for cases like this one, as the frames can be adapted prior to mosaic construction.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #14 on: 2010 May 18 04:07:57 »
Juan, thank you very much!
Especially thanks for this:
re-align the three frames again over the result. This should provide more accurate frame adaptation functions. If necessary, the same process can be repeated for a second time.
  :)