On end capping in slicer vs a commercial software ( Treatment Planning System)

I have exported a structure which is a simple sphere from Eclipse to slicer via DICOM export/import

I noticed some difference at the “end caps” in slicer. I compare the result with a commercial software, Varian Eclipse. Can anyone explain the differences between slicer and Eclipse ? has this been discussed elsewhere? looks like slicer caps to include whole slice while eclipse caps to include only a fraction of the slice ?

I am computing some conformity metrics for small targets. This means every small voxel discrepancy counts. Any way to adjust capping in slicer ? I am using 3D Slicer 5.8.1

Thanks

I can see a light red “circle” on the right side image. Could you explain more?

We implemented end-capping in SlicerRT so that the segment ends exactly halfway between the center of the slice where the last contour was drawn and the center of the next slice (where no contour is visible). Ending the segment in the middle of a slice (as it is visible on the left image) would be hard to justify and I’m not sure if Eclipse actually does this for computations - it may be just a choice for visualization or export.

Probably the end-capping does not make meaningful difference anyway. We compared dose volume histograms computed by Eclipse and SlicerRT and the difference was negligible. SlicerRT non-regressions tests still use Eclipse-computed results as reference.