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)
BasicMultiResolutionImgLoader
BasicMultiResolutionSetupImgLoader
for the specified view
setup.getSetupImgLoader
in interface ViewerImgLoader
getSetupImgLoader
in interface BasicImgLoader
getSetupImgLoader
in interface BasicMultiResolutionImgLoader
getSetupImgLoader
in interface ImgLoader
getSetupImgLoader
in interface MultiResolutionImgLoader
setupId
- view setup for which to get the
BasicMultiResolutionSetupImgLoader
.BasicMultiResolutionSetupImgLoader
for the specified view
setup.public CacheControl getCacheControl()
getCacheControl
in interface ViewerImgLoader
public static SimpleCacheArrayLoader<?> createCacheArrayLoader(org.janelia.saalfeldlab.n5.N5Reader n5, String pathName) throws IOException
IOException
Copyright © 2015–2021 Fiji. All rights reserved.