<div dir="ltr"><div><div><div>Hello Abdelkhalek,<br><br></div>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.<br></div><br>Hope this helps,<br></div><div></div>Francois<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 10, 2016 at 8:24 AM, Abdelkhalek Bakkari <span dir="ltr"><<a href="mailto:bakkari.abdelkhalek@hotmail.fr" target="_blank">bakkari.abdelkhalek@hotmail.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_1236095182181055431divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:'Times New Roman',Times,serif" dir="ltr">
<p>Dear ITK users,</p>
<p><br>
</p>
<p>I am trying to use the example of Region Growing from the link below :<br>
<a href="http://www.paraview.org/Wiki/index.php?title=ITK/Examples/Broken/Images/RegionGrowImageFilter&redirect=no#RegionGrowImageFilter.cxx" class="m_1236095182181055431OWAAutoLink" id="m_1236095182181055431LPlnk981742" target="_blank">http://www.paraview.org/Wiki/<wbr>index.php?title=ITK/Examples/<wbr>Broken/Images/<wbr>RegionGrowImageFilter&<wbr>redirect=no#<wbr>RegionGrowImageFilter.cxx</a><br>
</p>
<p><br>
</p>
<p>Unfortunately, I have got an error :<br>
<br>
</p>
<p></p>
<div>error C2440: 'initializing' : cannot convert from 'itk::Object::Pointer' to 'itk::SmartPointer<<wbr>TObjectType>'<span style="font-size:12pt">          with</span></div>
<div>          [</div>
<div>             TObjectType=itk::<wbr>RegionGrowImageFilter<<wbr>InputImageType,InputImageType></div>
<div>       ]</div>
<div>       No constructor could take the source type, or constructor overload resolution was ambiguous</div>
<br>
<p></p>
<p><br>
</p>
<p><span style="color:rgb(36,39,41);font-family:"Times New Roman",Times,serif;font-size:15px">I am wondering about how can I solve this issue.</span></p>
<p style="margin-right:0px;margin-bottom:1em;margin-left:0px;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif">
<span style="color:rgb(33,33,33);font-family:"Times New Roman",Times,serif"><br>
</span></p>
<p style="margin-right:0px;margin-bottom:1em;margin-left:0px;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif">
<span style="color:rgb(33,33,33);font-family:"Times New Roman",Times,serif">Thanks in advance!</span></p>
<span style="font-family:"Times New Roman",Times,serif;font-size:16px">Best regards,</span><br>
<p></p>
<p><br>
</p>
<p><br>
</p>
<div id="m_1236095182181055431Signature"><font size="3" face="Garamond">Abdelkhalek Bakkari</font>
<div><span style="line-height:14px"><font size="3" face="Garamond">Ph.D candidate in Computer Science</font></span></div>
<div><span style="line-height:20.82666778564453px;background-color:rgb(255,255,255)"><font size="3" face="Garamond">Institute of Applied Computer Science</font></span></div>
<div><span style="line-height:18.399999618530273px"><font size="3" face="Garamond">Lodz University of Technology, Poland</font></span></div>
<div><span style="line-height:18.399999618530273px"><font size="3" face="Garamond"><br>
</font></span></div>
<div><br>
</div>
</div>
</div>
</div>

<br>______________________________<wbr>_______<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>