[Insight-users] level set segmentation using coupled active surfaces

Kishore Mosaliganti kishoreraom at gmail.com
Tue Apr 20 20:05:10 EDT 2010


Hi Elhadj,

1. You definitely have to compile the ITK code once.

2. After that, you can create your own projects and compile it independently
and not have to worry about compiling ITK. You will only need to show the
location of your compiled ITK location.

In your case, you did not set the right compilation option in step 1 for
using the level set code, which is why I asked you to do that and then 2.

If you are new to ITK, you may want to read the first few chapters of the
ITK User guide.
http://www.itk.org/ItkSoftwareGuide.pdf


Kishore


On Wed, Apr 21, 2010 at 1:17 AM, elhadj meljane <elhadj.meljane at gmail.com>wrote:

> Hi Kishore,
> is it possible to compile your project separately (in itk) so that I
> haven't to compile all the itk code.
> Thanks,
>
>
> On Wed, Apr 21, 2010 at 12:52 AM, Kishore Mosaliganti <
> kishoreraom at gmail.com> wrote:
>
>> Hi Elhadj,
>>
>> The code in that publication has been improved and moved into the ITK
>> toolkit review folder. So you don't need to download the code from the
>> Insight journal.
>>
>> 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.
>>
>> Then, you can find examples of running the code in:
>> Insight/Examples/Review/
>>
>>
>> Insight/Testing/Code/Review/itkScalarChanAndVeseDenseLevelSetImageFilterTest1.cxx
>>
>> Insight/Testing/Code/Review/itkScalarChanAndVeseDenseLevelSetImageFilterTest2.cxx
>>
>> Insight/Testing/Code/Review/itkScalarChanAndVeseDenseLevelSetImageFilterTest3.cxx
>>
>> Insight/Testing/Code/Review/itkScalarChanAndVeseDenseLevelSetImageFilterTest4.cxx
>>
>> Kishore
>>
>>
>>
>>   On Tue, Apr 20, 2010 at 8:31 PM, elhadj meljane <
>> elhadj.meljane at gmail.com> wrote:
>>
>>>
>>>  Dear all,
>>> i'm beginner with itk and I need help to use the code
>>>
>>> http://www.insight-journal.org/browse/publication/323
>>>
>>>
>>> the code works for  2D dataset, but in 3D I got  a segmentation fault, I
>>> put below the gdb output.
>>>  Thanks,
>>> Haj,
>>>
>>>  (gdb) bt
>>> #0  0xb7fde424 in __kernel_vsyscall ()
>>> #1  0xb7d38640 in raise () from /lib/i686/cmov/libc.so.6
>>> #2  0xb7d3a018 in abort () from /lib/i686/cmov/libc.so.6
>>> #3  0xb7f30988 in __gnu_cxx::__verbose_terminate_handler () from
>>> /usr/lib/libstdc++.so.6
>>> #4  0xb7f2e865 in ?? () from /usr/lib/libstdc++.so.6
>>> #5  0xb7f2e8a2 in std::terminate () from /usr/lib/libstdc++.so.6
>>> #6  0xb7f2e9da in __cxa_throw () from /usr/lib/libstdc++.so.6
>>> #7  0x081adc30 in itk::ImageFileReader<itk::Image<float, 3u>,
>>> itk::DefaultConvertPixelTraits<float> >::GenerateOutputInformation
>>> (this=0x8603bc0)
>>>     at /InsightToolkit-3.16.0/Code/IO/itkImageFileReader.txx:147
>>> #8  0x082a1847 in itk::ProcessObject::UpdateOutputInformation ()
>>> #9  0x081b59ef in itk::ImageBase<3u>::UpdateOutputInformation
>>> (this=0x86062b8) at /InsightToolkit-3.16.0/Code/Common/itkImageBase.txx:234
>>> #10 0x082a175a in itk::ProcessObject::UpdateOutputInformation ()
>>> #11 0x081b59ef in itk::ImageBase<3u>::UpdateOutputInformation
>>> (this=0x86240a0) at /InsightToolkit-3.16.0/Code/Common/itkImageBase.txx:234
>>> #12 0x0828ee66 in itk::DataObject::Update ()
>>> #13 0x0829fe69 in itk::ProcessObject::Update ()
>>> #14 0x08173288 in main (argc=7, argv=0xbfffe964) at
>>> ~/examples/ActiveContoursWithoutEdges/ScalarSinglePhase3DTest.cxx:178
>>>
>>>
>>> _____________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://www.kitware.com/products/protraining.html
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-users
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100421/60f85ef8/attachment-0001.htm>


More information about the Insight-users mailing list