platipy icon indicating copy to clipboard operation
platipy copied to clipboard

Investigate using dilate for surface dice

Open pchlap opened this issue 2 years ago • 0 comments

Nice work! I'm not sure if timing is really an issue, but the distance maps can take a while to compute so an alternative could be to dilate each contour with sitk.BinaryDilate(a_contour, tau_in_voxel_units)

Another point to discuss: there is also a function sitk.BinaryDilate which seems to do something very similar to sitk.BinaryContour - but with different output!

Originally posted by @rnfinnegan in https://github.com/pyplati/platipy/pull/129#discussion_r877591835

pchlap avatar May 27 '22 01:05 pchlap