Many thanks, Steven.
I have just download your SGI code and installed on my SGI and ran it.
Problem solved, and thanks again.
WW
----- Original Message -----
From: "Stephen Smith" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Thursday, February 28, 2002 9:49 AM
Subject: Re: [FSL] big/little endian
> Hi - its very easy - on the target machine (the one that you want the
> endian fixed for - in this case your SGI) run
>
> avwmaths <imagefile> <imagefile>
>
> and all will be well (avwmaths always writes out in native format). It
> doesn't matter if you include .hdr in the filename or not.
>
> Steve.
>
>
> On Thu, 28 Feb 2002, Wei Wen wrote:
>
> > Hi FSLers,
> >
> > I have ANALYZE 7.5 format files generated from a little endian machine
and I
> > wish to use them on a native big endian machine (SGI). It is not a big
issue
> > of the data file *.img, swap the bytes may do the trick. However, that
> > particular program has to read the *.hdr part as well and I don't know
what
> > to do here. I was hoping that there is some program out there which does
> > *.hdr little/big endian conversion for me. Any clues on this please?
Better
> > still, a program?
> >
> > I know my question is out of the track a bit, but sure that someone out
> > there knows something about it.
> >
> > Many thanks,
> >
> > Wei Wen
> > Neuropsychiatric Institute,
> > Univ. of NSW
> > Australia
> >
****************************************************************************
*******
> > This email and the files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you are not the intended recipient, you are not permitted to
distribute or use this message or any of its attachments in any way. We also
request that you advise the sender of the incorrect addressing.
> >
> > This note also confirms that this email message has been virus scanned
and although no computer viruses were detected, South East Health accepts no
liability for any consequential damage resulting from email containing any
computer viruses.
> >
> >
****************************************************************************
*******
> >
>
> Stephen M. Smith
> Head of Image Analysis, FMRIB
>
> Oxford University Centre for Functional MRI of the Brain
> John Radcliffe Hospital, Headington, Oxford OX3 9DU, UK
> +44 (0) 1865 222726 (fax 222717)
>
> [log in to unmask] http://www.fmrib.ox.ac.uk/~steve
***********************************************************************************
This email and the files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are not permitted to distribute or use this message or any of its attachments in any way. We also request that you advise the sender of the incorrect addressing.
This note also confirms that this email message has been virus scanned and although no computer viruses were detected, South East Health accepts no liability for any consequential damage resulting from email containing any computer viruses.
***********************************************************************************
|