1.色彩空间转换 function [r,g]=rgb_RGB(Ori_Face) R=Ori_Face,1; G=Ori_Face,2; B=Ori_Face,3; R1=im2double(R; % 将 uint8 型转换成 double 型 G1=im2double(G; B1=im2double(B; RGB=R1+G1+B1; row=size(Ori_Face,1; % 行像素 co