public class N5ImageLoader.SetupImgLoader<T extends NativeType<T>,V extends Volatile<T> & NativeType<V>> extends AbstractViewerSetupImgLoader<T,V> implements MultiResolutionSetupImgLoader<T>
type, volatileType| Constructor and Description |
|---|
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.
|
Dimensions |
getImageSize(int timepointId,
int level)
Get the size of an image.
|
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) |
VoxelDimensions |
getVoxelSize(int timepointId)
Get the voxel size of an image.
|
int |
numMipmapLevels()
Get number of resolution levels.
|
getImage, getImageType, getVolatileImageTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFloatImage, getFloatImage, getImageSizegetImage, getImageTypepublic SetupImgLoader(int setupId,
T type,
V volatileType)
throws IOException
IOExceptionpublic RandomAccessibleInterval<V> getVolatileImage(int timepointId, int level, ImgLoaderHint... hints)
getVolatileImage in interface ViewerSetupImgLoader<T extends NativeType<T>,V extends Volatile<T> & NativeType<V>>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 extends NativeType<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 Dimensions getImageSize(int timepointId, int level)
MultiResolutionSetupImgLoaderSequenceDescription but pull it from the image file.getImageSize in interface MultiResolutionSetupImgLoader<T extends NativeType<T>>timepointId - timepoint for which to retrieve the image size.level - resolution level for which to retrieve the image size.public double[][] getMipmapResolutions()
BasicMultiResolutionSetupImgLoadergetMipmapResolutions in interface BasicMultiResolutionSetupImgLoader<T extends NativeType<T>>public AffineTransform3D[] getMipmapTransforms()
BasicMultiResolutionSetupImgLoadergetMipmapTransforms in interface BasicMultiResolutionSetupImgLoader<T extends NativeType<T>>public int numMipmapLevels()
BasicMultiResolutionSetupImgLoadernumMipmapLevels in interface BasicMultiResolutionSetupImgLoader<T extends NativeType<T>>public VoxelDimensions getVoxelSize(int timepointId)
SetupImgLoaderSequenceDescription but pull it from the image
file.getVoxelSize in interface SetupImgLoader<T extends NativeType<T>>timepointId - timepoint for which to retrieve the voxel size.Copyright © 2015–2021 Fiji. All rights reserved.