Author Topic: Classic Star Mask Script  (Read 1506 times)

Silvercup

  • PixInsight Addict
  • ***
  • Posts: 187
    • View Profile
Classic Star Mask Script
« on: 2011 September 12 14:01:18 »
Hi all:

As creating a star mask using the classic AtrousWavelets method is a tedious process, I wrote a little script that simplifies the process. The script tries to catch all the small and medium stars, but in return can remain a little nebulosity. The script works with stretched images.

I put the script in a Zip file.

And also some results of stars reduction in the first image I get. I do 3 iterations of MT with a new StarMask generated with the Script in each one.






I hope it's useful. Tell me if I can improve it.

Greetings. Silvercup.




Hola a todos:

Como generar una máscara de estrellas mediante el método clasico con AtrousWavelets es un proceso tedioso, he escrito un pequeño script que simplifica el proceso. El script intenta pillar todas las estrellas pequeñas y medianas, pero como contrapartida puede que quede algo de nebulosidad. El script funciona con imagenes estiradas.

Dejo el script en un archivo .zip.

Y tambien unas pruebas de una reducción de estrellas de la primera imagen que he pillado. Tres iteraciones de MT cada una con una máscara de estrellas generada por el script. (Mirar arriba)

Espero que sea util y me digais si se puede mejorar.

Saludos. Silvercup.

Enzo De Bernardini

  • PixInsight Addict
  • ***
  • Posts: 213
  • Resistance is futile.
    • View Profile
    • Astronomía Sur
Re: Classic Star Mask Script
« Reply #1 on: 2011 September 12 23:04:32 »
Nice and handy :) Thanks!
Orion SkyviewPro 8" F/5
Orion Shortube 80 mm F/5
Canon EOS 300D
http://astrosurf.com/astronosur

jtheios

  • Newbie
  • Posts: 20
    • View Profile
Re: Classic Star Mask Script
« Reply #2 on: 2011 September 13 06:27:14 »
Works like a charm! Thanks so much.
-- John

Alejandro Tombolini

  • PixInsight Old Hand
  • ****
  • Posts: 516
    • View Profile
    • Próxima Sur
Re: Classic Star Mask Script
« Reply #3 on: 2011 September 13 11:55:10 »
Hola Silvercup, está buenisimo!, muchas gracias.
He notado que  al generar una segunda máscara no es igual que la primera, y las sucesivas quedan como la segunda.

Saludos, Alejandro.
Alejandro Tombolini
William Optics 5" - Canon 450 - Canon 5DIII

Silvercup

  • PixInsight Addict
  • ***
  • Posts: 187
    • View Profile
Re: Classic Star Mask Script
« Reply #4 on: 2011 September 13 13:55:07 »
Hola Alejandro:

Asegurate de cerrar la máscara o cambiar el ID de la misma. El script utiliza dos imagenes con los identificadores MaskView y AuxMaskView (esta ultima se cierra sola). Si MaskView esta abierta no se podrá rehacer la máscara.

Saludos. Silvercup



Hello Alejandro:

Make sure you close the mask or change the ID. The script uses two images with MaskView and AuxMaskView identifiers (this last one is self closed). If MaskView is opened you can not redo the mask.

Greetings. Silvercup

jeffweiss9

  • PixInsight Addict
  • ***
  • Posts: 207
    • View Profile
Re: Classic Star Mask Script
« Reply #5 on: 2011 September 15 04:00:20 »
Silvercup-
  Great script.  However, it retained a bit too much of my target's luminosity.  Is there a way to add a parameter to control that so it can be tweaked per image?
-Jeff
APM LZOS 130/780 f/6 LW CNC II APO, SVR90T APO, AT66ED, EM-200 Temma2, ST2000XM, Astrodon I Gen 2 filters

jeffweiss9

  • PixInsight Addict
  • ***
  • Posts: 207
    • View Profile
Re: Classic Star Mask Script
« Reply #6 on: 2012 January 11 03:58:30 »
Silvercup-
     I found this to be a great script but after substituting HDRMultiscaleTransform for the obseleted HDRWaveletTransform which was not left in for backward compatibility, it doesn't seem to work as well.  It seems to include much more of the nebulosity now.  Is there another change required other than the name substitution ?
Thanks,
-Jeff
APM LZOS 130/780 f/6 LW CNC II APO, SVR90T APO, AT66ED, EM-200 Temma2, ST2000XM, Astrodon I Gen 2 filters

jeffweiss9

  • PixInsight Addict
  • ***
  • Posts: 207
    • View Profile
Re: Classic Star Mask Script
« Reply #7 on: 2012 January 14 20:10:28 »
Actually, I retract the previous as the ClassicStarMask script is working just fine if you replace the HDRWaveletTransform occurrences with HDRMultiscaleTransform.   It invokes the HDR Wavelet Transform option of the HDRMultiscaleTransform process according to the Process Console.
-Jeff
APM LZOS 130/780 f/6 LW CNC II APO, SVR90T APO, AT66ED, EM-200 Temma2, ST2000XM, Astrodon I Gen 2 filters