<div dir="ltr">Hi Seth,<br><br>To run the test associated with the examples, set <br><br> BUILD_EXAMPLES ON<br><br>in the ITK CMake configuration, build, and run<br><br> ctest -R LandmarkWarping<br><br>on the command line in the ITK build directory.<br>
<br>Thanks,<br>Matt<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 21, 2013 at 4:20 PM, Seth Parker <span dir="ltr"><<a href="mailto:csparker247@gmail.com" target="_blank">csparker247@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">Ok, so a couple of updates. First, I checked and I had tested on Ubuntu 13.04 (Raring Ringtail) and had compiled using GCC 4.7.3. ITK 4.4.0 gave me the same issues with LandmarkWarping2 as on OSX.<div>
<br>On OSX, I had never noticed that Xcode's gcc was using an llvm backend. Clang is supposedly the same way. Also, I've already update all of our computers to OSX 10.9 as we hardly ever do any ITK or development work, so going back to Mountain Lion isn't really an option. However, I did spend today compiling GNU GCC (4.8.2) on my machine and I recompiled ITK 4.4.0 using it instead of Xcode's "GCC". After a successful build, it also exhibits the same issue with LandmarkWarping2. I'm not sure of other variables, but I think it's safe to assume this isn't a compiler issue.<br>
<br>In terms of using the built-in tests, I can find one LandmarkWarping2Test.png under the testing data, but I'm unclear on which of the other images I should register it against (or against it).</div></div><div class="gmail_extra">
<div class="im">
<br clear="all"><div><b>Seth Parker</b><div>Video Editor | The University of Kentucky Vis Center<br><a href="http://www.csethparker.com" target="_blank">www.csethparker.com</a> | <a href="http://www.vis.uky.edu" target="_blank">www.vis.uky.edu</a></div>
</div>
<br><br></div><div><div class="h5"><div class="gmail_quote">On Wed, Nov 20, 2013 at 9:04 PM, Bradley Lowekamp <span dir="ltr"><<a href="mailto:brad@lowekamp.net" target="_blank">brad@lowekamp.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hello,<div><br></div><div>I am just curious if it's a compiler issue or one with the code.</div><div><br></div><div>It's been a while since there has been a bonified version of GNU GCC with Xcode. I am running OS 10.8.5, check this out:</div>
<div><br></div><div><div>$ /usr/bin/gcc -v</div><div>Using built-in specs.</div><div>Target: i686-apple-darwin11</div><div>Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1</div>
<div>Thread model: posix</div><div>gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)</div></div><div><br></div><div>That is llvm masquerading as gcc.</div><div><br></div><div>There is also clang as an option. I'd give that a try. Upgrading to Macericks is going to another set of problems. </div>
<div><br></div><div>Check out the information here:</div><div><a href="http://public.kitware.com/pipermail/community/2013-November/000188.html" target="_blank">http://public.kitware.com/pipermail/community/2013-November/000188.html</a></div>
<div><br></div><div>This may be a good opportunity to run git-bisect, if the issue can be reproduced.</div><div><br></div><div>Brad</div><div><div><div><br><div><div>On Nov 20, 2013, at 8:57 PM, Seth Parker <<a href="mailto:csparker247@gmail.com" target="_blank">csparker247@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><p dir="ltr">I did try on Ubuntu (Raring Ringtail). It's been a while for Ubuntu, but I believe I used gcc for it. Definitely gcc on OSX. I haven't tried recompiling since upgrading to Mavericks, but I was running Mountain Lion before and Xcode 4.6.</p>
<p dir="ltr">It hadn't occurred to me to check the built-in examples. I should be able to test that tomorrow.</p><p dir="ltr">Sent from my phone</p>
<div class="gmail_quote">On Nov 20, 2013 8:27 PM, "Bradley Lowekamp" <<a href="mailto:brad@lowekamp.net" target="_blank">brad@lowekamp.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hello,<div><br></div><div>Have you tried other systems? Linux perhaps?</div><div><br></div><div>What compiler are you using? What OS? What XCode version?</div><div><br></div><div>Is this issue reproducible with a test or example already in ITK?</div>
<div><br></div><div>Thanks,</div><div>Brad</div><div><br><div><div>On Nov 20, 2013, at 4:02 PM, Seth Parker <<a href="mailto:csparker247@gmail.com" target="_blank">csparker247@gmail.com</a>> wrote:</div><br><blockquote type="cite">
<div dir="ltr">Was attempting to use ITK-4.4.0 LandmarkWarping2 on OSX and was getting completely incorrect results. The moving image was roughly in the correct spot of the first landmark, but was at a completely incorrect scale. I reverted to 4.3.2 and had no issues at all. I'm fine using 4.3.2, but thought I would mention it here in case anyone has a solution or pointer.<br>
<br>You can download examples of the input and output files here: <a href="https://dl.dropboxusercontent.com/u/13015285/LandmarkWarping.zip" target="_blank">https://dl.dropboxusercontent.com/u/13015285/LandmarkWarping.zip</a><br>
<br clear="all">
<div><b>Seth Parker</b><div>Video Editor | The University of Kentucky Vis Center<br><a href="http://www.csethparker.com/" target="_blank">www.csethparker.com</a> | <a href="http://www.vis.uky.edu/" target="_blank">www.vis.uky.edu</a></div>
</div>
</div>
_____________________________________<br>Powered by <a href="http://www.kitware.com/" 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" 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" 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" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div></div></blockquote></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div></div></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" 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" 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" 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" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
<br></blockquote></div><br></div>