RandDeformGrid #1649
-
Hi :)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, I don't think I suspect you want to apply random non-rigid deformations? In which case you would want to use Note that these elastic classes can also apply random rotations, translations, shears and scaling, so perhaps you can consolidate all your random transformations, and use just |
Beta Was this translation helpful? Give feedback.
Hi, I don't think
RandDeformGrid
does what you're expecting it to do. ForRandDeformGrid
you pass spatial dimensions as argument, and it will return you a random control grid of this size.I suspect you want to apply random non-rigid deformations? In which case you would want to use
Rand3DElastic
(orRand2DElastic
for 2D data).Note that these elastic classes can also apply random rotations, translations, shears and scaling, so perhaps you can consolidate all your random transformations, and use just
Rand3DElastic
.