<div>Hi Kishore,</div>
<div>is it possible to compile your project separately (in itk) so that I haven&#39;t to compile all the itk code.</div>
<div>Thanks, <br><br><br></div>
<div class="gmail_quote">On Wed, Apr 21, 2010 at 12:52 AM, Kishore Mosaliganti <span dir="ltr">&lt;<a href="mailto:kishoreraom@gmail.com">kishoreraom@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Elhadj,<br><br>The code in that publication has been improved and moved into the ITK toolkit review folder. So you don&#39;t need to download the code from the Insight journal.<br>
<br>When you compile ITK, in the cmake gui, go to advanced options and set the ITK_USE_REVIEW option to ON. Then, after configuring it, compile it again.<br><br>Then, you can find examples of running the code in:<br>Insight/Examples/Review/<br>
<br>Insight/Testing/Code/Review/itkScalarChanAndVeseDenseLevelSetImageFilterTest1.cxx<br>Insight/Testing/Code/Review/itkScalarChanAndVeseDenseLevelSetImageFilterTest2.cxx<br>Insight/Testing/Code/Review/itkScalarChanAndVeseDenseLevelSetImageFilterTest3.cxx<br>
Insight/Testing/Code/Review/itkScalarChanAndVeseDenseLevelSetImageFilterTest4.cxx<br><br>Kishore<br><br><br><br>
<div class="gmail_quote">
<div>
<div></div>
<div class="h5">On Tue, Apr 20, 2010 at 8:31 PM, elhadj meljane <span dir="ltr">&lt;<a href="mailto:elhadj.meljane@gmail.com" target="_blank">elhadj.meljane@gmail.com</a>&gt;</span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5"><br>
<div class="gmail_quote">
<div>
<div>Dear all, </div>
<div>i&#39;m beginner with itk and I need help to use the code  </div>
<div> </div>
<div><a href="http://www.insight-journal.org/browse/publication/323" target="_blank">http://www.insight-journal.org/browse/publication/323</a></div>
<div> </div>
<div> </div></div>
<div>the code works for  2D dataset, but in 3D I got  a segmentation fault, I put below the gdb output.</div>
<div>
<div>Thanks,</div>
<div>Haj,</div>
<div> </div>
<div> (gdb) bt<br>#0  0xb7fde424 in __kernel_vsyscall ()<br>#1  0xb7d38640 in raise () from /lib/i686/cmov/libc.so.6<br>#2  0xb7d3a018 in abort () from /lib/i686/cmov/libc.so.6<br>#3  0xb7f30988 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6<br>
#4  0xb7f2e865 in ?? () from /usr/lib/libstdc++.so.6<br>#5  0xb7f2e8a2 in std::terminate () from /usr/lib/libstdc++.so.6<br>#6  0xb7f2e9da in __cxa_throw () from /usr/lib/libstdc++.so.6<br>#7  0x081adc30 in itk::ImageFileReader&lt;itk::Image&lt;float, 3u&gt;, itk::DefaultConvertPixelTraits&lt;float&gt; &gt;::GenerateOutputInformation (this=0x8603bc0)<br>
    at /InsightToolkit-3.16.0/Code/IO/itkImageFileReader.txx:147<br>#8  0x082a1847 in itk::ProcessObject::UpdateOutputInformation ()<br>#9  0x081b59ef in itk::ImageBase&lt;3u&gt;::UpdateOutputInformation (this=0x86062b8) at /InsightToolkit-3.16.0/Code/Common/itkImageBase.txx:234<br>
#10 0x082a175a in itk::ProcessObject::UpdateOutputInformation ()<br>#11 0x081b59ef in itk::ImageBase&lt;3u&gt;::UpdateOutputInformation (this=0x86240a0) at /InsightToolkit-3.16.0/Code/Common/itkImageBase.txx:234<br>#12 0x0828ee66 in itk::DataObject::Update ()<br>
#13 0x0829fe69 in itk::ProcessObject::Update ()<br>#14 0x08173288 in main (argc=7, argv=0xbfffe964) at ~/examples/ActiveContoursWithoutEdges/ScalarSinglePhase3DTest.cxx:178</div></div></div><br><br></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.html" target="_blank">http://www.kitware.com/products/protraining.html</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></blockquote></div><br></blockquote></div><br>