OpenCV-对比度加强(伽马变换)

伽马变换的实质就是对每个像素进行幂函数操做。python C++:ios #include <opencv2/opencv.hpp> #include <iostream> #include <math.h> using namespace std; using namespace cv; int main() { //原图;灰度图;对比度加强后的伽马图像 Mat img, gr
相关文章
相关标签/搜索