johncolby/along-tract-stats — pull request #5 by jadrian (2012-07-17 19:34:08+00:00)
Title: Store track matrix and properties as single-precision floats, as in header

Hey again John --- When dealing with massive tractography datasets, Matlab can run short on memory. One reason is that the coordinates of the track points are stored in Matlab as double-precision floats, though the .trk file only stores them in single precision. A small change (storing these points in the Matlab representation as single-precision floats too) allows for half the memory footprint with no loss of precision. I've tested this change out on my own machine and it works fine. Would you be interested in pulling into the master?

Thanks,
Jadrian