code: def test_rotation_1(self):
      crop = CenterCrop3D(5, 40, 40)
      data_rdd = self.sc.parallelize([self.sample])
      image_set = DistributedImageSet(image_rdd=data_rdd)
      cropped = image_set.transform(crop)
      yaw = 0.0
      pitch = 0.0
      roll = pi / 6
      rotate_30 = Rotate3D([yaw, pitch, roll])
      transformed = cropped.transform(rotate_30)
      image = transformed.get_image(key="imageTensor").first()
      assert image.shape == (5, 40, 40, 1)
  
file_path: BigDL/python/dllib/test/bigdl/feature/image3d/test_image3d.py
imports: import pytest
  import h5py
  from math import pi
  from bigdl.dllib.nncontext import *
  from bigdl.dllib.feature.common import *
  from bigdl.dllib.feature.image3d.transformation import *
label_desc: Use image node_id 6 for calling the Test_Image3D obj's underlying member method code with example usage: obj.test_rotation_1() without return types