[MINC-users] mivarget (beginner's question)

Simon DROUIN minc-users@bic.mni.mcgill.ca
Wed, 3 Dec 2003 15:05:33 -0500


Hi All,

Does someone know if what we get in data after calling the following line
of code is affected in any way by the direction cosines in the file:

mivarget( minc_file_id, image_var_id, start, sizes, NC_BYTE, MI_UNSIGNED, (void*) data )

where data is a pointer to an unsigned char
where minc_file_id is the id of the opened minc file.
where image_var_id is the id of the image variable.
knowing the variable data type for image is unsigned char.

If so, How do I get raw pixel values from a minc file (without using
volume_io)?

Thanks in advance.

Simon Drouin