public abstract class AbstractViewerSetupImgLoader<T,V extends Volatile<T>> extends Object implements ViewerSetupImgLoader<T,V>
Modifier and Type | Field and Description |
---|---|
protected T |
type |
protected V |
volatileType |
Constructor and Description |
---|
AbstractViewerSetupImgLoader(T type,
V volatileType) |
Modifier and Type | Method and Description |
---|---|
RandomAccessibleInterval<T> |
getImage(int timepointId,
ImgLoaderHint... hints)
Get the image at the specified timepoint.
|
T |
getImageType() |
V |
getVolatileImageType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVolatileImage
getImage, getMipmapResolutions, getMipmapTransforms, numMipmapLevels
protected final T type
public T getImageType()
getImageType
in interface BasicSetupImgLoader<T>
public V getVolatileImageType()
getVolatileImageType
in interface ViewerSetupImgLoader<T,V extends Volatile<T>>
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.Copyright © 2015–2021 Fiji. All rights reserved.