|
A Recipe for Cooking Up Astronomical Images
Now that you have an overall idea of what the visualization process involves, you will learn about the technical details of each stage of this process.
In Karma, using kvis, you can reduce an image by loading a fits
file with the filter option turned on. Select the number of pixels
to "skip" (which is actually "add together"). Adjust your image and
then export this to a new ppm image. If you are using another
package for stretching the intensities, then a good format to save
the file as is tiff format, if it is available.
Jayanne English
Visualization Stages - Technical Notes
Stage 1: The stretch:
I assume here that you have a number of exposures through different
filters for the same object. Each of these monochromatic datasets
needs to be converted to a black and white image.
Combining images increases the RGB value per pix and the higher the
RGB value the more white the pixel. So the trick is to ensure that
"whites" in an individual image are stretched so that they are more
grey. That is, your individual image should be dark. One has more
control using astronomical software so most imagemakers start with one
of these. I recommend that you use "kvis" from the
Karma package.
Software
comments
IDL
This costs money and you have to do your
own coding.
RGBSUN in IRAF
Requires trial and error for the thresholds
and you can only combine 3 filters.
kvis
Free in the Karma suite.
http://www.atnf.csiro.au/computing/software/karma/.
This let's you select thresholds in real time
via histograms.
As well as linear and log scaling, does
square root which is good for nebulae.
It has additional algorithms in its
pseudo-colour option (best is greyscale3).
Also it exports your scaled image to Portable Pixel Map
format which is accepted by all many packages.
Original Image | Stretched Image |
Next pump your output from the Stage 1 (above) into a manipulation package such as GIMP or PhotoShop. Your work is done in "layers" (rather than in colour channels) -- so open up the Layers Dialog Box in your manipulation package. Create a layer for each Stage 1 black and white dataset image. About "layers" in general:
Filter | Black and White Stretch Image | Colour Assigned to Image |
Ultraviolet | ||
Blue | ||
Visual | ||
Infrared |
After you are satisfied in general with your colour selection, and have saved it as an .xcf file, then you flatten the image, using the Layers dialog box options, into a single tiff file with a different name in tif format.
Even better, open a new image (with a black background), Edit --> Copy Visible the display of your .xcf file and then Edit --> Paste into the new image. Set mode to screen and flatten the new image and save as a single tiff file. To flatten you use the submenus under Layers. Layers --> Merge Visible and then Layers --> Flatten.
Use the image manipulation tool options (like levels) for final colour and contrast adjustments. Use the clone tool to remove chip seams and cosmic rays. Chose your orientation.
Save this file as a tiff (no compression) or, in a pinch, a 100% quality jpeg.