Application example of component grayscale image of RGB image in matlab