comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Image tranpose
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Image tranpose [message #16034] Thu, 01 July 1999 00:00 Go to previous message
luthi is currently offline  luthi
Messages: 20
Registered: March 1999
Junior Member
> I'm looking for some help troubleshoooting some code. I have a 2-D
> array, an image, which I can display using TVSCL. This works fine
> on SGI (IDL 5.2). But, on Linux, the image is transposed. Anyone
> seen this before?

Hi

To me this sounds like a little-endian/big-endian problem. I guess you use
Linux on a Intel-processor which is little endian, opposite to SGI which is
big endian. If you read your data in binary form as integer or long, this
could be the clue to the problem. Then the you should either use a platform
independent data storage (XDR, HDF, netCDF) or you could swap the bytes with
the BYTEORDER procedure (check the documentation for the appropriate
keywords).

Probably this will help

Cheers

Martin


--
============================================================
Martin Luethi Tel. +41 1 632 40 92
Glaciology Section Fax. +41 1 632 11 92
VAW ETH Zuerich
CH-8092 Zuerich mail luthi@vaw.baum.ethz.ch
Switzerland
============================================================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: singular value decompostion
Next Topic: Re: xwindow question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 14:59:58 PDT 2025

Total time taken to generate the page: 1.51936 seconds