local2global.example.rand_rotate_patches

rand_rotate_patches(alignment_problem: local2global.utils.AlignmentProblem)[source]

randomly rotate patches of alignment problem and return true rotations (used for testing)

Parameters

alignment_problem (AlignmentProblem) – Alignment problem to be transformed

Returns

list of true rotations