local2global.exampleΒΆ
Generate synthetic test data
Functions
Create patches for points. |
|
Add random normally-distributed noise to each point in each patch |
|
Generate test data with normally-distributed clusters centered on sphere. |
|
Plot procrustes reconstruction errors as a function of the noise level |
|
Plot the reconstruction error for each point |
|
Sample a random orthogonal matrix (for testing). |
|
randomly rotate patches of alignment problem and return true rotations (used for testing) |
|
randomly scale patches of alignment problem and return the true scales (used for testing) |
|
randomly shift patches by adding a normally distributed vector (used for testing) |
|