-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Module: transformdata transforms for preprocessing and postprocessing.data transforms for preprocessing and postprocessing.enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Although MONAI transformations work with numpy, there are some torchvision transformations that works only with PIL images. However, there is not any transformer in MONAI to convert torch.tensor or numpy.ndarray to PIL.
Also since we have MONAI TorchVisionD which enable using torchvision transformation in MONAI workflow, this ToPIL is an obvious missing component.
Describe the solution you'd like
We need a ToPIL transformer that can simply transform torch.tensor or numpy.ndarray to PIL.
Metadata
Metadata
Assignees
Labels
Module: transformdata transforms for preprocessing and postprocessing.data transforms for preprocessing and postprocessing.enhancementNew feature or requestNew feature or request