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

Home » Public Forums » archive » Re: About IDLffDICOM
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
Re: About IDLffDICOM [message #58537] Mon, 04 February 2008 06:17
Anne Martel is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Interesting Workbench Experience
Next Topic: explain THIS one

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

Current Time: Wed Oct 08 17:18:46 PDT 2025

Total time taken to generate the page: 0.00693 seconds