Skip to content
Stéphane Pilloy edited this page Nov 4, 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.
  • ⏱️ WinJUPOS Integration: Retains sub-millisecond frame UTC timestamps in SER format and exports WinJUPOS-compliant filenames for planetary de-rotation.
  • ⚡ 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.

Three Flexible Workflow Modes

flowchart TD
    Raw["Raw Capture (SER, FITS, AVI, MP4)"]

    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 Alignment ➔ Drizzle ➔ Master Stack)"]
    end

    Raw --> mode1 --> Master["Stacked Master Image (FITS / TIFF / PNG)"]
    Raw --> mode2 --> CleanSER["Optimized SER / FITS Sequence"]
    CleanSER --> mode3 --> Master
    Master --> WinJupos["WinJUPOS De-rotation & Final Sharpening"]
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 desktop interface and real-time AstroViewer.
Multi-Zone Stacking Alignment points (AP), local registration, 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.
WinJUPOS Integration Timestamp preservation 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