[Insight-users] smart pointer problem

Bill Hoffman bill . hoffman at kitware . com
Wed, 25 Jun 2003 13:08:19 -0400


If you look at what it actualy says:

class itk::SmartPointer<class itk::Image<class itk::RGBPixel<unsigned char>,2> >' to
class                         itk::Image<class itk::RGBPixel<class itk::RGBPixel<unsigned char> >,2> *'

It looks like you have an Image<RGBPixel<RGBPixel>> which is most likely
the problem.

-Bill


At 12:44 PM 6/25/2003, gwenael . guillard at enst-bretagne . fr wrote:
>Hi,
>
>I do not understand this message error:
>
>cannot convert parameter 1 from 'class itk::SmartPointer<class 
>itk::Image<class itk::RGBPixel<unsigned char>,2> >' to 'class itk::Image<class 
>itk::RGBPixel<class itk::RGBPixel<unsigned char> >,2> *'
>
>At this place I do a SetInput()
>
>Thank you,
>
>Gwen
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk . org
>http://www . itk . org/mailman/listinfo/insight-users