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,<br clear="all"><br>-- <br>Gabriel Santiago<br><br>~"As long as I live so long do I learn"~<div>Ramakhrishna</div>
<br>