Re: About IDLffDICOM [message #58537] |
Mon, 04 February 2008 06:17 |
Anne Martel
Messages: 10 Registered: May 1995
|
Junior Member |
|
|
On Feb 1, 7:21 pm, Rendi <rds...@gmail.com> wrote:
> Dear all,
>
> I don't know if I am stupid or something does go wrong.
> I couldn't figure out how to get it works.
> Please give me some advices or comments.
>
> I tried to use IDLffDICOM to read the images from a dicom file.
> The image data uses 4 bytes for one pixel.
> The IDLffDICOM object only returns me the UINT array (correct
> dimension), but the data type is not correct (I want LONG). Is there
> any way to do it with IDLffDICOM object? Or I do need to use
> IDLffDICOMEX?
>
> Thank you very much,
> Rendi
I was under the impression that the DICOM standard only stores data as
16 bit (used to be 12 bit) unsigned ints. If you need to store
negative values then I guess you need to add an offset value first.
Similarly if you want to save floating point values then you need to
devise a scheme to scale values into a 16bit unsigned range first.
Then you need to figure out how to ensure that the correct conversion
is carried out when you read the images back in - there are probably
some handy tags for this in DICOM somewhere,
Anne
Sunnybrook HSC, Toronto
|
|
|