Here is a code snippet illustrating how a registration model is build by combining a loss function and a deformation model: ...