Edited to provide train, validation and test datasets.  User can specify just train and test through the splitRatio string e.g. 0.7,0.0,0.3 would give 70% training data and 30% testing data for the MSRC dataset.
Edited to provide a general function to return superpixel feature and labels for a specified msrc dataset