[MINC-development] mincfft. was: [geeks] vector_diemsion and rawtominc

Andrew Janke minc-development@bic.mni.mcgill.ca
Thu, 21 Nov 2002 13:34:42 +1000


On Wed, 20 Nov 2002, Peter NEELIN wrote:

> > But now I have a question: I know volume_io handles vector volumes differently
> > but is this to the point where it thinks a 3spatial + vector file has 3
> > dimensions only?
>
> Yes. I think that the default behaviour is to use the minc library magic
> to make everything scalar. There is a volume_io option that allows this to
> be turned off (I don't have time to look it up right now). Be warned,
> however, that volume_io uses pointers to pointers to pointers for its
> arrays (it was faster that way at the time that David benchmarked it). The
> down side of this is that a complex vector short volume will have as much
> pointer as data, even on a 32-bit system (one pointer for every 4 bytes of
> data).

Hrm, I see.  So what you are saying is: rewrite it using ICV's like you should
have in the first place you slacker. :)


Time time...


a