read.fmf.frame
reads a single frame from an fmf file
using the header information to seek to the appropriate file location.
read.fmf.header
reads the initial header information of
an fmf file including the number of frames and the frame size.
read.fmf.frame(x, i, h = NULL, what = c("raw", "integer")) read.fmf.header(x)
x | Path to fmf file (or for |
---|---|
i | Integer (1-indexed) indicating the frame to read |
h | Optional header information in the form returned by
|
what | Character vector indicating whether to return the frame as a raw or integer matrix |
see http://code.astraw.com/projects/motmot/fmf-format-spec.html