protected static class IM3Reader.FloatIM3Record extends IM3Reader.IM3Record
length, name, offset, type
Constructor and Description |
---|
FloatIM3Record(java.lang.String name,
int recType,
long offset,
int recLength) |
Modifier and Type | Method and Description |
---|---|
float[] |
getEntries(loci.common.IRandomAccess is)
Return all entries as an array
|
float |
getEntry(loci.common.IRandomAccess is,
int index)
Get the floating-point value at the given index
|
int |
getNumEntries(loci.common.IRandomAccess is)
Get the # of floating-point values in this record
|
void |
writeSummary(loci.common.IRandomAccess is,
java.lang.String indentation)
Write a summary of the contents of the record
|
toString
public FloatIM3Record(java.lang.String name, int recType, long offset, int recLength)
public int getNumEntries(loci.common.IRandomAccess is) throws java.io.IOException
java.io.IOException
public float getEntry(loci.common.IRandomAccess is, int index) throws java.io.IOException
is
- the stream for the IM3 fileindex
- the zero-based index of the entry to retrievejava.io.IOException
public float[] getEntries(loci.common.IRandomAccess is) throws java.io.IOException
is
- handle to filejava.io.IOException
public void writeSummary(loci.common.IRandomAccess is, java.lang.String indentation) throws java.io.IOException
IM3Reader.IM3Record
writeSummary
in class IM3Reader.IM3Record
java.io.IOException
Copyright © 2020 Open Microscopy Environment