Author Topic: DynamicStarMask Script (a start)  (Read 4869 times)

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
DynamicStarMask Script (a start)
« on: 2010 October 08 18:33:49 »
Hello,

I want to present an idea. This is a script to create stars mask for process of complicated stars. Is simple: double click on the preview image to add new stars. Drag to move the preview. You can change the diameter of each star to draw, and adjust the overall intensity (highlight). Each star is plotted as a gradient from the center of the coordinates. The preview will display a green circle over target image for each star plotted. Press "OK" to generate the image that will serve as a mask. You can also make a process icon to edit later.

The script have something I could not fix :-[ : an harmless error at the end of its execution. Honestly, I am in my current limit of knowledge in PJSR. That's why I'm looking for a volunteer who want to improve the work. I'm sure many things can be optimized, but wanted to share with all you this start. Please feel free to modify the code, add your credits on it, and republish.

I want to express my gratitude to Georg, who has assisted me to start the idea. Thanks! :D

Attached: screenshot and the script file.

Best regards,

Enzo.

Offline Silvercup

  • PixInsight Addict
  • ***
  • Posts: 187
Re: DynamicStarMask Script (a start)
« Reply #1 on: 2010 October 09 07:19:33 »
Hi:

A very useful tool.

It has a bug so PI crash.

Best, Silvercup

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
Re: DynamicStarMask Script (a start)
« Reply #2 on: 2010 October 09 08:17:52 »
It has a bug so PI crash.

Humm...strange, works for me (PI 1.6.1, Win XP 32) Sorry for the inconvenience :-[ If someday I get to fix it, I publish it again.

Best,

Enzo.