I am trying to find a way to automatically import sets of images from DICOM media (Digital Imaging and Communications in Medicine) into Illustrator. To be more specific I need to load up about 20 heart-slice images from DICOM CDs or any other type of archival systems into Illustrator.
These MRI DICOM clips show slices of the heart pulsating in systole (when the heart is the smallest ) and diastole (when the heart is largest) and phases in-between (systole and diastole are two time phases of the heart cycle, represented by time numbers), at various topographical locations (these would represented by slice numbers, or space numbers). I would like to be able to input the number of the slices (space numbers) in systole and diastole (time numbers) and then with the push of a button to import the respective jpeg images into Illustrator.
This thread is related to a previous one “Is there a way to calculate the area of a shape?”
I would greatly appreciate the help.
Thank you for replies. I am a modest cardiologist; although with some coding experience (in matlab for example), scripting in an environment unfamiliar would be something that would take a long time. For the community-wide MRI cardiologists there will be a very high utility for a tool at a very acceptable price - such as Illustrator, to load images and also to trace automatically the contour at the border between the blood (usually shows up as white) and the heart muscle or myocardium (shows as dark). I would be interested to partner with a person interested to develop these tools. I assume they will be useful for other purposes other than cardiac MR. At any rate, the latter one taken alone can be substantial, since this is an emerging technique with many advantages in comparison with the classical echocardiogram. Please let me know. Again, I appreciate the help.
I am not sure if this will get to you as a private message or not, but I am trying.
Need to work with person that would be able to put together a script for easy loading of images into Illustrator, and I left a message on the thread started in Adobe forums.
Seems that live trace will help as well with contour tracing. These tools will have along-lasting effect for cardiac MRI at the level of community hospitals. Software and stations for heart fuunction measurement cost in the tens of thousands, and using illustrator would be much more cost efficient.
Please let me know whether you would be interested.
George (handle name Avi)
Yes there has been an option since CS2 for this… If I recall correctly the script only allows 10 pics to be processed but its a simple quit edit and re-launch to change that… Where you may need some time is setting up a specific tracing option… getting the right threshold etc.
I found a sample file on the net, couldn't Live Trace it straight from Bridge. Opening it in PS and exporting to JPEG is straight forward, that might be all the OP needs, since he mentioned in a previous thread loading images was tedious, he might be doing something different. You're right Mark, getting the right settings that yield satisfactory results is the hard part. Need to try with actual data...
I played a little with live trace in CS5. Seems to do quite a good job if I had the right contrast between the blood (white stuff) and the myocardium (the dark circular wall surrounding the white round area). Picture one is the contrasted picture taken off a dicom medium (these media allow adjusting the contrast very well). Left ventricle is the smiley face on the right of image. The right ventricle is on the left, kind of D shaped. The second picture is the live trace image (with "make and expand" selection). I selected the image with the "direct selection tool (A)", then used the live trace with make and expand. The tracing can not be seen here, but it is very accurate.
The third image is the same MRI image as in picture one without contrast adjustment. Live trace did bad - fourth picture.
Europe, Middle East and Africa