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

Home » Public Forums » archive » fixing DICOM read issues
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
fixing DICOM read issues [message #69157] Fri, 11 December 2009 05:57
dorthe is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: array subscripting
Next Topic: Arithmetic Errors Windows 64-bit Object Graphics

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

Current Time: Wed Oct 08 16:51:38 PDT 2025

Total time taken to generate the page: 0.00618 seconds