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

Home » Public Forums » archive » accessing Siemens magnetom MR images
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: accessing Siemens magnetom MR images [message #11863 is a reply to message #11664] Thu, 28 May 1998 00:00 Go to previous messageGo to previous message
Jonas is currently offline  Jonas
Messages: 23
Registered: May 1998
Junior Member
thanx!
however, is there really a read_dicom-procedure in IDL? the help file didn't
tell me about it...

I got some more help from Lars in denmark (thanx Lars, hope you don't mind
me forwarding this):
> The first 6144 bytes in the image file is header information. If you
> know the image dimensions and type, you can use the following simple
> procedure:
>
> pro read_file, filename, xres, yres, ima
> openr,fileid, filename, /get_lun
> header=bytarr(6144)
> readu, fileid, header
> ima=fltarr(xres,yres) ;change type when appropriate
> readu, fileid, ima
> end
>
> This is, of couse, not very general and all "bonus" information is
> lost. Please forward any better answer to me.
>
> Cheers, Lars

Jonas
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Weighted linear fitting?
Next Topic: Re: !p.multi and tv

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

Current Time: Sun Oct 12 11:17:37 PDT 2025

Total time taken to generate the page: 1.52027 seconds