T
- (non-volatile) pixel typeV
- volatile pixel typeA
- volatile array access typepublic class VirtualStackImageLoader<T extends NativeType<T>,V extends Volatile<T> & NativeType<V>,A extends VolatileAccess> extends Object implements ViewerImgLoader, TypedBasicImgLoader<T>
VolatileGlobalCellCache
.
Use createFloatInstance(ImagePlus)
,
createUnsignedByteInstance(ImagePlus)
or
createUnsignedShortInstance(ImagePlus)
depending on the ImagePlus
pixel type.
When loading images (getSetupImgLoader(int)
,
BasicSetupImgLoader.getImage(int, ImgLoaderHint...)
) the provided
setup id is used as the channel index of the ImagePlus
, the provided
timepoint id is used as the frame index of the ImagePlus
.Modifier and Type | Class and Description |
---|---|
class |
VirtualStackImageLoader.SetupImgLoader |
Modifier | Constructor and Description |
---|---|
protected |
VirtualStackImageLoader(ij.ImagePlus imp,
Function<Object,A> wrapPixels,
T type,
V volatileType) |
protected |
VirtualStackImageLoader(ij.ImagePlus imp,
Function<Object,A> wrapPixels,
T type,
V volatileType,
int setupOffset) |
protected VirtualStackImageLoader(ij.ImagePlus imp, Function<Object,A> wrapPixels, T type, V volatileType, int setupOffset)
public static VirtualStackImageLoader<FloatType,VolatileFloatType,VolatileFloatArray> createFloatInstance(ij.ImagePlus imp)
public static VirtualStackImageLoader<FloatType,VolatileFloatType,VolatileFloatArray> createFloatInstance(ij.ImagePlus imp, int offset)
public static VirtualStackImageLoader<UnsignedShortType,VolatileUnsignedShortType,VolatileShortArray> createUnsignedShortInstance(ij.ImagePlus imp)
public static VirtualStackImageLoader<UnsignedShortType,VolatileUnsignedShortType,VolatileShortArray> createUnsignedShortInstance(ij.ImagePlus imp, int offset)
public static VirtualStackImageLoader<UnsignedByteType,VolatileUnsignedByteType,VolatileByteArray> createUnsignedByteInstance(ij.ImagePlus imp)
public static VirtualStackImageLoader<UnsignedByteType,VolatileUnsignedByteType,VolatileByteArray> createUnsignedByteInstance(ij.ImagePlus imp, int offset)
public static VirtualStackImageLoader<ARGBType,VolatileARGBType,VolatileIntArray> createARGBInstance(ij.ImagePlus imp)
public static VirtualStackImageLoader<ARGBType,VolatileARGBType,VolatileIntArray> createARGBInstance(ij.ImagePlus imp, int offset)
public VolatileGlobalCellCache getCacheControl()
getCacheControl
in interface ViewerImgLoader
public VirtualStackImageLoader.SetupImgLoader getSetupImgLoader(int setupId)
BasicMultiResolutionImgLoader
BasicMultiResolutionSetupImgLoader
for the specified view
setup.getSetupImgLoader
in interface ViewerImgLoader
getSetupImgLoader
in interface BasicImgLoader
getSetupImgLoader
in interface BasicMultiResolutionImgLoader
getSetupImgLoader
in interface BoundedTypeBasicImgLoader<T extends NativeType<T>>
getSetupImgLoader
in interface TypedBasicImgLoader<T extends NativeType<T>>
setupId
- view setup for which to get the
BasicMultiResolutionSetupImgLoader
.BasicMultiResolutionSetupImgLoader
for the specified view
setup.Copyright © 2015–2021 Fiji. All rights reserved.