public class VirtualStackImageLoader.SetupImgLoader extends AbstractViewerSetupImgLoader<T,V>
type, volatileType
Modifier | Constructor and Description |
---|---|
protected |
SetupImgLoader(int setupId,
T type,
V volatileType) |
Modifier and Type | Method and Description |
---|---|
RandomAccessibleInterval<T> |
getImage(int timepointId,
int level,
ImgLoaderHint... hints)
Get the image at the specified timepoint and resolution level.
|
double[][] |
getMipmapResolutions()
Get the sub-sampling factors, indexed by resolution level and dimension.
|
AffineTransform3D[] |
getMipmapTransforms()
Get the transformation from coordinates of the sub-sampled image of a a
resolution level to coordinates of the full resolution image.
|
RandomAccessibleInterval<V> |
getVolatileImage(int timepointId,
int level,
ImgLoaderHint... hints) |
int |
numMipmapLevels()
Get number of resolution levels.
|
protected <T extends NativeType<T>> |
prepareCachedImage(int timepointId,
int level,
LoadingStrategy loadingStrategy,
T type)
Create a
CachedCellImg backed by the cache. |
getImage, getImageType, getVolatileImageType
public RandomAccessibleInterval<V> getVolatileImage(int timepointId, int level, ImgLoaderHint... hints)
public RandomAccessibleInterval<T> getImage(int timepointId, int level, ImgLoaderHint... hints)
BasicMultiResolutionSetupImgLoader
The returned image has pixel type T
(an instance of T
may
be obtained by BasicSetupImgLoader.getImageType()
).
timepointId
- timepoint for which to retrieve the image.level
- resolution level for which to retrieve the image.hints
- optional hints regarding how to load the image.protected <T extends NativeType<T>> AbstractCellImg<T,A,?,?> prepareCachedImage(int timepointId, int level, LoadingStrategy loadingStrategy, T type)
CachedCellImg
backed by the cache.public double[][] getMipmapResolutions()
BasicMultiResolutionSetupImgLoader
public AffineTransform3D[] getMipmapTransforms()
BasicMultiResolutionSetupImgLoader
public int numMipmapLevels()
BasicMultiResolutionSetupImgLoader
Copyright © 2015–2021 Fiji. All rights reserved.