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

Home » Public Forums » archive » Re: how to resahpe image in IDL
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: how to resahpe image in IDL [message #69941 is a reply to message #69940] Tue, 23 February 2010 08:43 Go to previous message
ameigs is currently offline  ameigs
Messages: 12
Registered: March 2009
Junior Member
On 23 Feb, 16:08, Nayan <mkzama...@gmail.com> wrote:
> I have a 3 D (x*y*z) image matrices, Is there any command in IDL to
> convert this to a 2D
> matrix, of size [(x*y),z]?.

Probably, the build-in function, REFORM, will do this job for you.

IDL> a = indgen(5,10,20)
IDL> help, a
A INT = Array[5, 10, 20]
IDL> b = reform(a, 5*10,20)
IDL> help, b
B INT = Array[50, 20]
[Message index]
 
Read Message
Read Message
Previous Topic: how to resahpe image in IDL
Next Topic: Re: wavelength calibration

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

Current Time: Wed Oct 08 19:18:18 PDT 2025

Total time taken to generate the page: 0.00432 seconds