灰度圖像亮度對比度調整的簡單代碼

代碼: #include<opencv2/opencv.hpp> using namespace cv; int brightness = 5; int contrast = 5; Mat src; Mat brightnessContrast; void BrightnessContrastFilter(int, void*){ float bri = brightness / 5.0f
相關文章
相關標籤/搜索