python 网格矩阵扭曲(变形) import cv2 as cv import numpy as np # 获取变形后的矩阵 def get_perturbed_mesh(ms, vtex, mv): perturbed_mesh = ms.copy() # 坐标与中心坐标距离 xv = perturbed_mesh - vtex