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

Home » Public Forums » archive » Re: IImage Command Line
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: IImage Command Line [message #50833] Mon, 16 October 2006 10:55 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
StevenM wrote:
> I hope that someone can help me.
>
> I have a 3D array of data. I am trying to display this using iimage.
> When I use the command
> iimage, filename(*,*,30)
> I get the slice I want through the volume. But if I try to get the
> slice at another orientation i.e
> iimage, filename(30,*,*)
> I get an error message that says the first arguement is invalid.
>
> If I use the tvscl command I get images in both orientations with no
> problems but I would rather us iimage as I find further manipulations
> are easier.
>
> Thanks in advance
>
> Steven
>

try iimage, REFORM(filename[30,*,*])

If you put a number in the first position, you will have an aditional
dimension of size 1.

a = indgen(10,10,10)

DL> help, a[*,*,1]
<Expression> INT = Array[10, 10]
IDL> help, a[2,*,*]
<Expression> INT = Array[1, 10, 10]
IDL help, reform(a[2,*,*])
<Expression> INT = Array[10, 10]

Jean
[Message index]
 
Read Message
Read Message
Previous Topic: IImage Command Line
Next Topic: Re: Altered device coordinates after first call

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

Current Time: Sun Oct 12 14:57:39 PDT 2025

Total time taken to generate the page: 0.12739 seconds