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

Home » Public Forums » archive » Writing on the image using 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: Writing on the image using IDL. [message #92301 is a reply to message #92300] Fri, 13 November 2015 00:23 Go to previous message
Yngvar Larsen is currently offline  Yngvar Larsen
Messages: 134
Registered: January 2010
Senior Member
On Friday, 13 November 2015 07:07:06 UTC+1, 山本正志 wrote:
> I want to create a program that writes the data to the image, but it does not go well.
> What will you do?
> Please tell me how to write the data to the image.
> Array of image is (3, 3547, 3431).

Not really enough information to answer this, but something like this might work if your data are floating point:

write_image, 'your_data.png', 'PNG', bytscl(array)

or

write_image, 'your_data_db.png', 'PNG', bytscl(alog(array))

Of course, there are many other formats you could use, see the documentation:

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

--
Yngvar
[Message index]
 
Read Message
Read Message
Previous Topic: contour palette
Next Topic: multiple barplots on histogram

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

Current Time: Sat Oct 11 11:29:27 PDT 2025

Total time taken to generate the page: 1.60413 seconds