A
- TODO
byte[]
VolatileByteArray
DirtyVolatileByteArray
short[]
VolatileShortArray
DirtyVolatileShortArray
float[]
VolatileFloatArray
DirtyVolatileFloatArray
@FunctionalInterface public interface PixelSource<A>
Modifier and Type | Method and Description |
---|---|
A |
get(int level,
long[] min,
int[] size)
Get sub-volume as flattened array.
|
static PixelSource<?> |
primitiveArraySource(Imaris.IDataSetPrx dataset,
Imaris.tType datasetType,
int[] mapDimensions)
TODO
|
static <A> PixelSource<A> |
volatileArraySource(Imaris.IDataSetPrx dataset,
Imaris.tType datasetType,
int[] mapDimensions,
boolean withDirtyFlag)
TODO
|
A get(int level, long[] min, int[] size) throws Imaris.Error
level
- resolution level (0 is full resolution).min
- minimum of interval in Img
space.
Will be augmented to 5D if necessary.size
- size of interval in Img
space.
Will be augmented to 5D if necessary.Imaris.Error
static PixelSource<?> primitiveArraySource(Imaris.IDataSetPrx dataset, Imaris.tType datasetType, int[] mapDimensions)
dataset
- datasetType
- mapDimensions
- maps Imaris dimension indices to imglib2 dimension indices.
If i
is dimension index from Imaris (0..4 means
X,Y,Z,C,T) then mapDimensions[i]
is the corresponding
dimension in Img
. For Img
dimensions with size=1
are skipped. E.g., for a X,Y,C image mapDimensions =
{0,1,-1,2,-1}
.static <A> PixelSource<A> volatileArraySource(Imaris.IDataSetPrx dataset, Imaris.tType datasetType, int[] mapDimensions, boolean withDirtyFlag)
A
- dataset
- datasetType
- mapDimensions
- maps Imaris dimension indices to imglib2 dimension indices.
If i
is dimension index from Imaris (0..4 means
X,Y,Z,C,T) then mapDimensions[i]
is the corresponding
dimension in Img
. For Img
dimensions with size=1
are skipped. E.g., for a X,Y,C image mapDimensions =
{0,1,-1,2,-1}
.withDirtyFlag
- Copyright © 2019–2021 Imaris. All rights reserved.