<div dir="ltr"><div>The examples work with both ITKv3 and ITKv4. If you are using ITKv3, them you must also download and build the glue code separately as described at the bottom of the example page:<br><a href="http://itk.org/Wiki/ITK/Examples/ImageProcessing/BinaryThresholdImageFilter">http://itk.org/Wiki/ITK/Examples/ImageProcessing/BinaryThresholdImageFilter</a><br>
<br></div>Bill<br><br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 17, 2013 at 9:42 AM, Matt McCormick <span dir="ltr">&lt;<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mahyar,<br>
<br>
Please keep replies on the mailing list.<br>
<br>
Make it is ITK version 4.X and that the CMake Advanced options are shown.<br>
<br>
HTH,<br>
Matt<br>
<br>
On Fri, May 17, 2013 at 2:02 AM, Mahyar Osanlouy<br>
&lt;<a href="mailto:m.osanlouy@auckland.ac.nz">m.osanlouy@auckland.ac.nz</a>&gt; wrote:<br>
&gt; Thank you Matt,<br>
&gt;<br>
&gt; The problem is I do not have the option of Module_ITKVtkGlue<br>
&gt;<br>
&gt; Do you know what could be wrong?<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Mahyar<br>
<div class="im">&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: Matt McCormick [mailto:<a href="mailto:matt.mccormick@kitware.com">matt.mccormick@kitware.com</a>]<br>
&gt; Sent: Friday, 17 May 2013 4:26 p.m.<br>
&gt; To: Mahyar Osanlouy<br>
&gt; Cc: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
&gt; Subject: Re: [Insight-users] I need itkvtkglue<br>
&gt;<br>
&gt; Hi Mahyar,<br>
&gt;<br>
&gt; In your CMake configure, sot<br>
&gt;<br>
&gt;   Module_ITKVtkGlue to ON.<br>
&gt;<br>
&gt; Hope this helps,<br>
&gt; Matt<br>
&gt;<br>
&gt; On Thu, May 16, 2013 at 7:13 PM, Mahyar Osanlouy &lt;<a href="mailto:m.osanlouy@auckland.ac.nz">m.osanlouy@auckland.ac.nz</a>&gt; wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have built ITK and VTK in CMake.<br>
&gt;&gt;<br>
&gt;&gt; I was trying to run an example of BinaryThresholdingImageFilter, I<br>
&gt;&gt; generated the bin for this example by cmake.<br>
&gt;&gt;<br>
&gt;&gt; When I tried to build the sln in VS 10, it gave me the following error:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2&gt;BinaryThresholdImageFilter.obj : error LNK2019: unresolved external<br>
</div>&gt;&gt; 2&gt;symbol<br>
<div class="im">&gt;&gt; &quot;public: void __thiscall QuickView::Visualize(bool)&quot;<br>
&gt;&gt; (?Visualize@QuickView@@QAEX_N@Z) referenced in function _main<br>
&gt;&gt;<br>
&gt;&gt; 2&gt;BinaryThresholdImageFilter.obj : error LNK2019: unresolved external<br>
</div>&gt;&gt; 2&gt;symbol<br>
<div class="HOEnZb"><div class="h5">&gt;&gt; &quot;public: void __thiscall QuickView::AddImage&lt;class itk::Image&lt;unsigned<br>
&gt;&gt; char,2&gt; &gt;(class itk::Image&lt;unsigned char,2&gt; *,bool,class<br>
&gt;&gt; std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class<br>
&gt;&gt; std::allocator&lt;char&gt; &gt;)&quot;<br>
&gt;&gt; (??$AddImage@V?$Image@E$01@itk@@@QuickView@@QAEXPAV?$Image@E$01@itk@@_<br>
&gt;&gt; NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)<br>
&gt;&gt; referenced in function _main<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Can you help me please?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I also think that I have some problem with the itkvtkglue.<br>
&gt;&gt;<br>
&gt;&gt; Do you have a link that I can download the itkvtkglue for win 7 64bit<br>
&gt;&gt; please?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thank you very much,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Regards<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Mahyar Osanlouy<br>
&gt;&gt;<br>
&gt;&gt; Lungs and Respiratory System Group<br>
&gt;&gt;<br>
&gt;&gt; Auckland Bioengineering Institute<br>
&gt;&gt;<br>
&gt;&gt; The University of Auckland<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _____________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt;&gt; <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;&gt;<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>