PixInsight Forum (historical)

PixInsight => General => Off-topic => Topic started by: Nigel Ball on 2010 September 19 10:50:51

Title: Processing Narrowband in Hubble Palette
Post by: Nigel Ball on 2010 September 19 10:50:51
I've looked on the Forum and on the PI website but I cannot find a guide to combining and processing Narrowband in the HST palette

I must admit I can hardly see at the moment after a marathon session processing my Ha, SII and OIII subs from the last few months  :surprised:

I've combined them using the LRGB Combination function to give me my base Hubble image but I cannot find the tools to tweak the colour. In CS4 I'd use the Selective Colour tweaking the Greens, Yellows and Cyans to get the golden colours .....

Actually I don't think I'm that far off in colour

After this I've got the RGB stars to add in .....

Title: Re: Processing Narrowband in Hubble Palette
Post by: Enzo De Bernardini on 2010 September 19 15:24:38
This is a beautiful image Nigel!.

Maybe you can try using CurvesTransformation, down the left side of the Hue curve with several points.

Enzo.
Title: Re: Processing Narrowband in Hubble Palette
Post by: Nocturnal on 2010 September 19 16:11:12
Really spooky Nigel! Did you use flats?
Title: Re: Processing Narrowband in Hubble Palette
Post by: Nigel Ball on 2010 September 19 16:18:27
Did you use flats?

Yes ... Flats for each filter, Darks, Bias - the full monty

I've managed to finish the image in CS4 and added the RGB stars also. I very pleased but really want to do it all in PI  :-[

Title: Re: Processing Narrowband in Hubble Palette
Post by: Nocturnal on 2010 September 19 16:24:36
Great image Nigel, congrats!

BTW nothing wrong with using multiple tools to get your finished product.
Title: Re: Processing Narrowband in Hubble Palette
Post by: Niall Saunders on 2010 September 22 13:40:14
Hi Nigel,

I took the liberty of having a look at your original posted image with a view to seeing if the colour adjustment could be achieved entirely in PixInsight.

So, here is a quick synopsis of the procedure I used, starting with your original image
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/01OriginalImage.jpg)

The first thing I wanted to do was to look at your 'greeny-yellow' tints, and get them to appear more 'yellow'. So, using the Hue adjustment panel in the Curves transform, I tried the following curve (whilst monitoring the result using the RealTimePreview window). Here you can see that I am trying to change 'greens' down to 'yellows'.
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/02HueCurve_OnePoint.jpg)

If this single-point Hue Adjustment Curve is applied to the original image, the result is
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/03HueCurveResult_temp.jpg)

However, the 'cyan' tint that you are after in the centre of the image is still way off. So, I tweaked the original single-point Hue Adjustment Curve to become
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/04HueCurve_TwoPoints.jpg)

And, if you inspect this curve, you can see that the 'original hues' (as seen along the horizontal axis) will be modified to become the 'new hues' as seen along the vertical axis. This is done by, for example, putting the cursor over any point on the curve and seeing which colour on the 'source' axis becomes which colour on the 'destination' axis. In the example above, the cursor is sitting over the second point placed on the curve, and the 'greenish' hue on the horizontal axis can now be seen to be changed to a more 'cyanish' hue on the vertical axis.

More important is that the curve is reasonably 'smooth' so all colours get shifted 'gently', and that it is therefore not just the colours AT the inserted points that get shifted - the colour shift will affect ALL hues.

For this curve, it could even be argued that the upper section (into the top right-hand corner) should really have had a third, maybe even a fourth, adjustment point inserted to help bring the curve back onto the original 'corner-to-corner straight line'. Had this been done, then there would have been little change to red and magenta hues, whereas the curve I have actually used (generated VERY quickly) does have the effect of pushing magenta hues up towards the reds. However, I didn't see any 'negative effect' in the thirty or so seconds that I played with the sliders, so I stopped worrying!!

So, starting with the original image once more, I applied the two-point Hue Adjustment Curve shown above and the result was as follows:-
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/05HueCurveResult_TwoPoints.jpg)

Perhaps because I didn't take enough time defining the Hue Curve, I felt that the image had too much green, so I applied the following SCNR adjustment to eliminate a Green cast in the brighter sections of the image
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/06SCNR_RemoveGreen.jpg)

This gave the following result
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/07SCNR_RemoveGreenResult.jpg)

Now I felt that the image had an excess of Red, so a second SCNR process was applied, this time targetting the Red cast I felt I could see in the dimmest parts of the image
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/08SCNR_RemoveRed.jpg)

Applying this gave the following result - which is certainly 'getting there'
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/09SCNR_RemoveRedResult.jpg)

What I now wanted to do was to push up the saturation and brightness levels, to make the colours 'pop', but I found that my first trial was not too pleasant because it 'popped' all the low-level murk as well. So, I grabbed a Luminance version of the current state of the image using the following ChannelExtraction process
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/10LuminanceExtraction.jpg)

which resulted in this image
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/11LuminanceExtractResult.jpg)

I then applied this to the current state of the image as a normal Mask:-
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/12LuminanceMaskApplied.jpg)

As I said, I wanted to enhance both the Saturation and the Luminance of the brighter (and now un-masked) parts of the image, so I defined the following two curves:-

Saturation
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/13SaturationEnhancementCurve.jpg)

and Luminance (or 'brightness')
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/14LuminanceEnhancementCurve.jpg)

I applied these together, as a single -MASKED- CurveTransformation, as follows (bearing in mind that neither of these curves took more than ONE SECOND to define)
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/15CurvesTransformation_masked.jpg)

The result was as follows
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/16FinalImage.jpg)

which can be compared with the result you obtained using Photoshop
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/17PhotoshoppedImage.jpg)

I felt that one possible final Hue Adjustment might have helped the 'blues' in the centre, shifting them more to the 'cyan' end of the spectrum. A slightly more complicated curve, only because I used several points on the curve to help keep all hues except the blues from shifting (by maintaining the curve as a 45-degree 'straight-line' everywhere else, other than in the region of interest). This is the curve I used, un-masked, and I will leave you to see the result for yourself:-
(http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/18SuggestedFurtherHueAdjustment.jpg)

If you want to try using my procedure, the following links will give you the ProcessIcons that I used:-

Main Process (as a process container, double-click to open it, and then apply the processes individually)
http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/MainProcess.xpsm (http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/MainProcess.xpsm)

Extraction of the LuminanceMask
http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/LuminanceMaskExtraction.xpsm (http://pixinsight.com/nsaunders/HueAdjustment_Tutorial/LuminanceMaskExtraction.xpsm)

Hope you find this useful.
Title: Re: Processing Narrowband in Hubble Palette
Post by: Nigel Ball on 2010 September 22 13:58:31
Thanks Niall

VERY useful indeed  :D

I've had a quick go myself after reading your instructions and got pretty close

Nigel
Title: Re: Processing Narrowband in Hubble Palette
Post by: Niall Saunders on 2010 September 22 15:30:16
Hi Nigel - nice result.

Glad to have been of help!
Title: Re: Processing Narrowband in Hubble Palette
Post by: Riccardo A. Ballerini on 2014 August 23 05:02:08
all the Niall's pictures and tuts are gone….
I think this is an interesting and evergreen thread and I'd be glad if someone cow repost the orphaned links.

THNX!
Title: Re: Processing Narrowband in Hubble Palette
Post by: Juan Conejero on 2014 August 23 05:19:24
Fixed! Thanks for detecting this problem.
Title: Re: Processing Narrowband in Hubble Palette
Post by: jkmorse on 2014 August 25 08:34:23
Niall,

Great demonstration of what is possible if you know how to use the tools in PI.  This a wonderful tutorial and I can't wait to apply your methodology to some of my images.

Best,

Jim