Re: Multiple DICOM images [message #29148] |
Sat, 02 February 2002 06:03 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Akhila (idlfreak@yahoo.com) writes:
> Thank you for your help Dr.Fanning. I have around 100 slices segmented
> and saved as .dcm using dicom_writer of Bhautik Joshi. Essentially
> each image has its image_index as 1. But i want to read all these
> images in a folder and save it as an array. so that i can access all
> the images as
> slice = a[*,*,10]
> Please tell me how i could do that.
This is just pretty basic array manipulation in IDL.
What have you tried that didn't work?
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: Multiple DICOM images [message #29149 is a reply to message #29148] |
Fri, 01 February 2002 18:12  |
idlfreak
Messages: 47 Registered: October 2001
|
Member |
|
|
Thank you for your help Dr.Fanning. I have around 100 slices segmented
and saved as .dcm using dicom_writer of Bhautik Joshi. Essentially
each image has its image_index as 1. But i want to read all these
images in a folder and save it as an array. so that i can access all
the images as
slice = a[*,*,10]
Please tell me how i could do that.
Cheers,
Akhila.
idlfreak@yahoo.com (Akhila) wrote in message news:<b1ad7b05.0202011550.490623f1@posting.google.com>...
> HI,
> Can anybody tell me how to read multiple dicom images - these are
> continuous slices and are segmented. These images do not have any
> patient details. Its just the image details and its an array[512,
> 512].
> Please help me.
> Thanks.
>
> Cheers,
> Akhila.
|
|
|
Re: Multiple DICOM images [message #29150 is a reply to message #29149] |
Fri, 01 February 2002 16:14  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Akhila (idlfreak@yahoo.com) writes:
> Can anybody tell me how to read multiple dicom images - these are
> continuous slices and are segmented. These images do not have any
> patient details. Its just the image details and its an array[512,
> 512].
Set the IMAGE_INDEX keyword on READ_DICOM to the
index number of the image you are interested in
reading. For example, if you want the fourth image
in the stack:
image4 = Read_Dicom('mydicom.dcm', Image_Index=3)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|