subplot matlab

subplot() 用来平铺图片的位置,类似坐标。 代码1: imgsrc=imread('test.jpg'); subplot(121); imshow(imgsrc); title('RGB'); imgsrc=rgb2gray(imgsrc); subplot(122); imshow(imgsrc); title('gray'); 效果: 代码2: imgsrc=imread('tes
相关文章
相关标签/搜索