Thanks,
Michael J. Tallhamer
Medical Physicist
Department of Radiation Oncology
Rocky Mountain Cancer Centers
--
You received this message because you are subscribed to the Google
Groups "pinnacle3-users" group.
To post to this group, send email to pinnacl...@googlegroups.com
To subscribe to this group, send email to
pinnacle3-us...@googlegroups.com
To unsubscribe from this group, send email to
pinnacle3-use...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/pinnacle3-users?hl=en
Bogdan Coroi, MS
Medical Physicist, CMMC
cor...@cmhc.org
207.795.2465
>>> mike.ta...@gmail.com 3/4/2010 12:54 PM >>>
Yulong Yan @ Little Rock
-Mike
On Mar 5, 8:43 am, "Bogdon Coroi" <coro...@cmhc.org> wrote:
> We do it the hard way (I guess), using Excel. We compare plan
> Doses/DVH's with protocol doses/DVH's (RTOG). A bit cumbersome, but it
> all works in the end.
>
> Bogdan Coroi, MS
> Medical Physicist, CMMC
> coro...@cmhc.org
> 207.795.2465
>
> >>> mike.tallha...@gmail.com 3/4/2010 12:54 PM >>>
I currently read in the rt plan, rt structures, and rt dose. I have
found that calculating the rt structure volumes from the contour
points usually gives me a slightly different volume than the volume
listed in the TPS (regardless of the vendor exporting the file). I use
a rather simplified approach summing over all the contour slices using
the surveyors formula to compute the area of every contour slice and
then multiply it by the slice thickness using half the slice thickness
for the first and last slice. This gives a fairly accurate volume but
it is different (as you can imagine) from the TPS volume which uses
some type of mesh approximation of the volume. On relatively large
volumes with rather regular surfaces this difference is negligible but
on small irregular targets like some SBRT lung nodules or SRS targets
in the head and neck the volumes can be very different and hence the
computed DVHs are different.
Would you mind sharing how you address the issues associated with
recomputing the volume (what method do you use) and how you then
compute the DVH on those volumes using the DICOM RT Dose file. I have
a couple other ideas to try to make the process a bit easier on me
from a coding standpoint but might be interested in trying my hand at
what your doing on my own time just to see if I can do it. Do you mind
sharing what language you are using as well?
-Mike
On Mar 5, 8:59 am, "Yan, Yulong" <YanYul...@uams.edu> wrote:
> Mike,
> There is an even harder way to do it. Since you have read RT Dose object, you can read RT Structure Set as well and calculate DVHs by yourself. It needs quite a bit of work, but when you get it done, you can do a lot more. I wish I had other options. I am doing it right now.
>
> Yulong Yan @ Little Rock
>
> -----Original Message-----
> From: pinnacl...@googlegroups.com [mailto:pinnacl...@googlegroups.com] On Behalf Of Bogdon Coroi
> Sent: Friday, March 05, 2010 9:43 AM
> To: pinnacl...@googlegroups.com
> Subject: Re: [p3rtp] Exporting DVH data via DICOM RT
>
> We do it the hard way (I guess), using Excel. We compare plan
> Doses/DVH's with protocol doses/DVH's (RTOG). A bit cumbersome, but it
> all works in the end.
>
> Bogdan Coroi, MS
> Medical Physicist, CMMC
> coro...@cmhc.org
> 207.795.2465
>
> >>> mike.tallha...@gmail.com 3/4/2010 12:54 PM >>>
> For more options, visit this group athttp://groups.google.com/group/pinnacle3-users?hl=en
For DVH evaluation, I also convert the differential output to cumulative, and then find specific values as needed, based on structure name. This is integrated with some other functionality in a Python program, and everything is output to PostScript and PDF.
Mike Kantor
Would you mind sharing that algorithm to compute the volumes with me?
I use Python as well and would like to see if I could rewrite it in
pure Python. Do you use the python program to output the PS and PDF
using reportlab or something else?
-Mike
Sorry, but I can't share the algorithm at the moment, due to the way my work was funded at the time I produced it. But, I can set you on the right path if you want to chase it: MATLAB's poly2mask function helps a lot, interpolation does not work the same way for all vector directions, you have to use single precision (which some of MATLAB's functions ignore), and an overlaid contour cancels the mask of the one under it.