Skip to content

Add label_transform in ImageDataset #3665

@Nic-Ma

Description

@Nic-Ma

Is your feature request related to a problem? Please describe.
A feedback request from MONAI dataset talk: Currently, the ImageDataset can load image, seg and label but only has transform args for image and seg:
https://github.com/Project-MONAI/MONAI/blob/dev/monai/data/image_dataset.py#L79
Would be nice to also add label_transform arg to convert loaded labels.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions