[ITK-users] Region Growing

Bill Lorensen bill.lorensen at gmail.com
Fri Nov 11 10:41:37 EST 2016


Here is an example region growing filter:
https://itk.org/Wiki/ITK/Examples/ImageSegmentation/ConfidenceConnectedImageFilter


On Thu, Nov 10, 2016 at 6:40 PM, Francois Budin
<francois.budin at kitware.com> wrote:
> Hello Abdelkhalek,
>
> This example is in the section "broken". I do not know since when it has not
> worked, but you will not be able to instantiate an object of type
> itk::RegionGrowImageFilter as it is a virtual class, thus the error you are
> getting.
>
> Hope this helps,
> Francois
>
> On Thu, Nov 10, 2016 at 8:24 AM, Abdelkhalek Bakkari
> <bakkari.abdelkhalek at hotmail.fr> wrote:
>>
>> Dear ITK users,
>>
>>
>> I am trying to use the example of Region Growing from the link below :
>>
>> http://www.paraview.org/Wiki/index.php?title=ITK/Examples/Broken/Images/RegionGrowImageFilter&redirect=no#RegionGrowImageFilter.cxx
>>
>>
>> Unfortunately, I have got an error :
>>
>> error C2440: 'initializing' : cannot convert from 'itk::Object::Pointer'
>> to 'itk::SmartPointer<TObjectType>'          with
>>           [
>>
>> TObjectType=itk::RegionGrowImageFilter<InputImageType,InputImageType>
>>        ]
>>        No constructor could take the source type, or constructor overload
>> resolution was ambiguous
>>
>>
>> I am wondering about how can I solve this issue.
>>
>>
>> Thanks in advance!
>>
>> Best regards,
>>
>>
>>
>> Abdelkhalek Bakkari
>> Ph.D candidate in Computer Science
>> Institute of Applied Computer Science
>> Lodz University of Technology, Poland
>>
>>
>>
>> _____________________________________
>> 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.php
>>
>> 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://public.kitware.com/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.php
>
> 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://public.kitware.com/mailman/listinfo/insight-users
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-users mailing list