public class LegacyViewerImgLoaderWrapper.SetupImgLoaderWrapper extends Object implements ViewerSetupImgLoader<T,V>
Modifier | Constructor and Description |
---|---|
protected |
SetupImgLoaderWrapper(int setupId) |
Modifier and Type | Method and Description |
---|---|
RandomAccessibleInterval<T> |
getImage(int timepointId,
ImgLoaderHint... hints)
Get the image at the specified timepoint.
|
RandomAccessibleInterval<T> |
getImage(int timepointId,
int level,
ImgLoaderHint... hints)
Get the image at the specified timepoint and resolution level.
|
T |
getImageType() |
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) |
V |
getVolatileImageType() |
int |
numMipmapLevels()
Get number of resolution levels.
|
public RandomAccessibleInterval<T> getImage(int timepointId, ImgLoaderHint... hints)
BasicSetupImgLoader
The returned image has pixel type T
(an instance of T
may
be obtained by BasicSetupImgLoader.getImageType()
).
getImage
in interface BasicSetupImgLoader<T>
timepointId
- timepoint for which to retrieve the image.hints
- optional hints regarding how to load the image.public T getImageType()
getImageType
in interface BasicSetupImgLoader<T>
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()
).
getImage
in interface BasicMultiResolutionSetupImgLoader<T>
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.public double[][] getMipmapResolutions()
BasicMultiResolutionSetupImgLoader
getMipmapResolutions
in interface BasicMultiResolutionSetupImgLoader<T>
public AffineTransform3D[] getMipmapTransforms()
BasicMultiResolutionSetupImgLoader
getMipmapTransforms
in interface BasicMultiResolutionSetupImgLoader<T>
public int numMipmapLevels()
BasicMultiResolutionSetupImgLoader
numMipmapLevels
in interface BasicMultiResolutionSetupImgLoader<T>
public RandomAccessibleInterval<V> getVolatileImage(int timepointId, int level, ImgLoaderHint... hints)
getVolatileImage
in interface ViewerSetupImgLoader<T,V extends Volatile<T>>
public V getVolatileImageType()
getVolatileImageType
in interface ViewerSetupImgLoader<T,V extends Volatile<T>>
Copyright © 2015–2021 Fiji. All rights reserved.