Creating surface dose image from dose cloud

Mar 11, 2016 at 8:37 PM

In eclipse I am able to view the surface dose from different fields. I am wondering if I can extract surface dose 2d image from a field view by using ESAPI.

So in esapi online help, I can use the functions in the dose class to get the 3D dose cloud from a plan. But I am wondering which function I should use to extract the voxels of the surface doses. Thank you very much.
Mar 14, 2016 at 7:11 PM
Edited Mar 14, 2016 at 7:16 PM
Here's one way you could extract 3D surface dose, there are probably others.

You can extract the surface as a triangle mesh using Structure.MeshGeometry.

Once you have the mesh, you can then extract the dose along edges of the triangles in the mesh by scanning the dose distribution using the dose profile methods. With dose profile extraction, you can extract dose values along any line. You could for example scan each triangle in the mesh with equidistant spaced lines to extract the surface doses you need or bisect the triangles to extract dose along a central line in the triangle to increase the resolution of your extracted surface dose.

See example code and powerpoint that went with Exercise 3 of Developer Workshop 2.0.