Guides/Mars/Median Stacking

How to Stack Mars Video with Median Stacking

MarsBeginner Level15 min read

Process Mars videos online and reveal surface features. Stack and enhance polar caps, dark regions, and dust storms.

Advanced Mode Tutorial

This guide covers manual configuration in Advanced Mode where you select the stacking algorithm and fine-tune all parameters. For automatic processing, try Quick Mode - it detects your video type and applies optimal settings automatically.

TL;DR

Want full control over your Mars processing? Median Stacking is a Beginner-level algorithm. The safest choice - naturally rejects outliers and artifacts It works especially well for White polar ice caps (CO2 and water ice). This guide shows you how to configure Median Stacking in Advanced Mode for optimal results.

Introduction

Mars is one of the most rewarding targets for amateur astrophotographers. With its White polar ice caps (CO2 and water ice) and Dark albedo features (Syrtis Major, Mare Acidalium), even modest equipment can capture impressive detail. However, raw video footage straight from your camera rarely shows the full potential of your observations.

This is where Median Stacking comes in. By intelligently combining hundreds or thousands of video frames, Median Stacking For each pixel position, collects values from all frames. The result? A single image with dramatically improved detail and reduced noise.

In this guide, you'll learn exactly how to use Median Stacking to process your Mars videos using Uranum AstroStack AI - a cloud-based tool that replaces complex desktop software like PIPP, AutoStakkert, and Registax with a simple, browser-based workflow.

Whether you're using a smartphone through an eyepiece or a dedicated planetary camera, this tutorial will help you achieve professional-quality results.

What is Median Stacking?

For each pixel, sorts all frame values and picks the middle one. Naturally eliminates extreme outliers like airplane lights, satellite trails, and sensor hot pixels. Simple but effective - a great starting point for any video.

How It Works:

  1. 1For each pixel position, collects values from all frames
  2. 2Sorts all values and selects the middle value (median)
  3. 3Outliers (satellites, hot pixels, cosmic rays) are naturally excluded
  4. 4Result is the "typical" value at each pixel - very robust

Best For:

  • First-time planetary photographers - safe and reliable
  • Removing satellite trails, airplane lights, Starlink streaks
  • Videos with occasional bright artifacts or hot pixels
  • When you are unsure which algorithm to use

Not Recommended For:

  • Videos with highly variable seeing - weighted better captures sharp moments
  • When you need maximum detail and have high-quality source footage

Why Use Median Stacking for Mars?

Mars presents unique challenges for astrophotographers: Very small apparent size except near opposition (max ~25 arcsec) and Surface detail is low contrast - very sensitive to seeing. Median Stacking is a viable option for Mars because it effectively addresses these challenges.

Using Median Stacking with Mars

  • Feature Enhancement: Mars's White polar ice caps (CO2 and water ice) benefit from Median Stacking's ability to First-time planetary photographers - safe and reliable.
  • Challenge Mitigation: The Very small apparent size except near opposition (max ~25 arcsec) is handled well because Median Stacking Sorts all values and selects the middle value (median).
  • Skill Level: As a Beginner-level algorithm, Median Stacking is accessible even if you're new to planetary imaging.

Step-by-Step Tutorial

Follow these steps to process your Mars video using Uranum AstroStack AI. The entire process takes about 5-10 minutes.

1

Step 1: Capture Your Mars Video

For best results, capture 5,000-15,000 frames at 100-200 fps. Maximum duration: 2-3 minutes (24.6h rotation). Use 5-15ms exposure at Medium (280-380) gain.

Tip: Mars is VERY seeing-sensitive - only image on excellent nights

2

Step 2: Upload Your Mars Video

Drag and drop your Mars video file into Uranum. We support AVI, SER, MP4, MOV, and MKV formats (up to 1.5GB free, 4GB Starter, 10GB Pro).

Tip: SER format preserves maximum quality. MP4/MOV have compression artifacts but still work well.

3

Step 3: Select Mars as Object Type

Choose "Mars" from the object type dropdown. This applies optimized defaults including stack percentage (10-20%) for average seeing and enhancement settings tuned for White polar ice caps (CO2 and water ice).

Tip: Quick Mode will auto-detect optimal settings. Use Advanced Mode only if you need specific control.

4

Step 4: Choose Your Mode

Quick Mode: Automatic processing with intelligent frame selection - recommended for most users. Advanced Mode: Manual control over Median Stacking and all parameters.

Tip: Quick Mode uses knee-detection to find optimal stack percentage automatically.

5

Step 5: For Advanced Mode: Select Median Stacking

In the Stacking section, choose "Median Stacking". The safest choice - naturally rejects outliers and artifacts

Tip: Median Stacking is Beginner-level. First-time planetary photographers - safe and reliable.

6

Step 6: Set Stack Percentage Based on Seeing

Adjust based on your seeing conditions: Poor (5-10%), Average (10-20%), Good (20-30%), Excellent (30-40%). When in doubt, start with 10-20%.

Tip: Lower percentage = sharper but noisier. Higher percentage = smoother but potentially softer.

7

Step 7: Start Processing

Click "Start Processing". Uranum analyzes frames, ranks them by quality, stacks the best ones, and applies enhancements. Processing typically takes 2-5 minutes.

Tip: Track progress in real-time. Processing time depends on frame count and your tier.

8

Step 8: Download Your Result

Compare before/after using the slider. Download in PNG (8/16-bit), TIFF (16-bit), or FITS (32-bit for scientific use).

Tip: 16-bit TIFF preserves the most data for further processing in PixInsight, Photoshop, etc.

Recommended Settings for Mars + Median Stacking

These are recommended starting values for Mars videos with Median Stacking in Advanced Mode. Use them as a baseline and adjust based on your specific video quality and conditions.

Recommended Starting Settings
SettingValueExplanation
Capture Duration2-3 minutes (24.6h rotation)Mars has specific rotation limits. Exceeding this causes motion blur that stacking cannot fix.
Frame Count Target5,000-15,000 framesMore frames = more to choose from. Capture at 100-200 fps for optimal sampling.
Stack Percentage (Average Seeing)10-20%For typical seeing conditions, stack 10-20% of frames. Adjust based on your seeing: poor (5-10%), average (10-20%), good (20-30%), excellent (30-40%). Quick Mode auto-detects optimal percentage.
Stacking AlgorithmMedian StackingThe safest choice - naturally rejects outliers and artifacts
Wavelet PresetBalanced to AggressiveMars benefits from moderate to strong sharpening (small target needs enhancement). Quick Mode auto-selects based on image sharpness analysis.
Output Format16-bit PNG or TIFF16-bit preserves maximum tonal information. Use for further processing in other software.

Capture Settings Reminder

For best results with Mars, capture at 100-200 fps with 5-15ms exposure and Medium (280-380) gain.

Tips for Best Results

Capture Tips for Mars

  • Mars is VERY seeing-sensitive - only image on excellent nights
  • Use IR-pass filter (685nm+) to cut through atmospheric turbulence
  • Stack only the best 10-20% - Mars rewards selectivity
  • Perihelic oppositions (Mars near perihelion) give largest apparent size

Processing Tips

  • Start with Quick Mode to see baseline results
  • Use Advanced Mode to fine-tune wavelets and sharpening
  • Export as 16-bit TIFF for maximum quality
  • Compare different algorithms to find your preference

Common Mistakes to Avoid

  • Don't over-sharpen - it creates artifacts and noise halos
  • Don't stack 100% of frames - quality matters more than quantity
  • Don't capture during poor seeing - wait for stable air
  • Don't forget to let your telescope acclimate to outside temperature

Frequently Asked Questions

Common questions about planetary video stacking and processing.

Related Guides

Explore more tutorials to expand your planetary imaging skills.

Ready to Process Your Mars Videos?

Transform your planetary videos into stunning images with Uranum AstroStack AI. No installation required - process directly in your browser.

Free tier includes 3 processings per month. No credit card required.