[Insight-users] Error passing NthElementImageAdaptor as an argument

David Doria daviddoria at gmail.com
Sun Dec 5 21:33:29 EST 2010


> It can be easy to forget, but try templating the filter over the adaptor type
> instead of the image type.  I.e.,
>
> typedef
> itk::BinomialBlurImageFilter<itk::NthElementImageAdaptor<itk::Image<itk::Covaria
> ntVector<float, 3u>, 2u>, float> FilterType
>
> Regards,
> Matt

Ah, I get it now, thanks.

David


More information about the Insight-users mailing list