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

Home » Public Forums » archive » Re: Probably a simple question, but I'm only a beginner with this IDL stuff :)
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: Probably a simple question, but I'm only a beginner with this IDL stuff :) [message #23430 is a reply to message #23429] Sat, 27 January 2001 08:17 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Chris Bull (cjbull@another.com) writes:

> I have read in an array from a file its an xyz image (three chanels pixel
> interleved)
> however it is defined from the top row of the image rather than the bottom
> as IDL
> defines it... If it were a two dimensional array it would be easy to
> rotate/flip it
> however I cant work out how to flip it and all my pictures are coming out
> upside
> down :(
>
> Can someone please point me in the right direction on flipping it vertically
> :)

Whether the (0,0) pixel is in the lower-left corner
of the window, or the upper-left corner is a matter
of preference. The convention you choose to use is
set by the !Order system variable, which by default
is set to 0. To flip your image right side up, either
set !Order=1 or set the ORDER keyword to 1 on the
image display command:

IDL> TV, image, Order=1

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: CALL_EXTERNAL, VC++, ERROR_PROC_NOT_FOUND
Next Topic: Creating a sphere (Object Graphics)

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

Current Time: Sat Oct 11 22:23:09 PDT 2025

Total time taken to generate the page: 0.64000 seconds