【VC图像处理】
无左无右
好记性不如破键盘---点滴、积累、进步!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【VC图像处理】旋转图像
#include "opencv2/core/core.hpp"#include"opencv2/highgui/highgui.hpp"#include#include "iostream"using namespace std;using namespace cv;void Rotate(Mat img ,Mat&out,float ang);void main(){ Ma原创 2016-05-19 11:41:20 · 3252 阅读 · 0 评论 -
【VC图像处理】 图像水平镜像,垂直镜像,图像转置
#include "opencv2/core/core.hpp"#include"opencv2/highgui/highgui.hpp"#include#include "iostream"using namespace std;using namespace cv;void OnMirror_X(Mat img,Mat &OutImg){ int Width=img.cols原创 2016-05-19 20:22:28 · 3711 阅读 · 1 评论 -
【VC图像处理】双线性插值
//双线性插值 这是类似的 http://daimajishu.iteye.com/blog/1086959// img1为原图像// height为原图像高// width为原图像宽// x,y为计算出来的旋转或放大图像中对应点映射到原图像中的坐标点,注意为floatuchar Interpolation_uchar(Mat img1,int height,int原创 2016-05-21 11:14:34 · 1412 阅读 · 0 评论 -
【VC图像处理】直方图均衡化
/*img 为输入原图outimg为输出直方图probality为输出的灰度直方概率,是数组*/void Histogram(Mat img,Mat &outImg,float *probality){ outImg.create(500,256,CV_8UC3); outImg.setTo(Scalar(0,255,0));//outImg.setTo(Scalar::all(255原创 2016-05-26 16:05:01 · 3179 阅读 · 0 评论
分享