[Insight-users] problem with Chan and Vese method of segmentation

Kishore Mosaliganti kishoreraom at gmail.com
Tue Jun 22 17:07:10 EDT 2010


Hi Surcin,

You don't have to make any changes in the ITK source folder. After
downloading ITK, use cmake and build it.

In your project folder, you just need the main.cxx file with a
CMakeLists.txt and build it.

You don't need the Insight Journal classes at all.

Kishore

On Tue, Jun 22, 2010 at 7:23 AM, julien_s <surchenjohn at gmail.com> wrote:
>
> First, thank you for your help
>
> Now,I compiled ITK with ITK_USE_REVIEW turned on.
>
> About the Review folder, if I understand, I have to replace the classes
> downloaded from the Insight Journal by the classes available in the Review
> Folder?
> I tried to do that but I have a lot of errors so I think I didn't
> understand.
>
>
>
>
> Kishore Mosaliganti wrote:
>>
>> Hi Surcin,
>>
>> These set of filters were moved to the ITK Review folder and
>> subsequent changes were made to the filters directly in the Review
>> folders.
>>
>> Therefore, in your project, you should compile ITK with the
>> ITK_USE_REVIEW turned on in the cmake configuration. You can eliminate
>> the classes that you downloaded from the Insight Journal.
>>
>> Can you then repeat your example and let us know how it goes.
>>
>> Kishore
>>
>> On Mon, Jun 21, 2010 at 1:03 PM, Surcin Julien <juliensurcin at gmail.com>
>> wrote:
>>> Dear ITK users,
>>>
>>> I'm working on the Chan and Vese method of segmentation.
>>> Consequently I tried to use the example of the next publication:
>>>
>>> http://www.insight-journal.org/browse/publication/322
>>>
>>> I have no errors during the compilation but I have execution errors.
>>>
>>> "Debug Assertion Failed!
>>>
>>> Program:
>>> ..eContoursWhithoutEdges\
>>> Debug\ScalarSinglePhaseSparse2DTest.exe
>>> File:C:\Program Files\Microsoft Visual Studio 9.0\include\vector
>>> Line:779
>>>
>>> Expression:vector subscript out of range"
>>>
>>>
>>> In fact, it is the same error that in the next post :
>>> http://www.itk.org/pipermail/insight-users/2009-May/030324.html
>>>
>>> (I use Visual Studio 2008 on Windows Vista)
>>>
>>> I'm searching a solution for one week but I don't find a solution.
>>>
>>> Thanks in advance,
>>>
>>> Julien Surcin
>>>
>>> Student in 4th year at Polytech'Orleans, School of Engineering, FRANCE
>>>
>>> _____________________________________
>>> 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
>>>
>>>
>> _____________________________________
>> 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
>>
>>
>
> --
> View this message in context: http://old.nabble.com/problem-with-Chan-and-Vese-method-of-segmentation-tp28951053p28958913.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
>
> _____________________________________
> 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
>


More information about the Insight-users mailing list