changes for caffe
rgb mean
inversion with slices