`img = imread('rice.png');
point = [100;120];
angle = 45;
img_rot = imrotate(img,angle);
new_point ??`
答案 0 :(得分:1)
简单方法:将相同的变换应用于具有单个点的图像:
s=size(img);
marker=zeros(s(1:2));
marker(point(1),point(2))=1;
marker_rot = imrotate(marker,angle);
[x,y]=find(marker_rot)