public class N5ImageLoader extends Object implements ViewerImgLoader, MultiResolutionImgLoader
| Modifier and Type | Class and Description |
|---|---|
class |
N5ImageLoader.SetupImgLoader<T extends NativeType<T>,V extends Volatile<T> & NativeType<V>> |
| Constructor and Description |
|---|
N5ImageLoader(File n5File,
AbstractSequenceDescription<?,?,?> sequenceDescription) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Clear the cache.
|
static SimpleCacheArrayLoader<?> |
createCacheArrayLoader(org.janelia.saalfeldlab.n5.N5Reader n5,
String pathName) |
CacheControl |
getCacheControl() |
File |
getN5File() |
N5ImageLoader.SetupImgLoader |
getSetupImgLoader(int setupId)
Get the
BasicMultiResolutionSetupImgLoader for the specified view
setup. |
public N5ImageLoader(File n5File, AbstractSequenceDescription<?,?,?> sequenceDescription)
public File getN5File()
public void close()
public N5ImageLoader.SetupImgLoader getSetupImgLoader(int setupId)
BasicMultiResolutionImgLoaderBasicMultiResolutionSetupImgLoader for the specified view
setup.getSetupImgLoader in interface ViewerImgLoadergetSetupImgLoader in interface BasicImgLoadergetSetupImgLoader in interface BasicMultiResolutionImgLoadergetSetupImgLoader in interface ImgLoadergetSetupImgLoader in interface MultiResolutionImgLoadersetupId - view setup for which to get the
BasicMultiResolutionSetupImgLoader.BasicMultiResolutionSetupImgLoader for the specified view
setup.public CacheControl getCacheControl()
getCacheControl in interface ViewerImgLoaderpublic static SimpleCacheArrayLoader<?> createCacheArrayLoader(org.janelia.saalfeldlab.n5.N5Reader n5, String pathName) throws IOException
IOExceptionCopyright © 2015–2021 Fiji. All rights reserved.