[Insight-developers] smart pointer

Yinpeng Jin yj76@columbia.edu
Thu, 25 Apr 2002 10:31:39 -0400


Hi, all:
I have an error when compile the VoronoiSegmenationRGBImageFilter, the error
appears at:

itk::ImageRegionIteratorWithIndex <InputImageType> iit(this->GetInput(),
region);

cannot convert parameter 1 from 'class itk::SmartPointer<class
itk::Image<class itk::Vector<unsigned char,3>,2> cons
t >' to 'class itk::Image<class itk::Vector<unsigned char,3>,2> *'

any hints why this is happening?

Yinpeng.