[Novalug] Hospital CDs -- and ImageMagick??

Igor Birman igor_birman@yahoo.com
Sat Aug 8 01:00:39 EDT 2009


ImageMagick is not a viewer, but it can convert images from one format to another.  You can use the convert command to do this.  

You will need to mount the CD, let's assume it is mounted on /media/cdrom

Open up a command line window, then go to the directory on the CD where the images are:

cd /media/cdrom/images

Then list the files in the directory:

ls *dcm

Assuming there is a file called MRI.dcm, you can convert it to jpg format:

convert MRI.dcm ~/Desktop/MRI.jpg

This should cause a new image to pop up on your desktop, and you will be able to double click on it to view it.

If you want to convert all the dcm images to jpg format, you will need to write a script.

For further options, type man convert

Igor


 

________________________________
From: Beartooth <beartooth@Beartooth.Info>
To: Novalug <novalug@calypso.tux.org>
Sent: Friday, August 7, 2009 4:36:11 PM
Subject: [Novalug] Hospital CDs -- and ImageMagick??



   I picked up some data from Montgomery Regional Hospital in Blacksburg to take to the specialist at the Carilion Radford one, with whom I had an appt.; it came on a CD, which is marked "DICOM Volume with GE Centricity Viewer."

   When I put the CD into a drive, Fedora 11 auto-mounts it, and fails to find the autorun.exe, which is right there in plain sight. (F11 knows it exists, and asks whether to run it, and then fails. This is currently normal for most M$-intended media.)

   So I open the file, find autorun.exe myself, and right-click on it. The first option I get is to open it with Wine, as expected. When I accept that, I get a huge popup, which I can't seem to copy, saying only that it needs "scripting support" and urging me, obscenely enough, to get M$'s so-called browser 5.0 or higher. (I take all mention of that abominable browser as an obscenity.)

   I thought that browser, or a cleaner clone of it, of level at least 7, was an integral part of Wine.

   Worst of all, I could swear I've brought home similar media before, and viewed them, or the parts I wanted, with earlier releases of wine under earlier releases of Fedora ...

    Google tells me that ImageMagick can handle it, and rpm -q tells me I have it. But I find no launcher for it, and "ImageMagick &" does nothing from a user nor a root prompt. Neither its home page nor the man page can be bothered to do more than say to launch it from the command line; they give no hint *how*. One page does refer me to http://www.imagemagick.org/usage/ -- but my browser denies I have permission to look at it.

-- Beartooth the Stubborn, Sclerotic Squirreler
Death is not evil. Suffering is evil.
_______________________________________________
Novalug mailing list
Novalug@calypso.tux.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20090807/23e5d736/attachment.htm>


More information about the Novalug mailing list