Tuesday 27 July 2021

Correcting the green cast in stacked Altair RAW deep sky images

Nicola has been implementing an Altair Hypercam 294C PRO 4BG TEC 14-bit CMOS camera in AstroDMx Capture. One of the things that we noticed was that the preview image and the individual captured images all had a pronounced green cast. Some other cameras produce a similar green cast.

Altair state that this is what to expect from true RAW data and they state that this is normal and that the green cast has to be removed in post-processing. Some astronomical cameras have facility in the camera SDK to white/colour balance the RAW data stream, which is no doubt why Altair describe their cameras' data to be true RAW, i.e. completely unaltered RAW data.

An Altair Hypercam 294C PRO 4BG TEC camera was mounted in the two inch focuser of a Skywatcher 130PDS f/5 Newtonian reflector. The scope was fitted with a guide scope and everything was mounted on a Celestron AVX GOTO EQ mount.

AstroDMx Capture for Windows was used to capture 15 x 2 minute undebayered 16-bit Tiff exposures of M27, the Dumbbell Nebula, with matching dark frames. The best 14 frames were debayered, aligned, dark-frame corrected and stacked in Autostakkert! and the result was saved as a 16-bit Tiff file.

By default, the camera puts the 14-bit data into the lower bits of a 16-bit saved file. This means that when the unprocessed file is simply viewed, it is very dark.


There is very little to see in this image. (see my article 'Hidden in the Dark').

If we were to load this image into The Gimp 2.10 and stretch the curves, we can see that the image has a green cast. So, we don't do that!


Here the unstretched image is loaded into The Gimp 2.10


Then Select Colors, Levels and Auto Input Levels. DO NOT Click OK!


Reduce the white end of the Output Levels until the centre of the nebula isn't burnt out and some structure can be seen. In this example, the white end was reduced to 75.00. Then Press OK.

The image is displayed at 33.3% in the above screenshot. The screenshot below shows the same image displayed at 100%,


The Hue of the image requires correction so we select Colors, Hue-Chroma and pull the Hue slider slowly towards the right until the image has the correct colors.



At this point, the image could be cropped and further processing carried out.
This procedure should work for planetary and lunar images as well.