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

Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 3894
    • View Profile
    • 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 04 02:05:14 by Juan Conejero »
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

mmirot

  • PixInsight Guru
  • ****
  • Posts: 720
    • View Profile
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #1 on: 2009 December 04 03: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

vicent_peris

  • PTeam Member
  • PixInsight Old Hand
  • ****
  • Posts: 594
    • View Profile
    • http://www.astrofoto.es/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #2 on: 2009 December 04 16: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.

Harry page

  • PixInsight Jedi
  • *****
  • Posts: 1218
    • View Profile
    • http://www.harrysastroshed.com
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #3 on: 2009 December 04 17:29:24 »
Hi Juan

Excellent work  :D

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


Harry
Harry Page

ManoloL

  • PixInsight Addict
  • ***
  • Posts: 220
    • View Profile
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #4 on: 2009 December 05 08: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.

vicent_peris

  • PTeam Member
  • PixInsight Old Hand
  • ****
  • Posts: 594
    • View Profile
    • http://www.astrofoto.es/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #5 on: 2009 December 05 11: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.

h0ughy

  • PixInsight Addict
  • ***
  • Posts: 224
    • View Profile
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #6 on: 2010 February 16 03: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

avastro

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

Thanks

Antoine

NKV

  • PixInsight Old Hand
  • ****
  • Posts: 561
    • View Profile
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #8 on: 2010 May 17 14: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.

Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 3894
    • View Profile
    • http://pixinsight.com/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #9 on: 2010 May 17 17: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/

NKV

  • PixInsight Old Hand
  • ****
  • Posts: 561
    • View Profile
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #10 on: 2010 May 18 03: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.

NKV

  • PixInsight Old Hand
  • ****
  • Posts: 561
    • View Profile
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #11 on: 2010 May 18 08: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.

Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 3894
    • View Profile
    • http://pixinsight.com/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #12 on: 2010 May 18 10: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/

Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 3894
    • View Profile
    • http://pixinsight.com/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #13 on: 2010 May 18 10: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/

NKV

  • PixInsight Old Hand
  • ****
  • Posts: 561
    • View Profile
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #14 on: 2010 May 18 11: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.
  :)