High dynamic range (HDR) photography is an art in itself. There are many tools and techniques for processing HDR images. This article lists the steps that I follow for processing some HDR astroimages in GIMP.
Here is the short version of the process:
- Take groups of images at different shutter speeds (e.g., groups of 1-second, 5-second, and 10-second exposures).
- Stack each group of images to create "master" images that represent each shutter speed. (For example, stack all of the 1-second exposures together to create a master 1-second image.)
- Load the individual master images as layers into a single image in GIMP, with the shortest exposure time at the bottom, progressing to the longest at the top.
- Align the layers using the stars on each image.
- Select overexposed areas in each layer, feather the selection, invert it, and then create a layer mask to bring out detail from the lower layers.
- Flatten the image.
Below are copies of the master images that I used for the Sword of Orion. You may use them to experiment with. The original images are very large files, so these have been reduced to save space and bandwidth. All images were taken at ISO-1600 on my Canon EOS Rebel XS DSLR using the Orion ShortTube 80.
1 second |
5 seconds |
10 seconds |
20 seconds |
60 seconds |
120 seconds |
I selected these shutter speeds based on trial and error. My mount does not have the ability to autoguide, so the longest exposure time I can usually hope for is around 3 minutes. A 3-minute test exposure did not reveal any more detail than the 2-minute exposures, so I chose 2 minutes as my maximum. Your mileage may vary...
Each master image must be aligned with the others. This can sometimes be done with a plug-in, such as the alignment "filter" in Georg Hennig's Gimp Astronomy Plugins. I have had only limited success with this, though, so I prefer to align images manually.
To manually align the images, load the shortest exposure into GIMP, and then load each successively longer exposure as a layer. The image with the longest exposure time should be the top layer. Starting with the top layer:
1. Set the layer opacity to about 50% to allow the layer below to show through a bit.
Load all master images as layers in a single image. |
Use the Move Tool to line up the stars. |
4. Repeat steps 1 through 3 for the next layer, and continue until all layers are aligned.
Next, create layer masks to bring details from the lower layers up through the overexposed sections of the upper layers:
1. Turn on the visibility for all layers and select the top layer.
2. Select the Fuzzy Select Tool from the Toolbox, and then set the Fuzzy Select Mode to Add to the current selection.
Fuzzy Select Tool and Fuzzy Select Mode. |
Select the overexposed areas on the selected layer. |
5. Select Invert from the Select menu.
6. From the Layer menu, select Mask and then Add Layer Mask... Click Selection from the Initialize Layer Mask to list, and then click Add. Part of the layer beneath will show through into the selected layer. The feathering from step 4 creates a gradual transition between the images. If the transition appears unnatural, then undo everything back to step 4 and try a different feather value.
First layer mask on feathered selection. |
8. Turn off the visibility on the current layer, then repeat steps 3 through 8 for the next layer. Continue until all layers have been processed. No processing is needed for the lowest (background) layer.
All layer masks created. |
I do most of the rest of my image processing after merging the layers. Experiment with different processing sequences to determine whether some steps are better performed before or after merging.
This is by no means the only way to process HDR astroimages. I have found, however, that it is easy to do and produces good results; and, you can't beat the price of GIMP!
No comments:
Post a Comment