code to split ,modify and merge the three channels of color image