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

Home » Public Forums » archive » Re: Conversion of 2D to 1D
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Conversion of 2D to 1D [message #70221] Mon, 29 March 2010 00:52 Go to next message
Maxwell Peck is currently offline  Maxwell Peck
Messages: 61
Registered: February 2010
Member
On Mar 29, 5:45 pm, Neil <swapneil.v...@gmail.com> wrote:
> Hi,
>
> How can we convert a 2D array (image) into 1D in IDL?
>
> Plz reply
>
> Regards
> Neil

imageoned = reform(imagetwod,n_elements(imagetwod))
Re: Conversion of 2D to 1D [message #70317 is a reply to message #70221] Mon, 29 March 2010 08:13 Go to previous message
rogass is currently offline  rogass
Messages: 200
Registered: April 2008
Senior Member
On 29 Mrz., 09:52, Maxwell Peck <maxjp...@gmail.com> wrote:
> On Mar 29, 5:45 pm, Neil <swapneil.v...@gmail.com> wrote:
>
>> Hi,
>
>> How can we convert a 2D array (image) into 1D in IDL?
>
>> Plz reply
>
>> Regards
>> Neil
>
> imageoned = reform(imagetwod,n_elements(imagetwod))

Or simplier: imageoned=imagetwod[*]

Regards

CR
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL licensing
Next Topic: importing .sta files in IDL

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

Current Time: Wed Oct 08 15:56:47 PDT 2025

Total time taken to generate the page: 0.00434 seconds