Package net.imglib2.img
Class NativeImgFactory<T extends NativeType<T>>
- java.lang.Object
-
- net.imglib2.img.ImgFactory<T>
-
- net.imglib2.img.NativeImgFactory<T>
-
- Direct Known Subclasses:
ArrayImgFactory
,CellImgFactory
,NtreeImgFactory
,PlanarImgFactory
public abstract class NativeImgFactory<T extends NativeType<T>> extends ImgFactory<T>
TODO
-
-
Constructor Summary
Constructors Constructor Description NativeImgFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description NativeImg<T,?>
create(long[] dim, T type)
abstract NativeImg<T,? extends ByteAccess>
createByteInstance(long[] dimensions, Fraction entitiesPerPixel)
abstract NativeImg<T,? extends CharAccess>
createCharInstance(long[] dimensions, Fraction entitiesPerPixel)
abstract NativeImg<T,? extends DoubleAccess>
createDoubleInstance(long[] dimensions, Fraction entitiesPerPixel)
abstract NativeImg<T,? extends FloatAccess>
createFloatInstance(long[] dimensions, Fraction entitiesPerPixel)
abstract NativeImg<T,? extends IntAccess>
createIntInstance(long[] dimensions, Fraction entitiesPerPixel)
abstract NativeImg<T,? extends LongAccess>
createLongInstance(long[] dimensions, Fraction entitiesPerPixel)
abstract NativeImg<T,? extends ShortAccess>
createShortInstance(long[] dimensions, Fraction entitiesPerPixel)
-
Methods inherited from class net.imglib2.img.ImgFactory
create, create, create, create, create, imgFactory, imgFactory
-
-
-
-
Method Detail
-
create
public NativeImg<T,?> create(long[] dim, T type)
This class will ask theType
to create a suitableImg
for theType
and the dimensionality.Type
will then call one of the abstract methods defined below to create theNativeImg
- Specified by:
create
in classImgFactory<T extends NativeType<T>>
- Returns:
Img
- the instantiated Container
-
createByteInstance
public abstract NativeImg<T,? extends ByteAccess> createByteInstance(long[] dimensions, Fraction entitiesPerPixel)
-
createCharInstance
public abstract NativeImg<T,? extends CharAccess> createCharInstance(long[] dimensions, Fraction entitiesPerPixel)
-
createShortInstance
public abstract NativeImg<T,? extends ShortAccess> createShortInstance(long[] dimensions, Fraction entitiesPerPixel)
-
createIntInstance
public abstract NativeImg<T,? extends IntAccess> createIntInstance(long[] dimensions, Fraction entitiesPerPixel)
-
createLongInstance
public abstract NativeImg<T,? extends LongAccess> createLongInstance(long[] dimensions, Fraction entitiesPerPixel)
-
createFloatInstance
public abstract NativeImg<T,? extends FloatAccess> createFloatInstance(long[] dimensions, Fraction entitiesPerPixel)
-
createDoubleInstance
public abstract NativeImg<T,? extends DoubleAccess> createDoubleInstance(long[] dimensions, Fraction entitiesPerPixel)
-
-