[Insight-users] Problems with ITK
Jon Haitz Legarreta
jhlegarreta at vicomtech.org
Mon Oct 22 17:33:23 EDT 2012
Hi Gabriel,
don't really know whether this can solve the problem, but start by checking
that the image pixel type and dimensionality of your reader are the same as
the actual DICOM you want to read.
Kind regards,
JON HAITZ
On 22 October 2012 13:35, Gabriel Santiago <santiago.eletrica at gmail.com>wrote:
> Hi guys,
>
> 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:
>
> * overriding ‘itk::ImageBase<VImageDimension>::Pointer
> itk::ImageBase<VImageDimension>::CreateAnother() const [with unsigned int
> VImageDimension = 3u, itk::ImageBase<VImageDimension>::Pointer =
> itk::SmartPointer<itk::ImageBase<3u> >]’
>
> overriding ‘virtual itk::LightObject::Pointer itk::Object::CreateAnother()
> const’
>
> 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> >]’
>
> 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>]’*
>
> All of them are not in my code. Can anyone here, please tell me what is
> going on?
>
> Thank you all,
>
> --
> Gabriel Santiago
>
> ~"As long as I live so long do I learn"~
> Ramakhrishna
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121022/8c58430e/attachment.htm>
More information about the Insight-users
mailing list