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&lt;VImageDimension&gt;::Pointer itk::ImageBase&lt;VImageDimension&gt;::CreateAnother() const [with unsigned int VImageDimension = 3u, itk::ImageBase&lt;VImageDimension&gt;::Pointer = itk::SmartPointer&lt;itk::ImageBase&lt;3u&gt; &gt;]’<br>
<br>overriding ‘virtual itk::LightObject::Pointer itk::Object::CreateAnother() const’ <br><br>invalid covariant return type for ‘itk::ImageBase&lt;VImageDimension&gt;::Pointer itk::ImageBase&lt;VImageDimension&gt;::CreateAnother() const [with unsigned int VImageDimension = 3u, itk::ImageBase&lt;VImageDimension&gt;::Pointer = itk::SmartPointer&lt;itk::ImageBase&lt;3u&gt; &gt;]’<br>
<br>invalid covariant return type for ‘itk::LightObject::Pointer itk::Image&lt;TPixel, VImageDimension&gt;::CreateAnother() const [with TPixel = int, unsigned int VImageDimension = 3u, itk::LightObject::Pointer = itk::SmartPointer&lt;itk::LightObject&gt;]’</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>~&quot;As long as I live so long do I learn&quot;~<div>Ramakhrishna</div>
<br>