[ITK-users] Region Growing

Francois Budin francois.budin at kitware.com
Thu Nov 10 18:40:55 EST 2016


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20161110/153c8574/attachment.html>


More information about the Insight-users mailing list