public class ImarisCachedLabelImgFactory<T extends NativeType<T>> extends NativeImgFactory<T>
ImarisCachedLabelImg
s. See
ImarisCachedCellImgOptions
for available configuration options and
defaults.
Integer labels on the ImgLib2 side are translated into channels on the Imaris side. Therefore, because the channel dimension is used to decompose the labels (values), this factory can create at most 4D images.
Images can only be created with existing Imaris dataset.
Constructor and Description |
---|
ImarisCachedLabelImgFactory(T type,
ImarisApplication imaris)
Create a new
ImarisCachedLabelImgFactory with default configuration. |
ImarisCachedLabelImgFactory(T type,
ImarisApplication imaris,
ImarisCachedCellImgOptions optional)
Create a new
ImarisCachedLabelImgFactory with the specified
configuration. |
Modifier and Type | Method and Description |
---|---|
ImarisCachedLabelImg<T,?> |
create(Dimensions dimensions) |
ImarisCachedLabelImg<T,?> |
create(Imaris.IDataSetPrx dataset,
long[] dimensions)
Create writable image around existing Imaris dataset.
|
ImarisCachedLabelImg<T,?> |
create(Imaris.IDataSetPrx dataset,
long[] dimensions,
CellLoader<T> loader)
Create writable image around existing empty Imaris dataset.
|
ImarisCachedLabelImg<T,?> |
create(Imaris.IDataSetPrx dataset,
long[] dimensions,
CellLoader<T> loader,
ImarisCachedCellImgOptions additionalOptions) |
ImarisCachedLabelImg<T,?> |
create(Imaris.IDataSetPrx dataset,
long[] dimensions,
ImarisCachedCellImgOptions additionalOptions) |
ImarisCachedLabelImg<T,?> |
create(long... dimensions) |
NativeImg<T,?> |
create(long[] dimension,
T type)
Deprecated.
|
ImarisApplication |
getApplication() |
<S> ImgFactory<S> |
imgFactory(S type) |
create
cache, create, create, create, create, create, imgFactory, type
public ImarisCachedLabelImgFactory(T type, ImarisApplication imaris)
ImarisCachedLabelImgFactory
with default configuration.public ImarisCachedLabelImgFactory(T type, ImarisApplication imaris, ImarisCachedCellImgOptions optional)
ImarisCachedLabelImgFactory
with the specified
configuration.optional
- configuration options.public ImarisApplication getApplication()
public ImarisCachedLabelImg<T,?> create(long... dimensions)
create
in class NativeImgFactory<T extends NativeType<T>>
public ImarisCachedLabelImg<T,?> create(Dimensions dimensions)
create
in class NativeImgFactory<T extends NativeType<T>>
public ImarisCachedLabelImg<T,?> create(Imaris.IDataSetPrx dataset, long[] dimensions, CellLoader<T> loader)
dataset
dimensions and dimensions
must match.
(But dimensions
is allowed to strip dimensions with extent 1.)
It is assumed that dataset
is empty and cells will be populated from the given loader
.
Existing data in dataset
will thus be potentially overwritten!
public ImarisCachedLabelImg<T,?> create(Imaris.IDataSetPrx dataset, long[] dimensions, CellLoader<T> loader, ImarisCachedCellImgOptions additionalOptions)
public ImarisCachedLabelImg<T,?> create(Imaris.IDataSetPrx dataset, long[] dimensions)
dataset
dimensions and dimensions + 1
must match.
(But dimensions
is allowed to strip dimensions with extent 1.)
Note that this creates a writable image, and modifying the image will result in modifying the Imaris dataset! (eventually, when writing back modified data from the cache).
public ImarisCachedLabelImg<T,?> create(Imaris.IDataSetPrx dataset, long[] dimensions, ImarisCachedCellImgOptions additionalOptions)
create(IDataSetPrx, long...)
public <S> ImgFactory<S> imgFactory(S type) throws IncompatibleTypeException
imgFactory
in class ImgFactory<T extends NativeType<T>>
IncompatibleTypeException
@Deprecated public NativeImg<T,?> create(long[] dimension, T type)
create
in class NativeImgFactory<T extends NativeType<T>>
Copyright © 2019–2021 Imaris. All rights reserved.