-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Feature requestModule: networksnetwork, layers, blocks definitions in PyTorchnetwork, layers, blocks definitions in PyTorchModule: transformdata transforms for preprocessing and postprocessing.data transforms for preprocessing and postprocessing.WG: ResearchFor the research working groupFor the research working groupWG: TransformsFor the transforms working groupFor the transforms working group
Description
Is your feature request related to a problem? Please describe.
Several segmentation pipelines, and in particular interactive segementation ones, rely on some form of distance transform (e.g. Euclidean, Chamfer or Geodesic Distance Transform).
At the moment there is no off-the-shelf pytorch function to compute these.
Describe the solution you'd like
A MONAI-based implementation of distance transforms (ideally differentiable) would be fantastic. It woul accelerate uptake of such methods.
Describe alternatives you've considered
- Relying on scipy functions such as distance_transform_edt and distance_transform_cdt
- Rely on external code such as GeodisTK
Additional context
Example use cases of distance transforms in segmentaiton:
che85, ddrobny, BailiangJ, oskaradermecker, feevos and 2 more
Metadata
Metadata
Assignees
Labels
Feature requestModule: networksnetwork, layers, blocks definitions in PyTorchnetwork, layers, blocks definitions in PyTorchModule: transformdata transforms for preprocessing and postprocessing.data transforms for preprocessing and postprocessing.WG: ResearchFor the research working groupFor the research working groupWG: TransformsFor the transforms working groupFor the transforms working group