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

Home » Public Forums » archive » Write_Image
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: Write_Image [message #28613 is a reply to message #28422] Wed, 19 December 2001 16:47 Go to previous messageGo to previous message
Bhautik Joshi is currently offline  Bhautik Joshi
Messages: 21
Registered: November 2001
Junior Member
> Can anybody please tell me how to save an image using WRITE_IMAGE
> function in DICOM format.
> Any help is appreciated.

Just a little follow-up to my last post:

Yes, the help files in IDL 5.4 *do* list DICOM as one of the output
file-types for write_image.

"..
Format

A scalar string containing the name of the file format to write. The
following are the supported formats:

� BMP
� JPEG
� PNG
� PPM
� SRF
� TIFF
� DICOM
.."

However this bit of documentation is a bit of a furphy [1], as
illustrated below:

MOO> foo=replicate(1.0,100,100)
MOO> write_image,'foo.dcm', 'DICOM',foo

% Compiled module: WRITE_IMAGE.
% WRITE_IMAGE: Unknown image file format: DICOM
% Error occurred at: WRITE_IMAGE 142
/usr/local/rsi/idl_5.4/lib/write_image.pro
% $MAIN$
% Execution halted at: $MAIN$

For this, RSI should be smothered in peanut oil and liberally beaten
with a wet herring.

Cheers,
Bhautik

[1] furphy n.(pl.furphies) 1 a false report or rumour. 2 an absurd
story. adj.(furphier, furphiest) absurdly false, unbelievable: thats the
furphiest bit of news I ever heard.

see: http://www.anu.edu.au/ANDC/Ozwords/November_97/6._furphy.htm

--
/--------------------------------------------------(__)----- ----\
| nbj@imag.wsahs.nsw.gov.au | phone: 0404032617 |..|--\ -moo |
| ICQ #: 2464537 | http://cow.mooh.org | |--| |
|---------------------------+----------------------\OO/|| ------/
| international |
| roast. my sanity has gone |
| its lost forever |
\---------------------------/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Getting uname
Next Topic: Re: Display two images on one position

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

Current Time: Wed Oct 08 17:52:14 PDT 2025

Total time taken to generate the page: 0.00381 seconds