Cuboid descriptor based on a concatentation of the types of frames present. That is imdesc must be an image (ie frame) descriptor, furthermore it must contain clusters, so that the descriptor of the frame is a clusters assignment. Hence each frame gets assigned to a cluster, and then the cuboid descriptor is simply a histogram of the frames present (alternatively, implementation could preserve order). INPUTS I - MxNxT double array (cuboid) with most vals in range [-1,1] imdesc - frame descriptor OUTPUTS desc - 1xp feature vector See also IMAGEDESC, DESCCUBOID_GRAD, DESCCUBOID_WW