Jump to content

Banner.jpg.b83b14cd4142fe10848741bb2a14c66b.jpg

Help adding Ha to RGB


Recommended Posts

Hi,

 

I got 4 hours on LDN1586 in Ha and really like what I have - so much so that I went back to get some RGB data for the stars with the intention of adding the 2 together.  Im a bit stumped though!  At this point in still in the Linear stage - I combined the RGB, did DBE and Colour Correction, then Blur and Noise X Terminator.  Then I extracted the Red channel, linear matched by Ha to the Red channel and did a combine with Pixel Maths but the result is rubbish!  Is there a better formula than 0.75XRed + 0.25XHa that I can use?  I think I want something like if the Ha is brighter than Red then take its value, else take the Red channel value.  Just noticed I have some colour casts in RGB but I think this is 'cos I'm stretching it so much to make it match the Ha data - wonder if I remove the stars from the Ha data, extract the red channel and remove everything but the stars from Red then add Ha and Red together then bring that back into the RGB image?image.thumb.png.b8794f6d855db426ab1c719aa2b6ccd6.png

Link to comment
Share on other sites

This has just come up in a recent and similar thread.  I explained how I do it in Photoshop using blend modes Lighten or Screen and another member provided the equivalent formulae for use in pixelmath.

To follow up on Olly's post above, pixelmath expressions for those two blend modes are

max(img1,img2)

~(~img1*~img2)

The thread is here: 

I've never done this in PI but perhaps it will help.

Olly

Link to comment
Share on other sites

On 19/01/2023 at 09:11, blinky said:

I think I want something like if the Ha is brighter than Red then take its value, else take the Red channel value.

As above, this could be done fairly simply with the max operator in pixelmath:

max(red,ha)

You can experiment with different degrees of stretch and masks to get the effect you're after, if you're not happy with the initial result. 

My actual preferred way to add Ha to RGB is with a pixelmath formula detailed in the book Mastering Pixinsight, but it's far too complicated for my tiny mind to attempt to recite it from memory!! 😁

Link to comment
Share on other sites

On 19/01/2023 at 10:11, blinky said:

I think I want something like if the Ha is brighter than Red then take its value, else take the Red channel value.

Be careful with this, it rarely is this simple. First you need to make sure that the Ha and Red background are similar. Next you need to have approximately the same noise level, or the max function will make the image noisier. If the Ha is noisier and generally weaker/darker than the red, the max function will only return the red plus the noise from Ha in the dark areas.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.