public static class BSplineLazyCoefficientsInterpolatorFactory.LazyCellImgFactory<T extends RealType<T>,S extends RealType<S> & NativeType<S>> extends ImgFactory<S>
Constructor and Description |
---|
LazyCellImgFactory(BSplineDecomposition<T,S> decomposition,
Interval interval,
int[] blockSize,
S type) |
LazyCellImgFactory(int order,
RandomAccessibleInterval<T> img,
int[] blockSize,
S type) |
Modifier and Type | Method and Description |
---|---|
Img<S> |
create(long... dimensions)
Create an
Img<T> with the specified dimensions . |
Img<S> |
create(long[] dim,
S type) |
<R> ImgFactory<R> |
imgFactory(R type)
Creates the same
ImgFactory for a different generic parameter if
possible. |
public LazyCellImgFactory(int order, RandomAccessibleInterval<T> img, int[] blockSize, S type)
public LazyCellImgFactory(BSplineDecomposition<T,S> decomposition, Interval interval, int[] blockSize, S type)
public Img<S> create(long... dimensions)
ImgFactory
Img<T>
with the specified dimensions
.create
in class ImgFactory<S extends RealType<S> & NativeType<S>>
dimensions
.public <R> ImgFactory<R> imgFactory(R type) throws IncompatibleTypeException
ImgFactory
ImgFactory
for a different generic parameter if
possible.
If the type "S" does not suit the needs of the ImgFactory
(for
example implement NativeType
in all NativeImgFactory
,
this method will throw an IncompatibleTypeException
.imgFactory
in class ImgFactory<S extends RealType<S> & NativeType<S>>
R
- the new typetype
- an instance of SImgFactory
of type SIncompatibleTypeException
- if type S is not compatiblepublic Img<S> create(long[] dim, S type)
create
in class ImgFactory<S extends RealType<S> & NativeType<S>>
Copyright © 2015–2022 ImgLib2. All rights reserved.