Use function rgb2sic to shorten the function