Problems with blue stars when adding Ha to LRGB.

15 replies•290 views
Enrique Ojeda avatar

Hi! I would greatly appreciate your help. When I'm processing my LRGB_Ha image without stars, and then I want to add stars, I see that the blue stars change color slightly; they turn violet with a red center. This only happens when the Ha is added to my LRGB. In my LRGB, they appear perfectly blue. This is the PixelMath formula I'm using to add Ha in PixInsight:

R=max($T[0], 1.2*Ha)

G=$T[1]

B=iif($T[0]<Ha, $T[2] + 0.06*Ha, $T[2])

I would greatly appreciate any suggestions please.

Thank you.

CS!

Left: stars

Right: starless

📷 image.pngimage.png

Well Written Helpful Respectful Concise Engaging
Christian Bennich avatar

In your workflow, when and how do you screen stars back to your starless.

I cannot remember experiencing a similar problem, if I have unscreened my stars from my RGB image.

Enrique Ojeda avatar

Thanks for taking the time to reply. I stretch my RGB, L, and Ha master. Then I generate my LRGB. After that, I remove the stars and then add the Ha to the starless image. I also tried the same thing but without adding the L. Since I have my RGB_Ha and I add the stars from RGB, then I add the L master to my RGB_Ha. I use Pixel Math to add the stars back to my starless. In both cases, I have this problem. I don't know if it's because of the amount of Ha around the blue stars or if I'm just doing things wrong🙃. Thanks. CS!

Christian Bennich avatar

I assume you extract stars with starxterminator?

Personally, I prefer using Screenstars from https://cosmicphotons.com to reapply stars.

Arguably it’s “just” pixelmath - but it works for me.

Christian Bennich avatar

I think, when you “screen” the stars back, they are not “blended” in and would maintain their looks from the stars image

But maybe some underlying color makes them look slightly red ish.

Someone with more insights into those details can most likely chime in on that.

andrea tasselli avatar
Enrique Ojeda:
Thanks for taking the time to reply. I stretch my RGB, L, and Ha master. Then I generate my LRGB. After that, I remove the stars and then add the Ha to the starless image. I also tried the same thing but without adding the L. Since I have my RGB_Ha and I add the stars from RGB, then I add the L master to my RGB_Ha. I use Pixel Math to add the stars back to my starless. In both cases, I have this problem. I don't know if it's because of the amount of Ha around the blue stars or if I'm just doing things wrong🙃. Thanks. CS!

It depends on whether you screen the stars, use SXT or SN2 and how you add the stars back using pixelmath. Beside that I think the way you add Ha to R is questionable, same as adding Ha to B to mimic Hb.
Peter Hannah avatar

I think we need a little more detail in order to be of help.

For example, when combining your Ha are you doing continuum subtraction first?

How are you combining your Lum with the RGB - are you using ImageBlend, or LRGBCombination, or something else?

And when you use PixelMath to recombine the stars, are you doing a straight addition or a re-screen? (assuming you unscreened when removing them)?

It might be worth trying one or two different ways to combine, such as NBRGBCombination and compare results.

Well Written Helpful Insightful Respectful Engaging Supportive
Enrique Ojeda avatar

Christian Bennich ¡ Jan 9, 2026, 05:42 AM

I think, when you “screen” the stars back, they are not “blended” in and would maintain their looks from the stars image

But maybe some underlying color makes them look slightly red ish.

Someone with more insights into those details can most likely chime in on that.

Thanks a lot Christian.

Enrique Ojeda avatar

Christian Bennich ¡ Jan 9, 2026, 05:39 AM

I assume you extract stars with starxterminator?

Personally, I prefer using Screenstars from https://cosmicphotons.com to reapply stars.

Arguably it’s “just” pixelmath - but it works for me.

Interesting. I use StarXterminator. I'll try the script you mentioned. Thanks! CS!

Enrique Ojeda avatar

andrea tasselli ¡ Jan 9, 2026, 07:44 AM

It depends on whether you screen the stars, use SXT or SN2 and how you add the stars back using pixelmath. Beside that I think the way you add Ha to R is questionable, same as adding Ha to B to mimic Hb.

Thanks, Andrea. I'll look online for more processing techniques. The strange thing is that this doesn't happen with other images, and I'm using the same workflow I learned on YouTube. I'll try other methods... maybe it's the object I want to process, maybe it's complicated (IC2118) and requires more skill, I really don't know =). CS!

Enrique Ojeda avatar

Peter Hannah ¡ Jan 9, 2026, 09:24 AM

I think we need a little more detail in order to be of help.

For example, when combining your Ha are you doing continuum subtraction first?

How are you combining your Lum with the RGB - are you using ImageBlend, or LRGBCombination, or something else?

And when you use PixelMath to recombine the stars, are you doing a straight addition or a re-screen? (assuming you unscreened when removing them)?

It might be worth trying one or two different ways to combine, such as NBRGBCombination and compare results.

Thanks Peter.

“For example, when combining your Ha are you doing continuum subtraction first?”

I simply add the starless from Ha to my RGB starless using the formula I mention in PixelMath.

“How are you combining your Lum with the RGB - are you using ImageBlend, or LRGBCombination, or something else?”

LRGBCombination

“And when you use PixelMath to recombine the stars, are you doing a straight addition or a re-screen? (assuming you unscreened when removing them)?”

I simply add my stars to my RGB_Ha starless.

I'll investigate more techniques to see if I can find the problem. Thank you very much. CS!

andrea tasselli avatar
Enrique Ojeda:
I simply add my stars to my RGB_Ha starless


If you used SXT with "unscreen" tab selected (as it should) then that's the reason why. The pixelmath formula is ~((~starless)*(~stars))
Enrique Ojeda avatar

andrea tasselli ¡ Jan 9, 2026, 02:56 PM

If you used SXT with "unscreen" tab selected (as it should) then that's the reason why. The pixelmath formula is ~((~starless)*(~stars))

Hi! That option isn't selected by default, and I always run SXT without enabling it. Do you suggest enabling it before applying SXT? Thanks! CS!

andrea tasselli avatar
Yes, Very much so.
Stu Todd avatar

Enrique Ojeda ¡ Jan 9, 2026, 04:30 AM

Hi! I would greatly appreciate your help. When I'm processing my LRGB_Ha image without stars, and then I want to add stars, I see that the blue stars change color slightly; they turn violet with a red center. This only happens when the Ha is added to my LRGB. In my LRGB, they appear perfectly blue.

Hi Enrique,

I think the issue arises because you are adding a red channel (Ha) to an image with red already in it.

When you stretch your RGB and Ha data, aim for a 50% background count, then when combined they don’t swamp eachother. You could also try ImageBlend, varying the Ha to suit.

Helpful Concise
Enrique Ojeda avatar

Stu Todd ¡ Jan 10, 2026, 12:47 AM

Enrique Ojeda ¡ Jan 9, 2026, 04:30 AM

Hi! I would greatly appreciate your help. When I'm processing my LRGB_Ha image without stars, and then I want to add stars, I see that the blue stars change color slightly; they turn violet with a red center. This only happens when the Ha is added to my LRGB. In my LRGB, they appear perfectly blue.

Hi Enrique,

I think the issue arises because you are adding a red channel (Ha) to an image with red already in it.

When you stretch your RGB and Ha data, aim for a 50% background count, then when combined they don’t swamp eachother. You could also try ImageBlend, varying the Ha to suit.

Thank you very much Stu. I'll look into that option. Cheers! CS!

Well Written Respectful
Related discussions
Astro pixel Processor - How to combine a OSC broadband image and Extracted Ha and OIII from a dualband filter?
Hello All, I have a 2600MC-pro and have been using APP for a couple of years. I normally am only using 1 filter so no issues stacking. APP has been great. Now I would now like to take broadband subs and add the Extracted Ha and OIII from my antlia AL...
Sep 5, 2025
Both posts discuss techniques for combining hydrogen-alpha (Ha) data with broadband color images to enhance astrophotography results.
Comet Lemmon Data Up for Review – Banding / Pixelation Issue
I’m returning to DSO astrophotography after nearly eight years away, and needless to say, my PixInsight skills needed quite a bit of refreshing. I’m using the same setup as before, but I’ve switched to a Sony A7 IV DSLR for imaging because of its ver...
Oct 14, 2025
Both posts discuss technical challenges with PixInsight software for processing deep-sky astrophotography images.