Package loci.formats.in
Class IM3Reader.FloatIM3Record
java.lang.Object
loci.formats.in.IM3Reader.IM3Record
loci.formats.in.IM3Reader.FloatIM3Record
- Enclosing class:
IM3Reader
- Author:
- Lee Kamentsky A 4-byte floating point array record The record format is int32 - unknown int32 - # of floats float32s - values
-
Field Summary
Fields inherited from class loci.formats.in.IM3Reader.IM3Record
length, name, offset, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat[]getEntries(loci.common.IRandomAccess is) Return all entries as an arrayfloatgetEntry(loci.common.IRandomAccess is, int index) Get the floating-point value at the given indexintgetNumEntries(loci.common.IRandomAccess is) Get the # of floating-point values in this recordvoidwriteSummary(loci.common.IRandomAccess is, String indentation) Write a summary of the contents of the recordMethods inherited from class loci.formats.in.IM3Reader.IM3Record
toString
-
Constructor Details
-
FloatIM3Record
-
-
Method Details
-
getNumEntries
Get the # of floating-point values in this record- Returns:
- number of integer values contained in the record
- Throws:
IOException
-
getEntry
Get the floating-point value at the given index- Parameters:
is- the stream for the IM3 fileindex- the zero-based index of the entry to retrieve- Returns:
- the value stored in the indexed slot of the record
- Throws:
IOException
-
getEntries
Return all entries as an array- Parameters:
is- handle to file- Returns:
- an array of the stored values
- Throws:
IOException
-
writeSummary
Description copied from class:IM3Reader.IM3RecordWrite a summary of the contents of the record- Overrides:
writeSummaryin classIM3Reader.IM3Record- Parameters:
is-- Throws:
IOException
-