Replies: 1 comment
-
Hi @agokli, thanks for your interest here. MONAI/monai/transforms/spatial/array.py Line 2343 in cea80a6 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am new to MONAI and trying to understand class monai.transforms.RandAffined. I have seen several tutorials using this specific transform. I still do not understand parameters. For an example, rand_affine = RandAffined(
keys=["image", "label"],
mode=("bilinear", "nearest"),
prob=1.0,
spatial_size=(300, 300, 50),
translate_range=(40, 40, 2),
rotate_range=(np.pi / 36, np.pi / 36, np.pi / 4),
scale_range=(0.15, 0.15, 0.15),
padding_mode="border",
)
(a) I am assuming that spatial_size is output batch size.
(b) How does rotate_range parameters get translated in rotational angles?
(c) How are rotate_range, translate_range and scale_range are correlated
(d) In general, how do you determine these parameters values? Any articles for providing such understanding?
Beta Was this translation helpful? Give feedback.
All reactions