Can you post a minimal code that illustrates <div>your problem with the full error message you</div><div>are getting. It looks like you are not creating </div><div>the object properly. </div><div><br></div><div>Cagatay </div>
<div><br><div class="gmail_quote">On Tue, Aug 21, 2012 at 8:17 AM, kumis <span dir="ltr">&lt;<a href="mailto:kkumis@gmail.com" target="_blank">kkumis@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I tried that but for some reason<br>
StatisticsOpeningLabelMapFilterType::LabelObjectType has no member in my<br>
case and I really cant find the problem. I cant even create new instance of<br>
Statistics Opening Filter because while compiling it throws some errors in<br>
the second line.<br>
<br>
typedef itk::StatisticsOpeningLabelMapFilter&lt;UCImageType&gt;<br>
StatisticsOpeningLabelMapFilterType;<br>
StatisticsOpeningLabelMapFilterType::Pointer statisticsOpening =<br>
StatisticsOpeningLabelMapFilterType::New();<br>
<br>
where UCImageType is itk::image&lt;unsigned char, 2&gt;.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/Question-about-StatisticsOpeningLabelMapFilter-tp7580805p7580810.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/Question-about-StatisticsOpeningLabelMapFilter-tp7580805p7580810.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the ITK Insight Users mailing list archive at Nabble.com.<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" 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" target="_blank">http://www.kitware.com/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" target="_blank">http://www.kitware.com/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" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br></div>