How to extract all but brightest star

16 replies256 views
Paul Macias avatar

Hey everyone,

Was looking for ideas on how to extract all but the brightest star of a particular image. Specifically here, Gamma Cas (I think it’s Gamma Cas anyway).

ImageI’ve tried different methods of making masks, including a terrible clone stamp method which was horrible. Basically, my goal here is to have the very bright star sit alone with the other stars removed, and try to preserve as much of the halo/glow as I can.

I’m using pixinsight, and don’t have access to Photoshop. Thank you in advance.

Engaging
Tony Gondola avatar

Subtract the stars. That might get rid of the central point of the bright star if it isn’t totally wiped out but will certainly leave the extended glow intact. That by itself might do what you want.

andrea tasselli avatar
Have you tried the GAME script?
https://www.skypixels.at/pixinsight_scripts.html
This stuff is best done in the non-linear phase however.
Paul Macias avatar

Tony Gondola · Sep 29, 2025, 09:04 PM

Subtract the stars. That might get rid of the central point of the bright star if it isn’t totally wiped out but will certainly leave the extended glow intact. That by itself might do what you want.

You mean, extract the stars, then revert the extraction and just subtract the star image from the original?

Tony Gondola avatar

you should just try it but when you extract stars using Starnet, really big and bright stars with big halos will be left largely intact in the starless image. This is often a problem but it your case, it might work for you.

Dunk avatar

have you tried just masking the star you want to keep, and then using StarX or Starnet to remove everything else?

Concise
Paul Macias avatar

Dunk · Sep 30, 2025, 07:35 AM

have you tried just masking the star you want to keep, and then using StarX or Starnet to remove everything else?

Yes, however, this basically leads to the core remaining but the immediate halo being removed, which looks completely unnatural and odd looking. If I mask the immediate halo, the small stars within that area remain, which isn't really what I wanted to have happen (though it does have a slightly more appealing look all things considered, but still weird).

I could try masking the big star, and subtracting another mask that covers those small stars but, that might just leave weird holes anyway.

Masking stars (or inverse masking to leave stars exposed) always ends up badly for me.

In the end I'll just do a normal process of this anyway but, I guess I just wish I knew more about how the StarX and StarNet work so that I could do something to alter how it works in some cases.

Thank you everyone for your help. I'll keep trying. If I figure something out I'll share it here.

Respectful Supportive
andrea tasselli avatar
Is this what you are looking for?

Paul Macias avatar

andrea tasselli · Oct 1, 2025, 09:28 PM

Is this what you are looking for?

Yes! Basically that, more or less! How did you end up doing this?

andrea tasselli avatar
Starnet++ V.2
Paul Macias avatar

andrea tasselli · Oct 2, 2025, 06:55 AM

Starnet++ V.2

No masks or anything? StarNet removes the star for me and most of the bright part of the halo. I'll need to check if I have v2 though.

andrea tasselli avatar
No mask or anything. Default settings. Just post it somewhere where it can be downloaded and I can test it.
Tony Gondola avatar

Are you applying it before or after your stretch?

andrea tasselli avatar
Before.
Tony Gondola avatar

I think that’s the key to making this work.

Paul Macias avatar

I'm not at home right now, but I'll share a file tonight when I can.

Well Written
Paul Macias avatar

📷 image.pngimage.pngOk. So, it does look like StarNet is the way here. It only works for me in non-linear, and so now the trick is to try and get the other star halos removed. Should be easier though, thanks everyone!

Edit: Also, I realized after getting hours of this, that I really dislike my framing lol. In light of what I was trying to go for, I think having Gamma Cas in the middle and rotated would have been better, but I’ll try to make this work as is I guess.