摘要: cv::Mat histogramEqualization(cv::Mat img){ int rows=img.rows; int cols=img.cols; cv::Mat grayScale=cv::Mat::zeros(cv::Size(256,1),CV_32SC1); cv::Mat 阅读全文
posted @ 2019-09-17 20:30 hiligei 阅读(445) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #define Operations(x) operation_ ## x // ## 是黏贴字符串 int Operations(sum)(int x,int y){ // operation_sum(int x,int y) return x+y; } int 阅读全文
posted @ 2019-09-17 19:30 hiligei 阅读(1310) 评论(0) 推荐(0) 编辑