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
TODO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract 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) 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
-
Constructor Details
-
NativeImgFactory
public NativeImgFactory()
-
-
Method Details
-
create
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
-
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)
-