Skip to content
Discussion options

You must be logged in to vote

You could use LoadImaged.

transforms = Compose([
    LoadImaged(keys=["label1", "label2"], ensure_channel_first=True, image_only=True),
    ConcatItemsd(keys=["label1", "label2"], name="cat_label")
)

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@LReion
Comment options

@KumoLiu
Comment options

@LReion
Comment options

@KumoLiu
Comment options

Answer selected by LReion
@LReion
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants