CImage類進行圖像處理1(基礎篇)

1.實現紅色部分變藍 #include<iostream> #include<atlimage.h> using namespace std; void swapRGWhenGedMax(COLORREF &c) { int r = GetRValue(c); int g = GetGValue(c); int b = GetBValue(c); if (r > g && r > b) { swa
相關文章
相關標籤/搜索