[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Byte to Real conversion

Michael A. Wirth wrote:
> Hi,
> I am reading some data in from an Magnetic Resonance image which stores
> information about the image in
> a 14336 byte header. I want to extract some of the data from this header
> and am having a problem
> with converting data to integers and reals. The integers are 2-bytes and
> the reals 4-bytes in length. How does
> one convert 4 bytes into a real number?
> many thanks,
> Michael

Michael -

For some reason our nameserver can't find your host, so my email
bounced. If you want the C code for a MR_HEADER program, you can
get it from:



    David S. Foster         Univ. of California, San Diego
     Programmer/Analyst     Brain Image Analysis Laboratory
     foster@bial1.ucsd.edu  Department of Psychiatry
     (619) 622-5892         8950 Via La Jolla Drive, Suite 2240
                            La Jolla, CA  92037