Tutorials

How to Photograph the Moon with a Planetary Camera (or Webcam)

The Moon is the best first target for a planetary camera, and the most forgiving. It is so bright that exposures can be very short and gain low, it needs no Barlow, it is easy to find, and it shows sharp detail even through a small telescope. Every skill you need for the planets can be learned on it.

This tutorial covers one close-up of the Moon and then a full-disk mosaic built from several panes. The steps follow the official documentation of SharpCap, AutoStakkert!, ImPPG and Hugin, with starting values from published guides. The method is lucky imaging, explained in video integration software.

Never point the telescope or camera at the Sun without a proper solar filter covering the front of the telescope. Take extra care with daytime or twilight Moon sessions when the Sun is in the sky.

What you need

Gear

  • Any telescope on a tracking mount. For a first mosaic a short focal length is easier, because the Moon then needs fewer panes. For close-ups of craters, Sky at Night suggests 4,000 mm or more of focal length. See telescopes and mounts.
  • A planetary camera. Any camera from our planetary camera round-up works. A sensor with more pixels covers more of the Moon in each pane. Sky at Night's mosaic guides favor a mono camera with a red or infrared-pass filter, which steadies the view.
  • Or an old webcam. A UVC webcam still works for the Moon: remove its lens and fit a 1.25" adapter so it slides into the focuser like an eyepiece. See what about a real webcam? and the section on nosepieces in camera adapters.
  • A laptop with USB 3.0 (USB 2.0 for a webcam) and plenty of free disk space.

Software

Time needed: about an hour at the telescope for a close-up and a four- to nine-pane mosaic; an evening at the computer for stacking every pane and stitching.

Step 1: Pick the phase and the time

The most detail is along the terminator, the line between the lit and dark parts of the Moon. NASA's viewing guide points out that features there cast long shadows that make them stand out; at full Moon the light falls straight on and the surface looks flat. Sky at Night notes that the terminator moves about 12° in longitude each night, so a crater you missed tonight is at its best a night earlier or later in the next cycle.

Image when the Moon is high. Sky at Night suggests waiting until it is above 30° altitude, where there is less air in the way and the seeing is usually steadier.

Step 2: Find and focus

Find the Moon

Center the Moon with a low-power eyepiece, then swap in the camera. If the screen shows only white or only black, the exposure is far off: shorten it drastically, because the Moon is far brighter than any deep-sky target. Our field of view calculator shows how much of the Moon your camera and telescope cover, and so how many panes a mosaic needs.

Orient the camera

For a mosaic, rotate the camera so that moving the telescope in right ascension moves the Moon straight across the frame, parallel to the bottom edge. Sky at Night's method: nudge the mount, watch the drift, loosen the camera in the focuser, turn it, and tighten it again.

Focus

Pick a crater rim or a mountain near the terminator. In SharpCap, open the focus tools from the Calculate Focus Score icon on the toolbar and use Contrast (Edge) Detection, which the manual calls a good starting point. The Track target with selection area option keeps the measurement on the same feature if the Moon drifts. Focus slowly and stop at the peak score.

Step 3: Exposure and capture

The settings use SharpCap's names.

  1. Color space: RAW8 (color) or MONO8 (mono). SharpCap's manual says 8 bits are generally enough for lunar work and allow high frame rates.
  2. Capture area: the Moon fills the sensor, so use the full frame, or a smaller Capture Area if you need a higher frame rate.
  3. Format: SER, which AutoStakkert! reads.
  4. Exposure: short. SharpCap's quick guide says to shorten the exposure for bright targets such as the Moon until the frame rate stops rising.
  5. Gain: low. Sky at Night suggests keeping gain below 50% for the Moon. Adjust exposure and gain until the brightest part reaches about 80 to 85% on the histogram. On a full-disk or close-up view there is no dark sky, so the histogram has no peak at the left; SharpCap's manual says the right-hand side still shows whether you are over- or underexposed. Set the exposure on the brightest pane and watch for clipping.
  6. Record: use Start Capture with a frame limit, or Quick Capture with a preset. Sky at Night suggests about 1,000 frames per capture; for a mosaic, András Papp's guide takes thousands of frames for bright panes and says hundreds are enough for the darker panes near the terminator.

With a webcam

Turn off every automatic setting (exposure, gain, white balance), since they are designed for faces in a room, not a bright Moon on a black sky. Use the shortest exposure that keeps the image from clipping. A webcam usually offers fewer controls and lower frame rates, but the method is the same.

Step 4: Capture the mosaic panes

  1. Start at one edge of the Moon, ideally along the terminator, and record the first pane.
  2. Move the mount in right ascension until the next pane overlaps the first generously, and record it. Note a feature at the edge of each frame so you know where the next one starts.
  3. At the end of a row, step in declination and work back along the next row.
  4. If you are unsure whether two panes overlap, record that pane again. Sky at Night suggests four to nine panes for a first mosaic.

Keep exposure and gain the same for all panes, so the stitched image has even brightness. Work steadily: the light along the terminator changes while you capture.

Step 5: Stack each pane in AutoStakkert!

The steps follow the official AutoStakkert! manual, written for version 2. Sky at Night's 2026 guide shows the same analyse, alignment-point grid and stack steps in the current version, and notes that AutoStakkert! can process all the pane files in one batch.

  1. Click 1) Open and choose the SER file of a pane (or several files at once for a batch).
  2. Under image stabilization choose Surface, which the manual recommends for lunar and solar surface detail.
  3. Quality estimator: the manual does not yet have a lunar chapter. It refers to a solar guide whose techniques the author says also apply to the Moon, and for solar work it advises always using Gradient.
  4. Click 2) Analyse.
  5. Click Place APs in Grid to cover the frame with alignment points. Use smaller points for fine detail in good seeing and larger ones if the video is noisy. A surface target needs points across the whole frame.
  6. Enter a number or percentage of frames to stack, or several values to compare. The manual's advice is to stack only the good frames.
  7. Tick Normalize Stack if thin cloud changed the brightness, then click 3) Stack.

Save every pane as a 16-bit TIFF and stack all panes with the same settings.

Step 6: Sharpen

Open each stacked pane in ImPPG. In the Lucy-Richardson deconvolution controls, the documentation recommends 30 to 70 iterations; raise sigma until crater rims look crisp without halos. ImPPG can apply the same settings to a batch of files, which keeps the panes consistent. An unsharp mask can add a final touch. Save as 16-bit TIFF.

Sharpen lightly. Over-sharpened panes show bright rims around craters and grain in the flat maria, and the panes will not blend well.

Step 7: Stitch the mosaic

Sky at Night's 2026 mosaic guide uses Microsoft Image Composite Editor. The steps below use Hugin, following its tutorial "Stitching flat scanned images", which treats each image as a flat picture shifted sideways. That fits telescope panes, which have no lens distortion to correct.

  1. In Hugin choose Interface > Expert, then Add images on the Photos tab and load your sharpened panes.
  2. When asked for the field of view, enter 10 for HFOV (the tutorial says any value from 5 to 40 degrees should work).
  3. Use Create control points (Hugin's CPFind) to find matching features in the overlaps; the Control points tab shows them. At least two points per overlapping pair are needed; more is better.
  4. Set the mode to Mosaic, choose Custom parameters under Geometric, and open the Optimizer tab. Unselect yaw and pitch, select the translation parameters X (TrX), Y (TrY) and Z (TrZ), and click Optimize now!
  5. Check the result in the Fast Panorama preview, set the projection to rectilinear and crop.
  6. On the Stitcher tab click Calculate Optimal Size, choose TIFF output and click Stitch Now...

If the seams show different brightness, the panes were exposed or processed differently; fix the panes rather than the mosaic. Finish with a gentle curves adjustment in any photo editor and save a lossless copy (PNG or TIFF) before exporting a JPEG to share.

Common problems

  • The Moon is a white blob. Overexposed. Shorten the exposure and lower the gain until nothing reaches 100% on the histogram.
  • The picture shimmers like water. Poor seeing or a warm telescope. Wait until the Moon is higher and the optics have cooled; a red or IR-pass filter helps steady the view.
  • Gaps in the mosaic. Not enough overlap. Capture more panes with more overlap next time; it costs only a few minutes.
  • Panes will not align in Hugin. Add control points by hand in the overlaps, or recapture panes that overlap too little.
  • Visible seams. Different exposure or sharpening between panes. Use the same settings for all of them.
  • A webcam image is too bright even at its shortest exposure. Turn off automatic exposure, lower gain and brightness, or add a red filter, which also cuts some of the light.

Next steps

Sources