fixing DICOM read issues [message #69157] |
Fri, 11 December 2009 05:57 |
dorthe
Messages: 12 Registered: April 2007
|
Junior Member |
|
|
I am trying to read a stack of DICOM images (.ima format) with IDL and
can read in the values just fine (-1054 to 3000), but the voxel
scaling is wrong, so my cylindrical object becomes oval. I tried
saving the volume from another program and that works well for meshing
the slices together and getting the correct data range, but I loose
the voxel scaling, so that once I read that simple binary data file
into IDL it is stretched incorrectly.
My array is 512,512,478, and the scaling in the DICOM file is
0.43,0.43,0.5 in the three dimensions. How do I fix this in IDL so the
image has the right shape. Rebin only works for integers of the
original size...
Any suggestion are greatly appreciated!
Dorthe
|
|
|