[ImageJ-devel] [fiji-devel] ImgLib2 merge to master
Albert Cardona
sapristi at gmail.com
Thu Apr 21 16:46:41 CDT 2011
2011/4/21 Stephan Saalfeld <saalfeld at mpi-cbg.de>:
> Or you mean
>
> switch (mode) {
> case LINEAR:
> inter = new NLinearInterpolatorFactory<R>();
> break;
> case NEAREST_NEIGHBOR:
> inter = new NearestNeighborInterpolatorFactory<R>();
> break;
> default:
> throw new IllegalArgumentException("Scale: don't know how to scale
> with mode " + mode);
> }
I meant this one--silly me--but it doesn't work either:
"Type mismatch: cannot convert from NLinearInterpolatorFactory<R> to
InterpolatorFactory<R,Img<R>>"
Albert
--
http://albert.rierol.net
More information about the ImageJ-devel
mailing list