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

Home » Public Forums » archive » Image question.
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: Image question. [message #2992 is a reply to message #2909] Fri, 14 October 1994 08:59 Go to previous messageGo to previous message
ratnakar amaravadi is currently offline  ratnakar amaravadi
Messages: 14
Registered: April 1994
Junior Member
In article <1994Oct12.112035.26360@msuvx1.memphis.edu> pvemulakonda@cc.memphis.edu (PAVAN VEMULAKONDA) writes:
> How can I read an image on the screen into an integer array and store it as
> a data file (im.dat) consisting of integer data. Plz somebody help me with
> this.
>
> Thanks.

You can use IDL's TVRD function. The following code may work.

result = tvrd()
result=fix(result)
openw, 1, 'im.dat'
writeu, 1,result

Any comments welcome.


Ratnakar Amaravadi Software/Hardware Engineer
Division of Imaging Sciences PET Research Program
Department of Radiology I.U. School of Medicine
Indianapolis IN 46202

Ph. : (317)274-1843 (w) amaravad@indiana.edu
(317)274-4074 (fax) amaravad@silver.ucs.indiana.edu
(317)632-5144 (h) ratty@foyt.indyrad.iupui.edu
--
Ratnakar Amaravadi Software/Hardware Engineer
Division of Imaging Sciences PET Research Program
Department of Radiology I.U. School of Medicine
Indianapolis IN 46202
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: rounding function
Next Topic: Bug regarding plot limits when setting RANGE and TICKS

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

Current Time: Wed Oct 08 17:12:36 PDT 2025

Total time taken to generate the page: 0.00468 seconds