public class SDTReader
extends loci.formats.FormatReader
| Modifier and Type | Field and Description |
|---|---|
protected int |
channels
Number of spectral channels.
|
protected SDTInfo |
info
Object containing SDT header information.
|
protected boolean |
intensity
Whether to combine lifetime bins into single intensity image planes.
|
protected int |
off
Offset to binary data.
|
protected int |
timeBins
Number of time bins in lifetime histogram.
|
collectMetadata, core, filterMetadata, group, in, metadata, metadataStore, normalizeData, saveOriginalMetadata, series, THUMBNAIL_DIMENSION| Constructor and Description |
|---|
SDTReader()
Constructs a new SDT reader.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getChannelCount()
Gets the number of spectral channels.
|
int |
getChannelCount(String id)
Deprecated.
Replaced by
getChannelCount() |
int[] |
getChannelDimLengths()
Gets the lengths of each subdimension of C,
in fastest-to-sloweset rasterization order.
|
String[] |
getChannelDimTypes()
Gets the name of each subdimension of C,
in fastest-to-slowest rasterization order.
|
SDTInfo |
getInfo()
Gets object containing SDT header information.
|
SDTInfo |
getInfo(String id)
Deprecated.
Replaced by
getInfo() |
int |
getTimeBinCount()
Gets the number of bins in the lifetime histogram.
|
int |
getTimeBinCount(String id)
Deprecated.
Replaced by
getTimeBinCount() |
protected void |
initFile(String id)
Initializes the given SDT file.
|
boolean |
isIntensity()
Gets whether the reader is combining each lifetime
histogram into a summed intensity image plane.
|
boolean |
isInterleaved(int subC)
Gets whether or not the given sub-channel is interleaved.
|
boolean |
isThisType(byte[] block)
Checks if the given block is a valid header for this file format.
|
byte[] |
openBytes(int no,
byte[] buf)
Obtains the specified image from the current file into a pre-allocated byte
array of (sizeX * sizeY * bytesPerPixel).
|
void |
setIntensity(boolean intensity)
Toggles whether the reader should return intensity
data only (the sum of each lifetime histogram).
|
addMeta, checkBytes, close, close, fileGroupOption, get16BitLookupTable, get8BitLookupTable, getChannelDimLengths, getChannelDimTypes, getCoreMetadata, getCoreMetadata, getCurrentFile, getDimensionOrder, getDimensionOrder, getEffectiveSizeC, getEffectiveSizeC, getImageCount, getImageCount, getIndex, getIndex, getMeta, getMetadata, getMetadata, getMetadataStore, getMetadataStore, getMetadataStoreRoot, getMetadataStoreRoot, getMetadataValue, getMetadataValue, getPixelType, getPixelType, getRGBChannelCount, getRGBChannelCount, getSeries, getSeries, getSeriesCount, getSeriesCount, getSizeC, getSizeC, getSizeT, getSizeT, getSizeX, getSizeX, getSizeY, getSizeY, getSizeZ, getSizeZ, getThumbSizeX, getThumbSizeX, getThumbSizeY, getThumbSizeY, getUsedFiles, getUsedFiles, getZCTCoords, getZCTCoords, isFalseColor, isGroupFiles, isIndexed, isInterleaved, isInterleaved, isInterleaved, isLittleEndian, isLittleEndian, isMetadataCollected, isMetadataComplete, isMetadataFiltered, isNormalized, isOrderCertain, isOrderCertain, isOriginalMetadataPopulated, isRGB, isRGB, isUsedFile, openBytes, openBytes, openBytes, openImage, openImage, openThumbBytes, openThumbBytes, openThumbImage, openThumbImage, setGroupFiles, setId, setMetadataCollected, setMetadataFiltered, setMetadataStore, setNormalized, setOriginalMetadataPopulated, setSeries, setSeriesaddStatusListener, debug, getFormat, getStatusListeners, getSuffixes, isThisType, isThisType, removeStatusListener, setDebug, setDebugLevel, setId, status, status, status, trace, traceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected SDTInfo info
protected int off
protected int timeBins
protected int channels
protected boolean intensity
public void setIntensity(boolean intensity)
public boolean isIntensity()
public int getTimeBinCount()
public int getChannelCount()
public SDTInfo getInfo()
public boolean isThisType(byte[] block)
loci.formats.IFormatReaderpublic int[] getChannelDimLengths()
loci.formats.IFormatReadergetChannelDimLengths in interface loci.formats.IFormatReadergetChannelDimLengths in class loci.formats.FormatReaderpublic String[] getChannelDimTypes()
loci.formats.IFormatReaderFormatTools.getChannelDimTypes in interface loci.formats.IFormatReadergetChannelDimTypes in class loci.formats.FormatReaderpublic boolean isInterleaved(int subC)
loci.formats.IFormatReaderSDTReader handles spectral-lifetime data with
the interleaved lifetime bins and non-interleaved spectral channels.isInterleaved in interface loci.formats.IFormatReaderisInterleaved in class loci.formats.FormatReaderpublic byte[] openBytes(int no,
byte[] buf)
throws loci.formats.FormatException,
IOException
loci.formats.IFormatReaderno - the image index within the file.buf - a pre-allocated buffer.buf for convenience.loci.formats.FormatException - if there was a problem parsing the metadata of the
file.IOException - if there was a problem reading the file.protected void initFile(String id) throws loci.formats.FormatException, IOException
initFile in class loci.formats.FormatReaderloci.formats.FormatExceptionIOExceptionpublic int getTimeBinCount(String id) throws loci.formats.FormatException, IOException
getTimeBinCount()loci.formats.FormatExceptionIOExceptionpublic int getChannelCount(String id) throws loci.formats.FormatException, IOException
getChannelCount()loci.formats.FormatExceptionIOExceptionpublic SDTInfo getInfo(String id) throws loci.formats.FormatException, IOException
getInfo()loci.formats.FormatExceptionIOException