Skip to content

About

Tool for segmentation-based deformable registration

Resources

Stars

1 star

Watchers

4 watching

Forks

Repository files navigation

💞 Image-Matchmaker

Tool for segmentation-based deformable registration and object matching

Overview

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:

  1. Pre-alignment (SVD) — coarse global alignment of centroids and principal axes.
  2. Rigid registration (Elastix) — rotation + translation refinement.
  3. Coherent Point Drift (CPD) — non-rigid alignment of instance-centroid point clouds.
  4. Instance matching — establish instance correspondences.
  5. 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.

Image-Matchmaker pipeline

Installation

For a standard installation, install Image-Matchmaker with pip:

pip install image-matchmaker

For development, clone the repository and follow the Installation Guide to set up the environment.

Usage

Run the registration workflow using a configuration file:

image-matchmaker register --config /path/to/config.yaml --cores 8

To apply the resulting transform to other images:

image-matchmaker apply --config /path/to/config.yaml --cores 8

The --config option is required. See the Quick Start and Configuration Reference for details.

Documentation

Full documentation is available at https://image-matchmaker.readthedocs.io/, including:

About

Tool for segmentation-based deformable registration

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages