public class ImagePlusImgFactory<T extends NativeType<T>> extends PlanarImgFactory<T>
ImagePlusImg.| Constructor and Description |
|---|
ImagePlusImgFactory()
Deprecated.
|
ImagePlusImgFactory(T type) |
| Modifier and Type | Method and Description |
|---|---|
ImagePlusImg<T,?> |
create(Dimensions dimensions)
Create an
Img<T> with the specified dimensions. |
ImagePlusImg<T,?> |
create(int[] dimensions)
Create an
Img<T> with the specified dimensions. |
ImagePlusImg<T,?> |
create(long... dimensions)
Create a
NativeImg with the specified dimensions. |
ImagePlusImg<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 ImagePlusImgFactory(T type)
@Deprecated public ImagePlusImgFactory()
public ImagePlusImg<T,?> create(long... dimensions)
NativeImgFactoryNativeImg with the specified dimensions.create in class PlanarImgFactory<T extends NativeType<T>>dimensions - the dimensions of the image.NativeImg with the specified dimensions.public ImagePlusImg<T,?> create(Dimensions dimensions)
NativeImgFactoryImg<T> with the specified dimensions.create in class PlanarImgFactory<T extends NativeType<T>>dimensions.public ImagePlusImg<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 PlanarImgFactory<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 PlanarImgFactory<T extends NativeType<T>>S - the new typetype - an instance of SImgFactory of type SIncompatibleTypeException - if type S is not compatible@Deprecated public ImagePlusImg<T,?> create(long[] dimensions, T type)
create in class PlanarImgFactory<T extends NativeType<T>>Copyright © 2015–2022 ImgLib2. All rights reserved.