Skip to content
Stéphane Pilloy edited this page Nov 29, 2026 · 4 revisions
Language: English | Français 🇫🇷

Welcome to the CassiniFlow Wiki

CassiniFlow Logo

High-Performance Astronomical Preprocessing & Multi-Zone Stacking Suite for Planetary, Lunar, and Solar Lucky Imaging

License: MIT Platform: Windows & Linux Runtime: .NET 10


What is CassiniFlow?

CassiniFlow is a modern, high-speed, all-in-one astronomical software dedicated to lucky imaging (Planets, Moon, Sun). When imaging celestial bodies, atmospheric turbulence (seeing) degrades individual frames, and telescope tracking errors cause targets to drift.

CassiniFlow handles the complete pipeline—from raw capture ingest to final stacked master images:

  • 🥞 Native Multi-Zone Stacking Engine: Generates multi-scale Alignment Point (AP) grids, tracks local atmospheric warping, and computes ultra-sharp stacked master images directly.
  • 🎯 Planetary Centering & Stabilization: Detects the planetary limb or disc, computes the precise Center of Gravity (CoG), and centers every frame automatically.
  • 📐 Dynamic Cropping: Drastically reduces frame sizes (e.g. from 4K/1080p full sensor down to 512×512 centered on the target).
  • 🏆 Atmospheric Seeing Grading: Evaluates each frame with gradient sharpness and Laplacian variance, keeping only the sharpest top-K% frames.
  • 🔍 Drizzle & Restoration: Built-in 1.5× and 3.0× Drizzle scaling, atmospheric dispersion correction (ADC), and sharpening blend.
  • 🌈 Fast & High-Quality Debayering: Supports RGGB, BGGR, GBRG, and GRBG matrices with Bilinear, High-Quality Linear, and Malvar-He-Cutler algorithms.
  • 🎥 Live Stacking Studio (Preview): Real-time planetary acquisition & stacking with native camera SDKs (ZWO ASI, Player One, QHYCCD, ToupTek, SVBony), cross-platform ASCOM Alpaca REST, live RGB histogram, 5-strategy Focus Assistant, Seeing Monitor, ADC alignment indicator, and observatory automation.
  • ⏱️ Timestamp Preservation & Standard Naming: Retains sub-millisecond frame UTC timestamps in SER v3 format, generates .CameraSettings.txt sidecars, and exports YYYY-MM-DD-HHMM_S-Target filenames.
  • ⚡ Ultra-Low Memory Footprint: Single-Pass Bounded Top-K Min-Heap architecture keeps RAM consumption under 900 MB even when processing massive 50+ GB raw SER captures.

Four Workflow Modes

flowchart TD
    Raw["Raw Capture (SER, FITS, AVI, MP4)"]
    Cam["Live Camera / ASCOM Alpaca / Video / Simulator"]

    subgraph CassiniFlow["CassiniFlow Pipeline"]
        direction TB
        mode1["Mode 1: Direct Stream All-In-One<br/>(Calibration ➔ Centering ➔ Debayer ➔ Multi-Zone AP Stacking)"]
        mode2["Mode 2: Pre-Processing Only<br/>(Centering ➔ Debayer ➔ Quality Top-K ➔ Export Clean SER/FITS)"]
        mode3["Mode 3: Stacking Only<br/>(AP Grid ➔ Local Warping ➔ Alt-Az 2D Derotation ➔ Drizzle ➔ Master Stack)"]
        mode4["Mode 4: Live Stacking Studio (Preview)<br/>(Live Calibration ➔ Focus/Seeing/ADC HUD ➔ Live Stack & SER Capture)"]
    end

    Raw --> mode1 --> Master["Stacked Master Image (FITS / TIFF / PNG)"]
    Raw --> mode2 --> CleanSER["Optimized SER / FITS Sequence"]
    CleanSER --> mode3 --> Master
    Cam --> mode4 --> LiveOut["Live Master & Timestamped SER + .CameraSettings.txt"]
Loading

Quick Navigation

Topic Description
Installation & Requirements Supported OS (Windows, Linux, WSL2), dependencies, and runtime options.
Quickstart Guide Preprocess and stack your first capture in 3 minutes.
Supported Formats SER 8/16-bit, FITS mono/color, AVI, MP4, image sequences.
GUI Overview Guide to the Avalonia 12.1.5 desktop interface, dynamic menus, and AstroViewer.
Live Stacking Studio (Preview) Real-time cameras, ASCOM Alpaca, Focus/Seeing/ADC HUD, and observatory automation.
Multi-Zone Stacking Alignment points (AP), local registration, Alt-Az 2D derotation, Drizzle, and multi-tier stacks.
Centering & Cropping Limb detection, planet diameter estimation, dynamic crop.
Debayering Guide Bayer color demosaicing and algorithm comparison.
Atmospheric Quality Grading Seeing ranking algorithms and bounded heap filtering.
Calibration Applying Master Dark, Master Flat, and Hot-Pixel correction.
Timestamps & Standard Naming UTC timestamp preservation, .CameraSettings.txt, and standard planetary naming.
CLI Reference Headless automation and batch processing flags.
Troubleshooting Solutions for common issues on Windows and Linux.
Hexagonal Architecture Developer guide: Domain-Driven Design, ports, adapters, and zero-allocation.

Clone this wiki locally