next up previous
Next: Unix volume utility package Up: Brain Volume I/O Handling Previous: big_endian()

endian_convert()  

Reverse the endian format for data in volume



Synopsis


void
endian_convert(void *data, int n, int bpv)


Description
The data array is endian reversed. n voxels are reversed, bpv is the data type byte per voxel (i.e. float = 4 etc.)

Usage

Not used by end user, called automatically.

Revision


1.0  29/10-96   Ulrik Kjems


Program listing






Ulrik Kjems
6/3/1998