constructor for ImageArray

ImageArray(arr, types, typelevels)

Arguments

arr

4D array

types

character()

typelevels

optional character() in case ImageArray is a limited collection of images from a larger family of possible types