how to reducing the number of intensity levels in an image use matlab help me