[Insight-developers] Mean shift image filter
Luis Ibanez
luis.ibanez at kitware.com
Thu Mar 18 11:08:46 EDT 2010
Hi David,
You are simply missing the keyword "typename" in
45: ListSampleType::Pointer listSample =
The code should be:
45: typename ListSampleType::Pointer listSample =
You need "typename" every time that you get a Trait from
a type that depends on one of the template arguments of
your templated class.
Luis
PS. The "ibanez" account in github doesn't seem to be mine.
-------------------------------------------------------------------------------------------------
On Wed, Mar 17, 2010 at 9:05 PM, David Doria <daviddoria at gmail.com> wrote:
> I tried to wrap this in an imageToImage filter:
> http://github.com/daviddoria/MeanShiftClustering
>
> I am getting an "error: expected ';' before 'listSample' on line 45 of
> itkSampleMeanShiftClusteringImageFilter.txx. Do you know what would
> cause this?
>
> Does the structure look reasonable?
>
> Are you "ibanez" on github?
>
> Thanks,
>
> David
>
More information about the Insight-developers
mailing list