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

Home » Public Forums » archive » manipulating 3-D arrays
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
manipulating 3-D arrays [message #91331] Mon, 29 June 2015 22:26 Go to next message
Induja Shaji is currently offline  Induja Shaji
Messages: 6
Registered: June 2015
Junior Member
Hi..I have an image array IMG BYTE = Array[3, 1024, 1024] . I want this to be mapped using plot_map in sswidl which needs a 2-d array . How can I do this?
Re: manipulating 3-D arrays [message #91332 is a reply to message #91331] Tue, 30 June 2015 01:53 Go to previous messageGo to next message
Yngvar Larsen is currently offline  Yngvar Larsen
Messages: 134
Registered: January 2010
Senior Member
On Tuesday, 30 June 2015 07:26:03 UTC+2, Induja Shaji wrote:
> Hi..I have an image array IMG BYTE = Array[3, 1024, 1024] . I want this to be mapped using plot_map in sswidl which needs a 2-d array . How can I do this?

Very hard to say unless you specify what the image contains. An RGB image I assume? Have a look here for some ideas:

http://www.exelisvis.com/docs/COLOR_QUAN.html

--
Yngvar
Re: manipulating 3-D arrays [message #91600 is a reply to message #91332] Tue, 04 August 2015 22:23 Go to previous messageGo to next message
Induja Shaji is currently offline  Induja Shaji
Messages: 6
Registered: June 2015
Junior Member
Thank you.
This is actually an RGB image only hence comes the '3' in the array. And I can take each layers and plot(which will become a 2D array now). But I want the combined image to be mapped using plot_map so that I want to do some manipulations on that.

---------
Induja
Re: manipulating 3-D arrays [message #91641 is a reply to message #91331] Mon, 10 August 2015 04:06 Go to previous message
Puneeth Shankar is currently offline  Puneeth Shankar
Messages: 21
Registered: June 2015
Junior Member
On Tuesday, June 30, 2015 at 10:56:03 AM UTC+5:30, Induja Shaji wrote:
> Hi..I have an image array IMG BYTE = Array[3, 1024, 1024] . I want this to be mapped using plot_map in sswidl which needs a 2-d array . How can I do this?

Have you looked at REFORM()
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to draw open circle of different radius with lat-lon axes?
Next Topic: to programmatically supply coordinates from a raster in order to create a polygon shape file

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

Current Time: Wed Oct 08 15:12:55 PDT 2025

Total time taken to generate the page: 0.00664 seconds