User guideΒΆ

The user guide explains the ideas shared by every model in MIR. Read Conventions first; the other pages can be read in any order.

Conventions

Tensor shapes, displacement units, warping, composing flows, changing resolution, and the calling convention of each model type.

Conventions
Transformation models

How a network output becomes a deformation: displacement, SVF, time-varying fields, symmetric mappings, LDDMM. What each guarantees.

Transformation models
Regularization

Global smoothness penalties, spatially varying regularization (SPR) and hypernetwork-conditioned regularization strength.

Regularization
Losses and metrics

Mono- and multi-modal similarity, label supervision, regularizers, Dice and Jacobian-based folding metrics.

Losses and metrics
Training a model

A complete, annotated training loop with the practices used across the tutorials.

Training a model
Pretrained weights

Every published checkpoint, what it was trained on, and how to load it.

Pretrained weights
Registration in the browser

Export a MIR model to ONNX and run it in a web page: the recipe behind the live spatially varying regularization playground.

Registration in the browser