• 2024-06-30opencv 欧拉变换
     importcv2importnumpyasnpdefeuler_view_transformation(image,angle,scale,dx,dy):#获取图像尺寸(h,w)=image.shape[:2]#设置旋转矩阵center=(w//2,h//2)M=cv2.getRotationMatrix2D(center,angle,scale)#应用旋