every blog every motto: You can do more than you think. https://blog.csdn.net/weixin_39190382?typeblog
0. 前言
图像直方图、直方图均衡化
1. 图像直方图
#include <iostream>
#include <opencv2/opencv.hpp>using namespace cv;
using namespace std;…
void interchange(int * u,int * v)
{int temp *u; //带*号指向该地址上的值*u *v;*v temp;
}int main1(void)
{int x 10;int y 5;printf("before: x %d y %d\n",x,y);interchange(&x,&y);printf("after: x %d y %d\n",x,y);
}结果&…