Gabriel,<div><br></div><div>Can you provide a small compilable example to illustrate your problem?</div><div><br></div><div>Bill<br><br><div class="gmail_quote">On Mon, Oct 22, 2012 at 7:35 AM, Gabriel Santiago <span dir="ltr"><<a href="mailto:santiago.eletrica@gmail.com" target="_blank">santiago.eletrica@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br><br>I am trying to read a DICOM file using ITK. I am doing exactly what is described in the ITK User Guide but I am getting some weird error messages. Here they are:<br>
<br><span style="color:rgb(0,0,153)"><b> overriding ‘itk::ImageBase<VImageDimension>::Pointer itk::ImageBase<VImageDimension>::CreateAnother() const [with unsigned int VImageDimension = 3u, itk::ImageBase<VImageDimension>::Pointer = itk::SmartPointer<itk::ImageBase<3u> >]’<br>
<br>overriding ‘virtual itk::LightObject::Pointer itk::Object::CreateAnother() const’ <br><br>invalid covariant return type for ‘itk::ImageBase<VImageDimension>::Pointer itk::ImageBase<VImageDimension>::CreateAnother() const [with unsigned int VImageDimension = 3u, itk::ImageBase<VImageDimension>::Pointer = itk::SmartPointer<itk::ImageBase<3u> >]’<br>
<br>invalid covariant return type for ‘itk::LightObject::Pointer itk::Image<TPixel, VImageDimension>::CreateAnother() const [with TPixel = int, unsigned int VImageDimension = 3u, itk::LightObject::Pointer = itk::SmartPointer<itk::LightObject>]’</b></span><br>
<br>All of them are not in my code. Can anyone here, please tell me what is going on?<br><br>Thank you all,<span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br>Gabriel Santiago<br><br>~"As long as I live so long do I learn"~<div>
Ramakhrishna</div>
<br>
</font></span><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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</div>