Repository navigation
Centering and Cropping
Due to telescope mount periodic errors, atmospheric dispersion, and wind gusts, planetary targets wander inside the sensor field of view. CassiniFlow centers the target and crops the frame to optimize downstream processing.
The centering domain service computes the sub-pixel Center of Gravity (CoG) and planetary limb geometry:
-
Thresholding & Object Isolation:
- Isolates the planetary disc against sky background noise.
- Rejects isolated dead pixels or noise bursts.
-
Center of Gravity (CoG):
- Evaluates weighted pixel intensity centroids:
$$\bar{x} = \frac{\sum x \cdot I(x,y)}{\sum I(x,y)}, \quad \bar{y} = \frac{\sum y \cdot I(x,y)}{\sum I(x,y)}$$
- Evaluates weighted pixel intensity centroids:
-
Phase & Limb Compensation:
- For gibbous or crescent targets (e.g. Venus, Mercury), standard CoG shifts toward the illuminated limb. CassiniFlow compensates using circular edge detection to find the true geometric planet center.
-
Rejection of Invalid Frames:
- Empty / Lost Target: If clouds obscure the target or tracking drifts off-sensor, frames are rejected.
-
Overexposure: Frames corrupted by cosmic rays or camera transfer flashes exceeding
--overexposedpixel thresholds are automatically discarded.
Cropping reduces frame size to the strict bounding box around the planet:
| Mode | Behavior | Best Used For |
|---|---|---|
| Auto-Detect Planet Size | Analyzes planetary diameter via PlanetSizeAnalyzer and adds a safety margin padding. |
Automated batch processing across different planets. |
| Fixed Box (e.g. 512×512) | Forces every frame to strict identical dimensions centered on the target. | Recommended for alignment grids and uniform stacking canvases. |
| Offset Adjustments ( |
Shifts the center by a specified offset in pixels. | Framing planetary moons (e.g. Io, Europa, Titan) alongside the main planet. |
- Yellow Crosshair: Represents the calculated planetary centroid.
- Bounding Box: Outlines the cropped region that will be exported to disk.
- Auto-Preview: Moving through the scrubber updates the detection in real time.
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