New Processing Method to Boost a Weaker O3 Signal- Explained

9 replies1.1k views
Chris White- Overcast Observatory avatar
Here is my example image with this technique.  The description below can also be found accompanied with the image.




I've been working on a new method for amplifying weaker O3 signals in an image that will create a more natural looking O3 while reducing the impact of non-O3 regions of the image.  

In the past I have used methods where O3 was stretched more than HA/S2 prior to combination, or selectively masking the O3 areas and cranking up the saturation to make it more visible.  The challenge with these methods is that it is very difficult to generate a mask that will allow you to selectively saturate areas of an image without generating mask edge artifacts where some non-O3 signal is boosted while bordering areas of the same signal are not.  Color masks are also not effective at sampling areas of the image where the O3 is drowned out by Ha.  So using the method below will allow you to enhance O3 signal wherever it is in the image, not just where it is strongest. 

I prefer a lazier approach to processing.  What I mean by this, is that simple techniques that can be easily applied across the image without too much masking or complex processing gymnastics generally produce a more natural looking result.  I also like methods that can be used on separate data sets with minor tweaking of the application.

I recently developed a method to do just this for amplifying O3 regions in targets where Ha and S2 signal is overwhelming.  I adopted a PixelMath BoostFactor approach that I learned a few years ago from lightvortexastronomy where Ha signal can be blended into the red channel, which is particularly useful for blending in Ha into targets like M33 or M31 where there are knot like Ha features that can only truly be captured using a narrowband filter.  

Using this math I attempted to boost O3 by reapplying the O3 integration into my RGB combined narrowband image.  The problem is that it turned the O3 areas purple.  I could reclaim somewhat the colors I wanted but this required the processing gymnastics that I wish to avoid.  The "ahah" moment came when Alex Ranous described how he blended blue into an SHO image and to avoid the purple result he added the blue into the blue channel and subtracted it from the red channel.  It was kind of a face-slap moment for me and the miising piece to my technique.

So here is the process:
-Combine your narrowband channels as you like.
-Stretch your mono O3 channel to bring out the areas you wish to enhance.  Clip the areas in the O3 channel that you DONT wish to enhance by moving the shadows slider to the right in Histogram tranformation.  It will look something like below:


-Use this O3 channel as a MASK on the color image you wish to enhance.  This will ensure that the signal you are blending in is a perfect match for the color image.



-Use this following pixel math equation.  Raise or lower the boostfactor to taste.  (You need to replace "StretchedO3" with whatever your O3 integration is called. 

R: $T - ((StretchedO3 - Med(StretchedO3)) * BoostFactor)
G: $T
B: $T + ((StretchedO3- Med(StretchedO3)) * BoostFactor)

Symbol: BoostFactor=0.5



You can see the before and after below:




The result is a really nice enhancement of O3 in your image, while leaving the rest of the image alone.


One problem with using the O3 mask as it is, is that you will unevenly apply the O3 boost.  In areas that are weaker, you will get an compounded weaker application.  (The mask is fainter there as well as the signal you are boosting with).  If you find that you want a more even O3 boost, I suggest that you Binarize the O3 mask.  I was looking closely at my final result and realized that there is a lot of O3 overlap in the "mountainous" Ha Region.  So I binarized the O3 mask before I applied the boost pixel math.  The result was a more true O3 coverage.  Notice the overlap area below has a lot more O3 blue inside it.  I really love this transitional region.  It could be a cropped image of it's own.  The overall result is perhaps a little Bluer than I would prefer, however I left it as is to illustrate this process and result. 

Binarized Mask:



Overlap Region with nicely blended O3:

Helpful Respectful Engaging Supportive
Aygen avatar
Love it ! Already copy-pasted. Thank you Chris. 
Season’s greeting
Rick Laird avatar
Thank you for sharing. Great method
Jerry Yesavage avatar
Hi Chris,

Looks very interesting.  How would you compare it with the "dynamic" method that also enhances O-III.  That method is a lot more complex:

https://telescope.live/blog/dynamic-narrowband-combinations-pixelmath
Tim Hawkes avatar
I usually end up collecting more O3 data solely because of the O3 channel SNR problem in many HA regions 

Anyweay - Nice idea - especially with the use of the mask to prevent the addition of noise to elsewhere in the image.

Do you think that the AI RC-Astro NoiseXterminator is also a way forward here?  I tried using  it early in processing  (on the Ha, S2 and O3 channels individually  before combination) and it worked  well to improve SNR to the point that the O3 much better took the stretch.  Of the three signals I find that O3 tends to be the least 'detailed' usually being smeared over the hotter central regions in HA regions so I always think it more acceptable to blur its resolution relative to the S2 and HA  – whereas for Wolf Rayet's etc the O3 is usually much brighter as well as more structured?

Tim
Helpful Insightful Respectful Engaging
Chris White- Overcast Observatory avatar
Hi Chris,

Looks very interesting.  How would you compare it with the "dynamic" method that also enhances O-III.  That method is a lot more complex:

https://telescope.live/blog/dynamic-narrowband-combinations-pixelmath



Two different approaches.  I actually used a dynamic combination for the initial channel combination in this image.  It's a very clever way to handle data to achieve desirable color palettes as well as bring out the weaker O3 signal.  The limitation, in my experience, is that if you push too hard to bring out the O3 through a dynamic combination process is that you introduce a lot of noise, smear details in Ha structures as well as introduce color casts in the dimmer areas of the image.  Some of this can be mitigated by reapplying your Ha as luminance, but I think it is preferable (for me anyway) to create a cleaner more well balanced RGB from the onset.  So if using the dynamic combination method, that means more careful stretching, particularly with the O3 channel prior to combination. 

The method I've outlined here is a targeted boost of O3 that only impacts the O3 region of the image.  There is no systemic side effects, very little if any visual noise impact and preservation of details in Ha/S2.
Helpful Insightful Respectful Engaging
Chris White- Overcast Observatory avatar
Tim Hawkes:
I usually end up collecting more O3 data solely because of the O3 channel SNR problem in many HA regions 

Anyweay - Nice idea - especially with the use of the mask to prevent the addition of noise to elsewhere in the image.

Do you think that the AI RC-Astro NoiseXterminator is also a way forward here?  I tried using  it early in processing  (on the Ha, S2 and O3 channels individually  before combination) and it worked  well to improve SNR to the point that the O3 much better took the stretch.  Of the three signals I find that O3 tends to be the least 'detailed' usually being smeared over the hotter central regions in HA regions so I always think it more acceptable to blur its resolution relative to the S2 and HA  -- whereas for Wolf Rayet's etc the O3 is usually much brighter as well as more structured?

Tim



I agree, collect more data for your weaker channels.  I had 3.5 hours of Ha and S2 and 15 hour of O3 for this image.   Even then the O3 was so weak relative to the other channels.  You could literally make a decent Ha image of NGC1499 with a single 5 minute sub.  

I think NoiseX works great on both linear and non linear data. In general, I dont like to blur details in any narrowband channel.  Despite there being less structure in O3 typically, there are still features.  In the image above there is a wave like filaments and granular textures.  Similar to what you would find around NA/Pelican Nebulas.  For this image I used NoiseX, but very late in the process.  I think it was my second to last step on the final image.  Fortunately, NoiseX doesnt really smear details too much even when cranked up, so if you are finding that it is helpful for letting you stretch harder, then thats a good way to implement it's use.
Helpful Engaging Supportive
Dark Matters Astrophotography avatar
Hi Chris,

Looks very interesting.  How would you compare it with the "dynamic" method that also enhances O-III.  That method is a lot more complex:

https://telescope.live/blog/dynamic-narrowband-combinations-pixelmath



Two different approaches.  I actually used a dynamic combination for the initial channel combination in this image.  It's a very clever way to handle data to achieve desirable color palettes as well as bring out the weaker O3 signal.  The limitation, in my experience, is that if you push too hard to bring out the O3 through a dynamic combination process is that you introduce a lot of noise, smear details in Ha structures as well as introduce color casts in the dimmer areas of the image.  Some of this can be mitigated by reapplying your Ha as luminance, but I think it is preferable (for me anyway) to create a cleaner more well balanced RGB from the onset.  So if using the dynamic combination method, that means more careful stretching, particularly with the O3 channel prior to combination. 

The method I've outlined here is a targeted boost of O3 that only impacts the O3 region of the image.  There is no systemic side effects, very little if any visual noise impact and preservation of details in Ha/S2.



Good strategy. One small thing to look out for is that using HA as luminance can cause a severe problem in some data sets, and that is that the resulting area will have grayscale patches in it that look mono where there was signal in another channel and nothing there in the HA.
Helpful Concise
Chris White- Overcast Observatory avatar
Good strategy. One small thing to look out for is that using HA as luminance can cause a severe problem in some data sets, and that is that the resulting area will have grayscale patches in it that look mono where there was signal in another channel and nothing there in the HA.




I agree.  I've also seen it wash out the original Ha color data.  The classic pitfall of adding a luminance channel.  Reds become salmon color sort of thing (or whatever color mapping you have started with gets washed out). 

You've touched on a main reason I prefer not to crush the HA/S2 data with too strong of a dynamic combination using O3 as the reference.  It's always easier when you dont need to fix issues that you've introduced in your processing.   The final result is always weaker in my experience when you have to play "catch-up."
Well Written Insightful Respectful Concise
Chris White- Overcast Observatory avatar
One thing I will mention is that if your image has a bunch of tiny galaxies like the image above of NGC1499, that you will want to clonestamp the tiny galaxies out of the O3 mask, otherwise when you boost the O3 you will also boost the blue color in those galaxies.  You can see that in the image above, and it looks a little strange.  Not the end of the world, it is a false color image afterall, but just something to be aware of.
Helpful