public class PlanarImgFactory<T extends NativeType<T>> extends NativeImgFactory<T>
PlanarImg.| Constructor and Description |
|---|
PlanarImgFactory() |
| Modifier and Type | Method and Description |
|---|---|
PlanarImg<T,?> |
create(long[] dim,
T type)
|
NativeImg<T,ByteArray> |
createByteInstance(long[] dimensions,
Fraction entitiesPerPixel) |
NativeImg<T,CharArray> |
createCharInstance(long[] dimensions,
Fraction entitiesPerPixel) |
NativeImg<T,DoubleArray> |
createDoubleInstance(long[] dimensions,
Fraction entitiesPerPixel) |
NativeImg<T,FloatArray> |
createFloatInstance(long[] dimensions,
Fraction entitiesPerPixel) |
NativeImg<T,IntArray> |
createIntInstance(long[] dimensions,
Fraction entitiesPerPixel) |
NativeImg<T,LongArray> |
createLongInstance(long[] dimensions,
Fraction entitiesPerPixel) |
NativeImg<T,ShortArray> |
createShortInstance(long[] dimensions,
Fraction entitiesPerPixel) |
<S> ImgFactory<S> |
imgFactory(S type)
Creates the same
ImgFactory for a different generic parameter if
possible. |
create, create, create, create, create, imgFactorypublic PlanarImg<T,?> create(long[] dim, T type)
NativeImgFactoryType to create a suitable Img for
the Type and the dimensionality.
Type will then call one of the abstract methods defined below to
create the NativeImgcreate in class NativeImgFactory<T extends NativeType<T>>Img - the instantiated Containerpublic NativeImg<T,ByteArray> createByteInstance(long[] dimensions, Fraction entitiesPerPixel)
createByteInstance in class NativeImgFactory<T extends NativeType<T>>public NativeImg<T,CharArray> createCharInstance(long[] dimensions, Fraction entitiesPerPixel)
createCharInstance in class NativeImgFactory<T extends NativeType<T>>public NativeImg<T,DoubleArray> createDoubleInstance(long[] dimensions, Fraction entitiesPerPixel)
createDoubleInstance in class NativeImgFactory<T extends NativeType<T>>public NativeImg<T,FloatArray> createFloatInstance(long[] dimensions, Fraction entitiesPerPixel)
createFloatInstance in class NativeImgFactory<T extends NativeType<T>>public NativeImg<T,IntArray> createIntInstance(long[] dimensions, Fraction entitiesPerPixel)
createIntInstance in class NativeImgFactory<T extends NativeType<T>>public NativeImg<T,LongArray> createLongInstance(long[] dimensions, Fraction entitiesPerPixel)
createLongInstance in class NativeImgFactory<T extends NativeType<T>>public NativeImg<T,ShortArray> createShortInstance(long[] dimensions, Fraction entitiesPerPixel)
createShortInstance in class NativeImgFactory<T extends NativeType<T>>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 compatibleCopyright © 2009–2017 ImgLib2. All rights reserved.