PixInsight Forum (historical)

Software Development => New Scripts and Modules => Topic started by: Enzo De Bernardini on 2010 July 31 16:06:19

Title: StarTrailsBlending Script
Post by: Enzo De Bernardini 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:

(http://astrosurf.com/astronosur/galeria/StarTrailsBlending_anim_1.gif)

(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:

(http://astrosurf.com/astronosur/galeria/StarTrailsBlending_anim_1.gif)

(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.
Title: Re: StarTrailsBlending Script
Post by: georg.viehoever on 2010 July 31 16:51:55
Very nice Enzo. I will try it soon!
Title: Re: StarTrailsBlending Script
Post by: Juan Conejero 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)
Title: Re: StarTrailsBlending Script
Post by: h0ughy 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
Title: Re: StarTrailsBlending Script
Post by: Enzo De Bernardini 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 (http://astrosurf.com/astronosur/galeria/Trazos_20100516_video.htm) - original trails image (http://astrosurf.com/astronosur/galeria/Trazos_20100516.htm) (before PI script, I use StarTrails software too).

Best regards,

Enzo.
Title: Re: StarTrailsBlending Script
Post by: Carlos Milovic 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.
Title: Re: StarTrailsBlending Script
Post by: Nigel Ball 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
Title: Re: StarTrailsBlending Script
Post by: georg.viehoever 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
Title: Re: StarTrailsBlending Script
Post by: chris_todd 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.

Title: Re: StarTrailsBlending Script
Post by: jnarro 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
Title: Re: StarTrailsBlending Script
Post by: Enzo De Bernardini on 2015 January 15 19:36:27
Hola José,

Podrás encontrar el link de descarga al final de primer post (o click aquí (http://pixinsight.com/forum/index.php?action=dlattach;topic=2122.0;attach=817), he copiado el mismo link)

Saludos!,

Enzo.
Title: Re: StarTrailsBlending Script
Post by: jnarro on 2015 January 24 07:14:29
Hola José,

Podrás encontrar el link de descarga al final de primer post (o click aquí (http://pixinsight.com/forum/index.php?action=dlattach;topic=2122.0;attach=817), 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:

(http://astrosurf.com/astronosur/galeria/StarTrailsBlending_anim_1.gif)

(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:

(http://astrosurf.com/astronosur/galeria/StarTrailsBlending_anim_1.gif)

(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.