>> im = imread('trees.jpg');
>> imshow(im)
>> ycrcb_trees = rgb2ycbcr(im);
>> figure(2)
>> imshow(ycrcb_trees)

Matlab  将RGB 图像转换成YCrCb图像-LMLPHPMatlab  将RGB 图像转换成YCrCb图像-LMLPHP

05-07 15:14