[MINC-users] RGB volumes and register

Andrew Janke a.janke at gmail.com
Thu Jul 21 23:26:19 EDT 2016


Probably for Bert,

Can anyone comment on how the current version of register in
minc-toolkit-v2 determines if a volume is RGB or not? It doens't seem
to be based upon dimension order as per previous versions.

This bit of old Dave McDonald code would insinuate that the volume has
to be an unsigned long?

   https://github.com/BIC-MNI/libminc/blob/develop/volume_io/Volumes/volumes.c#L568

Which is called deep within register:

   https://github.com/BIC-MNI/Register/search?utf8=%E2%9C%93&q=is_an_rgb_volume

?

So, the question remains, what dimension order, dimensions and
datatype should I use? Previously this was
vector_dimension,zspace,yspace,xspace + unsigned byte (0-255).

ta


a


More information about the MINC-users mailing list