class SlideBook7Reader.DataLoader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
kMaxNumberOpenFiles |
java.util.ArrayList<SlideBook7Reader.CImageGroup> |
mCImageGroupList |
(package private) java.util.TreeMap<java.lang.Integer,java.lang.String> |
mCounterToPathMap |
int |
mCurrentFileCounter |
java.lang.String |
mErrorMessage |
SlideBook7Reader.CSBFile70 |
mFile |
(package private) java.util.HashMap<java.lang.String,loci.common.RandomAccessInputStream> |
mPathToStreamMap |
java.lang.String |
mSlidePath |
SlideBook7Reader.CSlideRecord70 |
mSlideRecord |
Constructor and Description |
---|
DataLoader(java.lang.String inSlidePath) |
Modifier and Type | Method and Description |
---|---|
(package private) short |
ByteArrayToShort(byte[] bytes,
int offset) |
void |
CloseFile() |
SlideBook7Reader.CImageGroup |
GetImageGroup(int inCaptureId) |
int |
GetNumCaptures() |
java.lang.Boolean |
LoadMetadata() |
boolean |
ReadPlane(int inCaptureId,
byte[] ouBuf,
int inPositionIndex,
int inTimepointIndex,
int inZPlaneIndex,
int inChannelIndex) |
java.lang.Boolean |
ReadSld() |
java.lang.Boolean |
ReadSld(java.io.InputStream inInputStream) |
public java.lang.String mSlidePath
public java.lang.String mErrorMessage
public SlideBook7Reader.CSBFile70 mFile
public SlideBook7Reader.CSlideRecord70 mSlideRecord
public java.util.ArrayList<SlideBook7Reader.CImageGroup> mCImageGroupList
java.util.HashMap<java.lang.String,loci.common.RandomAccessInputStream> mPathToStreamMap
java.util.TreeMap<java.lang.Integer,java.lang.String> mCounterToPathMap
public static final int kMaxNumberOpenFiles
public int mCurrentFileCounter
public java.lang.Boolean LoadMetadata()
public java.lang.Boolean ReadSld() throws java.io.FileNotFoundException
java.io.FileNotFoundException
public java.lang.Boolean ReadSld(java.io.InputStream inInputStream) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public int GetNumCaptures()
public SlideBook7Reader.CImageGroup GetImageGroup(int inCaptureId)
public boolean ReadPlane(int inCaptureId, byte[] ouBuf, int inPositionIndex, int inTimepointIndex, int inZPlaneIndex, int inChannelIndex) throws java.io.IOException
java.io.IOException
short ByteArrayToShort(byte[] bytes, int offset)
public void CloseFile() throws java.io.IOException
java.io.IOException
Copyright © 2024 Open Microscopy Environment