<div dir="ltr"><div><div><div><div>Hello Bradley,<br><br></div><div>Regarding registration, I'm just exploring options right now. It seems like SimpleITK 0.9b is the way to go then.<br></div><div><br></div>I still attempted to build ITK 4.8 with python-wrapping on and a few additional optional modules that I turned on mainly because they sounded interesting (ITKConfig.cmake attached for reference) with Visual Studio 2013/ver 12. The build took about 12 hours (is that normal?) and seems to have mostly succeeded other than a few errors in the optional modules (I think they were in BridgeNumpy and VariationalRegistration).<br><br></div>However I'm having some trouble using itk in python (same as the one described <a href="http://public.kitware.com/pipermail/community/2014-April/005753.html" target="_blank">here</a>). I've tried adding the WrapITK.pth file to site-packages as well as directly adding both of the paths specified in WrapITK.pth directly to the PYTHONPATH, but keep getting "AttributeError: 'module' object has no attribute 'swig' " every time I attempt to use a filter. Do you know how to fix the issue?<br><br></div>Thanks,<br></div>Evan Kao<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 21, 2015 at 8:29 AM, Bradley Lowekamp <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</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>WrapITK has recently been upgraded to use CastXML ( clang based ), instead of GCCXML. This appears to now be working MS VS12 ( aka Visual Studio 2013?) windows compiler[1]. This is relatively new and it would be great if you can checkout ITK master and try to build it and report how it works for you. The wiki hasn't been updated with this latest bit of information.</div><div><br></div><div>However please keep in mind that WrapITK does not contain 100% of ITK and not 100% of Registration. For example it does contain the ITKv3 ImageRegistationMethod however it doest not contain the new ITKv4 ImageRegistration method or frame work. With effort this thing can be wrapped.</div><div><br></div><div>If you have to resort to SimpleITK, you will find the binaries for window64 readily available from the nightly dashboard[2]. The best place to check if SimpleITK has the registration methods you need would be the doxygen[3]. It contains the ITKv4 Registration framework, as well as some legacy image registration filter. The frame work is capable of affines, bspline, and displacement transforms and many nice feature of the ITKv4 framework.</div><div><br></div><div>Do you have a specific registration method you are looking to do? or just explore some options? </div><div><br></div><div>Brad</div><div><br></div><div>[1] <a href="https://open.cdash.org/buildSummary.php?buildid=3738598" target="_blank">https://open.cdash.org/buildSummary.php?buildid=3738598</a></div><div>[2] <a href="http://www.itk.org/Wiki/SimpleITK/GettingStarted#Nightly_binaries" target="_blank">http://www.itk.org/Wiki/SimpleITK/GettingStarted#Nightly_binaries</a></div><div>[3] <a href="http://www.itk.org/SimpleITKDoxygen/html/classes.html" target="_blank">http://www.itk.org/SimpleITKDoxygen/html/classes.html</a></div><div><br><div><div><div class="h5"><div>On Mar 21, 2015, at 3:17 AM, Evan Kao <<a href="mailto:tossin@gmail.com" target="_blank">tossin@gmail.com</a>> wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr"><div><div><div>Hello itk-users,<br><br></div>I'd like to use ITK features in python that don't seem to be implemented in the latest stable release of SimpleITK, like image registration and quadmesh filters. However, looking around the internet, several sources (like the <a href="http://www.itk.org/Wiki/ITK/WrapITK_Status" target="_blank">Wiki</a>, this <a href="http://public.kitware.com/pipermail/community/2014-November/007888.html" target="_blank">thread</a>
from about 5 months ago, or this <a href="http://www5.cs.fau.de/en/conrad/tutorials/itk-and-vtk-wrapping/wrap-itk/" target="_blank">site</a>) seem to suggest building WrapITK isn't possible on a 64-bit machine due to conflict between GCCXML and any Visual Studio beyond 2008 (and VS2008 64-bit apparently only comes with the professional edition, which I'm not even sure is available or worth obtaining). The Wiki also suggests mingw64 is also not viable. Is this still the case? Is there anyway to use ITK with python on a 64-bit machine?<br><br></div>If I have to resort to the latest nightly binary of SimpleITK for image registration, does it include all the registration methods available in ITK?<br><br></div><div>Thanks,<br></div>Evan Kao</div></div></div>
_______________________________________________<br>Community mailing list<br><a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br><a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br></blockquote></div><br></div></div></blockquote></div><br></div>