Skip to contents

Finds `R_i in SO(k)` that best aligns `A_orig_subj_anchor` to `T_anchor_group`. This is the standard unweighted version.

Usage

solve_procrustes_rotation(A_orig_subj_anchor, T_anchor_group)

Arguments

A_orig_subj_anchor

Numeric matrix (`m x k`), subject's anchor sketch.

T_anchor_group

Numeric matrix (`m x k`), group anchor template.

Value

Orthogonal rotation matrix `R_i` (`k x k`) with `det(R_i) = 1`.