看见了一在图中画图的帖子刚好可以用到:
代码:
I = imread('china.jpg');figure; imshow(I, []);
axes_old = gca;
pos = get(gca, 'position');
pos_new = [pos(1)+pos(3)/4, pos(2)+pos(4)/4, pos(3)/4, pos(4)/4];
axes_new = axes('position', pos_new);
t = linspace(0, 2*pi, 100);
x = cos(t); y = sin(t);
axes(axes_new), hold on, plot(x, y, 'r')
效果:
本文介绍了一种使用图像处理方法在图片上精确绘制的技术,并通过实例展示了如何控制图像中的轴和坐标点,实现了特定效果。


2268

被折叠的 条评论
为什么被折叠?



