<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Tapash,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:verdana,sans-serif">in </span><font face="monospace, monospace">E:\tapash project\imagesim\utils\FilterUtils.h(84)</font><font face="verdana, sans-serif">, "Concept requiring T to be integer" means you should instantiate </font><font face="monospace, monospace">ConnectedComponentImageFilter</font><font face="verdana, sans-serif"> with </font><font face="monospace, monospace">OutputImage=ShortImage</font><font face="verdana, sans-serif">, </font><b style="font-family:verdana,sans-serif">not</b><font face="verdana, sans-serif"> </font><font face="monospace, monospace">OutputImage=FloatImage</font><font face="verdana, sans-serif">.</font></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:verdana,sans-serif">If for some reason you want to convert your component indices into floats, you can then apply </span><font face="monospace, monospace">CastImageFilter</font><font face="verdana, sans-serif"> to do that.</font></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default"><font face="verdana, sans-serif">Dženan Zukić, PhD, Senior R&D Engineer, Kitware (Carrboro, N.C.)</font></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 21, 2017 at 9:28 AM, tapash <span dir="ltr"><<a href="mailto:tapash1991@gmail.com" target="_blank">tapash1991@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">BoneSegmentation.cpp<br>
6> Unknown compiler version - please run the configure tests and report the<br>
results<br>
6>..\BoneSegmentation.cpp(141)<wbr>: warning C4996: 'mkdir': The POSIX name for<br>
this item is deprecated. Instead, use the ISO C++ conformant name: _mkdir.<br>
See online help for details.<br>
6> C:\Program Files (x86)\Microsoft Visual Studio<br>
12.0\VC\include\direct.h(140) : see declaration of 'mkdir'<br>
*6>e:\tapash<br>
project\insighttoolkit-4.6.0\<wbr>modules\core\common\include\<wbr>itkConceptChecking.h(729):<br>
<span class="">error C2440: 'initializing' : cannot convert from<br>
'itk::Concept::Detail::<wbr>UniqueType_bool<true>' to<br>
</span>'itk::Concept::Detail::<wbr>UniqueType_bool<false>'*<br>
6> No user-defined-conversion operator available that can perform<br>
this conversion, or the operator cannot be called<br>
6> e:\tapash<br>
project\insighttoolkit-4.6.0\<wbr>modules\core\common\include\<wbr>itkConceptChecking.h(728)<br>
: while compiling class template member function 'void<br>
itk::Concept::IsInteger<float><wbr>::Constraints::constraints(<wbr>void)'<br>
6> e:\tapash<br>
project\insighttoolkit-4.6.0\<wbr>modules\core\common\include\<wbr>itkConceptChecking.h(735)<br>
: see reference to function template instantiation 'void<br>
itk::Concept::IsInteger<float><wbr>::Constraints::constraints(<wbr>void)' being<br>
compiled<br>
6> e:\tapash<br>
project\insighttoolkit-4.6.0\<wbr>modules\core\common\include\<wbr>itkConceptChecking.h(735)<br>
: see reference to class template instantiation<br>
'itk::Concept::IsInteger<<wbr>float>::Constraints' being compiled<br>
6> e:\tapash<br>
project\insighttoolkit-4.6.0\<wbr>modules\core\common\include\<wbr>itkConceptChecking.h(735)<br>
: while compiling class template member function 'void<br>
itk::Concept::IsInteger<float><wbr>::Enforcer(void)'<br>
6> e:\tapash<br>
project\insighttoolkit-4.6.0\<wbr>modules\segmentation\<wbr>connectedcomponents\include\<wbr>itkConnectedComponentImageFilt<wbr>er.h(143)<br>
: see reference to class template instantiation<br>
'itk::Concept::IsInteger<<wbr>float>' being compiled<br>
6> E:\tapash project\imagesim\utils\<wbr>FilterUtils.h(84) : see<br>
reference to class template instantiation<br>
'itk::<wbr>ConnectedComponentImageFilter<<wbr>InputImage,OutputImage,<wbr>TInputImage>'<br>
being compiled<br>
6> with<br>
6> [<br>
6> InputImage=ShortImage<br>
6> , OutputImage=FloatImage<br>
6> , TInputImage=ShortImage<br>
6> ]<br>
6> e:\tapash project\imagesim\01-<wbr>Preprocessing.h(128) : see<br>
reference to class template instantiation<br>
'FilterUtils<ShortImage,<wbr>FloatImage>' being compiled<br>
6> BooleanOperationWidget.cpp<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/error-in-ItkConceptchecking-h-tp7590051p7590055.html" rel="noreferrer" target="_blank">http://itk-insight-users.<wbr>2283740.n2.nabble.com/error-<wbr>in-ItkConceptchecking-h-<wbr>tp7590051p7590055.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the ITK Insight Users mailing list archive at Nabble.com.<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>
</div></div></blockquote></div><br></div>