Skip to content

Calibration

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

Astronomical Calibration (Darks, Flats & Hot Pixels)

High-gain planetary cameras suffer from thermal sensor noise (dark current), fixed pattern noise, and dust shadows on sensor optical windows. CassiniFlow applies pre-processing calibration on every frame on the fly.


Calibration Pipeline

flowchart LR
    Raw["Raw Frame"] --> SubDark["- Master Dark<br/>(Thermal Noise)"]
    SubDark --> DivFlat["/ Master Flat<br/>(Vignetting & Dust Donuts)"]
    DivFlat --> HotPix["Hot-Pixel Elimination<br/>(Median Neighbor Replacement)"]
    HotPix --> Calibrated["Calibrated Frame"]
Loading

1. Master Dark Subtraction

  • Purpose: Removes thermal sensor glow and reproducible fixed pattern noise.
  • Requirements: A Master Dark created at the same gain, exposure time, and sensor temperature as your light frames.
  • Math: $$I_{\text{dark-subtracted}}(x,y) = \max\left(0, I(x,y) - I_{\text{dark}}(x,y)\right)$$

2. Master Flat Field Correction

  • Purpose: Corrects optical vignetting and eliminates dust donut shadows caused by dust specks on the camera glass or barlow lens.
  • Math: $$I_{\text{flat-corrected}}(x,y) = \frac{I(x,y)}{\max(\epsilon, I_{\text{flat}}(x,y))} \times \text{Mean}(I_{\text{flat}})$$

3. Hot-Pixel Removal

CMOS planetary sensors often have isolated bright white stuck pixels.

  • CassiniFlow detects isolated pixels exceeding neighbor thresholds by more than 5 sigmas.
  • The defective pixel value is substituted dynamically using a local $3 \times 3$ median filter without blurring adjacent astronomical details.

Clone this wiki locally