-
Notifications
You must be signed in to change notification settings - Fork 749
Closed
Description
Is your feature request related to a problem? Please describe.
the orientation transform should be put before any anisotropic spatial scalings
so that data from different orientations are scaled in the same axes
Spacingd(keys=["image", "label"], pixdim=(
1.5, 1.5, 2.0), mode=("bilinear", "nearest")),
Orientationd(keys=["image", "label"], axcodes="RAS"),
should be
Orientationd(keys=["image", "label"], axcodes="RAS"),
Spacingd(keys=["image", "label"], pixdim=(
1.5, 1.5, 2.0), mode=("bilinear", "nearest")),
this is a correct example:
tutorials/automl/DiNTS/train_dints.py
Lines 302 to 305 in 7b1fe3a
LoadImaged(keys=["image", "label"]), | |
EnsureChannelFirstd(keys=["image", "label"]), | |
Orientationd(keys=["image", "label"], axcodes="RAS"), | |
Spacingd(keys=["image", "label"], pixdim=spacing, mode=("bilinear", "nearest"), align_corners=(True, True)), |
Metadata
Metadata
Assignees
Labels
No labels