PS 色調——顏色運算

通過對三個通道定義不同的運算,使圖像的色調改變,進而生成不同色彩的圖像。 clc; clear all; Image=imread('4.jpg'); Image=double(Image); R=Image(:,:,1); G=Image(:,:,2); B=Image(:,:,3); R_new=R; G_new=G; B_new=B; R_new=(G-B).^2/128; G_new=(R
相關文章
相關標籤/搜索