Package net.imglib2.img.planar
Class PlanarImgs
- java.lang.Object
-
- net.imglib2.img.planar.PlanarImgs
-
public final class PlanarImgs extends java.lang.Object
Convenience factory methods for creation ofPlanarImg
instances with the most common pixelType
variants. Keep in mind that this cannot be a complete collection since the number of existing pixelType
s may be extended. For pixelType
s T not present in this collection, use the genericPlanarImgFactory.create(long[], net.imglib2.type.NativeType)
, e.g.img = new PlanarImgFactory< MyType >.create( new long[] { 100, 200 }, new MyType() );
- Author:
- Stephan Saalfeld
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlanarImg<ARGBType,IntArray>
argbs(long... dim)
static PlanarImg<BitType,LongArray>
bits(long... dim)
static PlanarImg<ByteType,ByteArray>
bytes(long... dim)
static PlanarImg<ComplexDoubleType,DoubleArray>
complexDoubles(long... dim)
static PlanarImg<ComplexFloatType,FloatArray>
complexFloats(long... dim)
static PlanarImg<DoubleType,DoubleArray>
doubles(long... dim)
static PlanarImg<FloatType,FloatArray>
floats(long... dim)
static PlanarImg<IntType,IntArray>
ints(long... dim)
static PlanarImg<LongType,LongArray>
longs(long... dim)
static PlanarImg<ShortType,ShortArray>
shorts(long... dim)
static PlanarImg<UnsignedByteType,ByteArray>
unsignedBytes(long... dim)
static PlanarImg<UnsignedIntType,IntArray>
unsignedInts(long... dim)
static PlanarImg<UnsignedShortType,ShortArray>
unsignedShorts(long... dim)
-
-
-
Method Detail
-
unsignedBytes
public static final PlanarImg<UnsignedByteType,ByteArray> unsignedBytes(long... dim)
-
unsignedShorts
public static final PlanarImg<UnsignedShortType,ShortArray> unsignedShorts(long... dim)
-
shorts
public static final PlanarImg<ShortType,ShortArray> shorts(long... dim)
-
unsignedInts
public static final PlanarImg<UnsignedIntType,IntArray> unsignedInts(long... dim)
-
floats
public static final PlanarImg<FloatType,FloatArray> floats(long... dim)
-
doubles
public static final PlanarImg<DoubleType,DoubleArray> doubles(long... dim)
-
complexFloats
public static final PlanarImg<ComplexFloatType,FloatArray> complexFloats(long... dim)
-
complexDoubles
public static final PlanarImg<ComplexDoubleType,DoubleArray> complexDoubles(long... dim)
-
-