2017年3月7日

OpenCV学习:改变图像的对比度和亮度

摘要: 本实例演示简单地改变图像的对比度和亮度,使用了如下线性变换来实现像素值的遍历操作: The parameters α > 0 and β often called the gain and bias parameters; sometimes these parameters are said to 阅读全文

posted @ 2017-03-07 10:55 我来乔23 阅读(4934) 评论(0) 推荐(0) 编辑

OpenCV学习:实现简单的图像叠加

摘要: 本实例使用简单的线性叠加方法来实现两幅图像的叠加,主要使用的知识如下: 1)线性融合 2)addWeighted函数 //! computes weighted sum of two arrays (dst = alpha*src1 + beta*src2 + gamma) 代码如下: 运行结果: 阅读全文

posted @ 2017-03-07 10:18 我来乔23 阅读(4636) 评论(0) 推荐(0) 编辑

导航