More array munging in FeatureGenerator for superpixels