Varian-MedicalAffairsAppliedSolutions / MAAS-SFRThelper

Medical Affairs Applied Solutions ESAPI plugin tools to aid in the creation of structure patterns (spheres) or irregular stuctures (straight and angled rods) which can be evaluated or aid in the creation of treatment plans with the intention of not covering traditional PTVs homogeneously.
Other
4 stars 2 forks source link

CVT3D makes incomplete spheres on complex shaped targets #24

Open varian-ma opened 1 week ago

varian-ma commented 1 week ago

Do we need to look at tweaking the margin or structure mask sampling? SFRThelper-CVT3D_needs_more_margin

japnp commented 1 week ago

Hi Anthony,

We revised the target it takes in from PTV to ptvRetract. This should make sure partial spheres are not created at boundaries. If two spheres are getting joined into one sphere still, that very likely has to do with the sampler. We have a check for that in the python version with LHS but not in C# (I wasn't sure if it was necessary because I though Voronoi tessalation should take care of it but if not we can add a check for that). Changes have been pushed; can you please check it on your end and let us know what you want?

We downloaded the dicom and tried. Spheres are generated well within the structure. We'll need to check with Ilias and make sure we're not doing retraction twice (I don't think we are but it would like to double check).

Thanks!