Author Topic: StarTrailsBlending Script  (Read 12093 times)

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
StarTrailsBlending Script
« on: 2010 July 31 16:06:19 »
(en español más abajo)

Hello,

I want to share with you one of the first scripts in which I worked. It's simply a way to create star-trails images from individual frames. This script blend a set of consecutive short shots, creating the complete trails (see screenshot attached). You can do the same (and probably better) with ImageIntegration, but the extra bonus of script is this: you can save intermediate results, and, for example, create later an animation like this small example:



(ok, the script don't create the animation itself, but you can do this with a variety of applications, like Picasa time-lapse functions, using the generated intermediate frames)

I tried it with star-trails images as well as time-lapse frames and no-aligned deep-sky images to study drift or periodic error.

I have based much of this script in other scripts previously written by Juan, so much of the credit goes to him, of course.

I hope you enjoy it, and be patient, this is the first script to open public.  ;)

Best regards,

Enzo.

UPDATE Aug 8, 2010: Fixed some bugs about filenames.

--

Hola,

Quiero compartir con ustedes uno de los primeros scripts en los que estuve trabajando. Se trata de una manera simple de crear imágenes de trazos estelares (star-trails) a partir de imágenes individuales. El script une el set de imágenes consecutivas cortas, creando los trazos completos (ver la captura de pantalla adjunta) Pueden hacer lo mismo (y seguramente de mejor forma) con ImageIntegration, pero el premio extra del script es el siguiente: pueden guardar los resultados intermedios y, por ejemplo, crear luego una animación como este pequeño ejemplo:



(ok, el script no crea la animación en sí, pero pueden hacer esto con una variedad de aplicaciones, como con las funciones de time-lapse de Picasa usando las imágenes intermedias generadas)

Lo he probado tanto con imágenes de trazos estelares, así como en frames de time-lapse, y en imágenes de cielo profundo no-alineadas para estudiar deriva o error periódico.

He basado mucho de este script en scripts previos escritos por Juan, por ello mucho del crédito es para él, por supuesto.

Espero que les guste, y tengan paciencia, este es el primer script que hago público abiertamente.  ;)

Saludos,

Enzo.

ACTUALIZACIÓN Ago 8, 2010: Corregidos algunos errores relacionados con los nombres de archivo.
« Last Edit: 2010 August 07 11:41:46 by Enzo De Bernardini »

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: StarTrailsBlending Script
« Reply #1 on: 2010 July 31 16:51:55 »
Very nice Enzo. I will try it soon!
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: StarTrailsBlending Script
« Reply #2 on: 2010 August 01 13:38:35 »
Very very nice Enzo. Welcome to PixInsight development! Wow, lots of interesting development projects these days! Great!  8)
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline h0ughy

  • PixInsight Addict
  • ***
  • Posts: 226
Re: StarTrailsBlending Script
« Reply #3 on: 2010 August 01 21:50:24 »
I have previously relied on startrails.de to do this work - have downloaded it and will give it a go - I have a few existing startrails that i can try to see how it works.  Fantastic work
Doghouse Observatory

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
Re: StarTrailsBlending Script
« Reply #4 on: 2010 August 02 08:31:15 »
Thanks guys!. I hope that is helpful.  :D

I was thinking about optimization in MasterDark subtraction: given that I used Max function in PixelMath, is equivalent subtract the MasterDark only from final result? Currently the script substract the MasterDark from each lightframe. Subtract it only from final result would accelerate the process in these cases. Maybe add an option for choose?

Yesterday I made a video (really short, dew problems that night, only 10 frames) with my original frames. Links: video - original trails image (before PI script, I use StarTrails software too).

Best regards,

Enzo.

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: StarTrailsBlending Script
« Reply #5 on: 2010 August 18 11:29:13 »
Hi Enzo

Although I have the feeling that it is not exactly the same, since you are using the same dark to all the images, and there will be no scalation, the results will be seen as equal. Give that a try.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Nigel Ball

  • PixInsight Addict
  • ***
  • Posts: 277
    • Astrophotography by Nigel
Re: StarTrailsBlending Script
« Reply #6 on: 2012 April 27 01:13:57 »
Hi Enzo

Thanks for the script, it works very well on my first trials with time laps on my Nikon D200  ;)

Can anybody recomend firstly, the best software to create an animated movie to show the movement of the stars across the sky and secondly is there any software out there that creates a movie where the stars become gradually increasing arcs across the sky?

Thanks in advance

Nigel
« Last Edit: 2012 April 27 09:59:11 by Nigel Ball »
Nigel Ball
Nantwich, Cheshire, United Kingdom

Takahashi FSQ-106 at f/8, f/5 and f/3.6 on AP900, Nikon 28 mm and 180mm f/2.8
SBIG STL-11000M, Astrodon LRGB, 5nm Ha
ST-10XME, Astrodon HaLRGB
www.nigelaball.com

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: StarTrailsBlending Script
« Reply #7 on: 2012 April 27 01:17:10 »
I am creating movies with Windows Movie Maker, a free add on to Windows http://windows.microsoft.com/en-US/windows-live/movie-maker-get-started . Load your jpegs, change the time between images, export, you are done.
Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline chris_todd

  • PixInsight Enthusiast
  • **
  • Posts: 89
    • I don't have hobbies, I have obsessions...
Re: StarTrailsBlending Script
« Reply #8 on: 2012 April 27 07:34:33 »
Cool, I never knew this script existed, I'll have to try it out.  I've seen, but not yet used, the StarTrails software, but I'll try this script first.

Nigel, for time lapse construction on a Mac, I just use QuickTime Pro.  File-->Open Image Sequence, choose the first image in the sequence, pick your frame rate (I find 15 fps works well for my one minute exposures), go get a cup of coffee, then export your movie and you're done.

Uncooled, unmodified Canon T2i/550D, various lenses, and AstroTrac TT320X-AG
I don't have hobbies, I have obsessions...

Offline jnarro

  • Newcomer
  • Posts: 13
Re: StarTrailsBlending Script
« Reply #9 on: 2015 January 15 13:55:40 »
Hola Enzo, quisiera aplicar tu script, pero el post en el que veo tu animacion no trae ninguna liga, me puedes decir como lo puedo bajar y poner en PI?

Agradezco mucho tu ayuda

Jose

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
Re: StarTrailsBlending Script
« Reply #10 on: 2015 January 15 19:36:27 »
Hola José,

Podrás encontrar el link de descarga al final de primer post (o click aquí, he copiado el mismo link)

Saludos!,

Enzo.

Offline jnarro

  • Newcomer
  • Posts: 13
Re: StarTrailsBlending Script
« Reply #11 on: 2015 January 24 07:14:29 »
Hola José,

Podrás encontrar el link de descarga al final de primer post (o click aquí, he copiado el mismo link)

Saludos!,

Enzo.

Muchas Gracias Enzo
(en español más abajo)

Hello,

I want to share with you one of the first scripts in which I worked. It's simply a way to create star-trails images from individual frames. This script blend a set of consecutive short shots, creating the complete trails (see screenshot attached). You can do the same (and probably better) with ImageIntegration, but the extra bonus of script is this: you can save intermediate results, and, for example, create later an animation like this small example:



(ok, the script don't create the animation itself, but you can do this with a variety of applications, like Picasa time-lapse functions, using the generated intermediate frames)

I tried it with star-trails images as well as time-lapse frames and no-aligned deep-sky images to study drift or periodic error.

I have based much of this script in other scripts previously written by Juan, so much of the credit goes to him, of course.

I hope you enjoy it, and be patient, this is the first script to open public.  ;)

Best regards,

Enzo.

UPDATE Aug 8, 2010: Fixed some bugs about filenames.

--

Hola,

Quiero compartir con ustedes uno de los primeros scripts en los que estuve trabajando. Se trata de una manera simple de crear imágenes de trazos estelares (star-trails) a partir de imágenes individuales. El script une el set de imágenes consecutivas cortas, creando los trazos completos (ver la captura de pantalla adjunta) Pueden hacer lo mismo (y seguramente de mejor forma) con ImageIntegration, pero el premio extra del script es el siguiente: pueden guardar los resultados intermedios y, por ejemplo, crear luego una animación como este pequeño ejemplo:



(ok, el script no crea la animación en sí, pero pueden hacer esto con una variedad de aplicaciones, como con las funciones de time-lapse de Picasa usando las imágenes intermedias generadas)

Lo he probado tanto con imágenes de trazos estelares, así como en frames de time-lapse, y en imágenes de cielo profundo no-alineadas para estudiar deriva o error periódico.

He basado mucho de este script en scripts previos escritos por Juan, por ello mucho del crédito es para él, por supuesto.

Espero que les guste, y tengan paciencia, este es el primer script que hago público abiertamente.  ;)

Saludos,

Enzo.

ACTUALIZACIÓN Ago 8, 2010: Corregidos algunos errores relacionados con los nombres de archivo.