class_docstr: generate randomised rotation matrix for data augmentation
class_docstr_tok: ["generate","randomised","rotation","matrix","for","data","augmentation"]
code: def __init__(self, name="random_rotation"):
      super(RandomRotationLayer, self).__init__(name=name)
      self._transform = None
      self.min_angle = None
      self.max_angle = None
      self.rotation_angle_x = None
      self.rotation_angle_y = None
      self.rotation_angle_z = None
  
file_path: NiftyNet/niftynet/layer/rand_rotation.py
imports: from __future__ import absolute_import, print_function
  import numpy
  import scipy.ndimage
  from niftynet.layer.base_layer import RandomisedLayer
label_desc: Use image node_id 1 to create a new RandomRotationLayer object from inherited base classes: RandomisedLayer with example: obj = RandomRotationLayer(name)