opencv:图像直方图均衡化

BeanJoy 2020-01-31

opencv:图像直方图均衡化

// 直方图均衡化
    Mat gray, dst;
    cvtColor(src, gray, COLOR_BGR2GRAY);
    equalizeHist(gray, dst);
    imshow("gray", gray);
    imshow("equalizeHist", dst);

相关推荐