imquant(M, n) Returns a quantized version of matrix M containing n equally-spaced grayscale levels between 0 and 255.
imquant2(M, v) Returns a quantized version of matrix M containing the grayscale levels in vector v.