<div dir="ltr">Dear all,<div><br></div><div>I am trying to register two pointsets where each pointset represents a curve. I have tried using the IterativeClosestPointRegistration2.cxx example. But the problem with the results here is that while the translation seems to be OK, the rotation is not when I do not set an initial rotation. </div><div><br></div><div>According to the user guide, the Euler3DTranform cannot handle for large rotations, and the user has to provide an initial rotation that is correct to within 10 or 20 degrees. When I have provided the initial rotations, and the resulting registered curve seems to be correct. I got the initial rotations by manually rotating and translating the moving pointset in Paraview against the fixed pointset using the Transform filter. </div><div><br></div><div>Is there a way to automatically estimate the initial rotation required? Below are the pointsets that I was using.</div><div><br></div><div>Fixed PointSet</div><div><div>70.3771 16.9556 -77.8874 </div><div>69.2143 17.2079 -77.253 </div><div>68.1514 17.8068 -76.7957 </div><div>66.9762 18.1519 -76.4658 </div><div>65.8135 18.6132 -76.2163 </div><div>64.67 19.0656 -75.7242 </div><div>63.5119 19.2921 -75.3272 </div><div>62.3751 19.597 -75.0951 </div><div>61.2921 19.8394 -74.793 </div><div>60.2845 20.1405 -74.4514 </div><div>59.3191 20.3305 -74.1283 </div><div>58.408 20.3767 -73.9007 </div><div>57.5404 20.4277 -73.9293 </div><div>56.8618 20.7408 -73.5224 </div><div>55.4173 20.853 -72.9256 </div><div>54.7285 20.8667 -72.693 </div><div>53.6634 20.0938 -72.5906 </div><div> </div></div><div><br></div><div>Moving PointSet:</div><div><div>-1.158 -9.962 -7.944</div><div>-1.026 -9.224 -7.430</div><div>-0.883 -8.423 -6.872 </div><div>-0.757 -7.646 -6.300</div><div>-0.640 -6.883 -5.727</div><div>-0.518 -6.120 -5.179 </div><div>-0.406 -5.366 -4.622</div><div>-0.352 -4.661 -4.000</div><div>-0.291 -3.939 -3.394 </div><div>-0.185 -3.181 -2.817</div><div>-0.042 -2.460 -2.183</div><div>0.074 -1.710 -1.531 </div><div>0.174 -0.927 -0.853</div><div>0.296 -0.109 -0.120</div><div>0.459 0.737 0.693 </div><div>0.640 1.647 1.657</div><div>0.861 2.763 2.808 </div><div><br></div><div>Thanks and regards,</div><div><br></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Sharmin Sultana<br></div><div class="gmail_signature" data-smartmail="gmail_signature">Old Dominion University</div>
</div></div>