public interface DataSourceInterface
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Called when viewer is closing
|
int[] |
getBounds()
The minimal and maximal pixel coordinates of the image to be viewed
|
String |
getDiskLocation()
Path to where the data is stored on disk, if applicable
|
mmcorej.TaggedImage |
getImageForDisplay(HashMap<String,Integer> axes,
int resolutionindex,
double xOffset,
double yOffset,
int imageWidth,
int imageHeight)
Retrieve image with the given parameters so it can be displayed
|
int |
getMaxResolutionIndex()
Index of the log 2 biggest downsample factor in the pyramid 0 is full
resolution, 1 is downsampled by 2x, 2 is downsampled by 4x, etc
For a non-multi resolution source, should pass 0
|
Set<HashMap<String,Integer>> |
getStoredAxes()
Get the axes of all available images in this dataset
|
int[] getBounds()
mmcorej.TaggedImage getImageForDisplay(HashMap<String,Integer> axes, int resolutionindex, double xOffset, double yOffset, int imageWidth, int imageHeight)
axes - Map of axes to indices (e.g. "z": 0, "t": 1) (Note: no position
needed for channels as this is automatically inferredresolutionindex - Index in level of multiresolution pyramid. (0 is
full resolution, 1 is downsampled by 2x, 2 is downsampled by 4x, etcxOffset - leftmost pixel at the requested resolutionyOffset - rightmost pixel at the requested resolutionimageWidth - pixel width of the image at the requested resolutionimageHeight - pixel height of the image at the requested resolutionSet<HashMap<String,Integer>> getStoredAxes()
int getMaxResolutionIndex()
String getDiskLocation()
void close()
Copyright © 2022. All rights reserved.