fn = 'H.jpg'; % 换成自己的RGB图像p = imread(fn);pp = double(p);x = pp(:,:,1); % Ry = pp(:,:,2); % Gz = pp(:,:,3); % Bmesh(x,y,z);