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

Home » Public Forums » archive » Problem with setting pixel data to a DICOM file
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
Problem with setting pixel data to a DICOM file [message #77081] Fri, 29 July 2011 13:20
Vivek is currently offline  Vivek
Messages: 6
Registered: July 2011
Junior Member
Hi,

I have a problem in setting pixel data to a DICOM file. I am using
IDLffDicomEx::SetPixelData to do it, and am able to do it when the
data is in the uint or fix format, but not when it's float. The
problem with uint and fix is that it's modifying my image and making
it look sort of distorted or thresholded. In short, it's not the same
image but slightly different.

When I use float values for pixel data, I get the error message saying
that 'the input data array is not equal to the length of all the
frames in this multi-frame image'. When I change it to uint, the size
doesn't change, does it? But it successfully puts it in, albeit a
slightly different image.
Any idea why this is happening?

Vivek
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Polar binning and display of data
Next Topic: Re: Automatic Binsize Calculations

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

Current Time: Wed Oct 08 20:06:37 PDT 2025

Total time taken to generate the page: 0.02178 seconds