Author Topic: Star Mask question  (Read 2464 times)

Offline tloebl

  • PixInsight Addict
  • ***
  • Posts: 137
Star Mask question
« on: 2017 January 03 16:11:24 »
Might have been asked before but I had not found it.

Is there a way to monitor star mask while making parameter adjustments, as you can do with Linear Mask for MLT, otherwise it's strictly laborious "try, then erase" over and over till the desired effect is achieved.

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: Star Mask question
« Reply #1 on: 2017 January 03 16:41:46 »
Hi,
You cannot monitor it directly but you can generate a StarMask applying default values of StarMask process over a linear image and fine tune some parameters in order to adjust the result. In general big stars on linear image are not included with default parameters of the process and it can be adjusted increasing the "Scale" value. Higher values of Scale will include larger structures in the generated star mask.
The Structure Growth section on the StarMask tool allow to control the protection of large and small structures in the mask, if you need to extend the area of protection only on the largest stars it has to be increased the "Large-scale" parameter which apply mask protection to larger regions in the image, and at the same time you can control the growth of protection of small stars by decreasing "Compensation" value, or even setting it to cero.
Further processing of the mask can also be done within the StarMask module. If it is needed to increase the protection (higher values in the 0-1 range) you can use "Truncation". Decreasing this value improve protection in the core of the mask structures. Values of 0.5 to 0.3 are enough to have a good protection of stars cores of big stars.
If your image is non linear, also start generating a StarMask applying default values of StarMask process and then fine tune them.
The default "Noise threshold" parameter of the StarMask process generaly generate  a mask with a lot of background detected as stars. So the first action will be to adjust this parameter, you have to increase the value in order to prevent the inclusion of noise and fine tune it to adjust the result, checking that the detected stars of the mask are realy stars but not noise.
In general big stars on non linear image are not included with default "Scale" parameters of the process and it has to be adjusted. Higher values of Scale include larger structures in the generated StarMask.
Hope this helps.
Saludos, Alejandro

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: Star Mask question
« Reply #2 on: 2017 January 03 16:44:26 »
There is no direct preview but what you can do is make a small preview with a good representative group of stars in the preview. Then I drag that preview out onto the workspace. You can then run StarMask on the new image extremely fast and fine tune your settings.


Mike

Offline tloebl

  • PixInsight Addict
  • ***
  • Posts: 137
Re: Star Mask question
« Reply #3 on: 2017 January 04 11:04:34 »
Thanks guys. Good information.