Tool for segmentation-based deformable registration and object matching
Image-Matchmaker is a framework that leverages instance segmentation masks to align two volumetric datasets of e.g. different modalities like EM and LM. It optimizes a transformation that maps a moving volume onto a fixed reference volume, progressively refining the spatial correspondence through a sequential pipeline:
- Pre-alignment (SVD) — coarse global alignment of centroids and principal axes.
- Rigid registration (Elastix) — rotation + translation refinement.
- Coherent Point Drift (CPD) — non-rigid alignment of instance-centroid point clouds.
- Instance matching — establish instance correspondences.
- B-spline registration (Elastix) — final deformable alignment driven by the matched landmarks on the original masks (rigid → rough → fine B-spline).
The composed rigid + B-spline transform can then be reapplied to the raw channels of the original volumes (e.g. raw EM or fluorescence LM) to bring them into a shared coordinate space.
Full documentation is available at https://image-matchmaker.readthedocs.io/, including:
- Installation — set up the conda environment.
- Quickstart — run your first registration.
- Usage — Snakemake workflow, command-line scripts, and Python API.
- Configuration reference — registration and transform parameters.
- Outputs — files produced by each stage.
- Troubleshooting — common issues and solutions.
