A SpatialTransform stores a registration between reference_fixed and
reference_moving. It maps coordinates in the fixed resource to coordinates in the
moving resource, in millimetres.
matrixholds a 4×4 affine as 16 row-major values. For deformable registrations,path_nii_warppoints to a displacement field on the fixed grid, applied before the matrix.parent_identifieris the fixed resource;derived_fromlists both resources.generation_method,generation_versionandgeneration_parametersrecord how the registration was produced. Updates keep the resource’s previous versions.
For slides, transforms use the catalog’s HistoScan.resolution (µm per pixel,
[x, y]). Set it from image metadata before storing transforms and keep it unchanged
while those transforms refer to it.
See vxreg for coordinate conventions, tool conversions, and examples of writing, chaining and applying transforms.