Activity

How to Create Stunning Colour Images of the Cosmos (Using GIMP)

This guide will show you how to create beautiful colour images using free software that can be downloaded from the Internet.

We’re all familiar with the breath-taking, colourful images of the cosmos captured by famous telescopes; they’re used in magazines, on advertisements, album covers and T-shirts. However, these images, like all astronomical photographs, are originally black and white.

Colour images of space are created by combining three separate black and white observations; one taken with a green filter, one with a blue filter and one with a red filter. Red, green and blue are three primary colours that can simulate a full spectrum of visible light to the human eye. 

Don’t be intimidated, the process is easier than you might imagine and should only take you around 20-minutes!

i. Downloading your observations

 1. The first thing you need to do is download your observations from the LCO website (http://lco.global/observe/), or you can use observations from the LCO data archive. A selection of objects can be found in the table below, simply click on the object name to access the observations and download the three FITS files. Name them by their filter color (this will becomes helpful later on). 

Star Clusters M36 M30     M15  
Nebulae SN1987a M20 M17
Galaxies M84 M87 M63

2. Now scroll down to ‘Your recent observations’ and click on the image you want. The image will then appear in a new window and can be saved as a FITS file by clicking FITS to the left of the image.

 

Note: Make sure when you name the file that you include the filter used for each image. This will make it much easier when you come to edit the images later on. You can find name of the filter to the right of the image.

 

 

 

ii. FITS Files

 

Observations produced by the LCOGT telescopes will be available to you as a special type of file known as Flexible Image Transport System or FITS files.

 

FITS files are more than just image files, at the start of every FITS file is a header section, which contains important information about the image, such as the number of pixels, the date the image was taken, the telescope it was taken with, the exposure time and much more.

 

3. You will need to install special software to view and edit your FITS files. Examples of free FITS editing software available on the internet include DS9 (http://ds9.si.edu) and FITS Liberator (http://tinyurl.com/FITSliberator).

 

iii. GIMP Image Editing Software

 

GIMP is image editing software that can be downloaded for free from the Internet and used on Mac or Windows computers. With GIMP you can add the colours back to observations taken with a blue, green and red filter and then combine the three images to produce a full colour image.

 4. Download GIMP for free from: http://www.gimp.org

 

Note: Observations made using a green filter will be called Visual or ‘V’.

 

 

iv. Preparing your Images

 

Before opening GIMP, you need to prepare your images so you achieve the best quality possible.

5. Begin by launching your FITS editing software (e.g. FITS Liberator) and open your three FITS files by going to File > Open.

6. Set the white and black level sliders in the histogram graph to give a good amount of contrast without too much black or too much saturation.

7. You can experiment with the different Stretch functions to enhance fainter parts of the image. Different stretch functions produce different results with each image so play around and see what works.

You’re aiming to make the background as black as possible while maintaining the detail of the object in the image.

\

8. When you are happy with the way the image looks, tick the 8-bit button and save your file. This is an important step, it will allow you to save your coloured image as a JPG file when it’s finished.

9. Open the next image into FITS Liberator and repeat until all three images are edited, making sure you use approximately the same settings for each of your three images.

 

v. Adding Colour to your Images

 

10. The next stage is to begin to add some colour into these images. To do this launch GIMP, open one of the colour images and go to: Image>Mode>RGB Color. Do the same for each image.

 

11. When all three images are open, select the red image. Go to Colors > Colorize

 

12. This will open a window with three sections. First, tick the Preview button in the lower-right corner.  Now enter the values in the table below for each of the filters.

 

 

Red

Green

Blue

Hue

0

120

240

Saturation

100

100

100

Lightness

-50

-50

-50

 

13. Leaving Hue alone, you can now adjust Saturation and Brightness until you have a high contrast, crisp image.

You should now have three coloured images.

(example image of NGC 6946 before and after colouring)

vi. Combining the Images

 

Now that the images are coloured, they need to be combined into a single image. To do this, you copy and paste the green and blue images on top of the red image.

 

14. Select your green image, and go to Select > All then Edit > Copy.  Select your red image, and select Edit > Paste. Now, follow the same process with your blue image. You now have one image that combines the red, green and blue images.

 

15. You should see a Layers window to the right of your screen. If you do not, go to Windows > Dockable Dialogs > Layers.  This window shows that new layers have been added to the red image. Change the layer names if you wish.

 

16. The next step is to blend the images so the colours mix, and don’t just mask each other.

 

17. Above the list of layers in the Layers window, there is a drop down menu. Select Normal. This controls the mixing mode of the layers.

 

18. Highlight the blue image in the Layers window to select it. Then change the mode from Normal to Screen. You may also want to try other presets here, especially Lighten, or Linear Dodge.

 

19. Next, select the green layer and change the mode to Screen or Lighten or Linear Dodge, etc. This blends all the layers, leaving you with one full-colour imaged.

 

Congratulations, you have made your own coloured astronomical image!