Problem with setting pixel data to a DICOM file [message #77081] |
Fri, 29 July 2011 13:20 |
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
|
|
|