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