RS structure file Anatomy info

Dec 9, 2014 at 7:52 AM
Edited Dec 9, 2014 at 7:53 AM
Hi,

Once you've exported the RS file as a .dcm file, how do you get the structure's voxels in Matlab? I used S=dicomread('.RS) to read in the structure file but not sure if S.ROIContourSequence>item_1.ContourSequence.Item_1.ContourData is correct because this does not give it in 2D. Also, after I read in the dose file, it seems like a different dimension than the structure files. What is the exact syntax to get the structure positions?

Thanks so much.
Dec 9, 2014 at 8:12 AM
Edited Dec 9, 2014 at 8:33 AM
a clarification: numofcontourpoints can be used to reshape contourdata into 3 point data but they don't look correct.