Skip to content
Discussion options

You must be logged in to vote

great question, there is a ResampleToMatch transform:

transforms = Compose(
[
LoadImaged(("im1", "im2")),
EnsureChannelFirstd(("im1", "im2")),
CopyItemsd(("im2", "im2_meta_dict"), names=("im3", "im3_meta_dict")),
ResampleToMatchd("im3", "im1_meta_dict"),

#3823

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@wyli
Comment options

wyli Feb 23, 2022
Collaborator

@karwojan
Comment options

@karwojan
Comment options

@wyli
Comment options

wyli Feb 23, 2022
Collaborator

@rijobro
Comment options

rijobro Feb 23, 2022
Collaborator

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