from left: Marie, astro-Michael and me

Solar imaging in H-alpha light using a web-cam

A few general considerations that will help:

  1. Use a polar aligned mount (align the night before for most accuracy). During a, say 60 sec, avi sequence it is not nice if the field-of-view drifts significantly.
  2. Get a box to shade your PC. Increases screen visibility, reduces risc of CPU over-heating!
  3. Orient web-cam so that camera axes roughly correspond to RA, Decl. Makes it easier to build a mosaic.
  4. For best seeing: work early in the morning when the air is usually cooler and calmer than later in the day.
  5. Spend a few minutes to change the operation mode of the ToUcam to CONR-mode. Here's why!

The equipment I use is a 60 mm H-alpha Coronado filter set (2.4 arcsec FWHM res) mounted on a F=640 mm refractor and a Phillips ToUcam. The resulting image scale is 1.8 arcsec/pixel.

For acquisition I use the software (Vrecord) that comes with the webcam. I typically take an avi of the disc and one of the background, to get prominences. Webcam settings: 5 FPS, brightness=100%, gamma=10% (50% on prominences), b&w mode on, 1/2500 sec (1/100 on prominences), white balance = 60%/20%, 640x480 pixels. For a typical sequence I usually take a 60 second avi, i.e. resulting in ~450 individual frames. With the webcam settings given above the image will look very dark on the monitor. In my experience this is needed to avoid detector saturation that will give the sun a 'flat' appearence. During focussing you should use whatever settings gives you the most pleasing real-time image. Here is an example of typical raw webcam images optimized for the solar disc and for prominences:

Below, the processing steps I use are described. For image selection and alignment I use K3CCDtools, for the remaining processing Mira and Photoshop. Other software products can also be used with good succes. I usually build mosaics consisting of several disc/prominence images; if you are not doing this just omit the steps marked in red. Many of the exact settings are based on my equipment and personal taste; just use these notes as guidelines for your own experimentation!

A (K3CCDtools):

  1. Use 'planetary wizard' to select sharpest frames, aligning and stacking. Wizard settings I use: normal mode, typically align box size=256 for disc and 128 for prominence frames, typically put the box at a 45 deg limb with a good deal disc on it or a good prominence, if a 45 deg disc is not available and a spot is I'd use the spot and the smallest box.
  2. For combining I use 2x mode=ON, and only a small number of the sharpest frames, such as n=4-12. Below you can see how using too many frames for stacking can reduce the resolution (note the detail in the green box).
  3. Save the stacked image as a 16-bit fits file.

B (MIRA6):

  1. Multiply each image so that max=15000 (for disc images) or just by a factor of 10 (for prom images).
  2. If needed apply a flat field correction to each image (before doing this crop all images, incl. the flat, to same size). I usually only have to do this on my solar disc images and not on the prominence images. An example is shown below, where I use a specially constructed flat field image to correct for an increased signal along the left side of the imaging chip:
  3. Save output in 16 bit FITS.

C (Photoshop7-DISC):
If building a mosaic: start with the frame containing the most intense feature (should be made white).

  1. curves 90/255
  2. curves 178/121 (if these two curve agjustments are too much, undo and reduce them a little; most intense feature should be just a bit white). Make sure to use the same adjustments on all images of a mosaic.
  3. levels 0/1/180 (just a little down into the highest pixels, do the same on all images)
  4. convert to 8 bits/channel
  5. de-interlace (even fields, interpolation) - make sure interlace lines disappear, if not try 'odd fields' option. Sometimes both may be needed. An example of de-interlacing is shown below:
  6. unsharp mask 50/3.6/0
  7. convert to RGB color

D (Photoshop7-DISC MOSAIC):

  1. make a new image (2600 pixels square for 3x2 full disc mosaic, RGB, transparent bckgnd)
  2. select one mosaic frame, going no closer than ~20 pixels from the edges that face adjacent mosaic frames
  3. feather 15 pixels
  4. copy into a layer on new image, move to appropriate position
  5. paste and align the remaining frames into seperate layers (created automatically as you paste), using limited select and feathering as described above
  6. if needed, paste into a new layer a black circle (2085 pixels diameter) on top to refine alignment (set opacity to zero, use white line on edges, move disc images about to fit)
  7. time to equalize color and brightness: choose a master frame, use levels and/or curves to adjust until OK
  8. going around the disc, select remaining mosaic frame and do the same, i.e. matching them to the previous
  9. flatten image
  10. do the same to former corners/edges that are a bit too dark
  11. check if some frames / areas need additional unsharp mask, apply if needed. This is sometimes needed in the mosaic overlap regions.
  12. curves R:125/180, G:50/20, B:225/1 (just so that small patches of pure white remain in most intense parts)

E (Photoshop7-PROMINENCES):

  1. curves 49/234
  2. curves 213/170 (if these two curves are too much, undo and reduce them a little; most intense feature should be white)
  3. levels 0/1/180 (just a little down into the highest pixels)
  4. convert to 8 bits/channel
  5. de-interlace (even fields, interpolation) (if lines don't go away: try both odd and even)
  6. unsharp mask 80/2.4/1
  7. convert to RGB color

F (Photoshop7-PROMINENCE MOSAIC):

  1. make new image (2600 pixels square for 3x2 full disc mosaic, RGB, transparent bckgnd)
  2. select one mosaic frame, going no closer than ~20 pixels from the edges that face adjacent mosaic frames
  3. feather 20 pixels
  4. copy into a layer on new image, move to appropriate position
  5. in a new layer make a cicle 2085 pixels in diameter, use it as a guide to aligning to remaining frames
  6. paste and align the remaining frames into seperate layers (created automatically as you paste), using limited select and feathering as described above
  7. delete the dark circle layer and fine align using the limb
  8. make new layer and make new dark circle 2085 pixel diameter to check alignment
  9. time to equalize backgnds: choose a master frame, use levels or curves to increase lowpoint until bckgnd looks OK with respect to adjacent frames
  10. going around the disc, select remaining mosaic frame and do the same, i.e. matching them to the previous image you adjusted
  11. flatten image
  12. curves R:125/180, G:90/0 (just a touch of yellow on strongest prominences), B:225/1

G (Photoshop7-COMPOSITE OF DISC AND PROMINENCE IMAGES:):

  1. use magic wand (tolerance=40) and click on backgnd on disc image
  2. invert selection, feather 4 pixels
  3. copy, paste into the prominence image
  4. align disc to prom
  5. if needed: use curves to darken prom backgnd to a level that appears nice

Be prepared to pay attention to the intermediate results and tweak things according to your own taste and equipment! When all goes well I get a final image like this:


Here's my main page where you can see more of the pictures I have taken so far.


Comments greatly appreciated! (mikael@leif.org)