Author Topic: m17 - starmask difficulty  (Read 9079 times)

Offline mmnb

  • Member
  • *
  • Posts: 74
m17 - starmask difficulty
« on: 2020 January 23 10:33:58 »
Lately I've found it pretty easy to create starmasks with MLT (I used to have a really hard time with the star mask tool, trying to get the noise threshold just right). My typical workflow has been to create a small star mask with MLT, a big star mask with range selection, take the max of those to make a final star mask.  I then take the lightness channel, lo pass filter it, stretch, paint out rings from bright stars and then subtract the star mask to make the nebulosity mask.  In some nebulas I will use the red channel instead of lightness to get a better nebula "shape".

This linear M17 image (Hyperstar C14, EOS 60Da ~20 exposures) has been processed up to PCC. I am having a lot of trouble getting a good starmask....making the threshold low picks up nebulosity (there are some really bright regions in there....I am honestly not sure if they are poorly resolved stars?).  Is the right solution to clone paint that stuff away?  Or am I just not making star masks competently? 


https://drive.google.com/open?id=1vtFBJJ8RWCDvykjMt3kClM6vfWTrzp5a

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: m17 - starmask difficulty
« Reply #1 on: 2020 January 23 11:32:46 »
you might try using the StarNet module to make star masks. pretty foolproof if you can get it installed.

rob

Offline mmnb

  • Member
  • *
  • Posts: 74
Re: m17 - starmask difficulty
« Reply #2 on: 2020 January 23 14:55:40 »
I installed Starnet a few months ago, I haven't had great success with it in my hands.

I extracted the L channel, stretched and then did an MLT-based star mask and a Starnet++ one (binarizing both representatively).  I miss some stars in both, but Starnet++ misses more and gives some weird looking artifacts.

I am always surprised that more people don't have trouble with star masks, makes me wonder if it is just me.

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: m17 - starmask difficulty
« Reply #3 on: 2020 January 23 15:13:01 »
well you can of course add together the two masks you've generated if there are some stars that StarNet picked up but MLT didn't.

i think generally when you have stars that are buried in nebulosity it's a tall order to dig out the stars. it can be done, but it may require tweaking a copy of the original image to first produce more contrast between the stars and nebula.

rob

Offline mmnb

  • Member
  • *
  • Posts: 74
Re: m17 - starmask difficulty
« Reply #4 on: 2020 January 23 15:23:36 »
ok, I feel better knowing that pulling out some of those stars does indeed take a bit more effort.
stretching and getting rid of the last dregs of nebulosity with clone painting seem to do the job for me mostly.


Offline hvb356

  • PixInsight Enthusiast
  • **
  • Posts: 77
Re: m17 - starmask difficulty
« Reply #5 on: 2020 January 23 23:31:12 »
You may try MaskGen.js
TOA-150, ML8300, CFW2-7 w. Astronomik HaLRGB, PDF, EM-400, guiding FS-60 + ST402, ASCOM bsd. image acquisition

Offline Herbert_W

  • PixInsight Addict
  • ***
  • Posts: 204
    • Skypixels - Astrophotography by Herbert Walter
Re: m17 - starmask difficulty
« Reply #6 on: 2020 January 23 23:43:47 »
Hi,

yes, GAME MaskGen is the solution.
Set the parameters carefully and you have a perfect star mask :-)





Best regards!
Herbert, Austria
« Last Edit: 2020 January 24 00:03:09 by Herbert_W »

Offline hvb356

  • PixInsight Enthusiast
  • **
  • Posts: 77
Re: m17 - starmask difficulty
« Reply #7 on: 2020 January 23 23:59:38 »
Dear Herbert, did you say GAME?
Hartmut
TOA-150, ML8300, CFW2-7 w. Astronomik HaLRGB, PDF, EM-400, guiding FS-60 + ST402, ASCOM bsd. image acquisition

Offline Herbert_W

  • PixInsight Addict
  • ***
  • Posts: 204
    • Skypixels - Astrophotography by Herbert Walter
Re: m17 - starmask difficulty
« Reply #8 on: 2020 January 24 00:03:57 »
Hello Hartmut!
Sorry ... my mistake.
GAME ist another great Script from HvB ...  ;)

Offline freed

  • Newcomer
  • Posts: 19
Re: m17 - starmask difficulty
« Reply #9 on: 2020 January 24 06:27:00 »
Maskgen is a really cool script. In particular, you can pick which stars to mask by magnitude which can be vey useful.

Offline mmnb

  • Member
  • *
  • Posts: 74
Re: m17 - starmask difficulty
« Reply #10 on: 2020 January 24 12:28:54 »
Very very nice.  I thought the offset was due to my collimation error...but it really looks offset after blinking the mask...
Hmmmm wonder why the astrometric solution seem to be off slightly (I used PCC to get the astrometric solution...having trouble grabbing coordinates from my original images for some reason).

Offline hvb356

  • PixInsight Enthusiast
  • **
  • Posts: 77
Re: m17 - starmask difficulty
« Reply #11 on: 2020 January 24 13:35:47 »
Please check imagesolver distortion correction and solve with higher magnitudes (16..17)
TOA-150, ML8300, CFW2-7 w. Astronomik HaLRGB, PDF, EM-400, guiding FS-60 + ST402, ASCOM bsd. image acquisition

Offline mmnb

  • Member
  • *
  • Posts: 74
Re: m17 - starmask difficulty
« Reply #12 on: 2020 January 24 14:35:46 »
That fixed it.

Easy to manually fix...but I am ignorant about why there seem to be a few reasonably bright stars missing from the mask?
Just not in the catalog for some reason?

Offline hvb356

  • PixInsight Enthusiast
  • **
  • Posts: 77
Re: m17 - starmask difficulty
« Reply #13 on: 2020 January 25 00:29:58 »
Dear friend,
that's good. The "bright star" at pixel coordinates 329, 141 is probably an infrared object named WISEA J182007.42-161830.6 .  Candidates for IrS are in general the Sun and the planets, certain stars, nebulae, and galaxies.
Thank you.
« Last Edit: 2020 January 25 01:38:18 by hvb356 »
TOA-150, ML8300, CFW2-7 w. Astronomik HaLRGB, PDF, EM-400, guiding FS-60 + ST402, ASCOM bsd. image acquisition

Offline mmnb

  • Member
  • *
  • Posts: 74
Re: m17 - starmask difficulty
« Reply #14 on: 2020 January 25 10:11:36 »
Thank you for doing this for me, I just presumed that IR objects wouldn't show up.
Thanks for all the great advice, perhaps I can stop complaining about star masks now :)