Hi,
I am trying to implement 3d augmentation on CBCT and the same augmentations on the 3d segmentation map. I am using the torchio library.

Preprocessing - TorchIO 1

spatial = tio.OneOf({
       tio.RandomElasticDeformation(): 0.4,
       tio.RandomAffine( degrees=10,  translation = 5): 0.6
  },
   p=0.80,
  )

Can someone please help me out to apply the same transformation to the segmentation map too…
Thanks
PS: Hi @fepegar , Thanks for a wonderful library for 3d augmentations and preprocessing. Can you please help me out with this?