Planetary Imaging With Webcams
Webcam Imaging
Comet Drift
Planet Oppositions
Exit Pupil
SCT Collimation

Edit (Sept. 2014): This tutorial was written in 2003 when the imaging of the planets with webcams emerged. At that time the Philips ToUCam Pro was the camera of choice for the amateur astronomer. Since 2003 quite some time has passed, technology has changed dramatically and people don't use ToUCams anymore. Nevertheless, I keep this tutorial online just as a reference because many of the topics are still important for successful planetary imaging.

1. Introduction

Back in 2003 I started taking planetary images with a ToUCam Pro webcam on my Celestron 8 telescope. In this little essay I want to share my experiences on how to achieve the best possible results. This is a living document and will be updated in the future as my experiences grow.

2. Why Philips ToUCam Pro?

That's easy to answer. This camera has a real CCD-Sensor (SONY ICX098BQ), which allows a high resolution (640×480 Pixels non interpolated), high color reproductively and sensitivity of darkness. It is therefore ideally suitable for imaging of bright objects such as planets, the moon or our sun. It is also possible to use this camera for deep sky-imaging (integration time > 1/25 sec.). In order to do that, you have to modify the cam (which is rather complicated in my opinion) simply search the web, there are many sites with instructions to modify your cam. For planetary imaging this is not necessary.

3. Equipment

  • You need a computer with USB 1.0, the parallel port is not supported. Minimum system requirements are 32 MB RAM, Win 98, ME or 2000. With XP you need an additional program to run the included software (could be downloaded on the Philips homepage), the driver is integrated in the OS. To achieve a fluent dataflow I would recommend a minimum of 128 MB RAM and a processor with a minimum of 600 MHz (You are lucky if you have a laptop).
  • Adequate disc space! (2 Gigabyte minimum!).
  • A telescope with motor drive in right ascension and (optional) in declination. You can try without motor, but you’ll loose patience soon because the object passes through the viewing field really fast.
  • An adapter to connect your cam to the scope. I use two adapters: The first is 1¼" in diameter and fits on the eyepiece holder, so I can use it with a 1¼" barlow lens (see picture below).

    How to attach a ToUCam to the telescope

    The second fits to my t-adapter, so I can connect it to the tele-extender and use it in eyepiece projection. It is important that the CCD sensor of the cam is in the center of the optical axis of the system, when it is mounted to the telescope. If it is shifted (even slightly), you'll later get problems to find the object and center it on the sensor.
  • An IR/UV-block filter. If you have lenses in the optical path, particularly none-apochromatic lenses (barlow, eyepiece or a Schmidt-Plate for SC-telescopes), not all wavelength will have the same focus. Especially the ultra violet (UV) and infrared (IR) wavelength will be a problem. With the human eye, we would not see this effect, because it is not sensitive in UV and IR, but the CCD is (see specification for the ICX098BQ). To achieve maximum sharpness, we must apply an UV/IR cut filter in front of the sensor (see image above). If you want to learn more about the transmission-curves of the IR/UV block filters, please visit this web site for more information (Baader).

4. The Binning Modes of the ToUCam Pro

The full resolution is 640×480 or 355×288 pixels. If you observe planets and need high magnification use one of this modes. 640×480 covers every single pixel of the chip whereas the 355×288 mode only covers the central part. I would recommend the 355×288, because you get less dataflow and this reduces the number of artifacts that occur, when the images of an AVI video are compressed during recording.

The 320×240 mode also covers the whole chip size, but 2×2 pixels are averaged to one pixel. This is called 2×2 binning. The result is a better signal to noise (S/N) ratio. The 240×176 and 176×144 modes cover central sections of the 320×240 image. The 160×120 mode is 3×3 binning.

5. The Angular Field of View

For planetary imaging it is important to know, what part of the sky is captured by the CCD. To calculate the angular field of view of one pixel, use this equation:

Alpha = 206 * (d px / F)

α = Angular field of view per pixel [arc sec / px]
206 = Factor to convert radians into arc sec [arc sec]
(1 arc sec = 1/3600th of one degree and 1 radian = 180/π degrees, so one radian = 3600×180/π arc sec = 206265 arc sec; divided by 1000 to convert mm into µm = 206)
dPixel = Edge length of one pixel [μm].
F = Focal length [mm]

Example: We want to observe Jupiter with ToUCam Pro (edge length of one pixel = 5.6 μm) and 2030 mm focal length (C8 telescope):

α = (206" × 5.6 µm) / 2030 mm

α = 0.57"

The number of effective pixels of a Philips ToUCam Pro web cam is 640×480 px, representing 0.10°×0.08° of the sky at this particular focal length.

We can also apply this formula to calculate the focal length required to achieve a favored angular field of view:

F=(206*d Pixel)/Alpha

6. The Recommended Focal Length (Sampling)

The theoretical angular resolution of a telescope is depending on the aperture of the telescope and the wavelength of light we are observing at:

Alpha = (1.22*206265*Lambda)/D

α = Theoretical angular resolution in [arc sec]
206265 = Factor to convert radians into arc sec [arc sec]
(1 arc sec = 1/3600th of one degree and 1 radian = 180/π degrees, so one radian = 3600×180/π arc sec = 206265 arc sec)
λ = The wavelength of light [mm] (1 nm = 10-6 mm)
D = The diameter of the lens or mirror of your telescope [mm]

For a typical calculation we choose a wavelength of 550 nm. This is a good choice for visual observations because our eyes are most sensitive at this wavelength (green light).

If we choose 550 nm (0.00055 mm), this brings us to the famous formula:

Alpha = 138/D  (Rayleigh Criterion)

In order to achieve the best possible result for high resolution CCD imaging, matching focal ratio in connection to the pixel size is of essential importance, this is called sampling. For planetary imaging it is recommended to sample the image at a rate close to the ideal Nyquist criterion. The Nyquist criterion describes that the sampling frequency must be greater than twice the band width of the input signal in order to be able to reconstruct the original signal perfectly. For our aim this means that the wavelength of a signal should be covered by two pixels.

To calculate the desired focal length for a given wavelength and equipment we can apply the following formula:

F=(2000*d Pixel*D)/Lambda

F = Desired focal length [mm]
d Pixel = Size of one pixel, incl. the gap between two pixels [μm].
D = Aperture of the telescope [mm]
λ = Wavelength [nm] (I choose 550 nm in accordance to Rayleigh)


  1. Philips ToUCam Pro web cam with 5.6 μm for each pixel
  2. Celestron 8 with 203 mm aperture
  3. Wavelength = 550 nm

F = (2000 × 5.6 × 203) / 550

F = 4133.8 mm (f/20.36)

If we strong oversample an image, we need longer integration times without a gain of detail, we waste integration time. If we undersample an image, we waste resolution which also is of an disadvantage. So for planetary imaging we want to sample close to the Nyquist criteria or slightly oversample the raw images.

To better understand the term undersampled and oversampled, please review the following explanation:

The white point in the first image represents the smallest visible detail (diffraction disc) that your telescope can resolve. If the angular resolution of the CCD sensor is better than the theoretical angular resolution of the telescope, the smallest visible detail is only represented by one pixel (Image 2). In this case we experience a maximum utilization of the sensitivity of the CCD but we suffer a loss of information, the image is called undersampled:

Image 1
Image 2
Image 1
Image 2

But on the other hand we don't want too many pixels representing the smallest visible detail. Images sampled with more than 2 pixels across the diffraction disc (Image 3) are called oversampled. In this case the angular resolution of the telescope is far better than the angular resolution of the CCD and the sensitivity of the CCD is not optimal utilized (longer integration times needed). As an example, the star in image 4 is heavily over-sampled:

Image 3
Image 4
Image 3
Image 4

In image 5 the angular resolution of the telescope matches the angular resolution of the CCD, the diffraction disc is two pixels in diameter. As a result (Image 6), we have a good or critical sampling:

Image 5
Image 6
Image 5
Image 6

7. The Effective Focal Length

In chapter 6. we have calculated a focal length required to fulfill the Nyquist criterion for a C8 telescope. Now, one could say that we choose a 2.5x barlow lens to achieve this. Well, that could be true, but before you go and buy any barlow, you must know that some barlow-lenses have varying extension-factors. On some barlows, the extension factor is depending on the distance between the lens top surface to the surface of the CCD. With increasing distance, the extension factor is also increasing and maybe your 2x barlow becomes a 4x barlow without your knowledge.

As an example I found a chart on the TeleVue web site. On this chart we can see, that the 2x and 2.5x Powermates don't change their extension factor significantly, but the 5x Powermate can easily turn into a 7.5x barlow.

So the true extension factor of a barlow lens must be calculated by yourself. In order to calculate the true focal length, it is necessary to image an object which apparent diameter is known from the ephemerides (e.g. Saturn's planetary disc at the equator) and then carefully measure the diameter of the planets disc on the CCD sensor. If you know, how many pixels the object is in diameter, then you can re-calculate the true focal length of your imaging system.

We can re-calculate the effective focal length with the following procedure:

I imaged Saturn on March 13, 2009 with a Celestron C11 (focal length = 2800 mm) and a TeleVue 2.5x barlow lens, using a monochromatic DMK 21AF04.AS of The Imaging Source. The amplification factor of the TeleVue barlow is 2.5x, but if you have checked the link above (TeleVue web site), you know that the amplification factor is slightly decreasing with growing distance between the surface of the CCD sensor and the top lens surface of the barlow lens. So what is the effective focal length of my setup?

At first we must check the ephemerides for the apparent angular size of Saturn's disc (at the equator) for this particular date. Result: On March 13, 2009 Saturn's disc was 19.7 arc sec in diameter.

Now I want to measure the diameter of Saturn's disc on my CCD image, see the following picture:

Effective Focal Length Measurement

With Photoshop, I measured the coordinates (in pixels) of the mark 1 and mark 2. Photoshop measured for mark 1: x1 = 81, y1 = 112 and for mark 2: x2 = 176 and y2 = 61. Now we must calculate the length of a and b using the following formula:


When I apply these formulas I get the result for length a = 95 px and length b = 51 px. In order to calculate the length of c, we can see this as a right angled triangle and calculate the length of c with Pythagoras:


When I apply this formula, I get the result that the length of c = 109 px.

Now we know that the planets disc has an apparent size of 19.7 arc sec and this is represented by 109 px on the CCD sensor.

Now we can use the following equation:

F = (206.265 *dPixel * c) / D

F = Effective focal length [mm]
206.265 = factor to convert radians into arc sec, divided by 1000 [arc sec]
dPixel = Edge length of one pixel [μm]
c = Size of the object on the sensor [px]
D = Diameter of the object [arc sec.]

F = (206.265 arc sec × 5.6 µm × 109 px) / 19.7 arc sec

F = 6391 mm

So the true extension factor of the 2.5x TeleVue Powermate in fact was 2.28x for my setup, resulting in a focal ratio of f/22.8!

8. The Planet's Rotation

This is very important, when you are observing planets with fast rotation period such as Jupiter, Saturn or Mars. If you are recording a sequence, you have to consider that the planet is still in rotation while you are recording and there is a risk, that fine details can get blurred after stacking if the duration of the recording was exceeding a critical time span. In this chapter we want to calculate the maximum permitted time span of a video record without noticeable motion of the planet.

When we observe a planet through the eyepiece, we see a round disc, but we know that in reality it is a globe with a linear rotation. When we observe details on the planets surface or in the atmosphere, we see that the motion of these details appears to us relatively slowly at the limb and it is of the fastest motion when it passes the central meridian. In particular, a surface-detail is seen in its fastest motion when it is passing the area, where the equator and the central meridian interfere.

The following calculations are considering this worst case scenario for a detail that is exactly in the area where the equator and central meridian interfere.

We can express the linear rotation period of a planet with the formula for the angular speed:

Omega = Phi / T

ω = Angular speed
φ = Angle of 360° for one complete revolution
T = Time to complete a rotation of 360°

For further calculations, we must convert the angle φ = 360° into radians (RAD), that's easy because one revolution (360°) of the unit circle = 2π radians.

So the formula for the angular speed of a planets rotation period looks like this:

Omega = 2Pi/T

Now we have evaluated a formula for the angular speed. With this formula we can express how long it takes for the planet to rotate one complete revolution. For example we know that the planet Jupiter's rotation period is 9h 50' 30" (System I), meaning the planet will turn 360° or 2π (RAD) in this time period.

For a linear rotation period, the angular rotation is constant. For our aim this doesn't help us much because a planet always appears to us at a different angular size and so the apparent velocity of a surface detail always appears to us differently (if a planet is close to us, we see more detail and so it seems to us to rotate faster). What we need to know is the tangential velocity.

Imagine you are right above the north pole of a planet and you see an object on the equator which is constantly moving with the rotation of the planet. The tangential velocity describes the path that has been covered by this object in a certain time frame. This is depending on the radius that this object has to the center of the circle. The bigger the radius, the longer is the path that has been covered (whereas the rotation period is constant).

In order to calculate the tangential velocity of an object which is passing the critical area (where the equator and the central meridian interfere), we must add the radius to that formula.

The formula for the tangential velocity is:


R = Radius of the apparent diameter of the planet [arc sec]

Now we must take into account the angular resolution of our our equipment. The angular resolution per pixel can be calculated with this formula:

Alpha = 206 * (d px / F)

If we want to know, how long it takes for the smallest visible detail to move about the value of one pixel on the CCD sensor (otherwise we will not detect a motion with our equipment), we just have to divide α by v:

t max=Alpha/v

or in full detail:

t max=(206265*dPixel*T)/(2Pi*F*R)

tmax = Maximum permitted time span of a video recording [s].
dPixel = Edge length of one pixel [mm]
T = Rotation period of the planet [s]
F = Focal length [mm]
R = Radius of the apparent diameter of the planet [arc sec]
206265 = Factor to convert radians into arc sec [arc sec]
(1 arc sec = 1/3600th of one degree and 1 radian = 180/π degrees, so one radian = 3600*180/π arc sec = 206265 arc sec)

Following there is an example on how to calculate this effect on Jupiter:

Given information:

  • Diameter of Jupiter at time of imaging is 45.1 arc sec (R = 22.55 arc sec)
  • Rotation period of System I (area between NEB and SEB): 9h 50' 30" = 35430 s
  • Camera is a TIS DMK 21AF04.AS with 5.6 μm edge length = 0.0056 mm
  • Focal length = 6391 mm (see chapter 7)


tmax = (206265 arc sec × 0.0056 mm × 35430 s) / (2π × 6391 mm × 22.55 arc sec)

tmax = 45.2 s

As I mentioned earlier, this is a worst case calculation. So I think that in real live you can exceed this calculated max. duration time by the factor 2 and still have a good final image.

9. Choosing a Red (R) or Infrared (IR-pass) Image for the Luminance Layer

In order to achieve a better contrast, most amateur astronomers add to the Red, Green, Blue data a fourth channel, the Luminance Layer. In the deep-sky business, this is mostly a high resolution 1×1 bin, long exposure clear filter image (sum or mean of multiple images). This adds to the picture the sharpness and contrast, whereas the R, G, B images deliver the color information.

When we want to image the planets, we use this technique to add a high resolution luminance image to the R, G, B data but the L image is a R, or IR image. Since most planets show interesting albedo features in the R or IR wavelength which we want to enhance.

But which filter is the one to choose? It depends on the conditions:

IR pass filter:


  • Bad Seeing has less impact to this wavelength.


  • The CCD sensor is less sensitive in IR compared to the RGB light (60% and decreasing. It's also worth to consider that for a CCD sensor with Bayer-Matrix (as for the ToUCam), the G and B pixels are not sensitive for IR, only the R pixels are sensitive for this wavelength (the IR-pass filter turns off the G and B pixels). So the picture is getting dark and needs longer integration times. For the use of an IR-pass filter, the monochrome cameras are more appropriate.
  • The theoretical angular resolution of your telescope is getting lower with increasing wavelength. Example: An 8" SCT has an angular resolution of 0.68" at 550 nm and 0.97" at 780 nm. So very fine details will get lost in IR compared to R.

R filter:


  • Better angular resolution and lower integration times than IR.


  • More depending on good seeing.


If you have good seeing, choose the red color filter instead of the IR, if the seeing is bad and you are using a monochrome camera, you will gain better results with the IR pass filter.

However, if our interest lies in details of the atmosphere, maybe blue or green filters are appropriate. On Mars, a blue filter greatly intensifies ice-clouds or the polar caps and a green filter can intensify dust storms in the atmosphere. Some amateur astronomers also apply a green filter as a luminance layer in order to reveal the smallest details on the Moon.

10. Now It's Time to Get Started

It is very important that the temperature of your telescope is equal to the surrounding temperature. So let your scope at least 30 minutes to cool down. Orient the mounting to the true north as close as possible, otherwise the object is permanently drifting out of the field of view. The next step is to check collimation, this is a very important step - you won't gain high resolution, if the telescope is misaligned.

Lets assume we want to observe Jupiter. Remove the star diagonal, pop in an eyepiece of high magnification (10–15 mm), center and focus the planet carefully. Now replace the eyepiece with one of lower magnification (I use 25 mm) and assemble the webcam behind this configuration.

Now start the driver of the webcam and disable the automatic functions. Change the settings to maximal brightness, integration time 1/25 sec. and 10 – 15 frames per second. Change the resolution to 320×240. You see nothing on the screen? Simply repeat the procedure if it’s still not working, remove the eyepiece and repeat the procedure again. If you see a bright blob on the screen, congratulations! Now try to center the blob carefully with your motor drive. Make yourself familiar with the controls for the motor drive, because one slight push and the planet could drift off the field of view dramatically.

When turning the focus knob of a Schmidt-Cassegrain-Telescope the object is shifting. So be patient when turning the focus knob and always re-center the object in short intervals. It is recommended that it is the best to turn the focus knob counter-clockwise for focusing (then the mirror is pushed and is more stable in this position). When you focused too far, simply go back by turning the focus knob clockwise and then again counter-clockwise to focus.

When the planet is in the center and you think it is relatively sharp, change the settings in the control box. For the ToUCam the best adjustment is:

- Brightness: 50 %
- Gamma: 0 (or near to 0)
- Saturation: 80-90 %
- Gain: 50 %

Change the settings for the integration time so that details of the planet become visible. (With a C8 and a 25 mm EP 1/25 and 1/33 sec. works fine). Only use integration time and gain for changes. Now again try to focus the image as sharp as possible. (This procedure sometimes takes me 15 to 20 minutes).

Now if you have a sharp image showing some details, we can start the recording. Change the image size to 355×288 pixels (check focus again!). Select 5 or 10 fps - and start! It is recommended to collect as much data as possible, meaning at least 500 frames per sequence, this means a lot of data.

Take several sequences with different settings, always check focus before starting the recording. Seeing sometimes changes within minutes and so the sharpness of the image often changes very quickly.

11. Some Remarks About Image Processing

This is all half of the work. Back indoors, the sequences must be processed. The main steps consist in dividing up the sequence into individual frames. Then sorting the best images, registering and stacking them to one final image. If you want to save the file, choose a 16-bit TIF format, don't save as 8-bit JPG or BMP, otherwise you will loose the dynamics in the image.

I use Registax for this operations, all these functions are carried out automatically by this software. Nowadays I heard that Avistack should produce better results on the Moon, but have not yet found the time to proof this.

Single raw image
Processed image
Single raw image.
Processed image:
200 frames stacked, unsharp mask

That's all, thanks for reading.

Frank Brandl

© Frank Brandl - Alle Rechte vorbehalten.
Impressum & Datenschutzerklärung

Home | Bilder | Ausrüstung | Artikel | Links