Mega Image Integrator
Mega Image Integrator (mii) is fast, opinionated
image integration for astrophotography: lights in, master out. It calibrates, debayers,
registers, normalizes and integrates your subexposures, by weighted mean or drizzle with
per-pixel rejection, and produces one master per light group. Every decision it makes
automatically is shown and logged, never silent, with a curated set of overrides when you want
control. It ships as a standalone CLI and as a PixInsight process.
Everything lives in a session: inputs, options, caches and masters. Add another night of lights and run again, and only the new work is done.
Source and issue tracker: GitHub, coming soon. It's free and open source, and always will be. If it saves you time, donations are welcome at Ko-fi, entirely optional.
Features
- The whole pipeline: FITS and XISF in, mono and one-shot colour, optional calibration with master darks, flats and bias built or reused automatically, star-based registration, normalization and weighting, then rejection stacking or drizzle.
- Decisions you can see: frames are classified from their headers, and the reference frame, rejection algorithm and weighting are chosen per group. The plan shows every group, the options each will use and the master it would build before anything runs.
- Drizzle without demosaicing: on one-shot colour data, each Bayer site is scattered straight into the channel its colour filter admits, so the master is built from measured samples rather than interpolated ones. Per-channel coverage is reported, with a warning when dithering left gaps.
- Grouping by path keywords: name folders like
PANEL_1orNIGHT_2026-03-02and integrate one master per mosaic panel, or give each night its own calibration while the lights still integrate into one master. Smart-scope drift mosaics register onto one canvas. - Sessions and caching: calibrated and registered frames are cached in the session, so reruns skip what is already done and a master whose frames did not change is reused.
- Frame quality at a glance: FWHM, eccentricity, star count, background, noise, transparency and weight for every light, with poor frames flagged for exclusion.
- Built for speed: every stage runs in parallel across all your cores, and each run prints a per-stage timing table.
Multi-frame deconvolution and ImageMM support are in the works.
CLI Coming soon
The command-line tool is not yet available for download; it will be released alongside the GitHub repository. A taste of what it looks like: point it at a directory and let it sort itself out, drizzle at 2× instead, or integrate a mosaic one master per panel.
mii integrate ./M83
mii integrate ./M83 --method drizzle --drizzle-scale 2 --pixfrac 0.8
mii integrate ./mosaic --group PANEL Comprehensive CLI documentation will be available on GitHub when the tool is released.
PixInsight Integration Beta
Mega Image Integrator ships as MegaImageIntegrator, a process in the Preprocessing category. It drives the same engine as the CLI through a separate worker program, so PixInsight stays responsive while it runs: runs can be paused, resumed and queued across several sessions. Documentation is included with the module, available through PixInsight's process documentation viewer.
Version 0.1.0. Requires PixInsight 1.9.5 or later.
Beta channel only, for now
Mega Image Integrator is currently published to the beta repository only. The beta repository replaces the stable one, not alongside it, so switching also moves Mega Merge Mosaic and Mega Pixel Processor onto their beta builds. Beta builds are unpolished, so expect rough edges.
Install from the beta repository
- Open Resources → Updates → Manage Repositories. If the stable Astrometrical repository is listed, remove it.
-
Click Add, paste the beta repository URL:
https://tools.astrometrical.com/pixinsight/beta/ - Accept, then run Resources → Updates → Check for Updates. Make sure Mega Image Integrator module is ticked and apply.
- Restart PixInsight; find MegaImageIntegrator under Process → Preprocessing.
Getting started
- Click New... and choose an empty directory for the session.
- On the Inputs tab, add the folders holding your lights and calibration frames. Each frame's role is read from its header, or set it per folder.
- Check the Plan tab: the groups, the options each will use and the masters it will build.
- Press Run. Progress, stage and time remaining show in the header, and the masters appear on the Results tab, where a master can be plate solved with PixInsight's ImageSolver.
The process icon holds only the session directory, so it can be saved, dragged to the workspace and executed globally from scripts as well.