OpenCV
文章平均质量分 77
ToringZZZ
坚定的行走在技术的道路上
展开
-
基于OpenCV的图像几何变换算法
#include "stdafx.h" #include "GeometricTrans.h" #include "InputScale.h" #include "Translate.h" GeometricTrans::GeometricTrans() { } GeometricTrans::~GeometricTrans() { } //图像缩放 BOOL GeometricTrans:原创 2016-09-17 22:52:50 · 399 阅读 · 0 评论 -
OpenCV图像旋转算法
采用最近邻插值算法的实现代码为:cv::Mat matSrc = cv::imread("lena.jpg", 2 | 4); if (matSrc.empty()) return; const double degree = 45; double angle = degree * CV_PI / 180.; double alpha = cos(angle); double bet原创 2016-09-29 23:13:43 · 534 阅读 · 0 评论