2019年9月8日
摘要: 参考:https://zhuanlan.zhihu.com/p/78504614 阅读全文
posted @ 2019-09-08 15:42 一杯明月 阅读(153) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/cerisier/article/details/86523446 阅读全文
posted @ 2019-09-08 15:31 一杯明月 阅读(221) 评论(0) 推荐(0)
摘要: 参考:https://zhuanlan.zhihu.com/p/62884449 阅读全文
posted @ 2019-09-08 13:55 一杯明月 阅读(398) 评论(0) 推荐(0)
摘要: 假设有一张4*4的图像.如下图: 我们想缩放成3*3的图像,计算如下(以缩放后的像素点B为例): 根据如下计算公式: srcX=dstX* (srcWidth/dstWidth) srcY = dstY * (srcHeight/dstHeight) 以E点坐标为例计算坐标点在原图对坐标位置如下: 阅读全文
posted @ 2019-09-08 13:37 一杯明月 阅读(2509) 评论(2) 推荐(0)