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

Home » Public Forums » archive » Creating a dicom-file in HSV colors
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Creating a dicom-file in HSV colors [message #58484] Thu, 31 January 2008 02:14
wengi is currently offline  wengi
Messages: 12
Registered: February 2008
Junior Member
Hi there,

this is my first question to this newsgroup. I could not find my
problem in the archives.
I want to create a dicom-file in the HSV-color format. We have the
toolkit and I can create the files, but they do not contain what I
want them to.
I pass a an array with size (3,25,25) to the method. The three fields
contain the values for hue, saturation and value. Writing the file
with

obj->setpixeldata, data, bits_allocated=bitsAlloc, $
photometric_interpretation = 'HSV',
$
columns = coli, $
rows = rowi, $
samples_per_pixel=3, $
planar_configuration = 0, $
pixel_representation = PixelRep, $
number_of_frames = 1

and commiting it produces a dcm-file with the size 25x25. Looking at
the file with a dicom-viewer shows that the first pixel-column of the
created image contains the values of the first row of the first field
of the input data.
Hard to describe...

Goal of the HSV-image should be to encode three different parameters
of an examination in one image.

So my question: Does anybody know if I have to rearrange my passed-in
data? IDL-Version is 6.3.

Greetings,
wengi
[Message index]
 
Read Message
Previous Topic: How to catch any IDL errors?
Next Topic: CURVEFIT for multiple datasets

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

Current Time: Sat Oct 11 05:24:03 PDT 2025

Total time taken to generate the page: 0.80433 seconds