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
相关文章
相关标签/搜索