public class DiskCachedCellImgFactory<T extends NativeType<T>> extends NativeImgFactory<T>
DiskCachedCellImg
s. See
DiskCachedCellImgOptions
for available configuration options and
defaults.Constructor and Description |
---|
DiskCachedCellImgFactory()
Deprecated.
|
DiskCachedCellImgFactory(DiskCachedCellImgOptions optional)
Deprecated.
|
DiskCachedCellImgFactory(T type)
Create a new
DiskCachedCellImgFactory with default configuration. |
DiskCachedCellImgFactory(T type,
DiskCachedCellImgOptions optional)
Create a new
DiskCachedCellImgFactory with the specified
configuration. |
Modifier and Type | Method and Description |
---|---|
DiskCachedCellImg<T,?> |
create(Dimensions dimensions)
Create an
Img<T> with the specified dimensions . |
DiskCachedCellImg<T,?> |
create(Dimensions dimensions,
CellLoader<T> loader) |
DiskCachedCellImg<T,?> |
create(Dimensions dimensions,
CellLoader<T> loader,
DiskCachedCellImgOptions additionalOptions) |
DiskCachedCellImg<T,?> |
create(Dimensions dimensions,
DiskCachedCellImgOptions additionalOptions) |
DiskCachedCellImg<T,?> |
create(int[] dimensions)
Create an
Img<T> with the specified dimensions . |
DiskCachedCellImg<T,?> |
create(long... dimensions)
Create a
NativeImg with the specified dimensions . |
DiskCachedCellImg<T,?> |
create(long[] dimensions,
CellLoader<T> loader) |
DiskCachedCellImg<T,?> |
create(long[] dimensions,
CellLoader<T> loader,
DiskCachedCellImgOptions additionalOptions) |
DiskCachedCellImg<T,?> |
create(long[] dimensions,
DiskCachedCellImgOptions additionalOptions) |
DiskCachedCellImg<T,?> |
create(long[] dim,
T type)
Deprecated.
|
DiskCachedCellImg<T,?> |
create(long[] dim,
T type,
CellLoader<T> loader)
Deprecated.
|
DiskCachedCellImg<T,?> |
create(long[] dim,
T type,
CellLoader<T> loader,
DiskCachedCellImgOptions additionalOptions)
Deprecated.
|
DiskCachedCellImg<T,?> |
create(long[] dim,
T type,
DiskCachedCellImgOptions additionalOptions)
Deprecated.
|
<A> DiskCachedCellImg<T,A> |
createWithCacheLoader(Dimensions dimensions,
CacheLoader<Long,Cell<A>> backingLoader) |
<A> DiskCachedCellImg<T,A> |
createWithCacheLoader(Dimensions dimensions,
CacheLoader<Long,Cell<A>> backingLoader,
DiskCachedCellImgOptions additionalOptions) |
<A> DiskCachedCellImg<T,A> |
createWithCacheLoader(long[] dimensions,
CacheLoader<Long,Cell<A>> backingLoader) |
<A> DiskCachedCellImg<T,A> |
createWithCacheLoader(long[] dimensions,
CacheLoader<Long,Cell<A>> backingLoader,
DiskCachedCellImgOptions additionalOptions) |
<A> DiskCachedCellImg<T,A> |
createWithCacheLoader(long[] dim,
T type,
CacheLoader<Long,Cell<A>> backingLoader)
Deprecated.
|
<A> DiskCachedCellImg<T,A> |
createWithCacheLoader(long[] dim,
T type,
CacheLoader<Long,Cell<A>> backingLoader,
DiskCachedCellImgOptions additionalOptions)
Deprecated.
|
<S> ImgFactory<S> |
imgFactory(S type)
Creates the same
ImgFactory for a different generic parameter if
possible. |
cache, create, create, create, create, create, imgFactory, type
public DiskCachedCellImgFactory(T type)
DiskCachedCellImgFactory
with default configuration.public DiskCachedCellImgFactory(T type, DiskCachedCellImgOptions optional)
DiskCachedCellImgFactory
with the specified
configuration.optional
- configuration options.@Deprecated public DiskCachedCellImgFactory()
@Deprecated public DiskCachedCellImgFactory(DiskCachedCellImgOptions optional)
public DiskCachedCellImg<T,?> create(long... dimensions)
NativeImgFactory
NativeImg
with the specified dimensions
.create
in class NativeImgFactory<T extends NativeType<T>>
dimensions
- the dimensions of the image.NativeImg
with the specified dimensions
.public DiskCachedCellImg<T,?> create(Dimensions dimensions)
NativeImgFactory
Img<T>
with the specified dimensions
.create
in class NativeImgFactory<T extends NativeType<T>>
dimensions
.public DiskCachedCellImg<T,?> create(int[] dimensions)
NativeImgFactory
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 NativeImgFactory<T extends NativeType<T>>
dimensions
.public DiskCachedCellImg<T,?> create(long[] dimensions, DiskCachedCellImgOptions additionalOptions)
public DiskCachedCellImg<T,?> create(Dimensions dimensions, DiskCachedCellImgOptions additionalOptions)
public DiskCachedCellImg<T,?> create(long[] dimensions, CellLoader<T> loader)
public DiskCachedCellImg<T,?> create(Dimensions dimensions, CellLoader<T> loader)
public DiskCachedCellImg<T,?> create(long[] dimensions, CellLoader<T> loader, DiskCachedCellImgOptions additionalOptions)
public DiskCachedCellImg<T,?> create(Dimensions dimensions, CellLoader<T> loader, DiskCachedCellImgOptions additionalOptions)
public <A> DiskCachedCellImg<T,A> createWithCacheLoader(long[] dimensions, CacheLoader<Long,Cell<A>> backingLoader)
public <A> DiskCachedCellImg<T,A> createWithCacheLoader(Dimensions dimensions, CacheLoader<Long,Cell<A>> backingLoader)
public <A> DiskCachedCellImg<T,A> createWithCacheLoader(long[] dimensions, CacheLoader<Long,Cell<A>> backingLoader, DiskCachedCellImgOptions additionalOptions)
public <A> DiskCachedCellImg<T,A> createWithCacheLoader(Dimensions dimensions, CacheLoader<Long,Cell<A>> backingLoader, DiskCachedCellImgOptions additionalOptions)
public <S> ImgFactory<S> imgFactory(S type) throws IncompatibleTypeException
ImgFactory
ImgFactory
for a different generic parameter if
possible.
If the type "S" does not suit the needs of the ImgFactory
(for
example implement NativeType
in all NativeImgFactory
,
this method will throw an IncompatibleTypeException
.imgFactory
in class ImgFactory<T extends NativeType<T>>
S
- the new typetype
- an instance of SImgFactory
of type SIncompatibleTypeException
- if type S is not compatible@Deprecated public DiskCachedCellImg<T,?> create(long[] dim, T type)
create
in class NativeImgFactory<T extends NativeType<T>>
@Deprecated public DiskCachedCellImg<T,?> create(long[] dim, T type, DiskCachedCellImgOptions additionalOptions)
@Deprecated public DiskCachedCellImg<T,?> create(long[] dim, T type, CellLoader<T> loader)
@Deprecated public DiskCachedCellImg<T,?> create(long[] dim, T type, CellLoader<T> loader, DiskCachedCellImgOptions additionalOptions)
@Deprecated public <A> DiskCachedCellImg<T,A> createWithCacheLoader(long[] dim, T type, CacheLoader<Long,Cell<A>> backingLoader)
@Deprecated public <A> DiskCachedCellImg<T,A> createWithCacheLoader(long[] dim, T type, CacheLoader<Long,Cell<A>> backingLoader, DiskCachedCellImgOptions additionalOptions)
Copyright © 2015–2022 ImgLib2. All rights reserved.