public class Hdf5ImageLoader.SetupImgLoader extends AbstractViewerSetupImgLoader<UnsignedShortType,VolatileUnsignedShortType> implements MultiResolutionSetupImgLoader<UnsignedShortType>
type, volatileType| Modifier | Constructor and Description |
|---|---|
protected |
SetupImgLoader(int setupId,
MipmapInfo mipmapInfo) |
| Modifier and Type | Method and Description |
|---|---|
RandomAccessibleInterval<UnsignedShortType> |
getImage(int timepointId,
int level,
ImgLoaderHint... hints) |
Dimensions |
getImageSize(int timepointId,
int level) |
MipmapInfo |
getMipmapInfo() |
double[][] |
getMipmapResolutions() |
AffineTransform3D[] |
getMipmapTransforms() |
protected <T> RandomAccessibleInterval<T> |
getMissingDataImage(ViewLevelId id,
T constant)
For images that are missing in the hdf5, a constant image is created.
|
RandomAccessibleInterval<VolatileUnsignedShortType> |
getVolatileImage(int timepointId,
int level,
ImgLoaderHint... hints) |
VoxelDimensions |
getVoxelSize(int timepointId) |
int |
numMipmapLevels() |
protected <T extends NativeType<T>> |
prepareCachedImage(int timepointId,
int level,
LoadingStrategy loadingStrategy,
T type)
Create a
CellImg backed by the cache. |
getImage, getImageType, getVolatileImageTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFloatImage, getFloatImage, getImageSizegetImage, getImageTypeprotected SetupImgLoader(int setupId,
MipmapInfo mipmapInfo)
public RandomAccessibleInterval<UnsignedShortType> getImage(int timepointId, int level, ImgLoaderHint... hints)
getImage in interface BasicMultiResolutionSetupImgLoader<UnsignedShortType>public RandomAccessibleInterval<VolatileUnsignedShortType> getVolatileImage(int timepointId, int level, ImgLoaderHint... hints)
getVolatileImage in interface ViewerSetupImgLoader<UnsignedShortType,VolatileUnsignedShortType>protected <T extends NativeType<T>> RandomAccessibleInterval<T> prepareCachedImage(int timepointId, int level, LoadingStrategy loadingStrategy, T type)
CellImg backed by the cache.protected <T> RandomAccessibleInterval<T> getMissingDataImage(ViewLevelId id, T constant)
Hdf5ImageLoader.getDimsAndExistence(ViewLevelId)) then use that. Otherwise
create a 1x1x1 image.public MipmapInfo getMipmapInfo()
public double[][] getMipmapResolutions()
getMipmapResolutions in interface BasicMultiResolutionSetupImgLoader<UnsignedShortType>public AffineTransform3D[] getMipmapTransforms()
getMipmapTransforms in interface BasicMultiResolutionSetupImgLoader<UnsignedShortType>public int numMipmapLevels()
numMipmapLevels in interface BasicMultiResolutionSetupImgLoader<UnsignedShortType>public Dimensions getImageSize(int timepointId, int level)
getImageSize in interface MultiResolutionSetupImgLoader<UnsignedShortType>public VoxelDimensions getVoxelSize(int timepointId)
getVoxelSize in interface SetupImgLoader<UnsignedShortType>Copyright © 2012–2022 BigDataViewer. All rights reserved.