OpenCV-對比度加強(伽馬變換)

伽馬變換的實質就是對每個像素進行冪函數操做。python C++:ios #include <opencv2/opencv.hpp> #include <iostream> #include <math.h> using namespace std; using namespace cv; int main() { //原圖;灰度圖;對比度加強後的伽馬圖像 Mat img, gr
相關文章
相關標籤/搜索