public class RandomAccessibleIntervalMipmapSource<T extends NumericType<T>> extends AbstractSource<T>
Modifier and Type | Field and Description |
---|---|
protected RandomAccessibleInterval<T>[] |
mipmapSources |
protected AffineTransform3D[] |
mipmapTransforms |
protected VoxelDimensions |
voxelDimensions |
interpolators, name, type
Constructor and Description |
---|
RandomAccessibleIntervalMipmapSource(RandomAccessibleInterval<T>[] imgs,
T type,
double[][] mipmapScales,
VoxelDimensions voxelDimensions,
AffineTransform3D sourceTransform,
String name) |
RandomAccessibleIntervalMipmapSource(RandomAccessibleInterval<T>[] imgs,
T type,
double[][] mipmapScales,
VoxelDimensions voxelDimensions,
String name) |
Modifier and Type | Method and Description |
---|---|
<V extends Volatile<T> & NumericType<V>> |
asVolatile(SharedQueue queue) |
<V extends Volatile<T> & NumericType<V>> |
asVolatile(Supplier<V> vTypeSupplier,
SharedQueue queue) |
<V extends Volatile<T> & NumericType<V>> |
asVolatile(V vType,
SharedQueue queue) |
int |
getNumMipmapLevels() |
RandomAccessibleInterval<T> |
getSource(int t,
int level)
Get the 3D stack at timepoint index t.
|
void |
getSourceTransform(int t,
int level,
AffineTransform3D transform)
Get the transform from the
source at the
given timepoint index and mipmap level into the global coordinate system. |
VoxelDimensions |
getVoxelDimensions()
Get voxel size and unit for this source.
|
doBoundingBoxCulling, getInterpolatedSource, getName, getType, isPresent
protected final RandomAccessibleInterval<T extends NumericType<T>>[] mipmapSources
protected final AffineTransform3D[] mipmapTransforms
protected final VoxelDimensions voxelDimensions
public RandomAccessibleIntervalMipmapSource(RandomAccessibleInterval<T>[] imgs, T type, double[][] mipmapScales, VoxelDimensions voxelDimensions, AffineTransform3D sourceTransform, String name)
public RandomAccessibleIntervalMipmapSource(RandomAccessibleInterval<T>[] imgs, T type, double[][] mipmapScales, VoxelDimensions voxelDimensions, String name)
public RandomAccessibleInterval<T> getSource(int t, int level)
Source
t
- timepoint indexlevel
- mipmap levelstack
.public void getSourceTransform(int t, int level, AffineTransform3D transform)
Source
source
at the
given timepoint index and mipmap level into the global coordinate system.t
- timepoint indexlevel
- mipmap leveltransform
- is set to the source-to-global transform, that transforms
source coordinates into the global coordinatespublic VoxelDimensions getVoxelDimensions()
Source
getVoxelDimensions
in interface Source<T extends NumericType<T>>
getVoxelDimensions
in class AbstractSource<T extends NumericType<T>>
null
.public int getNumMipmapLevels()
getNumMipmapLevels
in interface Source<T extends NumericType<T>>
getNumMipmapLevels
in class AbstractSource<T extends NumericType<T>>
public <V extends Volatile<T> & NumericType<V>> VolatileRandomAccessibleIntervalMipmapSource<T,V> asVolatile(V vType, SharedQueue queue)
public <V extends Volatile<T> & NumericType<V>> VolatileRandomAccessibleIntervalMipmapSource<T,V> asVolatile(Supplier<V> vTypeSupplier, SharedQueue queue)
public <V extends Volatile<T> & NumericType<V>> VolatileRandomAccessibleIntervalMipmapSource<T,V> asVolatile(SharedQueue queue)
Copyright © 2015–2021 Fiji. All rights reserved.