1插值
将4352乘3840的矩阵data插值为4410乘3850的矩阵datas
import cv2 as cv
datas = cv.resize(data, (4410, 3850), interpolation=cv.INTER_LINEAR)
2截图
img = Image.open('./pic.png')
img = img.crop((int(40*633/70 +0.5), int(14*633/70 + 0.5), int(70*633/70+0.5), int(44*633/70+0.5)))
img.save('./save.png')
3拉格朗日插值
https://blog.csdn.net/shener_m/article/details/81706358?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task](https://blog.csdn.net/shener_m/article/details/81706358?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task
https://blog.csdn.net/momaojia/article/details/73549675?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task](https://blog.csdn.net/momaojia/article/details/73549675?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task