Repository navigation
Multi Zone Stacking
CassiniFlow includes a native, high-performance Multi-Zone Stacking Engine capable of compensating for localized atmospheric turbulence distortions across planetary discs and lunar/solar surfaces.
Atmospheric turbulence (seeing) does not distort an image uniformly. One edge of Jupiter or a lunar crater may be momentarily crystal clear while the opposite side is warped by an atmospheric wave.
CassiniFlow divides the image into a grid of Alignment Points (AP):
flowchart TD
Video["Input Video Stream"] --> RefSel["Reference Frame Selection<br/>(Auto Sharpest or Double-Stack)"]
RefSel --> APGrid["Generate Alignment Points Grid<br/>(Multi-Scale APs, Brightness Threshold, Pruning)"]
APGrid --> LocalCorr["Local Sub-Pixel Cross-Correlation<br/>(Track shift vector dx, dy per AP)"]
LocalCorr --> WeightedSum["Weighted AP Summation & Blending<br/>(Feathered tile transitions)"]
WeightedSum --> Enhancements["Restoration & Color Tuning<br/>(Drizzle 1.5x/3x, ADC Alignment, Sharpening)"]
Enhancements --> MasterOut["Final Master Image (FITS / TIFF / PNG)"]
- Multi-Scale Grid: Places smaller APs on fine contrast edges (cloud belts, lunar rilles) and larger APs across smooth regions.
- Tile Size: Configurable patch size (e.g., 24, 48, 104 pixels).
- Automatic Pruning: Discards low-contrast background sky tiles to focus computational power exclusively on the astronomical target.
- Min Brightness Threshold: Avoids placing points in dark sky noise.
- Automatic Reference: Analyzes the sequence to select the single frame with the highest contrast and sharpness.
- Double Stack Reference: Averages the sharpest 5 to 15 frames together into a synthetic, noise-free reference master, dramatically boosting alignment accuracy on faint or noisy captures.
- Adjustable from 1 (High SNR / bright targets) to 8 (Very low SNR / noisy or faint targets).
- Applies localized Gaussian bandpass filtering before correlation to prevent alignment points from locking onto sensor read noise.
Generate multiple stack percentages in a single execution without re-reading the video:
-
Percentages: e.g.,
10%,25%,50%. -
Frame Counts: e.g.,
250,500,1000frames. CassiniFlow saves each tier as an independent high-bit-depth master file for easy comparison.
-
Alt-Az 2D Field Derotation (
FieldDerotationEngine): For Alt-Azimuth / Dobsonian mounts, computes the exact parallactic angle variation$q(t) - q(t_{\text{ref}})$ from observer latitude, target altitude, target azimuth, and optical mirror parity to compensate 2D field rotation across the sequence. (Note: 2D field derotation corrects mount-induced field rotation, not the 3D axial rotation of a planetary globe.) - Drizzle Scale: 1.5× and 3.0× sub-pixel interpolation to recover high-frequency detail from slightly undersampled cameras.
- Atmospheric Dispersion Correction (ADC): Automatically registers Red and Blue color channels against Green to remove atmospheric chromatic fringes.
- Sharpening & Feathering: Blends high-frequency unsharp masking while seamlessly feathering tile boundaries to eliminate grid stitch lines.
CassiniFlow • Modern Planetary & Solar Preprocessing Engine • High Performance .NET 10 & Avalonia UI
GitHub Repository • Releases • Report an Issue
CassiniFlow Wiki
Astronomical Lucky Imaging & Multi-Zone Stacking Suite
🌐 Language / Langue
🇬🇧 English • 🇫🇷 Français
-
Getting Started
-
Desktop Application (GUI)
-
Automation & CLI
-
Support & Internals
-
Prise en main
-
Interface Graphique (Desktop)
-
Automatisation & CLI
-
Support & Architecture