public final class UnsafeImgs extends Object
Convenience factory methods for creation of UnsafeImg
instances with
the most common pixel Type
variants. The collection includes
factories to re-use existing primitive type arrays as data. This can be used
for in-place access to data from other libraries such as AWT or ImageJ. Keep
in mind that this cannot be a complete collection since the number of
existing pixel Type
s may be extended.
For pixel Type
s T not present in this collection, use the generic
UnsafeImgFactory.create(long[], net.imglib2.type.NativeLongAccessType)
, e.g.
img = new ArrayImgFactory< MyType >.create( new long[] { 100, 200 }, new MyType() );
public static final UnsafeImg<UnsignedByteLongAccessType,OwningByteUnsafe> unsignedBytes(long... dim)
public static final UnsafeImg<UnsignedByteLongAccessType,ByteLongAccess> unsignedBytes(ByteLongAccess access, long... dim)
public static final UnsafeImg<ByteLongAccessType,OwningByteUnsafe> bytes(long... dim)
public static final UnsafeImg<ByteLongAccessType,ByteLongAccess> bytes(ByteLongAccess access, long... dim)
public static final UnsafeImg<UnsignedShortLongAccessType,OwningShortUnsafe> unsignedShorts(long... dim)
public static final UnsafeImg<UnsignedShortLongAccessType,ShortLongAccess> unsignedShorts(ShortLongAccess access, long... dim)
public static final UnsafeImg<ShortLongAccessType,OwningShortUnsafe> shorts(long... dim)
public static final UnsafeImg<ShortLongAccessType,ShortLongAccess> shorts(ShortLongAccess access, long... dim)
public static final UnsafeImg<UnsignedIntLongAccessType,OwningIntUnsafe> unsignedInts(long... dim)
public static final UnsafeImg<UnsignedIntLongAccessType,IntLongAccess> unsignedInts(IntLongAccess access, long... dim)
public static final UnsafeImg<IntLongAccessType,IntArray> ints(long... dim)
public static final UnsafeImg<IntLongAccessType,IntLongAccess> ints(IntLongAccess access, long... dim)
public static final UnsafeImg<UnsignedLongLongAccessType,OwningLongUnsafe> unsignedLongs(long... dim)
public static final UnsafeImg<UnsignedLongLongAccessType,LongLongAccess> unsignedLongs(LongLongAccess access, long... dim)
public static final UnsafeImg<LongLongAccessType,OwningLongUnsafe> longs(long... dim)
public static final UnsafeImg<LongLongAccessType,LongLongAccess> longs(LongLongAccess access, long... dim)
public static final UnsafeImg<FloatLongAccessType,OwningFloatUnsafe> floats(long... dim)
public static final UnsafeImg<FloatLongAccessType,FloatUnsafe> floats(FloatUnsafe access, long... dim)
public static final UnsafeImg<DoubleLongAccessType,OwningDoubleUnsafe> doubles(long... dim)
public static final UnsafeImg<DoubleLongAccessType,DoubleUnsafe> doubles(DoubleUnsafe access, long... dim)
public static final UnsafeImg<ARGBLongAccessType,OwningIntUnsafe> argbs(long... dim)
public static final UnsafeImg<ARGBLongAccessType,IntLongAccess> argbs(IntLongAccess access, long... dim)
public static final UnsafeImg<ComplexFloatLongAccessType,FloatLongAccess> complexFloats(long... dim)
public static final UnsafeImg<ComplexFloatLongAccessType,FloatLongAccess> complexFloats(FloatLongAccess access, long... dim)
public static final UnsafeImg<ComplexDoubleLongAccessType,DoubleLongAccess> complexDoubles(long... dim)
public static final UnsafeImg<ComplexDoubleLongAccessType,DoubleLongAccess> complexDoubles(DoubleLongAccess access, long... dim)
Copyright © 2015–2022 ImgLib2. All rights reserved.