public class PlanarImgFactory<T extends NativeType<T>> extends NativeImgFactory<T>
PlanarImg.| Constructor and Description |
|---|
PlanarImgFactory()
Deprecated.
|
PlanarImgFactory(T type) |
| Modifier and Type | Method and Description |
|---|---|
PlanarImg<T,?> |
create(Dimensions dimensions)
Create an
Img<T> with the specified dimensions. |
PlanarImg<T,?> |
create(int[] dimensions)
Create an
Img<T> with the specified dimensions. |
PlanarImg<T,?> |
create(long... dimensions)
Create a
NativeImg with the specified dimensions. |
PlanarImg<T,?> |
create(long[] dimensions,
T type)
Deprecated.
|
<S> ImgFactory<S> |
imgFactory(S type)
Creates the same
ImgFactory for a different generic parameter if
possible. |
cache, create, create, create, create, create, imgFactory, typepublic PlanarImgFactory(T type)
@Deprecated public PlanarImgFactory()
public PlanarImg<T,?> create(long... dimensions)
NativeImgFactoryNativeImg with the specified dimensions.create in class NativeImgFactory<T extends NativeType<T>>dimensions - the dimensions of the image.NativeImg with the specified dimensions.public PlanarImg<T,?> create(Dimensions dimensions)
NativeImgFactoryImg<T> with the specified dimensions.create in class NativeImgFactory<T extends NativeType<T>>dimensions.public PlanarImg<T,?> create(int[] dimensions)
NativeImgFactoryImg<T> with the specified dimensions.
Note: This is not a vararg function because the underlying int[]
based methods already copies the int[] dimensions into a
disposable long[] anyways. This would be an unnecessary copy for
int... varargs.
create in class NativeImgFactory<T extends NativeType<T>>dimensions.public <S> ImgFactory<S> imgFactory(S type) throws IncompatibleTypeException
ImgFactoryImgFactory 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<T extends NativeType<T>>S - the new typetype - an instance of SImgFactory of type SIncompatibleTypeException - if type S is not compatible@Deprecated public PlanarImg<T,?> create(long[] dimensions, T type)
create in class NativeImgFactory<T extends NativeType<T>>Copyright © 2015–2022 ImgLib2. All rights reserved.