<div dir="ltr">Thanks.<div><br></div><div>Here's another question, it seems I need 12 points to perform the registration and obtain the matrix, now, the results I'm getting are not very good. We have the algorithm programmed manually (not using ITK) and when we compare the results are different (way too different).</div><div>I just pulled the example and modified to 3 dimensions and changed the translationtransform to an affine transform. Is there an example using Affine that I can check? I'm thinking is not just changing the transform, there may be other variables I need to tweak..</div><div>Matias.</div></div><br><div class="gmail_quote"><div dir="ltr">El mié., 11 de nov. de 2015 a la(s) 5:51 p. m., Dženan Zukić <<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Nowhere, which means it's the >> operator's standard white-space separators (spaces, tabs, newlines).</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 11, 2015 at 3:03 PM, Matias Montroull <span dir="ltr"><<a href="mailto:matimontg@gmail.com" target="_blank">matimontg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">by the way, where in the code is the space separator specified?</div><div><div><br><div class="gmail_quote"><div dir="ltr">El mié., 11 de nov. de 2015 a la(s) 5:02 p. m., Matias Montroull <<a href="mailto:matimontg@gmail.com" target="_blank">matimontg@gmail.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">that worked! Thanks for the advise, I was under the impression that points needed to be separated by ";"<div>Thanks again</div></div><br><div class="gmail_quote"><div dir="ltr">El mié., 11 de nov. de 2015 a la(s) 5:00 p. m., Dženan Zukić <<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">By looking at the code, the numbers should be separated by space, not semicolon. Can you try that?</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">HTH</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 11, 2015 at 2:51 PM, Matias Montroull <span dir="ltr"><<a href="mailto:matimontg@gmail.com" target="_blank">matimontg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi <span style="font-weight:bold;white-space:nowrap">Dženan, </span><span style="white-space:nowrap">thanks for the suggestion, I tried that example and I think I'm missign something as my disk drive became crazy.</span><div><span style="white-space:nowrap">I basically created 2 txt files with a set of 4 points each in this format:</span></div><div><div><span style="white-space:nowrap">-0.585938;92.406328;38.200</span></div><div><span style="white-space:nowrap">44.7654;52.73442;61.000</span></div><div><span style="white-space:nowrap">-53.5;49.218792;68.200</span></div><div><span style="white-space:nowrap">-1.757814;81.445382;70.600</span></div></div><div><span style="white-space:nowrap"><br></span></div><div><span style="white-space:nowrap">second file has the same format but different numbers of course.</span></div><div><span style="white-space:nowrap"><br></span></div><div><span style="white-space:nowrap">Is there anything wrong with how I entered the point sets in both files?</span></div><div><span style="white-space:nowrap"><br></span></div><div><span style="white-space:nowrap">As you can see it is 3 points per line separated by this character ";"</span></div><div><span style="white-space:nowrap"><br></span></div><div><span style="white-space:nowrap">Thanks,</span></div><div><span style="white-space:nowrap"><br></span></div><div><span style="white-space:nowrap">Matias.</span></div><div><div><div><span style="white-space:nowrap"><br></span></div><br><div class="gmail_quote"><div dir="ltr">El mar., 10 de nov. de 2015 a la(s) 6:16 p. m., Dženan Zukić <<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Have you seen these two examples:</div><div class="gmail_default"><font face="verdana, sans-serif"><a href="http://www.itk.org/Doxygen/html/Examples_2RegistrationITKv3_2IterativeClosestPoint3_8cxx-example.html" target="_blank">http://www.itk.org/Doxygen/html/Examples_2RegistrationITKv3_2IterativeClosestPoint3_8cxx-example.html</a></font><br></div><div class="gmail_default"><font face="verdana, sans-serif"><a href="http://www.itk.org/Doxygen/html/Examples_2RegistrationITKv4_2IterativeClosestPoint3_8cxx-example.html" target="_blank">http://www.itk.org/Doxygen/html/Examples_2RegistrationITKv4_2IterativeClosestPoint3_8cxx-example.html</a><br></font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">HTH</font></div></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 10, 2015 at 3:18 PM, Matias Montroull <span dir="ltr"><<a href="mailto:matimontg@gmail.com" target="_blank">matimontg@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have 2 sets of points (one is points on an image and another one is points on a NDI tracker) and I need to obtain the transformation matrix. What would be the best method? I'm currently using a Solver but I'd like to implement this using ITK and better if it is SimpleITK.</div><div><br></div><div>Thank you!</div><span><font color="#888888"><div><br></div><div>Matias.</div></font></span></div><span><font color="#888888"><div dir="ltr">-- <br></div><div dir="ltr">Matias</div>
</font></span><br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_____________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div></div><span><font color="#888888"><div dir="ltr">-- <br></div><div dir="ltr">Matias</div>
</font></span></blockquote></div><br></div>
</blockquote></div><div dir="ltr">-- <br></div><div dir="ltr">Matias</div></blockquote></div></div></div><span><font color="#888888"><div dir="ltr">-- <br></div><div dir="ltr">Matias</div>
</font></span></blockquote></div><br></div>
</blockquote></div><div dir="ltr">-- <br></div><div dir="ltr">Matias</div>