I am using CLARA 3.1 and currently debugging my pre_transforms pipeline by printing the outputs with SaveAsNifti at the end of the pre_transforms. I have noticed a few abnormalities with some transforms and am wondering if they are not acting as intended or if I should be using other transforms.
I am using the RandomAxisFlip transform which says in documentation: “Flip the image along one randomly picked axis.”
I am using 3D images, and it seems that my images are never being vertically flipped. I can tell that they are sometimes being flipped on at least one axis- but I can tell for sure that they are not being flipped in all three. The images never appear “upside down”. I would like the flipping to occur randomly in all three directions. Is this the intended behaviour?
I am using the FastPosNegRatioCropROI transform.
This transform states: Simultaneously crop image and label to size, after specified augmentation operations, including deform, rotation, scale, pos/neg ratio.
I am utilizing the rotation transform, however it also appears that this rotation is only ever occurring along one axis (not all three). I would like a random rotation of 0->±N deg to be applied in the X, Y, and Z direction independently. Ie, could be rotated 10deg in X, -20 in Y, 0 in Z. Is this how the transform is supposed to perform?