要移除图像边缘并保持宽高比,可以使用Matlab中的"tight"选项和"axis equal"命令。 示例代码如下:. %读入一张图片img = imread('image.jpg');. %绘制图片imshow(img);.
確定! 回上一頁