# NOT RUN {
# }
# NOT RUN {
# a matrix
object = matrix(1, 10, 10)
res = Augmentation(object, resiz_width = 8, resiz_height = 8, rotate_angle = 40)
# an array
object = array(0, dim = c(10, 10, 3))
res = Augmentation(object, resiz_width = 8, resiz_height = 8, rotate_angle = 30)
# an array (multiple matrices)
object = array(0, dim = c(10, 10, 10))
res = Augmentation(object, resiz_width = 8, resiz_height = 8, rotate_angle = 20)
# a list of 3-dimensional arrays
object = list(array(0, dim = c(10, 10, 3)), array(0, dim = c(10, 10, 3)))
res = Augmentation(object, resiz_width = 8, resiz_height = 8, rotate_angle = 40)
# }
Run the code above in your browser using DataLab