<br>
<div class="gmail_quote">
<div>Dear all, </div>
<div>i'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>the code works for 2D dataset, but in 3D I got a segmentation fault, I put below the gdb output.</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<itk::Image<float, 3u>, itk::DefaultConvertPixelTraits<float> >::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<3u>::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<3u>::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><br>