Skip to content

Live Stacking Studio

Stéphane Pilloy edited this page Nov 29, 2026 · 1 revision
Language: English | Français 🇫🇷

Live Stacking Studio (Preview)

The Live Stacking Studio turns CassiniFlow into a real-time planetary, lunar, and solar acquisition & analysis suite—cross-platform (Windows & Linux), 100% bilingual (FR/EN), and NightVision-safe.

UI Isolation & Safety: The Live Stacking tab uses an isolated live viewer (separate from offline file/master previews) and locks workflow mode switching while live stacking is active to prevent accidental session interruption.


1. Camera & Input Sources

  • Native Camera SDKs (optional runtime loading if vendor DLL/SO is installed):
    • ZWO ASI (ZwoAsiHardwareCameraDriver)
    • Player One, QHYCCD, ToupTek, SVBony
    • Automatic USB health monitoring and transparent reconnection on micro-disconnects.
  • ASCOM Alpaca Camera (REST Cross-Platform):
    • Native HTTP/JSON client with UDP Alpaca discovery and full control over exposure, gain, offset, binning, ROI, TEC cooling, and ImageArray readout.
  • Local Video / SER Playback:
    • Stream any .ser, .avi, or .mp4 capture through the live pipeline for testing or demonstrations.
  • Synthetic Camera Simulator (off by default; enable in Settings):
    • Simulates planetary disc drift, variable atmospheric seeing, readout/thermal noise, vignetting, and planetary rotation.
  • Thermal Management & Capture Profiles:
    • TEC target temperature control, cooler power telemetry, and per-telescope/target profiles (Jupiter, Saturn, Moon, Solar H-Alpha).

2. Real-Time Analysis & HUD Controls

All live metrics execute with zero per-frame heap allocation (Span<T> / ArrayPool<T>):

  • Live RGB & Luminance Histogram (256 bins, linear or log scale):
    • Interactive Black / Mid / White sliders, Auto-Stretch, Auto-WB (Gray-World & Planetary), and Highlight Over-Exposed (bright red overlay on clipped pixels).
  • Focus Assistant (5 selectable strategies):
    • ContrastEdge, FourierDetail, HistogramRange, MultiStarFwhm, and Bahtinov, with rolling graph and PeakScore tracking.
  • Seeing Monitor:
    • Rolling atmospheric quality curve with Auto-Threshold and boolean ShouldRecordFrame gate for automatic lucky-imaging SER triggering.
  • Visual ADC Alignment Indicator:
    • Real-time measurement of R/G/B chromatic dispersion (DxR, DyR, DxB, DyB, angle & magnitude) to guide physical Atmospheric Dispersion Corrector prism adjustment.
  • Viewer Tools & Display FX (non-destructive):
    • Mouse ROI selection & Auto-ROI Tracking (centroid-locked crop to maximize FPS).
    • Real-time Pixel Readout (ADU 8/16-bit per channel + $3\times3$ / $5\times5$ average).
    • Reticles & Collimation Aids, Drift Graph $(\Delta X, \Delta Y)$, channel isolation, Negative mode, H/V Flip, $90^\circ/180^\circ/270^\circ$ rotation, and Ghosted Image overlay.

3. Live Calibration & Non-Destructive Enhancements

  • Live Calibration:
    • 1-click capture of $N$ Master Dark or Master Flat frames, hot/cold pixel removal, and horizontal/vertical CMOS Banding Suppression.
  • Non-Destructive Display Enhancements:
    • Fast edge-preserving Bilateral Filter, lightweight luminance Deconvolution (Richardson-Lucy / Wiener), and Solar H-Alpha false-color palette—applied only to the display buffer without altering raw frames or SER recordings.

4. Advanced SER Recording

  • Capture Limits & Multi-Capture Sequences: Unlimited, FrameLimited, or TimeLimited modes, plus automated sequences of $N$ consecutive captures with configurable inter-capture pause.
  • Seeing Monitor Trigger: Automatically pauses/resumes SER writing based on ShouldRecordFrame.
  • Standard Timestamped Naming & Sidecar: Exports YYYY-MM-DD-HHMM_S-Target filenames alongside .CameraSettings.txt and thread-safe EmergencySave() on shutdown.

5. Observatory Automation

Enable hardware simulators in Settings to test the full automation suite offline:

  • Mount, Focuser & Filter Wheel: Cross-platform ASCOM Alpaca REST drivers + native ZWO EFW + full offline simulators.
  • Feature Tracking: Closed-loop planetary limb or surface correlation sending fine PulseGuide corrections to the mount.
  • V-Curve Autofocus: Motorized focuser sweep coupled with LiveFocusAssistantService (hyperbolic regression) to locate optimal focus automatically.
  • Planetary Sequencer: Automated multi-filter sequences (e.g., L-R-G-B, R-G-B-IR-CH4) with per-filter focus offsets and unified UTC timestamped naming.
  • Lunar / Solar Mosaic Planner: Tile grid generator with configurable overlap, visual guidance, automated mount slewing between panels, and per-tile acquisition status.

Clone this wiki locally