<div dir="ltr"><div><div><div><div><div>Hi,<br></div>I am using ITK 4.4 own build on Linux 32. It was compiled with Wrap_ITK and other related options as "ON". With this build, I am trying to run python examples.<br>
</div><div><br></div>Some python example runs fine but some don't. There are some example which import "itk" package as <b>"import itk"</b> and other uses <b>"from InsightToolkit import *"</b> form(python examples in Filtering directory). </div>
<div>Second form is not working for me since <b>InsightToolkit.py</b> tries to import <b>ITKMetricsv4Python </b>but following <br>
#itk_wrap_module(ITKMetricsv4)<br>#itk_auto_load_submodules()<br>#itk_end_wrap_module()<br>is commented out in <b>Modules/Registration/Metricsv4/wrapping/CMakeLists.txt</b>. This kind of indicates that wrapping of ITKMetricsv4 is not available.<br>
</div>My questions are:<br></div>1) Which form of import is preferable: import itk or import InsightToolkit?<br></div>2) Is No wrapping of ITKMetricsv4 intentional or Is it some wrong setting of some cmake variable in my build?<div>
Thanks.</div><div>BR</div><div>Jagjeet<br>
<div><div><div><div><br><br></div></div></div></div></div></div>