local2global.utils.transform_error

transform_error(transforms)[source]

Compute the recovery error based on tracked transformations.

After recovery, all transformations should be constant across patches as we can recover the embedding only up to a global scaling/rotation/translation. The error is computed as the mean over transformation elements of the standard deviation over patches.

Parameters

transforms – list of transforms