added function computeNMChannels :  computes the various used channels from the image (i.e. R, G, B, Gradient, L etc.)