Friday, March 14, 2014

Astrophotography: On the Importance of Post Processing

I'ld love to create a how-to guide on astrophotography, although a full length article detailing my workflow would probably bore any reader to death. In this post, I will be going slightly more in-depth on the practicalities of Astrophotography, particularly on the topic of post processing. Here, I will explain how I got the image of the Orion Nebula as I uploaded in this post

Before I go any further, I'ld like to mention quickly the three main components of Astrophotography. These are data acquisition, stacking, and post processing. Data acquisition refers to the actual act of going out to take photos. The actual setup of astrophotography equipment deserves an entire article in its own right, and there is already quite a large amount of information on this, because it is the first, and perhaps most important step. To cut the long story short, data acquisition for deep sky astrophotography involves taking a series of extended exposures, each of which are known as sub-exposures (or subs for short), and subsequently combining them in a process known as stacking.

Stacking is one of the key techniques in astrophotography, where catching faint light is of utmost priority. An extended single exposure can only do so much before mount tracking errors, sudden shakes, or unfortunate incidents like planes crossing the field of view destroy the image. To prevent this, multiple images are combined to create a master exposure, a high data RAW (e.g. TIFF) file where data can be extracted from through post-processing software, such as Photoshop. In order to stack images, it is necessary to have stacking software. A free example (and one of the best, in my opinion), is deep sky stacker. Aside from just the sub exposures, other types of exposures such as dark frames and bias frames are also applied, which I will elaborate further in another future article.

Before I bore you any further with massive walls of text, here is a picture of what one sub exposure looks like. This particular exposure is 20 seconds long, and shot at ISO 800.


Here, you can see that the sky background glows a bright orange. This is the effect of heavy light pollution from the city, with mercury-sodium lamps blasting orange light into the atmosphere and drowning precious starlight. The inner nebulosity is still clearly visible, with a hint of the outer arms, as well as nebulosity in the running man nebula. However, with a nebula as bright as M42, astrophotography from cities is still possible. 

The next image below shows a stack of a few hundred of such sub-exposures. The total integrated exposure time, adding all the data from the subs, is about 1 hour. 


The first thing you may notice upon seeing this picture is that it appears to lack the detail of the final image. In fact, it appears less detailed than the original sub exposure! Surely stacking hundreds of subs would create something that looks better than one!

Well, it is important to think of these preliminary image files not as simply pictures on a film, but as a data file. The second image is a massive 32 bit TIFF file (although it is a JPEG here, since I can't upload TIFF files to blogger), as compared to the 8 bit JPEG above. TIFF files are normally hundreds of megabytes, while JPEG files of the same resolution are normally less than 10 MB. Aside from this, the image noise, or graininess, is much more pronounced in a single sub than the stacked image. Image noise drowns out actual data, so the low noise TIFF actually contains much more data (signal-to-noise ratio) than the original sub.

Now that we have the stacked image, it should be clear why post-processing is such an integral part of astrophotography. Firstly, it removes the unwanted orange colouration of the background sky, which plagues all images taken from city centres, all the way to even suburban sites. Secondly, it helps to pull out faint detail from the high data RAW file to show the fullest extent of nebulosity captured by the original data files. 

In order to do so, I applied a series of curves to stretch the histogram data. Data stretching increases the visibility of faint areas, as well as to increase the overall contrast. Typically, several iterations are done, with layer masks introduced in certain cases to improve dynamic range, or to even out uneven field illumination. In the case of dynamic range, the dynamic range of the orion nebula is actually quite large, due to the core being much brighter than there outer areas. As such, layer masks are applied to prevent overexposure (data clipping) of core detail. 

In between stretching, I also alter the colour balance to give a more neutral colour to the sky background. Normally, the cyan and blue channels are increased to neutralise the effect of the orange-red skyglow. Further changing the degree of colour balancing on the shadows, midtones and highlights separately gives further control, allowing the colour balance of the nebula itself to be maintained. 

Aside from stretching and rebalancing the colours, I also manually edited some of the stars to remove star trails arising from the optical issues of a parabolic mirror (and bad collimation). Preferably, such issues should be settled during the data acquisition stage, although in this case I only solved the problem afterwards. 

Once again, here is the final image. 


Compared to the original sub-exposure and stacked RAW file, this image shows quite a lot of detail that is only extracted through post processing. Indeed, this is why post processing is an integral part of deep sky Astrophotography. Within the photography community, post processing is something that is highly controversial, with opponents chanting the mantra that everything should be done right in camera. Such matters are mostly personal preference, although the fact that astrophotography necessitates this makes it a form of photography not for the purist. 

A question that many ask, therefore, is whether these images are 'real', or truly representative of what is out there. The answer is actually both yes and no. Yes in the sense that what you see in the image really exists in space, but no in the sense that no human eye, through any optical instrument, will ever see such a view. To me, the fine balance between showing what's real, as well as making the image beautiful, is struck here. Perhaps, this is what makes astrophotos taken by yourself special to you, in that the final image is representative of YOUR opinion. 

Monday, March 3, 2014

Astrophotography: The Omega Centauri Globular Cluster

The Omega Centauri Globular Cluster in the southern constellation of Centaurus, featuring a beautiful globe of stars concentrated towards the centre. 

Photographic Information:

Imaging location: Kranji, Singapore (Light pollution: Red zone/Outer City)
Date of data acquisition: 1 March 2014
Exposure Details: ~45min, 800mm FL at f/4
Camera: Canon EOS 600D Unmodified
Stacked with DSS, adjustment of curves and colors in Adobe Photoshop CS6. 


Description:

The Omega Centauri Globular cluster is the largest globular cluster in the Milky Way Galaxy, and is located 15,800 light years away in the constellation of Centaurus. With probably over a million stars, and a combined mass of over 4 million suns, Omega Centauri is the brightest globular cluster that can be seen from Earth, shining at a visual magnitude of +3.9, an easy target with the naked eye from suburban skies. 

Because of the unique features of Omega Centauri that distinguishes it from other globular clusters, it is thought that it originated as a separate dwarf galaxy that got consumed by the Milky Way. 

Random rambles: On the Challenges and Rewards of Astrophotography

Astrophotography, particularly deep sky astrophotography, is indeed one of the most demanding forms of photography. Unlike most forms of conventional photography, images are often planned long beforehand, and exposures typically last upwards of an hour. Post processing is also a must, and because of this, astrophotography is not something for a purist. Heavy adjustments to colour, data stretching and manipulation are all essential in order to bring out the faint starlight and details of astronomical objects from the glow of the sky.

Where conventional photography typically yields multiple photographs from a single session, astrophotography is hardly as productive. A single night may only produce a single image, or if one is lucky, two or more. Sky conditions are also constantly on the change, and favourable weather may not always be present. With the glow of city lights, astrophotography can be incredibly challenging when the background colour of the sky isn't even black.

Furthermore, it is essential for all equipment for astrophotography to operate seamlessly. The failure of any one system will result in it being incredibly difficult to image. The mount must be capable of tracking stars to pinpoint accuracy, alongside the autoguider working with computerised systems in keeping the mount locked to the movement of the sky. The optical tube must be at thermal equilibrium with the surroundings, or condensation will affect optical transparency. The camera must be working even in the cold of the night. Last but not least, the power source must operate properly, alongside all electrical connections, in order to keep all the electronic systems working.

Despite all of these challenges, astrophotography can be very rewarding. There is a reason that I enjoy engaging in it. Although there can be many failures and setbacks, with so much beyond our control, the difficulty in acquiring these images seems to what makes the resulting images so much more precious.

In addition, acquiring the shots in an imaging session is only half of what makes astrophotos tick - the other half comes from post processing. Even if all the settings and conditions from an imaging session are the same, the images that result at the end, after stacking and processing, are often different. The choices to be made, from how the colour is balanced, to how the data is extracted and stretched from the RAW stacked image, is actually up to the individual. In the end, it actually becomes a very personal thing, even if the original images acquired look more or less the same.

When one looks at photos of astronomical objects, it is not just about the aesthetic beauty that is amazing about it. Perhaps even more so, is the understanding of what we are looking at. The staggering scale of the cosmos, and the grand physical processes that create these objects in space are profoundly humbling when we look at it from a cosmic perspective. There is so much more beyond the Earth, and so more that we have yet to see. Our knowledge as a species, far as we have come, is still far from being capable of comprehending the entire Universe. The satisfaction from being able to capture the faint light from distant celestial objects is also difficult to put into words, and it is this satisfaction that drives me to pursue this passion.

Saturday, March 1, 2014

Astrophotography: The Keyhole Nebula

The Keyhole Nebula (NGC 3324), a part of the much larger Grand Nebula in the southern constellation of Carina. 

Photographic Information:

Imaging location: Kranji, Singapore (Light pollution: Red zone/City)
Date of data acquisition: 1 March 2014
Exposure Details: ~60min, 800mm FL at f/4
Camera: Canon EOS 600D Unmodified
Stacked with DSS, adjustment of curves and colors in Adobe Photoshop CS6. 


Description:

The Carina Nebula, affectionally known to many as the Grand Nebula, is a large diffuse nebula in the constellation of Carina that surrounds the hypergiant star Eta Carina. Although it is brighter and larger than the Great Nebula in Orion, it is less well known because of its position in the southern sky.

Here, only a section of the Carina Nebula is framed. The object visible here is known as the keyhole nebula, which is both an emission and absorption nebula. The strong red colouration comes from the presence of hydrogen clouds which are ionised by the highly energetic O-class stars in the region.

Because I imaged this object from the Equator, its maximum elevation over the highly light polluted horizon is only about 30 degrees. As such, much of the fainter details are drowned from city light. Still, because of the brightness of this nebula, it is still possible to see quite a fair bit of detail on the brighter elements.