[IGSTK-Users] itk::ImageFileReader to igstk::ImageSpatialObject
Sean Lee
kevinseanlee at live.com
Thu Jun 19 15:05:11 EDT 2014
I am trying to do
igstk::Friends::ImageReaderToImageSpatialObject::ConnectImage( m_MhdImageReader, m_ImageSpatialObject.GetPointer());
and came with the following error.
error C2784: 'void igstk::Friends::ImageReaderToImageSpatialObject::ConnectImage(const TReader *,TImageSpatialObject *)' : could not deduce template argument for 'const TReader *' from 'itk::SmartPointer<TObjectType>'
What did I do wrong? Thanks.
From: kevinseanlee at live.com
To: igstk-users at public.kitware.com
Subject: itk::ImageFileReader to igstk::ImageSpatialObject
Date: Thu, 19 Jun 2014 11:52:21 -0500
I read image file through itk::ImageFileReader (mhd) and then try to put it into igstk::ImageSpatialObject. How to do it? Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20140619/14b60da4/attachment-0002.html>
More information about the IGSTK-Users
mailing list