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

Home » Public Forums » archive » need the dimensions of an array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
need the dimensions of an array [message #38748] Fri, 26 March 2004 05:13 Go to previous message
Thomas Nehls is currently offline  Thomas Nehls
Messages: 24
Registered: March 2004
Junior Member
Hi,

using read_tiff I Read an image into a variable lets say pixel
interleaved (channels, columns, rows)

now I need the number of columns and the number of rows

like that:
img = READ_TIFF(file)
num_col = ?(img[1])
num_rows= ?(img[2])

I tried SIZE(img,/Dimensions) which returns: 3, 385, 345
very nice! I need only the Number "385" and the "345" respectively
Do you understand what I want to say?
Thanks
Tom
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Image structure
Next Topic: Re: Averaging quaternions

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

Current Time: Fri Oct 10 15:03:05 PDT 2025

Total time taken to generate the page: 1.51909 seconds