public abstract class NativeImgFactory<T extends NativeType<T>> extends ImgFactory<T>
NativeImgFactory
???Constructor and Description |
---|
NativeImgFactory()
Deprecated.
|
NativeImgFactory(T type) |
Modifier and Type | Method and Description |
---|---|
NativeImg<T,?> |
create(Dimensions dimensions)
Create an
Img<T> with the specified dimensions . |
NativeImg<T,?> |
create(int[] dimensions)
Create an
Img<T> with the specified dimensions . |
abstract NativeImg<T,?> |
create(long... dimensions)
Create a
NativeImg with the specified dimensions . |
abstract NativeImg<T,?> |
create(long[] dimension,
T type)
Deprecated.
|
cache, create, create, create, create, create, imgFactory, imgFactory, type
public NativeImgFactory(T type)
@Deprecated public NativeImgFactory()
public abstract NativeImg<T,?> create(long... dimensions)
NativeImg
with the specified dimensions
.create
in class ImgFactory<T extends NativeType<T>>
dimensions
- the dimensions of the image.NativeImg
with the specified dimensions
.public NativeImg<T,?> create(Dimensions dimensions)
Img<T>
with the specified dimensions
.create
in class ImgFactory<T extends NativeType<T>>
dimensions
.public NativeImg<T,?> create(int[] dimensions)
Img<T>
with the specified dimensions
.
Note: This is not a vararg function because the underlying int[]
based methods already copies the int[]
dimensions into a
disposable long[]
anyways. This would be an unnecessary copy for
int...
varargs.
create
in class ImgFactory<T extends NativeType<T>>
dimensions
.@Deprecated public abstract NativeImg<T,?> create(long[] dimension, T type)
create
in class ImgFactory<T extends NativeType<T>>
Copyright © 2015–2022 ImgLib2. All rights reserved.