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

Home » Public Forums » archive » Inverting the image
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: Inverting the image [message #28614 is a reply to message #28525] Wed, 19 December 2001 16:12 Go to previous messageGo to previous message
James Kuyper Jr. is currently offline  James Kuyper Jr.
Messages: 10
Registered: November 2001
Junior Member
JD Smith wrote:

> Akhila wrote:
>
>> HI,
>> I have an image of size(512 x 512 x 195). Its a CT image of chest and
>> the image appears with the backbone in the upward direction and the
>> sternum in the downward direction. I want to get it inverted.
...

> But seriously, you don't really say what you mean by "inverted", which
> is a concept which applies quantitatively only to colormaps, where it

There are many different possible meanings of "inverted"; the term
doesn't just apply to colormaps. To the geometrically inclined, the
meaning that seems most likely to apply in this case is the
transformation that replaces a function image(x,y,z) with
image(-x,-y,-z). Assuming that x=0,y=0,z=0 corresponds to the center of
his array, then in IDL terms that becomes:

invert = reverse(reverse(reverse(image, 1),2),3)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: global variables in IDL
Next Topic: Re: image display by IDL

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

Current Time: Thu Oct 09 23:09:57 PDT 2025

Total time taken to generate the page: 1.19792 seconds