Closed antithing closed 7 years ago
You'll need to use the cpd::Rigid
class and the Rigid::scale
setter, e.g.:
cpd::Rigid rigid;
rigid.scale(true);
cpd::RigidResult result = rigid.run(fixed, moving);
I've added a test in e48ccb913a6cba32b183dd40b2f687d1e545cb3a to confirm that things are working as expected, so I'm closing this issue. Please re-open if you find another problem.
Thanks!
Hi and thank you for this code. I need to run cpd on two point sets that are at different scales. How do i return the scale difference? I am just running:
`
But the scale always returns as
1
. What am i missing?Thank you again!