Registration Framework

Containes the core registration components for MERLIN. The framework builds on ITK and is heavily inspired by ANTs.

Core registration Functions

The main workhorse of the registration is the ants_pyramid function. The registration is written in ITK but modeled on the settings in the ANTs pyramid registration, and thus the name.

pymerlin.reg.versor3D_registration

Multi-scale rigid body registration

Filter and Masking

Some tools for masking and thresholding

pymerlin.reg.otsu_filter

Applies an Otsu filter

pymerlin.reg.winsorize_image

Applies winsorize filter to image

pymerlin.reg.threshold_image

Threshold image at given value

pymerlin.reg.histogram_threshold_estimator

Estimate background intensity using histogram.

Registration help

Tools for the registration framework

pymerlin.reg.versor_reg_summary

Summarise results from one or more versor registration experiments

pymerlin.reg.versor_watcher

Logging for registration

pymerlin.reg.resample_image

Resample image with registration parameters

pymerlin.reg.get_versor_factors

Calculate correction factors from Versor object

pymerlin.reg.setup_optimizer

Setup optimizer object

pymerlin.reg.versor_resample