Search found 5 matches

by Jason Tang
Fri, 2010-08-06, 17:50
Forum: DCMRT
Topic: RTSTRUCT: Referenced Frame Of Reference Sequence
Replies: 0
Views: 25378

RTSTRUCT: Referenced Frame Of Reference Sequence

Hello all, I am not fully sure of what needs to be inserted in this sequence for my RTSTRUCT file that I am writing. While it is Type 3 tag, I need it because the RTSTRUCT references a CT image set. Could anyone please verify the correctness of the following? FrameOfReferenceUID : Should be the same...
by Jason Tang
Fri, 2010-07-09, 20:32
Forum: DCMRT
Topic: How can I get the dose value from DRTDoseIOD?
Replies: 12
Views: 38208

I have figured it out: the dose grid starts at the vector specified in tag "DCM_ImagePositionPatient". From there you generate the grid from the pixel spacing values for X and Y and then you can overlay/heat-map the pixel data using VTK.
by Jason Tang
Tue, 2010-07-06, 16:32
Forum: DCMRT
Topic: How can I get the dose value from DRTDoseIOD?
Replies: 12
Views: 38208

Thanks for the info Michael! I'm still a little confused on how to make use of the pixel data. We have the z-positions from the Grid Offset Vector, but how do we get the x and y as well? From my understanding, the pixel data values are in a specific order and map to specific voxels. Is there anyway ...
by Jason Tang
Mon, 2010-07-05, 16:12
Forum: DCMRT
Topic: How can I get the dose value from DRTDoseIOD?
Replies: 12
Views: 38208

Thanks Jorg, On a related note, how would you map this pixel data / dose grid to the image like an overlay? (I want to heat-map this data with a VTK colour map). We would need some data in image coordinates to give this scalar data meaning no? Is DCM_OverlayData what I need? But I can't seem to extr...
by Jason Tang
Fri, 2010-07-02, 16:15
Forum: DCMRT
Topic: How can I get the dose value from DRTDoseIOD?
Replies: 12
Views: 38208

Just a quick correction to this line to those using Oliver's code, which is very helpful btw:
const Uint16 *pixelData = NULL;

We have to allocate the memory with something like:
const Uint16 *pixelData = new Uint16[rows*columns*frames];

Otherwise the findandgetUint16 will not do anything!